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

Bug#607888: initramfs-tools: Generated initrds missing critical modules



Package: initramfs-tools
Version: 0.98.7
Severity: important


I built earlier versions of the initramfs-tools package from the git
repository and it seems that this bug is present in 0.98.6, 0.98.7 but
not 0.98.5. Grub2 is intalled into the MBR, and all Debian partitions
except for /boot are located in an LVM2 PV on top of a LUKS encrypted
partition. I'm using a Samsung R560 laptop.

When booting, the system fails to detect any logical volumes having
never prompted for the LUKS password.  Comparing the initrds created, it
looks like sd_mod is missing from those created by 0.98.{6,7} of
initramfs-tools.

Francis

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 4.2M Dec 13 06:23 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 3.8M Dec  8 13:07 /boot/initrd.img-2.6.36.1
-rw-r--r-- 1 root root 3.8M Dec 23 17:48 /boot/initrd.img-2.6.36.2
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.36.1 root=/dev/mapper/debian_vg-root ro resume=/dev/debian_vg/swap

-- /proc/filesystems
	ext4
	ext3
	fuseblk

-- lsmod
Module                  Size  Used by
vboxnetadp              4555  0 
vboxnetflt             12415  0 
vboxdrv              1766341  2 vboxnetadp,vboxnetflt
acpi_cpufreq            5629  1 
mperf                   1363  1 acpi_cpufreq
cpufreq_stats           3012  0 
cpufreq_powersave        986  0 
cpufreq_conservative     9592  0 
cpufreq_userspace       2128  0 
binfmt_misc             7013  1 
ipt_REJECT              2061  2 
xt_tcpudp               2395  5 
nf_conntrack_ipv4      11297  1 
nf_defrag_ipv4          1417  1 nf_conntrack_ipv4
xt_state                1218  1 
nf_conntrack           64168  2 nf_conntrack_ipv4,xt_state
xt_multiport            1653  1 
iptable_filter          1626  1 
ip_tables              15643  1 iptable_filter
x_tables               21097  6 ipt_REJECT,xt_tcpudp,xt_state,xt_multiport,iptable_filter,ip_tables
fuse                   59743  3 
ext3                  113335  1 
jbd                    44126  1 ext3
coretemp                5244  0 
ipv6                  266836  25 
loop                   13715  0 
nvidia              10845083  31 
btusb                  10950  0 
snd_hda_codec_nvhdmi    13367  1 
bluetooth              52696  1 btusb
snd_hda_codec_realtek   284887  1 
snd_hda_intel          20678  0 
snd_hda_codec          86640  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
option                 16157  0 
snd_hwdep               5962  1 snd_hda_codec
snd_pcm_oss            31244  0 
snd_mixer_oss          13354  1 snd_pcm_oss
snd_pcm                68457  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1606  0 
usb_wwan               10673  1 option
snd_seq_oss            25555  0 
arc4                    1361  2 
ecb                     1951  2 
snd_seq_midi            4930  0 
snd_rawmidi            19448  1 snd_seq_midi
sg                     20209  0 
snd_seq_midi_event      6441  2 snd_seq_oss,snd_seq_midi
snd_seq                47606  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
iwlagn                115904  0 
joydev                  9461  0 
sr_mod                 12339  0 
iwlcore               108404  1 iwlagn
cdrom                  33311  1 sr_mod
usbserial              33278  2 option,usb_wwan
snd_timer              19012  2 snd_pcm,snd_seq
video                  20935  0 
sky2                   41234  0 
snd_seq_device          5936  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
uhci_hcd               18701  0 
mac80211              149434  2 iwlagn,iwlcore
ehci_hcd               31445  0 
button                  5774  0 
battery                10774  0 
snd                    57159  12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_i801                7467  0 
cfg80211              132980  3 iwlagn,iwlcore,mac80211
evdev                   7769  12 
output                  2231  1 video
intel_agp              26342  0 
soundcore               6603  1 snd
i2c_core               23022  2 nvidia,i2c_i801
psmouse                35708  0 
snd_page_alloc          7636  2 snd_hda_intel,snd_pcm
rfkill                 17203  2 bluetooth,cfg80211
ac                      3338  0 
pcspkr                  1854  0 
ext4                  286698  2 
mbcache                 7020  2 ext3,ext4
jbd2                   69931  1 ext4
crc16                   1635  1 ext4
aes_x86_64              7768  2 
aes_generic            27383  1 aes_x86_64
xts                     2319  1 
gf128mul                7397  1 xts
dm_crypt               10880  1 
dm_mod                 65394  13 dm_crypt
zlib_deflate           19259  0 
crc32c                  2695  1 
libcrc32c               1180  0 
sd_mod                 28644  4 
crc_t10dif              1491  1 sd_mod
ahci                   20326  3 
fan                     3535  0 
libahci                19828  1 ahci

-- /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

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
sda3-crypt      /dev/sda3               none            luks,noauto

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
cryptgnupg
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
keymap
klibc
lvm2
thermal
udev


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36.1 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

-- no debconf information



Reply to: