Bug#263169: loadmodules incomplete
Hi,
Harald Dunkel writes:
> the patch [...] looks into /proc/modules (the user space interface
> for module management) to get a list of loaded modules.
This only works if you are building an initrd for a kernel with the
exact same module configuration.
> On the other side, the current mkinitrd searches for entries in
> /proc/scsi and uses 45 lines sed (hardwired into mkinitrd!) to do a
> mapping to module names.
mkinitrd is far from perfect. Nevertheless, it works nicely on a
great many systems.
> I doubt that /proc/scsi is the right way to guess which modules
> are loaded.
It is, since it contains information about the installed SCSI
hardware, not about the loaded drivers.
> At least for sata_sil and sata_sis it doesn't work, as it seems.
Patch the sed script, then.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
Reply to: