Intel piix, ata_piix battle for hard disk and cdrom drive

Problem:
For kernels until 2.6.17 and maybe later the ata_piix controller may detect the cdrom / dvd drive but does not assign a driver letter to it. On the other hand the piix controller may detect the sata hard disk but can not use it.

Cause of the problem:
The ide controller is either handeled by the piix module or the sata_piix module. The module that is loaded first will grab the controller exclusively.


Solution:
Either make sure piix is loaded before sata_piix and hope your hard disk still works.
Or load the experimental sata atapi code by loading the libata module with the parameter atapi_enabled=1.

To do the latter you can either try to set "options libata atapi_enabled=1" in /etc/modules.conf or modify the initrd image (necessary for debian) by loading the module directly with the parameter. Add
libata atapi_enabled=1
to /etc/mkinitrd/modules. After that re-create the initrd via
mkinitrd /boot/initrd.img-`uname -r`
Make sure the original initrd has been replaced. Another possibility would be modifying the kernel parameter line in /boot/grub/menu.list by adding
ide1=noprobe libata.atapi_enabled=1
This should also be possible with a new installation of debian or ubuntu where the cdrom is not detected and the installation fails.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?