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. Is there a magic command that would answer the question "is this driver useful for any device present on my machine"? 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? As a side note, I am wondering why my systems are all in IDE mode and if I should switch them to AHCI mode. I even read frightening threads in online forums stating that TRIM would only work in AHCI mode. As a matter of fact, the Samsung 830 Series SSD manual says to set AHCI mode. But no note of that in the Intel 320 Series SSD manual... -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org