[ltp] ata_piix on a t42p

Mihai Călin Bazon linux-thinkpad@linux-thinkpad.org
Tue, 7 Aug 2007 12:19:18 +0300


Make sure you enable AHCI in your BIOS; otherwise the HDD will be in
backward compatibility mode (/dev/hda instead of /dev/sda).

-M.

On 8/6/07, Florian Reitmeir <florian@reitmeir.org> wrote:
> On Mon, 06 Aug 2007, Carlos Moffat wrote:
>
> > On Mon, 2007-08-06 at 21:03 +0200, Florian Reitmeir wrote:
> > > Hi,
> > >
> > > does the kernel detect your drive? (boot messages?)
> > >
> >
> > How I would I know that? It does some stuff before the kernel panic, so
> > it would seem that at least finds /boot, but I'm not sure.
>
> my kernel on my X60s tells me like:
>
> --------------- SCHNIPP
> ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0xf impl SATA mode
> ahci 0000:00:1f.2: flags: 64bit ncq pm led clo pio slum part
> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> scsi0 : ahci
> scsi1 : ahci
> scsi2 : ahci
> scsi3 : ahci
> ata1: SATA max UDMA/133 cmd 0xf8850500 ctl 0x00000000 bmdma 0x00000000 irq 219
> ata2: SATA max UDMA/133 cmd 0xf8850580 ctl 0x00000000 bmdma 0x00000000 irq 219
> ata3: SATA max UDMA/133 cmd 0xf8850600 ctl 0x00000000 bmdma 0x00000000 irq 219
> ata4: SATA max UDMA/133 cmd 0xf8850680 ctl 0x00000000 bmdma 0x00000000 irq 219
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata1.00: ATA-7: FUJITSU MHV2080BH, 00840028, max UDMA/100
> ata1.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 31/32)
> ata1.00: configured for UDMA/100
> ata2: SATA link down (SStatus 0 SControl 0)
> ata3: SATA link down (SStatus 0 SControl 0)
> ata4: SATA link down (SStatus 0 SControl 0)
> scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHV2080B 0084 PQ: 0 ANSI: 5
> ---------------- SCHNAPP
>
> so it tells a least the harddisk name, and the channel and some capabilities. I expect
> something similar from your kernel.
>
> > > On Mon, 06 Aug 2007, Carlos Moffat wrote:
> > > > I have a t42p and I'm trying to make the switch to the ata_piix drivers
> > > > by following the instructions:
> > > >
> > > > http://www.thinkwiki.org/wiki/How_to_configure_and_use_libata_SATA_/_PATA_drivers
> > > >
> > > > I have:
> > > >
> > > > * recompiled the kernel (2.6.22)
> > > > * changed /etc/fstab to use labels
> > > > * changed /boot/grub/menu.lst and switched /dev/hda1 to /dev/sda1 for
> > > > this kernel. It reads:
> > > >
> > > > root=/dev/sda1 ro acpi_sleep=s3_bios atapi_enabled=1
> > > >
> > > >
> > > > When I reboot, I get a kernel panic:
> > > >
> > > > cannot open root device "sda1" or unknown-block(0,0)
> > > >
> > > > (or something very similar). somebody in IRC suggested the problem might
> > > > be the T42p chipset might not be supported.
> > > >
> > > > Does anybody have any ideas, or a working setup with this drivers and a
> > > > t42p?
>
> --
> Florian Reitmeir
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>


-- 
Mihai Bazon,
http://mihai.bazon.net/blog