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

Bug#465760: initramfs-tools: Needs to create /lib/modules/${version}/modules.dep in initramfs in case no modules are required



* colimit@gmail.com <colimit@gmail.com> [Don Feb 14, 2008 at 11:31:02 -0500]:
> Package: initramfs-tools
> Version: 0.91d
> Severity: minor
> Tags: patch

> this bug is un update to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393688

> If your kernel configuration is such that no modules are required in
> the initramfs then /lib/modules/${version}/modules.dep is never
> created and on boot
> you get some noisy message:
>   FATAL: Could not load /lib/modules/${version}/modules.dep: No such
> file or directory
> (several times)

> the dirty fix is below
[...]

This one could be related to #554873 and might be also related to
#562561.

You might run into this problem also if you're using an kernel
image that doesn't ship an initrd by default, quoting commit log
c0d14c1245e96be8757ad4a42bf4cbfa9521dc81 from initramfs-tools.git:

|    don't suppress the modprobe error output!!!
|    this can happen when your depmod was generated by newer m-i-t then Lenny's.
|    make deb-pkg generated images don't call yet depmod -a in postinst
|    thus it can happend there and it was already triggered.

Same applies to make-kpkg without --initrd IIRC.
Maybe mkinitramfs could include an check whether modules.dep is OK?

BTW: Maks, any specific reason whyyou removed the "patch"-tag from
this bugreport even though there exists a patch?

regards,
-mika-
-- 
http://michael-prokop.at/  || http://adminzen.org/
http://grml-solutions.com/ || http://grml.org/

Attachment: signature.asc
Description: Digital signature


Reply to: