From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: 30 second timeout on bootup with Intel ICH7 and AHCI (2.6.21-rc2) Date: Tue, 6 Mar 2007 15:07:39 -0800 Message-ID: <20070306150739.21e01b67@freekitty> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.osdl.org ([65.172.181.24]:35418 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030641AbXCFXHp (ORCPT ); Tue, 6 Mar 2007 18:07:45 -0500 Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Jeff Garzik Cc: linux-ide@vger.kernel.org I am seeing a long pause on bootup of this Core2 system if I enable AHCI in the BIOS. There is only one disc in this system, so when it tries ata2 it is talking to an empty connector. If I turn off AHCI then it seems to be okay. [ 50.354526] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode [ 50.354585] ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part [ 50.354696] ata1: SATA max UDMA/133 cmd 0xffffc2000002a900 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 315 [ 50.354807] ata2: SATA max UDMA/133 cmd 0xffffc2000002a980 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 315 [ 50.354916] ata3: SATA max UDMA/133 cmd 0xffffc2000002aa00 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 315 [ 50.355026] ata4: SATA max UDMA/133 cmd 0xffffc2000002aa80 ctl 0x0000000000000000 bmdma 0x0000000000000000 irq 315 [ 50.355091] scsi0 : ahci [ 50.814338] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 50.820393] ata1.00: ATA-7: Maxtor 6Y080M0, YAR51HW0, max UDMA/133 [ 50.820441] ata1.00: 156312576 sectors, multi 0: LBA [ 50.826556] ata1.00: configured for UDMA/133 [ 50.826603] scsi1 : ahci [ 51.286155] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) << snooze >> [ 81.275537] ata2.00: qc timeout (cmd 0xec) [ 81.275583] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x104) [ 89.253479] ata2: port is slow to respond, please be patient (Status 0x80) [ 112.246549] ata2: port failed to respond (30 secs, Status 0x80) [ 112.246595] ata2: COMRESET failed (device not ready) [ 112.246641] ata2: hardreset failed, retrying in 5 secs [ 118.114292] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 118.119891] ata2.00: ATA-6: Config Disk, RGL10364, max UDMA/133 [ 118.119938] ata2.00: 640 sectors, multi 1: LBA [ 118.125541] ata2.00: configured for UDMA/133 [ 118.125588] scsi2 : ahci [ 118.429158] ata3: SATA link down (SStatus 0 SControl 300) [ 118.429208] scsi3 : ahci [ 118.733040] ata4: SATA link down (SStatus 0 SControl 300) [ 118.733160] scsi 0:0:0:0: Direct-Access ATA Maxtor 6Y080M0 YAR5 PQ: 0 ANSI: 5 [ 118.733297] SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB) [ 118.733351] sda: Write Protect is off [ 118.733394] sda: Mode Sense: 00 3a 00 00 [ 118.733408] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 118.733503] SCSI device sda: 156312576 512-byte hdwr sectors (80032 MB) [ 118.733556] sda: Write Protect is off [ 118.733599] sda: Mode Sense: 00 3a 00 00 [ 118.733613] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 118.733674] sda: sda1 sda3 sda4 [ 118.743423] sd 0:0:0:0: Attached scsi disk sda [ 118.743551] scsi 1:0:0:0: Direct-Access ATA Config Disk RGL1 PQ: 0 ANSI: 5 [ 118.743684] SCSI device sdb: 640 512-byte hdwr sectors (0 MB) [ 118.743736] sdb: Write Protect is off [ 118.743779] sdb: Mode Sense: 00 3a 00 00 [ 118.743793] SCSI device sdb: write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 118.743878] SCSI device sdb: 640 512-byte hdwr sectors (0 MB) [ 118.743930] sdb: Write Protect is off [ 118.743973] sdb: Mode Sense: 00 3a 00 00 [ 118.743987] SCSI device sdb: write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 118.744049] sdb: unknown partition table [ 118.744310] sd 1:0:0:0: Attached scsi disk sdb [ 118.744433] usbmon: debugfs is not available 00:00.0 Host bridge: Intel Corporation 975X Express Memory Controller Hub (rev c0) Subsystem: ASUSTeK Computer Inc. Unknown device 8178 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- Reset- FastB2B- Capabilities: [88] #0d [0000] Capabilities: [80] 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: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+ Address: fee00000 Data: 4059 Capabilities: [a0] Express Root Port (Slot+) 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 2.5Gb/s, Width x16, ASPM L0s, Port 2 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x16 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug- Surpise- Slot: Number 0, PowerLimit 75.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Off, PwrInd On, Power- Root: Correctable- Non-Fatal- Fatal- PME- 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) Subsystem: ASUSTeK Computer Inc. Unknown device 81d8 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- 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 <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 1, 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: fee00000 Data: 4061 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.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) (prog-if 00 [Normal decode]) 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 4 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x1 Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+ Address: fee00000 Data: 4069 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.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01) (prog-if 00 [Normal decode]) 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 5 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x1 Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+ Address: fee00000 Data: 4071 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 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) (prog-if 00 [UHCI]) Subsystem: ASUSTeK Computer Inc. Unknown device 8179 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 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) Subsystem: ASUSTeK Computer Inc. Unknown device 8179 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- SERR- TAbort- SERR-