Re: need help booting from SATA in 2.4.32

From: Willy Tarreau
Date: Tue May 16 2006 - 16:38:45 EST


On Tue, May 16, 2006 at 04:31:52PM -0400, George Nychis wrote:
> Hi,
>
> I've booted from a SATA drive in 2.4.32 before, but for some reason
> 2.4.32 will not recognize this disk. It is recognized when I boot 2.6.9
> though.
>
> It uses the ata_piix module in both kernels. Whenever I boot 2.6.9 I see:
> ----------------------------------------------------------------------
> SCSI subsystem initialized
> ACPI: PCI interrupt 0000:00:1f.2[B] -> GSI 7 (level, low) -> IRQ 7
> ata: 0x170 IDE port busy
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
> ata1: dev 0 ATA, max UDMA/100, 78140160 sectors:
> ata1(0): applying bridge limits
> ata1: dev 0 configured for UDMA/100
> scsi0 : ata_piix
> Vendor: ATA Model: FUJITSU MHV2040A Rev: 0000
> Type: Direct-Access ANSI SCSI revision: 05
> SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
> SCSI device sda: drive cache: write back
> sda: sda1 sda2 sda3 sda4 < sda5 >
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@xxxxxxxxxxxxxx
> ------------------------------------------------------------------------
>
> However in 2.4.32 all i see is:
> ----------------------------
> SCSI subsystem initialized
> ----------------------------
>
> I am positive that my 2.4.32 has been compiled with ata_piix as a
> module, and it does reside in /lib/modules/2.4.32/kernel/driver/scsi/
>
> Any clues?

Could you retry with it statically linked in the kernel ? I vaguely
remember that if the original PIIX4 driver registers the device first,
then ata_piix cannot get it. You could also ensure that you have
properly removed CONFIG_IDE_PIIX4 (I believe it's called like this).

> Thanks!
> George

Regards,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/