Bug 7811 - SATA ahci Driver does not work with 2.6.19.2
Summary: SATA ahci Driver does not work with 2.6.19.2
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: i386 Linux
: P2 blocking
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 09:24 UTC by Stefan Priebe
Modified: 2008-12-01 09:24 UTC (History)
9 users (show)

See Also:
Kernel Version: MAINLINE 2.6.19.2
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
force-1.5Gbps-on-vt8251 (1.88 KB, patch)
2007-06-05 23:40 UTC, Tejun Heo
Details | Diff

Description Stefan Priebe 2007-01-11 09:24:49 UTC
Distribution: Debian 3.1
Hardware Environment: Asus A8V Mainboard with Athlon 64 3800+
Software Environment: Debian 3.1 with vanilla 2.6.19.2 kernel 64bit
Problem Description:
The SATA Controller from the ASUS A8V does not work correctly with 2.6.19.2 or
perhaps 2.6.19.x but it works with 2.6.18.x whithout any problems.

dmesg output from 2.6.18.3:
Jan 11 16:56:03 neuerserver kernel: libata version 2.00 loaded.
Jan 11 16:56:03 neuerserver kernel: ahci 0000:00:0f.0: version 2.0
Jan 11 16:56:03 neuerserver kernel: GSI 19 sharing vector 0xD9 and IRQ 19
Jan 11 16:56:03 neuerserver kernel: ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI
21 (level, low) -> IRQ 217
Jan 11 16:56:03 neuerserver kernel: ahci 0000:00:0f.0: AHCI 0001.0000 32 slots 4
ports 3 Gbps 0xf impl IDE mode
Jan 11 16:56:03 neuerserver kernel: ahci 0000:00:0f.0: flags: 64bit ncq pm led
clo pmp pio slum part
Jan 11 16:56:03 neuerserver kernel: ata1: SATA max UDMA/133 cmd
0xFFFFC20000004D00 ctl 0x0 bmdma 0x0 irq 225
Jan 11 16:56:03 neuerserver kernel: ata2: SATA max UDMA/133 cmd
0xFFFFC20000004D80 ctl 0x0 bmdma 0x0 irq 225
Jan 11 16:56:03 neuerserver kernel: ata3: SATA max UDMA/133 cmd
0xFFFFC20000004E00 ctl 0x0 bmdma 0x0 irq 225
Jan 11 16:56:03 neuerserver kernel: ata4: SATA max UDMA/133 cmd
0xFFFFC20000004E80 ctl 0x0 bmdma 0x0 irq 225
Jan 11 16:56:03 neuerserver kernel: scsi0 : ahci
Jan 11 16:56:03 neuerserver kernel: ata1: SATA link up 3.0 Gbps (SStatus 123
SControl 300)
Jan 11 16:56:03 neuerserver kernel: ata1.00: ATA-7, max UDMA7, 312581808
sectors: LBA48 NCQ (depth 0/32)
Jan 11 16:56:03 neuerserver kernel: ata1.00: ata1: dev 0 multi count 16
Jan 11 16:56:03 neuerserver kernel: ata1.00: configured for UDMA/133
Jan 11 16:56:03 neuerserver kernel: scsi1 : ahci
Jan 11 16:56:03 neuerserver kernel: ata2: SATA link up 3.0 Gbps (SStatus 123
SControl 300)
Jan 11 16:56:03 neuerserver kernel: ata2.00: ATA-7, max UDMA7, 312581808
sectors: LBA48 NCQ (depth 0/32)
Jan 11 16:56:03 neuerserver kernel: ata2.00: ata2: dev 0 multi count 16
Jan 11 16:56:03 neuerserver kernel: ata2.00: configured for UDMA/133
Jan 11 16:56:03 neuerserver kernel: scsi2 : ahci
Jan 11 16:56:03 neuerserver kernel: ata3: SATA link down (SStatus 0 SControl 300)
Jan 11 16:56:03 neuerserver kernel: scsi3 : ahci
Jan 11 16:56:03 neuerserver kernel: ata4: SATA link down (SStatus 0 SControl 300)
Jan 11 16:56:03 neuerserver kernel:   Vendor: ATA       Model: SAMSUNG HD160JJ 
 Rev: ZM10
Jan 11 16:56:03 neuerserver kernel:   Type:   Direct-Access                    
 ANSI SCSI revision: 05
Jan 11 16:56:03 neuerserver kernel:   Vendor: ATA       Model: SAMSUNG HD160JJ 
 Rev: ZM10
Jan 11 16:56:03 neuerserver kernel:   Type:   Direct-Access                    
 ANSI SCSI revision: 05
Jan 11 16:56:03 neuerserver kernel: SCSI device sda: 312581808 512-byte hdwr
sectors (160042 MB)
Jan 11 16:56:03 neuerserver kernel: sda: Write Protect is off
Jan 11 16:56:03 neuerserver kernel: sda: Mode Sense: 00 3a 00 00
Jan 11 16:56:03 neuerserver kernel: SCSI device sda: drive cache: write back
Jan 11 16:56:03 neuerserver kernel: SCSI device sda: 312581808 512-byte hdwr
sectors (160042 MB)
Jan 11 16:56:03 neuerserver kernel: sda: Write Protect is off
Jan 11 16:56:03 neuerserver kernel: sda: Mode Sense: 00 3a 00 00
Jan 11 16:56:03 neuerserver kernel: SCSI device sda: drive cache: write back
Jan 11 16:56:03 neuerserver kernel:  sda: sda1 < sda5 sda6 sda7 >
Jan 11 16:56:03 neuerserver kernel: sd 0:0:0:0: Attached scsi disk sda
Jan 11 16:56:03 neuerserver kernel: SCSI device sdb: 312581808 512-byte hdwr
sectors (160042 MB)
Jan 11 16:56:03 neuerserver kernel: sdb: Write Protect is off
Jan 11 16:56:03 neuerserver kernel: sdb: Mode Sense: 00 3a 00 00
Jan 11 16:56:03 neuerserver kernel: SCSI device sdb: drive cache: write back
Jan 11 16:56:03 neuerserver kernel: SCSI device sdb: 312581808 512-byte hdwr
sectors (160042 MB)
Jan 11 16:56:03 neuerserver kernel: sdb: Write Protect is off
Jan 11 16:56:03 neuerserver kernel: sdb: Mode Sense: 00 3a 00 00
Jan 11 16:56:03 neuerserver kernel: SCSI device sdb: drive cache: write back
Jan 11 16:56:03 neuerserver kernel:  sdb: sdb1 < sdb5 sdb6 sdb7 >
Jan 11 16:56:03 neuerserver kernel: sd 1:0:0:0: Attached scsi disk sdb


with 2.6.19.2:
server275-han Thu Jan 11 16:31:38 2007 "ACPI: PCI Interrupt 0000:00:0f.0[B] ->
GSI 21 (level, low) -> IRQ 21"
server275-han Thu Jan 11 16:31:39 2007 "ahci 0000:00:0f.0: AHCI 0001.0000 32
slots 4 ports 3 Gbps 0xf impl IDE mode"
server275-han Thu Jan 11 16:31:39 2007 "ahci 0000:00:0f.0: flags: 64bit ncq pm
led clo pmp pio slum part "
server275-han Thu Jan 11 16:31:39 2007 "ata1: SATA max UDMA/133 cmd
0xFFFFC20000004D00 ctl 0x0 bmdma 0x0 irq 1277"
server275-han Thu Jan 11 16:31:39 2007 "ata2: SATA max UDMA/133 cmd
0xFFFFC20000004D80 ctl 0x0 bmdma 0x0 irq 1277"
server275-han Thu Jan 11 16:31:39 2007 "ata3: SATA max UDMA/133 cmd
0xFFFFC20000004E00 ctl 0x0 bmdma 0x0 irq 1277"
server275-han Thu Jan 11 16:31:39 2007 "ata4: SATA max UDMA/133 cmd
0xFFFFC20000004E80 ctl 0x0 bmdma 0x0 irq 1277"
server275-han Thu Jan 11 16:31:39 2007 "scsi0 : ahci"
server275-han Thu Jan 11 16:31:39 2007 "ata1: SATA link up 3.0 Gbps (SStatus 123
SControl 300)"
server275-han Thu Jan 11 16:32:09 2007 "ata1.00: qc timeout (cmd 0xec)"
server275-han Thu Jan 11 16:32:09 2007 "ata1.00: failed to IDENTIFY (I/O error,
err_mask=0x104)"
server275-han Thu Jan 11 16:32:17 2007 "ata1: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:32:40 2007 "ata1: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:32:40 2007 "ata1: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:32:40 2007 "ata1: hardreset failed, retrying in 5 secs"
server275-han Thu Jan 11 16:32:52 2007 "ata1: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:33:15 2007 "ata1: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:33:15 2007 "ata1: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:33:15 2007 "ata1: hardreset failed, retrying in 5 secs"
server275-han Thu Jan 11 16:33:28 2007 "ata1: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:33:51 2007 "ata1: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:33:51 2007 "ata1: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:33:51 2007 "ata1: reset failed, giving up"
server275-han Thu Jan 11 16:33:51 2007 "scsi1 : ahci"
server275-han Thu Jan 11 16:33:51 2007 "ata2: SATA link up 3.0 Gbps (SStatus 123
SControl 300)"
server275-han Thu Jan 11 16:34:21 2007 "ata2.00: qc timeout (cmd 0xec)"
server275-han Thu Jan 11 16:34:21 2007 "ata2.00: failed to IDENTIFY (I/O error,
err_mask=0x104)"
server275-han Thu Jan 11 16:34:29 2007 "ata2: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:34:52 2007 "ata2: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:34:52 2007 "ata2: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:34:52 2007 "ata2: hardreset failed, retrying in 5 secs"
server275-han Thu Jan 11 16:35:04 2007 "ata2: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:35:27 2007 "ata2: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:35:27 2007 "ata2: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:35:27 2007 "ata2: hardreset failed, retrying in 5 secs"
server275-han Thu Jan 11 16:35:40 2007 "ata2: port is slow to respond, please be
patient (Status 0x80)"
server275-han Thu Jan 11 16:36:03 2007 "ata2: port failed to respond (30 secs,
Status 0x80)"
server275-han Thu Jan 11 16:36:03 2007 "ata2: COMRESET failed (device not ready)"
server275-han Thu Jan 11 16:36:03 2007 "ata2: reset failed, giving up"
server275-han Thu Jan 11 16:36:03 2007 "scsi2 : ahci"
server275-han Thu Jan 11 16:36:03 2007 "ata3: SATA link down (SStatus 0 SControl
300)"
server275-han Thu Jan 11 16:36:03 2007 "scsi3 : ahci"
server275-han Thu Jan 11 16:36:03 2007 "ata4: SATA link down (SStatus 0 SControl
300)"
Comment 1 Stefan Priebe 2007-01-11 10:45:22 UTC
i don't know perhaps it is an IRQ problem

2.6.18.3:

Jan 11 16:56:03 neuerserver kernel: GSI 19 sharing vector 0xD9 and IRQ 19
Jan 11 16:56:03 neuerserver kernel: ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI
21 (level, low) -> IRQ 217


2.6.19.2:

server275-han Thu Jan 11 16:31:38 2007 "ACPI: PCI Interrupt 0000:00:0f.0[B] ->
GSI 21 (level, low) -> IRQ 21"
Comment 2 Tejun Heo 2007-01-12 16:41:13 UTC
Try boot with pci=noacpi.  Also please report the result of 'lspci -nnvvv'.
Comment 3 Stefan Priebe 2007-01-13 03:28:44 UTC
Hi!

I've now tried booting with pci=noacpi but it does not help. (i have also tried
acpi=off)

Here the dmesg:

ahci 0000:00:0f.0: version 2.0
ahci 0000:00:0f.0: AHCI 0001.0000 32 slots 4 ports 3 Gbps 0xf impl IDE mode
ahci 0000:00:0f.0: flags: 64bit ncq pm led clo pmp pio slum part 
ata1: SATA max UDMA/133 cmd 0xFFFFC20000004D00 ctl 0x0 bmdma 0x0 irq 1277
ata2: SATA max UDMA/133 cmd 0xFFFFC20000004D80 ctl 0x0 bmdma 0x0 irq 1277
ata3: SATA max UDMA/133 cmd 0xFFFFC20000004E00 ctl 0x0 bmdma 0x0 irq 1277
ata4: SATA max UDMA/133 cmd 0xFFFFC20000004E80 ctl 0x0 bmdma 0x0 irq 1277
scsi0 : ahci
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
APIC error on CPU0: 04(08)
ata1.00: qc timeout (cmd 0xec)
ata1.00: failed to IDENTIFY (I/O error, err_mask=0x104)
ata1: port is slow to respond, please be patient (Status 0x80)
ata1: port failed to respond (30 secs, Status 0x80)
ata1: COMRESET failed (device not ready)
ata1: hardreset failed, retrying in 5 secs
ata1: port is slow to respond, please be patient (Status 0x80)
ata1: port failed to respond (30 secs, Status 0x80)
ata1: COMRESET failed (device not ready)
ata1: hardreset failed, retrying in 5 secs
ata1: port is slow to respond, please be patient (Status 0x80)
ata1: port failed to respond (30 secs, Status 0x80)
ata1: COMRESET failed (device not ready)
ata1: reset failed, giving up
scsi1 : ahci
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
APIC error on CPU0: 08(08)
ata2.00: qc timeout (cmd 0xec)
ata2.00: failed to IDENTIFY (I/O error, err_mask=0x104)
ata2: port is slow to respond, please be patient (Status 0x80)
ata2: port failed to respond (30 secs, Status 0x80)
ata2: COMRESET failed (device not ready)
ata2: hardreset failed, retrying in 5 secs
ata2: port is slow to respond, please be patient (Status 0x80)
ata2: port failed to respond (30 secs, Status 0x80)
ata2: COMRESET failed (device not ready)
ata2: hardreset failed, retrying in 5 secs
ata2: port is slow to respond, please be patient (Status 0x80)
ata2: port failed to respond (30 secs, Status 0x80)
ata2: COMRESET failed (device not ready)
ata2: reset failed, giving up
scsi2 : ahci
ata3: SATA link down (SStatus 0 SControl 300)
scsi3 : ahci
ata4: SATA link down (SStatus 0 SControl 300)


Output of lspci -nnvvv:
0000:00:00.0 0600: 1106:0336
        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: 8
        Region 0: Memory at <ignored> (32-bit, prefetchable)
        Capabilities: [80] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=0 Cal=2 SBA+ ITACoh- GART64- HTrans-
64bit- FW- AGP3+ Rate=x4,x8
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
        Capabilities: [50] 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-
        Capabilities: [60] #08 [0060]
        Capabilities: [58] #00 [0000]

0000:00:00.1 0600: 1106:1336
        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

0000:00:00.2 0600: 1106:2336
        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

0000:00:00.3 0600: 1106:3336
        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

0000:00:00.4 0600: 1106:4336
        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

0000:00:00.5 0800: 1106:5336 (prog-if 20)
        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: 0x10 (64 bytes)

0000:00:00.6 0600: 1106:6290
        Subsystem: 0008:0000
        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, Cache Line Size: 0x10 (64 bytes)

0000:00:00.7 0600: 1106:7336
        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

0000:00:01.0 0604: 1106:b188
        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, Cache Line Size: 0x10 (64 bytes)
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: faf00000-fbffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
        BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
        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-

0000:00:02.0 0604: 1106:a238
        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: 0x10 (64 bytes)
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: [40] #10 [0141]
        Capabilities: [68] 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-
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
                Address: 00000000fee0100c  Data: 4171
        Capabilities: [dc] #08 [a802]

0000:00:03.0 0604: 1106:c238
        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: 0x10 (64 bytes)
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: 00000000fff00000-0000000000000000
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: [40] #10 [0141]
        Capabilities: [68] 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-
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
                Address: 00000000fee0100c  Data: 4179
        Capabilities: [dc] #08 [a802]

0000:00:0f.0 0101: 1106:3349 (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: 1043:81b5
        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: 64
        Interrupt: pin B routed to IRQ 1277
        Region 0: I/O ports at e800 [size=8]
        Region 1: I/O ports at e400 [size=4]
        Region 2: I/O ports at e000 [size=8]
        Region 3: I/O ports at d800 [size=4]
        Region 4: I/O ports at d400 [size=16]
        Region 5: Memory at faeffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] 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-
        Capabilities: [e0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
                Address: fee0100c  Data: 4181

0000:00:10.0 0c03: 1106:3038 (rev 90)
        Subsystem: 1043:81b5
        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: 64, Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin A routed to IRQ 20
        Region 4: I/O ports at d000 [size=32]
        Capabilities: [80] 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-

0000:00:10.1 0c03: 1106:3038 (rev 90)
        Subsystem: 1043:81b5
        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: 64, Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin C routed to IRQ 22
        Region 4: I/O ports at c800 [size=32]
        Capabilities: [80] 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-

0000:00:10.2 0c03: 1106:3038 (rev 90)
        Subsystem: 1043:81b5
        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: 64, Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin B routed to IRQ 21
        Region 4: I/O ports at c400 [size=32]
        Capabilities: [80] 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-

0000:00:10.3 0c03: 1106:3038 (rev 90)
        Subsystem: 1043:81b5
        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: 64, Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin D routed to IRQ 23
        Region 4: I/O ports at c000 [size=32]
        Capabilities: [80] 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-

0000:00:11.0 0601: 1106:3287
        Subsystem: 1043:81b5
        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-
        Capabilities: [c0] 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-

0000:00:11.7 0600: 1106:287e
        Subsystem: 1106:287e
        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: 128
        Capabilities: [58] #08 [8001]

0000:00:12.0 0200: 1106:3065 (rev 7c)
        Subsystem: 1043:80ed
        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: 64 (750ns min, 2000ns max), Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin A routed to IRQ 23
        Region 0: I/O ports at b800 [size=256]
        Region 1: Memory at faeff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] 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-

0000:00:13.0 0604: 1106:287b
        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=04, subordinate=04, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

0000:00:13.1 0604: 1106:287a (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=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

0000:00:18.0 0600: 1022:1100
        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-
        Capabilities: [80] #08 [2101]

0000:00:18.1 0600: 1022:1101
        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-

0000:00:18.2 0600: 1022:1102
        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-

0000:00:18.3 0600: 1022:1103
        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-

0000:01:00.0 0300: 1106:3230 (rev 01)
        Subsystem: 1043:81b5
        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: 64 (500ns min)
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Region 1: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at faff0000 [disabled] [size=64K]
        Capabilities: [60] 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-
        Capabilities: [70] AGP version 3.0
                Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans-
64bit- FW- AGP3+ Rate=x4,x8
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>



Comment 4 Tejun Heo 2007-02-27 07:17:43 UTC
Please test 2.6.20.1.  Thanks.
Comment 5 Christopher Harrington 2007-04-30 21:16:03 UTC
As with bug #7589, I appear to have this issue as well, and will post any
requested information if it helps.
Comment 6 Christopher Harrington 2007-05-01 13:19:13 UTC
Tested kernel 2.6.21 and 2.6.21-rc7-mm2, neither works with my chipset.
The box boots with /proc/cmdline: pci=nomsi
I'll include the output from my 2.6.21 kernel booting with pci=nomsi here:
# lspci -vvv | fgrep -A 30 00:0f.0

00:0f.0 IDE interface: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
(prog-if 8f [Master SecP SecO PriP PriO])
 Subsystem: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
 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: 64
 Interrupt: pin B routed to IRQ 21
 Region 0: I/O ports at ec00 [size=8]
 Region 1: I/O ports at e880 [size=4]
 Region 2: I/O ports at e800 [size=8]
 Region 3: I/O ports at e480 [size=4]
 Region 4: I/O ports at e400 [size=16]
 Region 5: Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [c0] 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-
 Capabilities: [e0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
  Address: 00000000   Data: 0000

00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C656/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) (prog-if 8a
[Master SecP PriP])
 Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235
PIPC Bus Master IDE
 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: 32
 Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled]
[size=8]
 Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled]
[size=1]
 Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled]
[size=8]
 Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled]
[size=1]
 Region 4: I/O ports at fc00 [size=16]
 Capabilities: [c0] 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-
Comment 7 Alan 2007-06-05 08:21:48 UTC
IRQ routing fix (indirectly) just went into Linus tree for some VIA chipsets but
I don't think its the cause.
Comment 8 Tejun Heo 2007-06-05 23:40:52 UTC
Created attachment 11693 [details]
force-1.5Gbps-on-vt8251

1. Please apply the attached patch to 2.6.21.3 and report the result.
2. If your drive has a dip switch to force 1.5Gbps, please try it (without this
patch).
Comment 9 Tejun Heo 2007-06-05 23:41:45 UTC
I meant 2.6.22-rc4 not 2.6.21.3, sorry.
Comment 10 Alan 2007-06-18 09:23:47 UTC
Note that we have a pattern of 2.6.18 -> 2.6.19 ident failure breakages
Comment 11 Tejun Heo 2007-06-18 09:42:52 UTC
It definitely looks like a IRQ routing problem.

  scsi0 : ahci
  ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  APIC error on CPU0: 04(08)
  ata1.00: qc timeout (cmd 0xec)
  ata1.00: failed to IDENTIFY (I/O error, err_mask=0x104)

Argh.... Who do I cc for the APIC error?
Comment 12 Natalie Protasevich 2007-07-10 04:06:41 UTC
It does lookvi MAIN like MSI problem. I think this APIC error means both send and receive error on the bus. Eric, can you help sorting this out?
Thanks.
Comment 13 Natalie Protasevich 2007-11-07 22:58:19 UTC
I just noticed big cleanup in various driver that David Miller committed into latest git. Christopher, could you give it a try? 
Comment 14 Christopher Harrington 2007-11-08 07:12:48 UTC
I have no idea how to get a kernel via git. Is it out on kernel.org?
Comment 15 Natalie Protasevich 2007-11-08 07:45:15 UTC
Ah, ok. You have to have git installed first. Since you're on Debian,
you can just apt-get git-core. Then do:
# git-clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
linux-2.6

This will download newest Linus'es git tree. You can explore git for
yourself then, there are many resources. But if you have any questions
let me know.
Comment 16 Roland Kletzing 2008-03-31 13:18:42 UTC
christopher,stefan - could you perhaps try 2.6.24 or latest 2.6.25rc kernel ?
you may also take a look at git bisect (http://kernel.org/doc/local/git-quick.html ) if you want to help identifying what`s the issue.
Comment 17 Christopher Harrington 2008-03-31 18:31:39 UTC
I'll give at least 2.6.24 a shot. I'm out of town at the moment, but I'll have time near the end of the week.
Comment 18 Roland Kletzing 2008-04-01 13:56:41 UTC
thanks!

if 2.6.24 doesn`t fix it - can you test if you really have the same problem as the stefan?

>The SATA Controller from the ASUS A8V does not work correctly with 2.6.19.2 
>or perhaps 2.6.19.x but it works with 2.6.18.x whithout any problems.
so can you confirm that 2.6.18 works and 2.6.19.2+ fails ?
Comment 19 Alan 2008-12-01 09:24:24 UTC
Closing idle bug

Note You need to log in before you can comment on or make changes to this bug.