dracut: ide vs ata modules

Kacper Kornet draenog at pld-linux.org
Fri Mar 28 17:58:36 CET 2014

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.

3) Blacklist ide modules in dracut configuration

I think the second option is the simplest one, so I would like to
implement it in  PLD, unless someone has preference.


More information about the pld-devel-en mailing list