[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264440: mkinitrd bug



Hi Eric,

> The original logic seems to test for an old kernel AND new module style
> (i.e. *.ko) which works fine going from 2.4 to 2.6. The problem is that
> the test fails going from 2.6 to 2.6 and the print_module statement
> never executes. Seems there also needs to be a check to catch a
> situation where uname -r returns a new kernel (i.e. 2.6) and hence
> $oldkernel is unset.

There is more behind this: mkinitrd checks which scsi and sata
modules are loaded in the current 2.6 kernel, and adds them to
the initrd. But this check does not work for newer kernels. See

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263169

The workaround is to add the sata or scsi module for your
root disk (e.g. ata_piix) to /etc/mkinitrd/modules and
rebuild the initrd.


Regards

Harri



Reply to: