[pkg-cryptsetup-devel] Bug#547597: initrd does not load modules needed for essiv calculation

Carlo Contavalli ccontavalli at gmail.com
Sun Sep 20 23:16:50 UTC 2009


Package: cryptsetup
Version: 2:1.0.7-2
Severity: important

Note the:

aes-xts-essiv:wp256

essiv:wp256 requires the kernel module wp512.

mkinitramfs (and the cryptsetup scripts) do not seem to include it in
the initrd. The end result is that the initrd script fails, and the
root is unusable.

Adding:

wp512

in /etc/modules addressed the problem for me, but it would be nice
if it included the module automatically.

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.30-1-686 root=/dev/mapper/root ro quiet

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
root /dev/mapper/system-root none cipher=aes-xts-essiv:wp256,size=256,hash=ripemd160

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type>  <options>       <dump>  <pass>
/dev/sda1        /boot   ext2 noatime,nodev,nosuid,noexec,sync 0       2
/dev/mapper/swap  none   swap sw                0       0
proc              /proc   proc defaults         0       0
/dev/mapper/root  /          ext3 commit=60,data=journal,errors=remount-ro 0 1
/dev/mapper/opt   /opt       ext3 commit=60,data=journal,errors=remount-ro 0 1
/dev/mapper/dumps /opt/dumps ext3 commit=60,data=journal,errors=remount-ro 0 2 

-- lsmod
Module                  Size  Used by
cpufreq_stats           3520  0 
i915                  147544  1 
drm                   137920  2 i915
i2c_algo_bit            4860  1 i915
ip6t_REJECT             3276  1 
nf_conntrack_ipv6      11616  1 
ip6table_filter         3084  1 
ip6_tables             11316  1 ip6table_filter
ipt_REJECT              2496  1 
nf_conntrack_ipv4      11928  1 
nf_defrag_ipv4          1664  1 nf_conntrack_ipv4
xt_conntrack            3184  2 
nf_conntrack           57924  3 nf_conntrack_ipv6,nf_conntrack_ipv4,xt_conntrack
iptable_filter          2956  1 
ip_tables              10188  1 iptable_filter
x_tables               14108  5 ip6t_REJECT,ip6_tables,ipt_REJECT,xt_conntrack,ip_tables
joydev                  8576  0 
hdaps                   9228  1 
thinkpad_ec             6288  1 hdaps
ext2                   54120  1 
fuse                   47752  1 
snd_hda_codec_conexant    17164  1 
arc4                    1560  2 
snd_hda_intel          22192  5 
ecb                     2368  2 
snd_hda_codec          63580  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6120  1 snd_hda_codec
snd_pcm_oss            32232  0 
snd_mixer_oss          12368  3 snd_pcm_oss
snd_pcm                62420  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
iwlagn                 72244  0 
i2400m_usb             24368  0 
iwlcore                92264  1 iwlagn
i2400m                 69512  1 i2400m_usb
mac80211              142848  2 iwlagn,iwlcore
snd_timer              17436  1 snd_pcm
snd                    49060  14 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               6184  3 snd
cfg80211               55556  3 iwlagn,iwlcore,mac80211
wimax                  22620  2 i2400m_usb,i2400m
uvcvideo               49308  0 
thinkpad_acpi          55616  0 
wmi                     6184  0 
led_class               3852  2 iwlcore,thinkpad_acpi
pcspkr                  2104  0 
nvram                   6376  1 thinkpad_acpi
i2c_i801                8564  0 
i2c_core               20844  4 i915,drm,i2c_algo_bit,i2c_i801
evdev                   8028  22 
videodev               31040  1 uvcvideo
snd_page_alloc          8180  2 snd_hda_intel,snd_pcm
serio_raw               4560  0 
v4l1_compat            11416  2 uvcvideo,videodev
rfkill                  9668  5 iwlcore,wimax,thinkpad_acpi
psmouse                37528  0 
processor              34504  2 
battery                 6012  0 
ac                      2960  0 
button                  5060  0 
ext3                  107172  3 
jbd                    41036  1 ext3
mbcache                 6924  2 ext2,ext3
sha256_generic         11216  0 
cbc                     3012  1 
aes_i586                8092  11 
aes_generic            27436  1 aes_i586
xts                     2688  3 
gf128mul                7708  1 xts
dm_crypt               11092  4 
dm_mod                 49992  23 dm_crypt
sd_mod                 28748  3 
crc_t10dif              1632  1 sd_mod
uhci_hcd               19132  0 
ide_pci_generic         3632  0 
ide_core               88100  1 ide_pci_generic
ahci                   30068  2 
ata_generic             4340  0 
ehci_hcd               29680  0 
libata                150904  2 ahci,ata_generic
usbcore               126004  5 i2400m_usb,uvcvideo,uhci_hcd,ehci_hcd
e1000e                 98380  0 
scsi_mod              131800  2 sd_mod,libata
intel_agp              22900  1 
agpgart                30836  3 drm,intel_agp
video                  18044  1 i915
output                  2604  1 video
thermal                12580  0 
fan                     4044  0 
thermal_sys            13140  4 processor,video,thermal,fan
wp512                  25864  0 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (1100, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.36-4 The Linux Kernel Device Mapper use
ii  libc6                        2.9-25      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.36-4 The Linux Kernel Device Mapper use
ii  libpopt0                     1.14-4      lib for parsing cmdline parameters
ii  libuuid1                     2.16-3      Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          0.141-2    /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list