Re: libata update?

From: Robert Hancock
Date: Mon Dec 04 2006 - 00:49:45 EST


Erik Ohrnberger wrote:
Not to sound too dense or anything, but is there a HOWTO for this kernel to
enable the libata code?

I've read through the Documentation/kernel-parameters.txt file, and seems
like all I have to do is include libata.atapi_enabled=1 combined_mode=libata
on the grub.conf line to enable it, but when I boot that kernel with that
option, I get an error message: 'Block device /dev/sda1 is not a valid root
device' and a 'boot() ::' prompt.

You shouldn't need atapi_enabled=1 anymore, and combined_mode only applies if you're using an Intel controller with that combined/legacy/AHCI selection braindamage. Did you select the right driver options in the kernel configuration? You'll either have to compile the driver(s) into the kernel or potentially do some distro-specific magic to ensure the modules get loaded in the initrd.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
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/