On 6.6.2013 14:40, Jean Delvare wrote:
Hi Michal,
Le Thursday 06 June 2013 à 13:56 +0200, Michal Marek a écrit :
On 6.6.2013 10:57, Jean Delvare wrote:
Not sure about ata_generic. On the one hand, it is included in the initrd and thus loaded on all my machines. But OTOH it is not bound to any device on these systems. So the right solution might be teach mkinitrd to only embed ata_generic when it is really needed, rather than building it into the kernel.
mkinitrd adds whatever the modalias for the storage controller resolves to. I do not have ata-generic in my initrd, nor is it loaded.
I have ata_generic listed in /etc/sysconfig/kernel together with ata_piix. As I understand it, drivers are added to INITRD_MODULES there but never removed automatically, right? So it might be that it no longer matches any device on my system.
Either that, or some older version of the installer added it, even though mkinitrd no longer needed it.
Is there a magic command that would answer the question "is this driver useful for any device present on my machine"?
Remove it from the sysconfig file, run mkinitrd, reboot and see if udev loads it :).
It could also be that ata_generic is only usable when the storage controller is set to IDE mode in the BIOS, and not when set to AHCI. Maybe that's why you don't have ata_generic on your machine, it is in AHCI mode?
I can't check right now, but the controller is driven by the ahci driver at least.
As a side note, I am wondering why my systems are all in IDE mode and if I should switch them to AHCI mode.
Strange. I am by no means an expert, but I thought that AHCI had been a de-facto standard on desktop and laptop hardware for the last couple of years. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org