[pkg-cryptsetup-devel] Bug#586704: cryptsetup: unbootable root on luks encrypted LVM volume - stops after accepting pass phrase

Bjørn Mork bjorn at mork.no
Mon Jun 21 19:04:04 UTC 2010


Package: cryptsetup
Version: 2:1.1.2-1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a pretty standard installation with a small /boot, a large encrypted partition holding 
a LVM volume used for root and swap.  This was initially created by the lenny installer.

But the initramfs generated after upgrading to 2:1.1.2-1 is unable to boot my system.  It 
prompts for a pass phrase as usual, but after entering this nothing more happens.  No 
output except echoes of whatever I enter on the keyboard.  Yes, it seems that echo is 
turned on after accepting the pass phrase.  So the system is not dead, it just sits there
possibly waiting for something?

Booting using an initramfs generated with cryptsetup 2:1.1.0-2.1 still works, even with
cryptsetup 2:1.1.2-1 installed, so I am pretty sure that the problem must lie somewhere in 
the initramfs scripts.


Bjørn

- -- Package-specific info:
- -- /proc/cmdline
root=/dev/nemi/root ro video=i915:modeset=1 quiet

- -- /etc/crypttab
sda2_crypt /dev/sda2 none luks

- -- /etc/fstab
# /etc/fstab: static file system information.
# $Id: fstab,v 1.15 2010-03-18 14:06:47 bjorn Exp $
#
# <file system>					<mount point>	<type>		<options>			<dump>	<pass>
proc						/proc		proc		defaults			0	0
/dev/nemi/root					/		ext3		noatime,errors=remount-ro	0	1
UUID=0b7e7b52-e5cd-49b8-a304-2bc5f9b7f2b5	/boot		ext2		noatime,defaults		0	2
/dev/nemi/swap_1				none		swap		sw				0	0
/dev/cdrom					/cdrom		udf,iso9660	user,noauto			0	0

# pseudo fs
tmpfs	/tmp			tmpfs	noatime
debug	/sys/kernel/debug	debugfs	noauto,defaults



- -- lsmod
Module                  Size  Used by
uinput                  6376  1 
sco                     7209  2 
bridge                 39598  0 
bnep                    9427  2 
rfcomm                 29581  4 
l2cap                  24736  16 bnep,rfcomm
crc16                   1319  1 l2cap
kvm_intel              38050  0 
kvm                   213544  1 kvm_intel
ppdev                   5030  0 
parport_pc             18855  0 
lp                      7462  0 
parport                27954  3 ppdev,parport_pc,lp
xt_hl                   1313  4 
ip6t_LOG                4378  1 
ip6table_filter         2384  1 
ip6_tables             15075  2 ip6t_LOG,ip6table_filter
x_tables               12845  3 xt_hl,ip6t_LOG,ip6_tables
acpi_cpufreq            5555  0 
cpufreq_userspace       1992  0 
cpufreq_stats           2659  0 
cpufreq_conservative     5162  0 
cpufreq_powersave        902  0 
microcode              21707  0 
8021q                  17174  0 
garp                    5050  1 8021q
stp                     1440  2 bridge,garp
tun                    10828  2 
ext2                   52969  1 
fuse                   50190  1 
coretemp                4245  0 
loop                   11783  0 
snd_hda_codec_conexant    21869  1 
snd_hda_intel          19907  1 
snd_hda_codec          54244  2 snd_hda_codec_conexant,snd_hda_intel
arc4                    1274  2 
snd_hwdep               5380  1 snd_hda_codec
snd_pcm_oss            32591  0 
ecb                     1841  2 
snd_mixer_oss          12606  2 snd_pcm_oss
snd_pcm                60471  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
battery                 4998  0 
thinkpad_acpi          50103  0 
nvram                   5061  1 thinkpad_acpi
ac                      2192  0 
snd_seq_midi            4400  0 
joydev                  8411  0 
snd_rawmidi            15515  1 snd_seq_midi
wmi                     4323  0 
zaurus                  2672  0 
snd_seq_midi_event      4628  1 snd_seq_midi
cdc_ether               3377  1 zaurus
usbnet                 11779  2 zaurus,cdc_ether
cdc_acm                13670  0 
i915                  252896  2 
cdc_wdm                 8120  0 
mii                     3210  1 usbnet
uvcvideo               51743  0 
btusb                   9785  2 
iwlagn                 71756  0 
drm_kms_helper         20065  1 i915
processor              30231  3 acpi_cpufreq
snd_seq                42881  2 snd_seq_midi,snd_seq_midi_event
iwlcore                77442  1 iwlagn
videodev               29993  1 uvcvideo
v4l1_compat            11442  2 uvcvideo,videodev
drm                   142551  3 i915,drm_kms_helper
v4l2_compat_ioctl32     8538  1 videodev
led_class               2433  2 thinkpad_acpi,iwlcore
i2c_algo_bit            4225  1 i915
snd_timer              15582  2 snd_pcm,snd_seq
snd_seq_device          4493  3 snd_seq_midi,snd_rawmidi,snd_seq
serio_raw               3752  0 
bluetooth              41827  9 sco,bnep,rfcomm,l2cap,btusb
button                  4650  1 i915
video                  17445  1 i915
mac80211              136844  2 iwlagn,iwlcore
i2c_i801                7830  0 
output                  1692  1 video
evdev                   7352  17 
snd                    46446  11 snd_hda_codec_conexant,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
tpm_tis                 7336  0 
psmouse                49777  0 
tpm                     9917  1 tpm_tis
tpm_bios                4521  1 tpm
i2c_core               15712  6 i915,drm_kms_helper,videodev,drm,i2c_algo_bit,i2c_i801
cfg80211              101432  3 iwlagn,iwlcore,mac80211
rfkill                 13044  4 thinkpad_acpi,bluetooth,cfg80211
soundcore               4598  2 snd
snd_page_alloc          6249  2 snd_hda_intel,snd_pcm
ext3                  106518  1 
jbd                    37085  1 ext3
mbcache                 5050  2 ext2,ext3
sha256_generic          8692  2 
aes_x86_64              7340  3 
aes_generic            25714  1 aes_x86_64
cbc                     2539  1 
dm_crypt               10507  1 
dm_mirror              10923  0 
dm_region_hash          6680  1 dm_mirror
dm_log                  7381  2 dm_mirror,dm_region_hash
dm_snapshot            18513  0 
dm_mod                 53754  12 dm_crypt,dm_mirror,dm_log,dm_snapshot
nbd                     7985  0 
sg                     18744  0 
sd_mod                 29777  3 
crc_t10dif              1276  1 sd_mod
sr_mod                 12602  0 
cdrom                  29415  1 sr_mod
ahci                   32358  2 
libata                133520  1 ahci
thermal                11674  0 
ehci_hcd               31039  0 
uhci_hcd               18521  0 
thermal_sys            11942  3 processor,video,thermal
scsi_mod              122117  4 sg,sd_mod,sr_mod,libata
e1000e                109967  0 
usbcore               121959  10 zaurus,cdc_ether,usbnet,cdc_acm,cdc_wdm,uvcvideo,btusb,ehci_hcd,uhci_hcd
nls_base                6361  1 usbcore


- -- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libc6                        2.11.1-3    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.48-1 The Linux Kernel Device Mapper use
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters
ii  libuuid1                     2.17.2-3.1  Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.1-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.94.4     tools for generating an initramfs
ii  udev                          157-1      /dev/ and hotplug management daemo

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkwft6EACgkQ10rqkowbIskRwACfRjhiEmqviwyvTMN1gPxVS0yY
zPgAoJCokuST1QcUc1EWuNyQsZNyXl0h
=LrR4
-----END PGP SIGNATURE-----





More information about the pkg-cryptsetup-devel mailing list