Bug#598518: linux-image-2.6-686: ata_piix module loaded before ahci module deactivate hotplug support (regression from lenny)
2010/9/30 Ben Hutchings <firstname.lastname@example.org>:
> On Wed, 2010-09-29 at 18:50 +0200, email@example.com
> You can force ahci to be loaded first:
> 1. Add the line 'ahci' to /etc/initramfs-tools/modules.
> 2. Run 'update-initramfs -u' to regenerate the initramfs.
> 3. Reboot.
I've tested it, it does'nt change anything.
Nowadays, I blacklist ata_piix
# echo 'blacklist ata_piix' >> /etc/modprobe.d/blacklist.conf
# update-initramfs -k all -u
then I manually load ata_piix using modprobe after boot
> But it seems like it would be better if ahci was automatically
Yes, because I'm not the only one using ich6 chipset who want to
upgrade from lenny to squeeze indeed. :)
2010/10/4 maximilian attems <firstname.lastname@example.org>:
> we do shipp modules.order in initramfs.
It looks like what I'm looking for... a way to force loading of ahci
module before loading of ata_piix module.
> hmm thomas what are your MODULES settings, please post output of
> egrep MODULES -r /etc/initramfs-tools/
> if MODULES=dep appears it could be that the sys walking code has
> a bug in adding the wrong module to the initramfs.
> please change it to the safe and default MODULES=most and regenerate:
> update-initramfs -u -k <kernelversion>
> you can check any initramfs if it has the relevant modules with
> lsinitramfs /boot/initrd.img-2.6.35-trunk-amd64 | grep ahci
I'm going to check this !
It can be important to point out that previously quoted lenny lspci
showed me it knows the two modules could be used and experience showed
me it does the good choice.
# diff lspci-lenny lspci-squeeze
< Status: D0 PME-Enable- DSel=0 DScale=0 PME-
< Kernel driver in use: ahci
< Kernel modules: ahci, ata_piix
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: ata_piix
Squeeze lspci does'nt have this "Kernel modules" line even though both
modules are loaded.
So, I'm going to check modules.order and /etc/initramfs-tools/ then I
will report here what I can see.