dracut: ide vs ata modules

Jan Rękorajski baggins at pld-linux.org
Sun Mar 30 21:41:08 CEST 2014

On Fri, 28 Mar 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.
> 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.

Personally, I'd just disable CONFIG_IDE, but if you say there is
hardware not supported by the ata drivers I'm going to move IDE drivers
to a subpackage.

Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/

More information about the pld-devel-en mailing list