linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hard drives only detected when booting from CD on nVidia MCP67 SATA
@ 2007-12-05 23:53 Chuck Ebbert
  2007-12-06 23:05 ` Chuck Ebbert
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2007-12-05 23:53 UTC (permalink / raw)
  To: IDE/ATA development list

With kernel 2.6.23 on an Acer 7220 notebook using nVidia MCP67 SATA,
hard drives are only detected after first booting from a CD.

Boot from hard drive      No drives detected

Boot live CD              Detected

Boot CD to GRUB menu,     Detected
then warm-boot from hard
drive


Non-detect case:

ahci 0000:00:09.0: version 2.3
ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
IRQ 16
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
PCI: Setting latency timer of device 0000:00:09.0 to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
Waiting for driver initialization

But, if a LiveCD is used to boot or if a LiveCD was used before an hot reboot 
(without a power off), disks are correctly found :

Loading ahci.ko
ahci 0000:00:09.0: version 2.3
ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
IRQ 16
input: ImPS/2 Generic Wheel Mouse as /class/input/input2
ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
PCI: Setting latency timer of device 0000:00:09.0 to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: Hitachi HTS541612J9SA00, SBDOC70P, max UDMA/100
ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)


https://bugzilla.redhat.com/show_bug.cgi?id=411171

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

* Re: Hard drives only detected when booting from CD on nVidia MCP67 SATA
  2007-12-05 23:53 Hard drives only detected when booting from CD on nVidia MCP67 SATA Chuck Ebbert
@ 2007-12-06 23:05 ` Chuck Ebbert
  2007-12-10  9:43   ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2007-12-06 23:05 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: IDE/ATA development list, Peer Chen

On 12/05/2007 06:53 PM, Chuck Ebbert wrote:
> With kernel 2.6.23 on an Acer 7220 notebook using nVidia MCP67 SATA,
> hard drives are only detected after first booting from a CD.
> 
> Boot from hard drive      No drives detected
> 
> Boot live CD              Detected
> 
> Boot CD to GRUB menu,     Detected
> then warm-boot from hard
> drive
> 
> 
> Non-detect case:
> 
> ahci 0000:00:09.0: version 2.3
> ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
> ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
> IRQ 16
> input: ImPS/2 Generic Wheel Mouse as /class/input/input2
> ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
> ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
> PCI: Setting latency timer of device 0000:00:09.0 to 64
> scsi0 : ahci
> scsi1 : ahci
> scsi2 : ahci
> scsi3 : ahci
> ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata2: SATA link down (SStatus 0 SControl 300)
> ata3: SATA link down (SStatus 0 SControl 300)
> ata4: SATA link down (SStatus 0 SControl 300)
> Waiting for driver initialization
> 
> But, if a LiveCD is used to boot or if a LiveCD was used before an hot reboot 
> (without a power off), disks are correctly found :
> 
> Loading ahci.ko
> ahci 0000:00:09.0: version 2.3
> ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
> ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
> IRQ 16
> input: ImPS/2 Generic Wheel Mouse as /class/input/input2
> ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
> ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
> PCI: Setting latency timer of device 0000:00:09.0 to 64
> scsi0 : ahci
> scsi1 : ahci
> scsi2 : ahci
> scsi3 : ahci
> ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: ATA-7: Hitachi HTS541612J9SA00, SBDOC70P, max UDMA/100
> ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
> ata1.00: configured for UDMA/100
> ata2: SATA link down (SStatus 0 SControl 300)
> ata3: SATA link down (SStatus 0 SControl 300)
> ata4: SATA link down (SStatus 0 SControl 300)
> 
> 

Possibly fixed by:

Commit:     3cc3eb1148e4b2dfabf7a1dcf36fd8be1331ca95
[libata] AHCI: enable AHCI mode, before using AHCI reset

Plus:

Commit:     ab6fc95f609b372a19e18ea689986846ab1ba29c
[libata] AHCI: fix newly introduced host-reset bug

??

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

* Re: Hard drives only detected when booting from CD on nVidia MCP67 SATA
  2007-12-06 23:05 ` Chuck Ebbert
@ 2007-12-10  9:43   ` Tejun Heo
  0 siblings, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2007-12-10  9:43 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: IDE/ATA development list, Peer Chen

Chuck Ebbert wrote:
> On 12/05/2007 06:53 PM, Chuck Ebbert wrote:
>> With kernel 2.6.23 on an Acer 7220 notebook using nVidia MCP67 SATA,
>> hard drives are only detected after first booting from a CD.
>>
>> Boot from hard drive      No drives detected
>>
>> Boot live CD              Detected
>>
>> Boot CD to GRUB menu,     Detected
>> then warm-boot from hard
>> drive
>>
>>
>> Non-detect case:
>>
>> ahci 0000:00:09.0: version 2.3
>> ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
>> ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
>> IRQ 16
>> input: ImPS/2 Generic Wheel Mouse as /class/input/input2
>> ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
>> ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
>> PCI: Setting latency timer of device 0000:00:09.0 to 64
>> scsi0 : ahci
>> scsi1 : ahci
>> scsi2 : ahci
>> scsi3 : ahci
>> ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>> ata2: SATA link down (SStatus 0 SControl 300)
>> ata3: SATA link down (SStatus 0 SControl 300)
>> ata4: SATA link down (SStatus 0 SControl 300)
>> Waiting for driver initialization
>>
>> But, if a LiveCD is used to boot or if a LiveCD was used before an hot reboot 
>> (without a power off), disks are correctly found :
>>
>> Loading ahci.ko
>> ahci 0000:00:09.0: version 2.3
>> ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 23
>> ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSI0] -> GSI 23 (level, low) -> 
>> IRQ 16
>> input: ImPS/2 Generic Wheel Mouse as /class/input/input2
>> ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
>> ahci 0000:00:09.0: flags: 64bit sntf led clo pmp pio slum part
>> PCI: Setting latency timer of device 0000:00:09.0 to 64
>> scsi0 : ahci
>> scsi1 : ahci
>> scsi2 : ahci
>> scsi3 : ahci
>> ata1: SATA max UDMA/133 cmd 0xf8854100 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata2: SATA max UDMA/133 cmd 0xf8854180 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata3: SATA max UDMA/133 cmd 0xf8854200 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata4: SATA max UDMA/133 cmd 0xf8854280 ctl 0x00000000 bmdma 0x00000000 irq 221
>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>> ata1.00: ATA-7: Hitachi HTS541612J9SA00, SBDOC70P, max UDMA/100
>> ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
>> ata1.00: configured for UDMA/100
>> ata2: SATA link down (SStatus 0 SControl 300)
>> ata3: SATA link down (SStatus 0 SControl 300)
>> ata4: SATA link down (SStatus 0 SControl 300)
>>
>>
> 
> Possibly fixed by:
> 
> Commit:     3cc3eb1148e4b2dfabf7a1dcf36fd8be1331ca95
> [libata] AHCI: enable AHCI mode, before using AHCI reset
> 
> Plus:
> 
> Commit:     ab6fc95f609b372a19e18ea689986846ab1ba29c
> [libata] AHCI: fix newly introduced host-reset bug
> 
> ??

Is it fixed by the above two patches?  Or are you saying that the above
two patches look like they might fix the problem?

Thanks.

-- 
tejun

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

end of thread, other threads:[~2007-12-10  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 23:53 Hard drives only detected when booting from CD on nVidia MCP67 SATA Chuck Ebbert
2007-12-06 23:05 ` Chuck Ebbert
2007-12-10  9:43   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).