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

Bug#263216: initrd-tools - fails if storage modules are compiled in



Martin Michlmayr wrote:

Herbert said: "Well if mkinitrd didn't check the existence of those
modules then people who don't configure them into the kernel at all
will get an unbootable system.

As checking the kernel config file is pretty much unmaintainable
at the moment, this is the best we can do.

I have no experience with s390, but assuming it supports PCI:

mkinitrd could run discover to check which hardware is installed
and which modules are needed, even if they are compiled into
the current kernel.

Or you could add discover to the linuxrc script to figure out
which modules to load at boot time.

Last but not least mkinitrd could print a precautionary note at
runtime asking the user to add the storage modules to mkinitrd.conf.


Regards

Harri



Reply to: