[pkg-cryptsetup-devel] Bug#659235: cryptsetup: Fails to detect crypted devices on LVM

Kai Weber kai.weber at glorybox.de
Thu Feb 9 11:33:50 UTC 2012


Package: cryptsetup
Version: 2:1.4.1-1
Severity: critical
Justification: breaks the whole system

Since the upgrade from 1.3 to 1.4 my system no longer boots. Seems to be
a problem when trying to detect my root filesystem:

$ update-initramfs -u -v
....
Calling hook cryptroot
cryptsetup: WARNING: failed to find deps for vg--sda-root
cryptsetup: FAILURE: could not determine configuration for vg--sda-root
....

The result of the warning/failure is a missing cryptroot file in initrd.
Maybe a problem with the (strange) naming of my LVM volume group (vg-sda)?

I managed to restore this file manually by guessing the format from a working
Debian/testing system and booting from a rescue CD.

What information should I provide to help fixing the problem?

Regards, Kai


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-1-amd64 root=/dev/mapper/vg--sda-root ro quiet pcie_aspm=force threadirqs

-- /etc/crypttab
sda5_crypt UUID=0ce62641-9313-4589-881d-12192c15e7ed none luks

-- /etc/fstab
proc                                         /proc               proc         defaults                                                 0  0
/dev/mapper/vg--sda-root                     /                   ext4         errors=remount-ro                                        0  1
UUID=a1abc071-39dc-402e-bebf-12efdf007fe3    /boot               ext2         defaults                                                 0  2
/dev/mapper/vg--sda-home                     /home               ext4         defaults                                                 0  2
/dev/mapper/vg--sda-tmp                      /tmp                ext4         defaults                                                 0  2
/dev/mapper/vg--sda-var                      /var                ext4         defaults                                                 0  2
/dev/mapper/vg--sda-swap                     none                swap         sw                                                       0  0
/dev/sr0                                     /media/cdrom0       udf,iso9660  user,noauto                                              0  0
/dev/sdb1                                    /media/usb0         auto         rw,user,noauto                                           0  0
/dev/sdc1                                    /media/usb1         auto         rw,user,noauto                                           0  0

-- lsmod
Module                  Size  Used by
vmnet                  42882  13 
fuse                   61981  2 
vsock                  42822  0 
vmci                   59875  1 vsock
vmmon                  61571  0 
acpi_cpufreq           12935  1 
mperf                  12453  1 acpi_cpufreq
cpufreq_stats          12866  0 
cpufreq_userspace      12576  0 
cpufreq_powersave      12454  0 
cpufreq_conservative    13147  0 
ppdev                  12763  0 
lp                     17149  0 
bnep                   17567  2 
rfcomm                 33656  10 
ext2                   59231  1 
coretemp               12898  0 
loop                   22641  0 
snd_hda_codec_hdmi     30783  1 
snd_hda_codec_idt      53792  1 
snd_hda_intel          26345  2 
arc4                   12458  2 
snd_hda_codec          77994  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              13186  1 snd_hda_codec
snd_pcm_oss            41081  0 
snd_mixer_oss          17916  1 snd_pcm_oss
snd_pcm                63900  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
uvcvideo               57744  0 
videodev               70889  1 uvcvideo
snd_seq_midi           12848  0 
iwlwifi               166703  0 
snd_rawmidi            23060  1 snd_seq_midi
snd_seq_midi_event     13316  1 snd_seq_midi
snd_seq                45093  2 snd_seq_midi,snd_seq_midi_event
snd_timer              22917  2 snd_pcm,snd_seq
snd_seq_device         13176  3 snd_seq_midi,snd_rawmidi,snd_seq
mac80211              192768  1 iwlwifi
snd                    52850  16 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
dell_laptop            17120  0 
i2c_i801               16870  0 
media                  18148  2 uvcvideo,videodev
iTCO_wdt               17081  0 
nvidia              12059418  45 
v4l2_compat_ioctl32    16655  1 videodev
joydev                 17266  0 
btusb                  17502  2 
bluetooth             119406  23 bnep,rfcomm,btusb
cfg80211              137140  2 iwlwifi,mac80211
dell_wmi               12477  0 
soundcore              13065  1 snd
i2c_core               23876  3 videodev,i2c_i801,nvidia
rfkill                 19012  5 dell_laptop,bluetooth,cfg80211
snd_page_alloc         13003  2 snd_hda_intel,snd_pcm
parport_pc             22364  1 
iTCO_vendor_support    12704  1 iTCO_wdt
battery                13109  0 
ac                     12624  0 
sparse_keymap          12760  1 dell_wmi
evdev                  17562  13 
parport                31858  3 ppdev,lp,parport_pc
power_supply           13475  3 dell_laptop,battery,ac
wmi                    13243  1 dell_wmi
video                  17628  0 
processor              28059  1 acpi_cpufreq
button                 12937  0 
dcdbas                 13307  1 dell_laptop
psmouse                64455  0 
pcspkr                 12579  0 
serio_raw              12931  0 
ext4                  350557  4 
mbcache                13065  2 ext2,ext4
jbd2                   62015  1 ext4
crc16                  12343  2 bluetooth,ext4
sha256_generic         16797  2 
aes_x86_64             16796  34 
aes_generic            33026  1 aes_x86_64
cbc                    12754  16 
dm_crypt               22586  1 
dm_mod                 63545  19 dm_crypt
sr_mod                 21899  0 
cdrom                  35401  1 sr_mod
sd_mod                 36136  3 
crc_t10dif             12348  1 sd_mod
usbhid                 36379  0 
hid                    81288  1 usbhid
ahci                   24997  2 
libahci                22860  1 ahci
ehci_hcd               40215  0 
libata                140589  2 ahci,libahci
sdhci_pci              17976  0 
sdhci                  27053  1 sdhci_pci
mmc_core               72460  2 sdhci_pci,sdhci
scsi_mod              162417  3 sr_mod,sd_mod,libata
e1000e                124918  0 
usbcore               128498  5 uvcvideo,btusb,usbhid,ehci_hcd
thermal                17383  0 
thermal_sys            18040  3 video,processor,thermal
usb_common             12354  1 usbcore


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dmsetup                2:1.02.67-2
ii  libc6                  2.13-26
ii  libcryptsetup4         2:1.4.1-1
ii  libpopt0               1.16-3

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                                 1:1.19.3-5
ii  dosfstools                              3.0.12-1
ii  initramfs-tools [linux-initramfs-tool]  0.99
ii  liblocale-gettext-perl                  1.05-7+b1
ii  udev                                    175-3

-- debconf information:
  cryptsetup/prerm_active_mappings: true





More information about the pkg-cryptsetup-devel mailing list