dracut: ide vs ata modules

Arkadiusz Miśkiewicz arekm at maven.pl
Fri Mar 28 18:50:09 CET 2014


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.

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

1) but maybe on per module basis? (unless my claim is not true then disable 
all)

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


More information about the pld-devel-en mailing list