Bug#508178: initramfs-tools: Missing modules.dep in initrd image
Package: initramfs-tools
Version: 0.92j
Severity: normal
When building my own version of the Linux kernel, the generated initrd
does not contain the modules.dep file.
At early stage of boot, I get alerts saying :
modprobe: FATAL: could not load /lib/modules/2.6.26-doofi/modules.dep:
no such file or directory
I cannot get the alerts in my logs (even with bootlogd enabled).
Since my kernel has built in support for many devices it still runs fine
after the alerts but this bug might be the same as #499231 since the
alerts appeared recently (and I have no other version of initramfs-tools
to check).
Manually re-creating the initrd image solves the problem but
update-initramfs (and mkinitramfs) build initrd images missing the
modules.dep file.
I built the debian package with :
# make-kpkg --revision 0.5 --rootcmd fakeroot --initrd kernel_image
There is an Ubuntu report of this bug :
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/304776
I also found so information at
http://lists.debian.org/debian-user/2008/07/msg00258.html
but my kernel config file does already specify a local version for the
kernel (mine is CONFIG_LOCALVERSION="-doofi").
-- Package-specific info:
-- /proc/cmdline
root=/dev/sda5 ro vga=792 quiet
-- /proc/filesystems
ext3
cramfs
fuseblk
-- lsmod
Module Size Used by
i915 25408 2
drm 65640 3 i915
ipv6 211604 12
cpufreq_stats 3664 0
fuse 42396 1
dm_crypt 11012 0
dm_mod 42800 1 dm_crypt
serio_raw 4676 0
iwl3945 76184 0
firmware_class 6784 1 iwl3945
psmouse 31952 0
video 16144 0
led_class 3780 1 iwl3945
output 2816 1 video
intel_agp 21884 1
agpgart 28788 3 drm,intel_agp
dcdbas 6240 0
usbhid 22948 0
ohci1394 24560 0
ieee1394 74952 1 ohci1394
sg 26356 0
sr_mod 11944 0
cdrom 30360 1 sr_mod
sd_mod 20248 5
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-doofi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: