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

Bug#402499: initramfs-tools: depmod wastes space and time, please replace it with a modules.dep file



On Sun, Jan 07, 2007 at 10:06:59AM +0100, Jindrich Makovicka wrote:
> On Sun, 7 Jan 2007 09:51:55 +0100
> maximilian attems <maks@sternwelten.at> wrote:
> 
> > On Sun, Jan 07, 2007 at 09:29:47AM +0100, Jindrich Makovicka wrote:
> > > IMHO there should be at least a dummy modules.dep to suppress the
> > > "FATAL: Cannot load modules.dep" messages during booting, when
> > > kernel tries to load net-pf-1 etc. depmod -a can later replace the
> > > dummy with a correct modules.dep.
> > 
> > you seem to have the broken initramfs 0.85d,
> 
> I have 0.85e.

and the initramfs you are booting was created with 0.85e??
 
> > upgrade to 0.85e and depmod will again create modules.dep
> > on the fly.
> 
> Strangely, these "FATAL" messages appear _before_ /init is executed,
> so depmod hasn't been called yet.

sure initramfs is _before_ the real init.
nevertheless depmod -a is called in the init script of initramfs-tools.
there is nothing loading a module before, care to really submit
a separate bug report.
 
> I don't understand what do you mean by the stage. The hook is executed
> when building the image (it is put into /etc/initramfs-tools/hooks), so
> the image contains an empty modules.dep instead of none.

ah ok hadn't got that it was used on build time.
 
best regards

-- 
maks



Reply to: