Bug#598518: linux-image-2.6-686: ata_piix module loaded before ahci module deactivate hotplug support (regression from lenny)
hello,
On Mon, Oct 04, 2010 at 06:46:51PM +0200, Tejun Heo wrote:
> >> The solution is to load ahci module before ata_piix module, then we can have
> >> SATA drives managed by ahci module and IDE drives managed by ata_piix module.
> > [...]
> >
> > 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.
> >
> > But it seems like it would be better if ahci was automatically
> > preferred.
>
> With modules.order in place, modprobe will always prefer ahci over
> ata_piix (the preference follows the link order). Maybe debian initrd
> doesn't handle modules.order properly?
we do shipp modules.order in initramfs.
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
thanks
--
maks
Reply to: