Martin Michlmayr wrote:
* Harald Dunkel <[EMAIL PROTECTED]> [2004-08-03 10:36]:

Attached you can find a patch.


This looks like a hack to me which works around the real problem.  See
maybe #256113.

I don't see that the patch is a hack. It looks into /proc/modules (the user space interface for module management) to get a list of loaded modules. Using this data it generates a list of modules to be loaded from the initrd.

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.

I doubt that /proc/scsi is the right way to guess which modules
are loaded. At least for sata_sil and sata_sis it doesn't work,
as it seems.


Regards

Harri




Reply via email to