Skip to contentSkip to conversation

Regression: kernel 2.6.24 ahci problem, does not boot (doesn't find SATA disk, i.e. failed to IDENTIFY)

DISCUSSION Tejun Heo 2 participants 4 messages Apr 24, 2008 – Apr 25, 2008 2 messages not in the archive libata

lore
Share & tools
lore

Tejun Heo

author
#1 lore raw
In reply to a message not in the archive
Quoted 21 lines · Guenther Thomsen

Not sure, if this issue has been resolved meanwhile. The thread I found indicated only that it is believed to be an interrupt routing issue.

I ran into this issue, when upgrading Ubuntu from 7.10 (kernel 2.6.22-14) to 8.04rc (kernel 2.6.24-16) and added my findings to bug 219312 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/219312) .

--8<--

[ 56.463297] SCSI subsystem initialized
[ 56.477843] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 21 (level, low) 
-> IRQ 21
[ 56.478127] ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
[ 56.478178] ahci 0000:00:12.0: controller can't do PMP, turning off CAP_PMP
[...]
[ 57.480373] ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3Gbps 0xf impl SATA mode
[ 57.480427] ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pio slum part
[ 57.481394] scsi0 : ahci
[ 57.481710] scsi1 : ahci
[ 57.481873] scsi2 : ahci
[ 57.482040] scsi3 : ahci
[ 57.955539] ata1: SATA link up 1.5Gbps (SStatus 113 SControl 300)
[ 87.904552] ata1.00: qc timeout (cmd 0xec)
[ 87.904608] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 87.904653] ata1: failed to recover some devices, retrying in 5 secs
Quoted 3 lines

-->8--

A "pci=nomsi" got this kernel on its feet again, but if there is still interest in kernel messages or other traces, then please let me know.

Can you please attach full boot log and the result of "lspci -nn"?

Signature · 1 line
tejun
author
#3 lore raw
In reply to a message not in the archive
Quoted 25 lines · Guenther Thomsen
Quoted 24 lines · Tejun Heo
Quoted 23 lines · Guenther Thomsen

Not sure, if this issue has been resolved meanwhile. The thread I found indicated only that it is believed to be an interrupt routing issue.

I ran into this issue, when upgrading Ubuntu from 7.10 (kernel 2.6.22-14) to 8.04rc (kernel 2.6.24-16) and added my findings to bug 219312 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/219312) .

--8<--

[ 56.463297] SCSI subsystem initialized
[ 56.477843] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 21 (level, low) 
-> IRQ 21
[ 56.478127] ahci 0000:00:12.0: controller can't do 64bit DMA, forcing 32bit
[ 56.478178] ahci 0000:00:12.0: controller can't do PMP, turning off CAP_PMP
[...]
[ 57.480373] ahci 0000:00:12.0: AHCI 0001.0100 32 slots 4 ports 3Gbps 0xf impl SATA mode
[ 57.480427] ahci 0000:00:12.0: flags: ncq sntf ilck pm led clo pio slum part
[ 57.481394] scsi0 : ahci
[ 57.481710] scsi1 : ahci
[ 57.481873] scsi2 : ahci
[ 57.482040] scsi3 : ahci
[ 57.955539] ata1: SATA link up 1.5Gbps (SStatus 113 SControl 300)
[ 87.904552] ata1.00: qc timeout (cmd 0xec)
[ 87.904608] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[ 87.904653] ata1: failed to recover some devices, retrying in 5 secs

-->8--

Quoted 5 lines
Quoted 4 lines
Quoted 1 line

A "pci=nomsi" got this kernel on its feet again, but if there is still interest in kernel messages or other traces, then please let me know.

Can you please attach full boot log and the result of "lspci -nn"?

Attached (please ignore the OOM killer towards the end - there is still some Gnome badness in Ubuntu 8.04rc).

Shane can you please advise on this? How did your previous investigation go? We need to blacklist it one way or the other.

Thanks.

00:00.0 Host bridge [0600]: ATI Technologies Inc RD580 [CrossFire Xpress 3200] Chipset Host Bridge [1002:5952] 00:02.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI-X Root Port [1002:5a34]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 13)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100] 00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101] 00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102] 00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV530 [Radeon X1600] [1002:71c2]
01:00.1 Display controller [0380]: ATI Technologies Inc RV530 [Radeon X1600] (Secondary) [1002:71e2]
02:00.0 SATA controller [0106]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2360] (rev 02) 03:03.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host Controller [1106:3044] (rev c0) 03:04.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller [11ab:4320] (rev 13)

Signature · 1 line
tejun
#4 lore raw

Tejun:

I added one patch link to that bugzilla and need Yann's verification.

Thanks
Shane

Quoted 120 lines

-----Original Message-----
From: Tejun Heo [mailto:[email protected]]
Sent: Friday, April 25, 2008 5:39 AM
To: Guenther Thomsen
Cc: [email protected]; IDE/ATA development list; Huang, Shane
Subject: Re: Regression: kernel 2.6.24 ahci problem, does not boot (doesn't find SATA disk, i.e. failed to IDENTIFY)

Quoted 3 lines · Guenther Thomsen
Quoted 2 lines · Tejun Heo
Quoted 1 line · Guenther Thomsen

Not sure, if this issue has been resolved meanwhile. The

thread I found

Quoted 1 line
Quoted 1 line
Quoted 1 line

indicated only that it is believed to be an interrupt

routing issue.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

I ran into this issue, when upgrading Ubuntu from 7.10 (kernel 2.6.22-14) to 8.04rc (kernel 2.6.24-16) and added my

findings to bug

Quoted 1 line
Quoted 1 line
Quoted 1 line

219312

(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/219312) .

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

--8<--

[ 56.463297] SCSI subsystem initialized
[ 56.477843] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 

21 (level, low)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-> IRQ 21

[ 56.478127] ahci 0000:00:12.0: controller can't do 

64bit DMA, forcing 32bit

Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 56.478178] ahci 0000:00:12.0: controller can't do PMP, 

turning off CAP_PMP

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

[...]

[ 57.480373] ahci 0000:00:12.0: AHCI 0001.0100 32 slots 

4 ports 3Gbps

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

0xf impl SATA mode

[ 57.480427] ahci 0000:00:12.0: flags: ncq sntf ilck pm 

led clo pio slum

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

part

[ 57.481394] scsi0 : ahci
[ 57.481710] scsi1 : ahci
[ 57.481873] scsi2 : ahci
[ 57.482040] scsi3 : ahci
[ 57.955539] ata1: SATA link up 1.5Gbps (SStatus 113 

SControl 300)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
[ 87.904552] ata1.00: qc timeout (cmd 0xec)
[ 87.904608] ata1.00: failed to IDENTIFY (I/O error, 

err_mask=0x4)

Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 87.904653] ata1: failed to recover some devices, 

retrying in 5 secs

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-->8--

A "pci=nomsi" got this kernel on its feet again, but if

there is still

Quoted 1 line
Quoted 1 line
Quoted 1 line

interest in kernel messages or other traces, then please

let me know.

Quoted 4 lines
Quoted 3 lines

Can you please attach full boot log and the result of "lspci -nn"?

Attached (please ignore the OOM killer towards the end -

there is still

Quoted 1 line

some Gnome badness in Ubuntu 8.04rc).

Shane can you please advise on this? How did your previous investigation go? We need to blacklist it one way or the other.

Thanks.

00:00.0 Host bridge [0600]: ATI Technologies Inc RD580 [CrossFire Xpress 3200] Chipset Host Bridge [1002:5952] 00:02.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI-X Root Port [1002:5a34]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 13)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100] 00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103] 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV530 [Radeon X1600] [1002:71c2]
01:00.1 Display controller [0380]: ATI Technologies Inc RV530 [Radeon X1600] (Secondary) [1002:71e2]
02:00.0 SATA controller [0106]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2360] (rev 02) 03:03.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host Controller [1106:3044] (rev c0)
03:04.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller [11ab:4320] (rev 13)

Signature · 1 line
tejun
author
#5 lore raw
Quoted 3 lines · Shane

Tejun:

I added one patch link to that bugzilla and need Yann's verification.

Heh... Can you please give me the link? I can't find it at the moment.

Thanks.

Signature · 1 line
tejun