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 ?? - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html