public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Intel ICH7 SATA support question for ATA_PIIX
@ 2005-02-25 23:36 Greg Felix
  2005-02-26  0:00 ` Jeff Garzik
  0 siblings, 1 reply; 7+ messages in thread
From: Greg Felix @ 2005-02-25 23:36 UTC (permalink / raw)
  To: linux-kernel

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

I noticed that Jason Gaston submitted a patch that made it into
2.6.11-rc1 to add support for ICH7 into ata_piix.  I'm using
2.6.11-rc5 and am getting good results on one of my machines.

The problem I'm having is that the other machine doesn't seem to be
supported even though it appears to be the same controller (by PCI ID
at least).  My modules.pcimap file shows that x27df and x27c0 are both
mapped to the piix driver.  I'm seeing nothing in /proc/partitions.

Perhaps someone at Intel, or HP, or Jason Gaston, or Jeff Garzik even
can shed some light on this or tell me where I can look to determine a
chipset version number that can be used to differentiate the two
boxes?  I'll gladly provide any more information I've forgotten.

Also the machine that isn't working has a Broadcom Gigabit NIC that
isn't being recognized by the tg3 module.  I'm seeing no eth0 in
/sys/class/net. It's PCI ID is 14e4:1600.

Greg Felix

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Intel ICH7 SATA support question for ATA_PIIX
  2005-02-25 23:36 Intel ICH7 SATA support question for ATA_PIIX Greg Felix
@ 2005-02-26  0:00 ` Jeff Garzik
  2005-02-26  1:02   ` PROBLEM: ICH7 SATA drive not detected Greg Felix
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Garzik @ 2005-02-26  0:00 UTC (permalink / raw)
  To: Greg Felix; +Cc: linux-kernel

Greg Felix wrote:
> 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
> 
> I noticed that Jason Gaston submitted a patch that made it into
> 2.6.11-rc1 to add support for ICH7 into ata_piix.  I'm using
> 2.6.11-rc5 and am getting good results on one of my machines.
> 
> The problem I'm having is that the other machine doesn't seem to be
> supported even though it appears to be the same controller (by PCI ID
> at least).  My modules.pcimap file shows that x27df and x27c0 are both
> mapped to the piix driver.  I'm seeing nothing in /proc/partitions.
> 
> Perhaps someone at Intel, or HP, or Jason Gaston, or Jeff Garzik even
> can shed some light on this or tell me where I can look to determine a
> chipset version number that can be used to differentiate the two
> boxes?  I'll gladly provide any more information I've forgotten.

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* PROBLEM: ICH7 SATA drive not detected.
  2005-02-26  0:00 ` Jeff Garzik
@ 2005-02-26  1:02   ` Greg Felix
  2005-02-26  1:05     ` Greg Felix
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Greg Felix @ 2005-02-26  1:02 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

> 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-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 0
        Capabilities: [e0] Vendor Specific Information

00:02.0 Class 0300: 8086:2772
        Subsystem: 103c:3011
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at e0400000 (32-bit, non-prefetchable) [size=512K]
        Region 1: I/O ports at 10c0 [size=8]
        Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Region 3: Memory at e0480000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [90] Message Signalled Interrupts: 64bit-
Queue=0/0 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [d0] 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:1b.0 Class 0403: 8086:27d8
        Subsystem: 103c:3011
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e04c0000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express Unknown type IRQ 0
                Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <64ns, L1 <1us
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled CommClk- ExtSynch-
                Link: Speed unknown, Width x0

00:1c.0 Class 0604: 8086:27d0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Bus: primary=00, secondary=20, subordinate=20, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
 Memory behind bridge: e0500000-e07fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 5
        Region 4: I/O ports at 1000 [size=32]

00:1d.1 Class 0c03: 8086:27c9
        Subsystem: 103c:3011
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 10
        Region 4: I/O ports at 1020 [size=32]

00:1d.2 Class 0c03: 8086:27ca
        Subsystem: 103c:3011
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin C routed to IRQ 11
        Region 4: I/O ports at 1040 [size=32]

00:1d.3 Class 0c03: 8086:27cb
        Subsystem: 103c:3011
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1060 [size=32]

00:1d.7 Class 0c03: 8086:27cc (prog-if 20)
        Subsystem: 103c:3011
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at e04c4000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Debug port

