From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262826AbVBZBJh (ORCPT ); Fri, 25 Feb 2005 20:09:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262806AbVBZBIF (ORCPT ); Fri, 25 Feb 2005 20:08:05 -0500 Received: from wproxy.gmail.com ([64.233.184.197]:10443 "EHLO wproxy.gmail.com") by vger.kernel.org with ESMTP id S262792AbVBZBDA (ORCPT ); Fri, 25 Feb 2005 20:03:00 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Oi9EYBUsRP6zrQFngPTvUyPlT2JaNN1JCLWM7Ff5SM7x7bbWCoR5kULOV85NfccyI9oJgEcW9tD2GtaW1wAlSp9XAEsJSDEpWJaEYUdsGvZmyQUR7dXRNpztEmTFQaKaY44v8ppIaizP+TRVsds4omWzCwVJT4nVwMw9wQCz9xo= Message-ID: Date: Fri, 25 Feb 2005 18:02:59 -0700 From: Greg Felix Reply-To: Greg Felix To: Jeff Garzik Subject: PROBLEM: ICH7 SATA drive not detected. Cc: linux-kernel@vger.kernel.org In-Reply-To: <421FBC0B.5070004@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <421FBC0B.5070004@pobox.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Jeff Garzik wrote: > See REPORTING-BUGS for the sort of information you should provide. This > is a "it doesn't work" report without much more info. > > I would suggest doing a "modprobe ata_piix" or "modprobe ahci" > (depending on ICH7 mode and hardware) and see what happens in 'dmesg'. > > Jeff Let me try and do this right. Here's the bug report: ICH7 SATA drive not detected. I have two new OEM machines that are both ICH7 chipsets. Both machines give the same vendor and device PCI ids for their storage controllers. 8086:27df and 8086:27c0. One of the machines' disks is being detected correctly (sda). The other one is not. I have tried modprobing both ata_piix and ahci with negative results. It is very new hardware. There is also a broadcom NIC that is not being detected, but I don't NEED that to work. (I'll file a bug if requested of me.) keywords: piix, ICH7, SATA, ata_piix, ahci I'm running 2.6.11-rc5 in a custom distribution in a ram disk from a pxe boot. I also have a USB memory device inserted into the machine being detected as sda for the reports below. Here's the output of ver_linux: Linux (none) 2.6.11-rc5 #1 Fri Feb 25 12:31:16 MST 2005 i686 unknown unknown GNU/Linux Gnu C 18: mount 2.12p module-init-tools 3.1 reiserfsprogs line reiser4progs line Dynamic linker (ldd) 2.3.4 Procps 3.2.3 Net-tools 1.60 Kbd 81: Sh-utils 5.2.1 Modules Loaded /proc/cpuinfo reads: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Genuine Intel(R) CPU 3.20GHz stepping : 1 cpu MHz : 3193.334 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni monitor ds_cpl cid xtpr bogomips : 6307.84 /proc/modules reads: ahci 5508 0 - Live 0xe0086000 nls_cp437 4608 1 - Live 0xe0083000 msdos 5248 1 - Live 0xe0018000 fat 27548 1 msdos, Live 0xe008e000 nls_base 4352 2 nls_cp437,fat, Live 0xe001b000 sd_mod 11152 2 - Live 0xe0038000 usb_storage 25216 1 - Live 0xe0065000 usbhid 21376 0 - Live 0xe0047000 edd 6496 0 - Live 0xe0007000 ide_cd 29956 0 - Live 0xe007a000 cdrom 30112 1 ide_cd, Live 0xe0071000 ide_disk 11520 0 - Live 0xe0034000 ata_piix 4228 0 - Live 0xe0031000 libata 28804 2 ahci,ata_piix, Live 0xe003e000 piix 6404 0 [permanent], Live 0xe0002000 generic 2432 0 [permanent], Live 0xe0005000 ide_core 85676 5 usb_storage,ide_cd,ide_disk,piix,generic, Live 0xe004f000 ehci_hcd 21000 0 - Live 0xe0011000 uhci_hcd 22416 0 - Live 0xe000a000 usbcore 72696 5 usb_storage,usbhid,ehci_hcd,uhci_hcd, Live 0xe001e000 /proc/ioports reads: 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 01f0-01f7 : ide0 03c0-03df : vga+ 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 1000-101f : 0000:00:1d.0 1000-101f : uhci_hcd 1020-103f : 0000:00:1d.1 1020-103f : uhci_hcd 1040-105f : 0000:00:1d.2 1040-105f : uhci_hcd 1060-107f : 0000:00:1d.3 1060-107f : uhci_hcd 10a0-10af : 0000:00:1f.1 10a0-10a7 : ide0 10a8-10af : ide1 10b0-10bf : 0000:00:1f.2 10c0-10c7 : 0000:00:02.0 10d8-10df : 0000:00:1f.2 10e0-10e7 : 0000:00:1f.2 10f0-10f3 : 0000:00:1f.2 10f4-10f7 : 0000:00:1f.2 /proc/iomem reads: 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000ca800-000cb7ff : Adapter ROM 000cb800-000ccfff : Adapter ROM 000f0000-000fffff : System ROM 00100000-1f7e27ff : System RAM 00100000-00210717 : Kernel code 00210718-0024c37f : Kernel data 1f7e2800-1fffffff : reserved d0000000-dfffffff : 0000:00:02.0 e0400000-e047ffff : 0000:00:02.0 e0480000-e04bffff : 0000:00:02.0 e04c0000-e04c3fff : 0000:00:1b.0 e04c4000-e04c43ff : 0000:00:1d.7 e04c4000-e04c43ff : ehci_hcd e04c4400-e04c47ff : 0000:00:1f.2 e0500000-e07fffff : PCI Bus #3f e0500000-e050ffff : 0000:3f:00.0 f0000000-f3ffffff : reserved fec00000-ffffffff : reserved lspci -vvv gives: 00:00.0 Class 0600: 8086:2770 Subsystem: 103c:3011 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [40] Express Root Port (Slot+) IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s unlimited, L1 unlimited Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported- Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 1 Link: Latency L0s <1us, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch- Link: Speed 2.5Gb/s, Width x1 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+ Slot: Number 2, PowerLimit 10.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Unknown, PwrInd Unknown, Power- Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1c.1 Class 0604: 8086:27d2 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [40] Express Root Port (Slot+) IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s unlimited, L1 unlimited Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported- Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 2 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x1 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+ Slot: Number 3, PowerLimit 10.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Unknown, PwrInd Unknown, Power- Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Address: 00000000 Data: 0000 Capabilities: [90] #0d [0000] Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1d.0 Class 0c03: 8086:27c8 Subsystem: 103c:3011 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [50] #0d [0000] 00:1f.0 Class 0601: 8086:27b0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Region 1: I/O ports at Region 2: I/O ports at Region 3: I/O ports at Region 4: I/O ports at 10a0 [size=16] 00:1f.2 Class 0101: 8086:27c0 (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: 103c:3011 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR-