Bug#506634: cryptsetup: failed to setup lvm device

Hanspeter Kunz hkunz at ifi.uzh.ch
Sun Nov 23 08:57:46 UTC 2008


Package: lvm2
Version: 2.02.39-4
Severity: important

Hi,

I have two sid systems with all filesystems except /boot on an encrypted
lvm device. Since yesterday, both of them do not boot properly anymore.
I guess this is caused by the lvm2 upgrade. 

After passphrase entry, get the following error:

   cryptsetup: failed to setup lvm device

After some time I get

   Gave up waiting for the root device. [...]

and I'm dropped into busybox, I can continue the boot process by
running 

   . /scripts/local-top/lvm2

I saw that there is also an

   /scripts/local-top/lvm

If I run this script it just spats out the exact same message that I
already got ("Gave up waiting for the root device. [...]").

I do not know much about the linux boot process but
maybe /scripts/local-top/lvm is an old file (from ealier versions of
lvm) and should be remove?

cheers,
Hp.

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

Kernel: Linux 2.6.27-1-686 (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 lvm2 depends on:
ii  libc6                        2.7-16      GNU C Library: Shared
libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device
Mapper use
ii  libreadline5                 5.2-3       GNU readline and history
libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2
init scrip

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device
Mapper use

-- debconf information:
  lvm2/snapshots:







More information about the pkg-lvm-maintainers mailing list