From: Marc G. <gr...@at...> - 2009-05-06 07:22:40
|
On Tuesday 05 May 2009 23:15:46 Gordan Bobic wrote: > Gordan Bobic wrote: > > Module dependencies don't seem to get worked out correctly. e100 module > > requires mii module to be loaded. mkinitrd -l doesn't package mii module > > into the initrd. This might be due to the fact that depmod -a never ran > > on the new kernel. Either way, this is something that initrd -l should > > really deal with on it's own without requiring manual intervention via > > -M. I perfectly agree btw. this holds also for tg3 driver who require since kernel 2.6.18-128.. the libphy module. But I didn't find a way how to query module dependencies. Any ideas would be appreciated. > > Especially when -M doesn't work: > # /opt/atix/comoonics-bootimage/mkinitrd -l -M mii /tmp/initrd_sr.img > 2.6.18-128.1.6.el5 > /opt/atix/comoonics-bootimage/mkinitrd: illegal option -- M > Error wrong option. You're right. This is a bug. Apply the attached patch or as a workaround add this module to /etc/comoonics/comoonics-bootimage.cfg in the default_modules section. -- Gruss / Regards, Marc Grimme http://www.atix.de/ http://www.open-sharedroot.org/ |