Bug#624692: initramfs-tools: silently fails to include modules if modules.dep is not current
Package: initramfs-tools
Version: 0.98.8
Severity: normal
When a kernel module is added to /lib/modules/$VERSION (e.g. an
out-of-tree module built after the usual kernel) and 'depmod -a
$VERSION' has not run, such that modules.dep is not current, the call to
'modprobe --set-version="$VERSION" --ignore-install --quiet
--show-depends' will silently fail, not including the module no matter
which configuration options were given in /etc/initramfs-tools/*.
Possible solution: add an appropriate error handling and error message
at /usr/share/initramfs-tools/hook-functions line 47ff
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 7.3M Feb 6 15:41 /boot/initrd.img-2.6.26-2-686
-rw-r--r-- 1 root root 7.3M Feb 6 15:41 /boot/initrd.img-2.6.26-2-686-bigmem
-rw-r--r-- 1 root root 6.3M Nov 27 2009 /boot/initrd.img-2.6.26-2-686.bak
-rw-r--r-- 1 root root 7.5M Nov 28 2009 /boot/initrd.img-2.6.30-bpo.2-686-bigmem
-rw-r--r-- 1 root root 7.5M Nov 28 2009 /boot/initrd.img-2.6.30-bpo.2-686-bigmem.bak
-rw-r--r-- 1 root root 9.8M Apr 17 00:54 /boot/initrd.img-2.6.32-5-686-bigmem
-rw-r--r-- 1 root root 9.8M Apr 17 01:01 /boot/initrd.img-2.6.32-bpo.5-686-bigmem
-rw-r--r-- 1 root root 8.1M Jan 11 12:41 /boot/initrd.img-2.6.32-bpo.5-686-bigmem.bak
-rw-r--r-- 1 root root 3.2M Apr 30 19:27 /boot/initrd.img-2.6.32.39
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686-bigmem root=UUID=cdec4e62-9f9d-4ce7-b677-39bf165df294 ro radeon.modeset=0 8250.nr_uarts=32 console=ttyS0,9600 console=tty0
-- resume
RESUME=/dev/cciss/c0d0p5
-- /proc/filesystems
ext3
fuseblk
-- lsmod
Module Size Used by
nfs 207070 2
fscache 24662 1 nfs
binfmt_misc 4907 1
sco 5857 0
bridge 33019 0
stp 996 1 bridge
rfcomm 25175 0
bnep 7444 0
l2cap 21705 4 rfcomm,bnep
crc16 1027 1 l2cap
bluetooth 36319 4 sco,rfcomm,bnep,l2cap
rfkill 10264 1 bluetooth
ip6t_REJECT 2148 1
xt_multiport 1775 3
ipt_REJECT 1517 26
xt_recent 4885 2
ip6table_filter 1908 1
ip6_tables 8560 1 ip6table_filter
iptable_filter 1790 1
nfsd 193887 11
lockd 49437 2 nfs,nfsd
nfs_acl 1695 2 nfs,nfsd
auth_rpcgss 25268 2 nfs,nfsd
sunrpc 134784 18 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
exportfs 2618 1 nfsd
autofs4 16667 0
xt_tcpudp 1743 50
iptable_nat 3551 1
nf_nat 10568 1 iptable_nat
nf_conntrack_ipv4 7597 3 iptable_nat,nf_nat
nf_conntrack 38083 3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 779 1 nf_conntrack_ipv4
ip_tables 7690 2 iptable_filter,iptable_nat
x_tables 8327 8 ip6t_REJECT,xt_multiport,ipt_REJECT,xt_recent,ip6_tables,xt_tcpudp,iptable_nat,ip_tables
fuse 44256 1
radeon 538788 0
ttm 33570 1 radeon
ipmi_si 26764 0
drm_kms_helper 18309 1 radeon
drm 112712 3 radeon,ttm,drm_kms_helper
ipmi_msghandler 22871 1 ipmi_si
i2c_algo_bit 3497 1 radeon
hpwdt 4295 0
i2c_core 12787 4 radeon,drm_kms_helper,drm,i2c_algo_bit
hpilo 5268 0
cypress_m8 13145 1
psmouse 44809 0
evdev 5609 3
usbserial 22100 3 cypress_m8
container 1833 0
pcspkr 1207 0
serio_raw 2916 0
processor 26335 0
button 3598 0
ext3 94204 2
jbd 32169 1 ext3
mbcache 3762 1 ext3
raid10 16733 0
raid456 42876 0
async_raid6_recov 4166 1 raid456
async_pq 2647 2 raid456,async_raid6_recov
raid6_pq 77468 2 async_raid6_recov,async_pq
async_xor 1990 3 raid456,async_raid6_recov,async_pq
xor 12418 1 async_xor
async_memcpy 858 2 raid456,async_raid6_recov
async_tx 1326 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1 16375 0
raid0 5601 0
multipath 4987 0
linear 3063 0
md_mod 67377 6 raid10,raid456,raid1,raid0,multipath,linear
usbhid 28056 0
hid 50909 1 usbhid
uhci_hcd 16141 0
ehci_hcd 29093 0
cciss 76855 5
usbcore 99081 6 cypress_m8,usbserial,usbhid,uhci_hcd,ehci_hcd
nls_base 4541 1 usbcore
bnx2 52157 0
scsi_mod 101433 1 cciss
e1000e 98221 0
thermal 9206 0
thermal_sys 9378 2 processor,thermal
-- /etc/initramfs-tools/modules
-- /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
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
mdadm
thermal
udev
uswsusp
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (1050, 'stable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1+b1 utilities for finding files--find,
ii klibc-utils 1.5.20-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 164-3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.17.1-8 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-3 programmable completion for the ba
-- debconf-show failed
Reply to: