[ltp] libata PATA drivers on ThinkPad T42

Martin Steigerwald linux-thinkpad@linux-thinkpad.org
Wed, 14 Mar 2007 21:20:25 +0100


Anyone tried to use libata PATA drivers on an IBM ThinkPad T42?

I felt adventurous to compile a + ck1 patchset + sws2 
today with libata PATA drivers.

I additionally activated these config options:

CONFIG_PATA_MPIIX=y (this should be the right one according to wikipedia 
Intel IO Hub list)

And thought of trying it out with:

# kopt=root=/dev/sda1 ro resume2=swap:/dev/sda5 resume=/dev/sda5 vga=792 
combined_mode=libata libata.atapi_enabled=1

I AFAIFO (as far as I found out) could switch back to old ATA drivers with 
if need be:

# kopt=root=/dev/hda1 ro resume2=swap:/dev/hda5 resume=/dev/hda5 vga=792 

But all of this is quite some guess work. I did not found more about it 
than this little paragraph in kernel parameters:

        combined_mode=  [HW] control which driver uses IDE ports in 
                        mode: legacy IDE driver, libata, or both
                        (in the libata case, libata.atapi_enabled=1 may be
                        useful as well).  Note that using the ide or 
                        options may affect your device naming (e.g. by
                        changing hdc to sdb).
                        Format: combined (default), ide, or libata

Any hints? Anyone tried it yet? Is it working stable? Will try to compile 
the new kernel now, but will stay with "combined_mode=ide" first.

Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7