00:1e.0 Class 0604: 8086:244e (rev e0) (prog-if 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Capabilities: [e0] Vendor Specific Information

00:1f.1 Class 0101: 8086:27df (prog-if 8a [Master SecP PriP])
        Subsystem: 103c:3011
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at <ignored>
        Region 1: I/O ports at <ignored>
        Region 2: I/O ports at <ignored>
        Region 3: I/O ports at <ignored>
        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- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 10d8 [size=8]
        Region 1: I/O ports at 10f0 [size=4]
        Region 2: I/O ports at 10e0 [size=8]
        Region 3: I/O ports at 10f4 [size=4]
        Region 4: I/O ports at 10b0 [size=16]
        Region 5: Memory at e04c4400 (32-bit, non-prefetchable)
[disabled] [size=1K]
        Capabilities: [80] Message Signalled Interrupts: 64bit-
Queue=0/2 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [70] 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-

3f:00.0 Class 0200: 14e4:1600
        Subsystem: 103c:3011
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size 10
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at e0500000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 2

                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data
        Capabilities: [58] Message Signalled Interrupts: 64bit+
Queue=0/3 Enable-
                Address: 0068d809080002c0  Data: 0000
        Capabilities: [d0] Express Endpoint IRQ 0
                Device: Supported: MaxPayload 512 bytes, PhantFunc 0, ExtTag+
                Device: Latency L0s <4us, L1 unlimited
                Device: AtnBtn- AtnInd- PwrInd-
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
                Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
                Link: Latency L0s <4us, L1 <64us
                Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
                Link: Speed 2.5Gb/s, Width x1

/proc/devices reads:
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  5 /dev/tty
  5 /dev/console
  7 vcs
 10 misc
 13 input
180 usb

Block devices:
  1 ramdisk
  3 ide0
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PROBLEM: ICH7 SATA drive not detected.
  2005-02-26  1:02   ` PROBLEM: ICH7 SATA drive not detected Greg Felix
@ 2005-02-26  1:05     ` Greg Felix
  2005-02-26  4:35     ` Jeff Garzik
  2005-03-30 19:33     ` Jeff Garzik
  2 siblings, 0 replies; 7+ messages in thread
From: Greg Felix @ 2005-02-26  1:05 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

Jeff,

I forgot: in dmesg I see the following:

ata_piix: probe of 0000:00:1f.2 failed with error -5

Greg Felix


On Fri, 25 Feb 2005 18:02:59 -0700, Greg Felix <gregfelixlkml@gmail.com> wrote:
> > 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-
> <TAbort- <MAbort+ >SERR- <PERR-
>         Latency: 0
>         Capabilities: [e0] Vendor Specific Information
> 
> 00:02.0 Class 0300: 8086:2772
>         Subsystem: 103c:3011
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 10
>         Region 0: Memory at e0400000 (32-bit, non-prefetchable) [size=512K]
>         Region 1: I/O ports at 10c0 [size=8]
>         Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
>         Region 3: Memory at e0480000 (32-bit, non-prefetchable) [size=256K]
>         Capabilities: [90] Message Signalled Interrupts: 64bit-
> Queue=0/0 Enable-
>                 Address: 00000000  Data: 0000
>         Capabilities: [d0] 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:1b.0 Class 0403: 8086:27d8
>         Subsystem: 103c:3011
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0, Cache Line Size 10
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at e04c0000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
> PME(D0+,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [60] Message Signalled Interrupts: 64bit+
> Queue=0/0 Enable-
>                 Address: 0000000000000000  Data: 0000
>         Capabilities: [70] Express Unknown type IRQ 0
>                 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
>                 Device: Latency L0s <64ns, L1 <1us
>                 Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
>                 Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
>                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
>                 Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
>                 Link: Latency L0s <64ns, L1 <1us
>                 Link: ASPM Disabled CommClk- ExtSynch-
>                 Link: Speed unknown, Width x0
> 
> 00:1c.0 Class 0604: 8086:27d0
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0, Cache Line Size 10
>         Bus: primary=00, secondary=20, subordinate=20, sec-latency=0
>         I/O behind bridge: 0000f000-00000fff
>         Memory behind bridge: fff00000-000fffff
>         Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
>         Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort+ <SERR- <PERR-
>         BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0, Cache Line Size 10
>         Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
>         I/O behind bridge: 0000f000-00000fff
>  Memory behind bridge: e0500000-e07fffff
>         Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
>         Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- <SERR- <PERR-
>         BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 5
>         Region 4: I/O ports at 1000 [size=32]
> 
> 00:1d.1 Class 0c03: 8086:27c9
>         Subsystem: 103c:3011
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin B routed to IRQ 10
>         Region 4: I/O ports at 1020 [size=32]
> 
> 00:1d.2 Class 0c03: 8086:27ca
>         Subsystem: 103c:3011
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin C routed to IRQ 11
>         Region 4: I/O ports at 1040 [size=32]
> 
> 00:1d.3 Class 0c03: 8086:27cb
>         Subsystem: 103c:3011
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin D routed to IRQ 11
>         Region 4: I/O ports at 1060 [size=32]
> 
> 00:1d.7 Class 0c03: 8086:27cc (prog-if 20)
>         Subsystem: 103c:3011
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 5
>         Region 0: Memory at e04c4000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 2
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
> PME(D0+,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [58] Debug port
> 
> 00:1e.0 Class 0604: 8086:244e (rev e0) (prog-if 01)
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
>         I/O behind bridge: 0000f000-00000fff
>         Memory behind bridge: fff00000-000fffff
>         Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
>         Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
>         BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >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-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Capabilities: [e0] Vendor Specific Information
> 
> 00:1f.1 Class 0101: 8086:27df (prog-if 8a [Master SecP PriP])
>         Subsystem: 103c:3011
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 5
>         Region 0: I/O ports at <ignored>
>         Region 1: I/O ports at <ignored>
>         Region 2: I/O ports at <ignored>
>         Region 3: I/O ports at <ignored>
>         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- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Interrupt: pin B routed to IRQ 5
>         Region 0: I/O ports at 10d8 [size=8]
>         Region 1: I/O ports at 10f0 [size=4]
>         Region 2: I/O ports at 10e0 [size=8]
>         Region 3: I/O ports at 10f4 [size=4]
>         Region 4: I/O ports at 10b0 [size=16]
>         Region 5: Memory at e04c4400 (32-bit, non-prefetchable)
> [disabled] [size=1K]
>         Capabilities: [80] Message Signalled Interrupts: 64bit-
> Queue=0/2 Enable-
>                 Address: 00000000  Data: 0000
>         Capabilities: [70] 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-
> 
> 3f:00.0 Class 0200: 14e4:1600
>         Subsystem: 103c:3011
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr+ Stepping- SERR+ FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0, Cache Line Size 10
>         Interrupt: pin A routed to IRQ 5
>         Region 0: Memory at e0500000 (64-bit, non-prefetchable) [size=64K]
>         Capabilities: [48] Power Management version 2
> 
>                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=1 PME-
>         Capabilities: [50] Vital Product Data
>         Capabilities: [58] Message Signalled Interrupts: 64bit+
> Queue=0/3 Enable-
>                 Address: 0068d809080002c0  Data: 0000
>         Capabilities: [d0] Express Endpoint IRQ 0
>                 Device: Supported: MaxPayload 512 bytes, PhantFunc 0, ExtTag+
>                 Device: Latency L0s <4us, L1 unlimited
>                 Device: AtnBtn- AtnInd- PwrInd-
>                 Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
>                 Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>                 Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
>                 Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
>                 Link: Latency L0s <4us, L1 <64us
>                 Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
>                 Link: Speed 2.5Gb/s, Width x1
> 
> /proc/devices reads:
> Character devices:
>   1 mem
>   4 /dev/vc/0
>   4 tty
>   5 /dev/tty
>   5 /dev/console
>   7 vcs
>  10 misc
>  13 input
> 180 usb
> 
> Block devices:
>   1 ramdisk
>   3 ide0
>   8 sd
>  65 sd
>  66 sd
>  67 sd
>  68 sd
>  69 sd
>  70 sd
>  71 sd
> 128 sd
> 129 sd
> 130 sd
> 131 sd
> 132 sd
> 133 sd
> 134 sd
> 135 sd
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PROBLEM: ICH7 SATA drive not detected.
  2005-02-26  1:02   ` PROBLEM: ICH7 SATA drive not detected Greg Felix
  2005-02-26  1:05     ` Greg Felix
@ 2005-02-26  4:35     ` Jeff Garzik
  2005-02-28 17:22       ` Greg Felix
  2005-03-30 19:33     ` Jeff Garzik
  2 siblings, 1 reply; 7+ messages in thread
From: Jeff Garzik @ 2005-02-26  4:35 UTC (permalink / raw)
  To: Greg Felix; +Cc: linux-kernel, linux-ide@vger.kernel.org

Comment out the function call to piix_disable_ahci() and see what happens.

         if (port_info[0]->host_flags & PIIX_FLAG_AHCI) {
                 int rc = piix_disable_ahci(pdev);
                 if (rc)
                         return rc;
         }

Regards,

	Jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PROBLEM: ICH7 SATA drive not detected.
  2005-02-26  4:35     ` Jeff Garzik
@ 2005-02-28 17:22       ` Greg Felix
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Felix @ 2005-02-28 17:22 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel, linux-ide@vger.kernel.org

On Fri, 25 Feb 2005 23:35:18 -0500, Jeff Garzik <jgarzik@pobox.com> wrote:
> Comment out the function call to piix_disable_ahci() and see what happens.
> 
>          if (port_info[0]->host_flags & PIIX_FLAG_AHCI) {
>                  int rc = piix_disable_ahci(pdev);
>                  if (rc)
>                          return rc;
>          }
Jeff,

I commented out everything you showed me and recompiled.  This seems
to have worked.  The hard disk shows up as sda.  What does it mean
that this worked? Is this a bug with ata_piix?  What changes will need
to be made to get this machine to work on an unmodified kernel?

Thanks for your help so far.
Greg

Here's the valid part of dmesg for the boot that works:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 17 (level, low) -> IRQ 17
ICH7: chipset revision 0
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x10a0-0x10a7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x10a8-0x10af, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
libata version 1.10 loaded.
usb 3-1: new full speed USB device using uhci_hcd and address 2
hda: LITE-ON CD-ROM LTN-487T, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ata_piix version 1.03
PCI: Enabling device 0000:00:1f.2 (0005 -> 0007)
ACPI: PCI interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x10D8 ctl 0x10F2 bmdma 0x10B0 irq 19
ata2: SATA max UDMA/133 cmd 0x10E0 ctl 0x10F6 bmdma 0x10B8 irq 19
ata1: dev 0 cfg 49:2f00 82:3069 83:7e01 84:4023 85:3069 86:3c01 87:4023 88:203f
ata1: dev 0 ATA, max UDMA/100, 156301488 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
ATA: abnormal status 0x7F on port 0x10E7
ata2: disabling port
scsi1 : ata_piix
  Vendor: ATA       Model: WDC WD800JD-60LU  Rev: 05.0
  Type:   Direct-Access                      ANSI SCSI revision: 05
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PROBLEM: ICH7 SATA drive not detected.
  2005-02-26  1:02   ` PROBLEM: ICH7 SATA drive not detected Greg Felix
  2005-02-26  1:05     ` Greg Felix
  2005-02-26  4:35     ` Jeff Garzik
@ 2005-03-30 19:33     ` Jeff Garzik
  2 siblings, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2005-03-30 19:33 UTC (permalink / raw)
  To: Greg Felix; +Cc: linux-kernel, John Linville

Greg Felix wrote:
> 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- <TAbort- <MAbort- >SERR- <PERR-
> 
>         Latency: 0
>         Interrupt: pin B routed to IRQ 5
>         Region 0: I/O ports at 10d8 [size=8]
>         Region 1: I/O ports at 10f0 [size=4]
>         Region 2: I/O ports at 10e0 [size=8]
>         Region 3: I/O ports at 10f4 [size=4]
>         Region 4: I/O ports at 10b0 [size=16]
>         Region 5: Memory at e04c4400 (32-bit, non-prefetchable)
> [disabled] [size=1K]


I was hoping that we could detect when this PCI BAR is disabled, and 
base the logic on that.  But it appears that's not feasible for some BIOSen.

I suppose your patch is the best we can do.

	Jeff



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-30 19:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 23:36 Intel ICH7 SATA support question for ATA_PIIX Greg Felix
2005-02-26  0:00 ` Jeff Garzik
2005-02-26  1:02   ` PROBLEM: ICH7 SATA drive not detected Greg Felix
2005-02-26  1:05     ` Greg Felix
2005-02-26  4:35     ` Jeff Garzik
2005-02-28 17:22       ` Greg Felix
2005-03-30 19:33     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox