dracut: ide vs ata modules

Kacper Kornet draenog at pld-linux.org
Tue Apr 1 10:27:39 CEST 2014

On Fri, Mar 28, 2014 at 06:50:09PM +0100, Arkadiusz Miśkiewicz wrote:
> On Friday 28 of March 2014, Kacper Kornet wrote:
> > In PLD kernels there are both ide and ata drivers for the same controllers,
> > for example ata_piix and piix. Dependant on which one is loaded first
> > the disks are visible as /dev/sd* or /dev/hd*.

> > The kernel help says "Users of ATA hardware are encouraged to migrate to
> > the newer ATA subsystem ("Serial ATA (prod) and Parallel ATA
> > (experimental) drivers") which is more actively maintained."
> > Unfortunately as the dracut in the default configuration tries to load
> > all matching modules in the order presented by modprobe, the ide modules
> > are used in many cases.

> > I can see three solutions:

> > 1) Don't build the ide modules at all. It is the way Fedora went (they
> > have CONFIG_IDE not set except on powerpc). However arekm claims that
> > there are some ide modules not ported to ata.

> > 2) Change the order of modules presented by modprobe for a given alias.
> > That can be accomplished by a trivial patch to kernel Makefile.

> Fails to work with vanilla kernels where using vanilla kernel was supported 
> configuration in pld.

It still would be supported. For this kernels it would work without any
change. The only difference such people would observe is that disks
would could be visible as /dev/hd* or /dev/sd* dependant if they boot
from distribution kernel or the one build and installed without using rpm.


More information about the pld-devel-en mailing list