[Mageia-dev] Latest kernels vs IDE/libata

Anssi Hannula anssi at mageia.org
Thu Mar 22 21:35:26 CET 2012


20.03.2012 10:50, JA Magallón kirjoitti:
> Hi all...
> 
> I have a queston about an issue that should be decided by the 'thinkin
> minds' in the distro, that probably have have wider sight than me...
> 
> I have some boxes with ide disks, that long tine ago were driven by
> the libata subsystem, as the pure PATA susbsytem is being slowly
> deprecated. Perhaps the kernel driver loading priorities have changed,
> perhaps before IDE was not builtin into kernel.
> But now, to get my IDE drove again by libata, I have to blacklist
> generic-ide and company.
> So I had to put a file ide.conf into modules.d like:
> 
> blacklist ide-generic
> blacklist ide-pci-generic
> blacklist piix
> 
> so ata_piix drives my ICH5 again.
> 
> I think it is desirable, libata works much better than old IDE driver,
> all your drives are sdX, instead of mixing sdX for SATA and hdX for PATA,
> etc...
> 
> Would it be desirable to have an ide-blacklist.conf file just to go
> migrating all working-ok-with-libata controllers to libata, and only
> leave pure PATA drivers for non supported oldies ?

I'm not sure how it worked previously (hack in mkinitrd, or luck?), but
if we don't want to disable the IDE drivers completely, attached is a
kernel patch that makes modprobe load ATA drivers before IDE drivers.

Thomas?

-- 
Anssi Hannula
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ata-prefer-ata-drivers-over-ide-drivers-when-both-ar.patch
Type: text/x-patch
Size: 1236 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120322/9661a504/attachment-0001.bin>


More information about the Mageia-dev mailing list