Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
Package: initramfs-tools
Version: 0.106
Severity: critical
Tags: upstream
Justification: breaks the whole system
After patching my system 3 days ago it will not further boot up. The initramfs
prompt comes before the keypass has to been normally asked for to decrypt my
root partition with the contained lvm root vol disk group.
Before the upgrade been made I didn't hat the problem. I guess this comes with
the upgrade of the initramfs-tools from 0.103 to 0.106.
Work around at the moment is to use cryptsetup luksOpen manually and start all
lvmvolumes before continue with the boot process by using Crtl-D.
Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-7 GNU cpio -- a program to manage ar
ii klibc-utils 2.0-2 small utilities built with klibc f
ii module-init-tools 3.12-2 tools for managing Linux kernel mo
ii udev 175-3.1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.19.3-7 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
pn bash-completion <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE5A4C0.4080709@starcumulus.owl.de">http://lists.debian.org/4FE5A4C0.4080709@starcumulus.owl.de
06-23-2012, 12:13 PM
Touko Korpela
Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
On Sat, Jun 23, 2012 at 01:13:04PM +0200, Pierre Bernhardt wrote:
> Package: initramfs-tools
> Version: 0.106
> Severity: critical
> Tags: upstream
> Justification: breaks the whole system
>
> After patching my system 3 days ago it will not further boot up. The initramfs
> prompt comes before the keypass has to been normally asked for to decrypt my
> root partition with the contained lvm root vol disk group.
> Before the upgrade been made I didn't hat the problem. I guess this comes with
> the upgrade of the initramfs-tools from 0.103 to 0.106.
>
> Work around at the moment is to use cryptsetup luksOpen manually and start all
> lvmvolumes before continue with the boot process by using Crtl-D.
>
>
>
> -- Package-specific info:
> -- initramfs sizes
> -rw-r--r-- 1 root root 11M Jun 22 13:21 /boot/initrd.img-2.6.32-5-amd64
> -- /proc/cmdline
> BOOT_IMAGE=/vmlinuz-3.2.0-2-amd64 root=/dev/mapper/rootdg-root ro
This lists both 2.6.32-5 and 3.2.0-2 kernels.
What kernel version do you try to boot, and is its initramfs updated?
By default only most recent kernel does have initramfs updated when updating
packages.
Your setup has many moving parts that can go wrong.
Please list versions of mdadm, dmsetup, libdevmapper*, *cryptsetup*
You are using mixed system, packages may have bugs in their depends, so that
manual updating or bug reporting is maybe needed.
>
> Kernel: Linux 3.2.0-2-amd64 (SMP w/6 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages initramfs-tools depends on:
> ii cpio 2.11-7 GNU cpio -- a program to manage ar
> ii klibc-utils 2.0-2 small utilities built with klibc f
> ii module-init-tools 3.12-2 tools for managing Linux kernel mo
> ii udev 175-3.1 /dev/ and hotplug management daemo
>
> Versions of packages initramfs-tools recommends:
> ii busybox 1:1.19.3-7 Tiny utilities for small and embed
>
> Versions of packages initramfs-tools suggests:
> pn bash-completion <none> (no description available)
>
> -- no debconf information
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120623121314.GA29005@tiikeri.vuoristo.local
06-23-2012, 12:33 PM
Touko Korpela
Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
Your raid1 arrays look strange, with only one component device in each.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120623123333.GA30199@tiikeri.vuoristo.local
06-24-2012, 12:02 PM
Pierre Bernhardt
Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
Am 23.06.2012 14:33, schrieb Touko Korpela:
> On Sat, Jun 23, 2012 at 01:13:04PM +0200, Pierre Bernhardt wrote:
>> -- /proc/mdstat
>> Personalities : [raid1] [raid6] [raid5] [raid4]
>> md50 : active raid5 sda1[0] sdd1[3] sde1[5]
>> 625137664 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
>> bitmap: 1/3 pages [4KB], 65536KB chunk
>>
>> md1 : active raid1 sdc2[0]
>> 28812480 blocks [1/1] [u]
>> bitmap: 4/220 pages [16KB], 64KB chunk
>>
>> md0 : active raid1 sdc1[0]
>> 489856 blocks [1/1] [u]
>> bitmap: 0/60 pages [0KB], 4KB chunk
>>
>> unused devices: <none>
>
> Your raid1 arrays look strange, with only one component device in each.
Hello,
thats ok to simply add an second disk e.g. for online upgrade to a new
disk (as I do at the moment ;-). But this reason is not based for the
problem, because I have this configuration much month configured ago.
But thx for your info notice.
Cheers...
Pierre
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE701C9.6090201@starcumulus.owl.de">http://lists.debian.org/4FE701C9.6090201@starcumulus.owl.de
06-24-2012, 12:03 PM
Pierre Bernhardt
Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
Am 23.06.2012 14:13, schrieb Touko Korpela:
> On Sat, Jun 23, 2012 at 01:13:04PM +0200, Pierre Bernhardt wrote:
>> Package: initramfs-tools
>> Version: 0.106
>> Severity: critical
>> Tags: upstream
>> Justification: breaks the whole system
> This lists both 2.6.32-5 and 3.2.0-2 kernels.
> What kernel version do you try to boot, and is its initramfs updated?
3.2.0-2 is normally the one I start the system.
> By default only most recent kernel does have initramfs updated when updating
> packages.
> Your setup has many moving parts that can go wrong.
> Please list versions of mdadm, dmsetup, libdevmapper*, *cryptsetup*
root@nihilnihil:~# dpkg -l mdadm dmsetup libdevmapper* cryptsetup
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Beschreibung
+++-===============================-===============================-================================================== ============================
ii cryptsetup 2:1.1.3-4squeeze2 configures encrypted block devices
ii dmsetup 2:1.02.74-4 Linux Kernel Device Mapper userspace library
un libdevmapper1.02 <keine> (keine Beschreibung vorhanden)
ii libdevmapper1.02.1:amd64 2:1.02.74-4 Linux Kernel Device Mapper userspace library
ii mdadm 3.2.5-1 tool to administer Linux MD arrays (software RAID)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE7022E.7040500@starcumulus.owl.de">http://lists.debian.org/4FE7022E.7040500@starcumulus.owl.de
06-24-2012, 12:04 PM
Pierre Bernhardt
Bug#678636: initramfs-tools: dm-crypt partitions not further working. No asking password to encrypt. System will not boot
Am 24.06.2012 03:31, schrieb Pierre Bernhardt:
> Am 23.06.2012 14:13, schrieb Touko Korpela:
>> On Sat, Jun 23, 2012 at 01:13:04PM +0200, Pierre Bernhardt wrote:
>>> Package: initramfs-tools
>>> Version: 0.106
>>> Severity: critical
>>> Tags: upstream
>>> Justification: breaks the whole system
>
>> This lists both 2.6.32-5 and 3.2.0-2 kernels.
>> What kernel version do you try to boot, and is its initramfs updated?
> 3.2.0-2 is normally the one I start the system.
>
>> By default only most recent kernel does have initramfs updated when updating
>> packages.
>> Your setup has many moving parts that can go wrong.
>> Please list versions of mdadm, dmsetup, libdevmapper*, *cryptsetup*
> root@nihilnihil:~# dpkg -l mdadm dmsetup libdevmapper* cryptsetup
> Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
> | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
> Halb installiert/Trigger erWartet/Trigger anhängig
> |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
> ||/ Name Version Beschreibung
> +++-===============================-===============================-================================================== ============================
> ii cryptsetup 2:1.1.3-4squeeze2 configures encrypted block devices
> ii dmsetup 2:1.02.74-4 Linux Kernel Device Mapper userspace library
> un libdevmapper1.02 <keine> (keine Beschreibung vorhanden)
> ii libdevmapper1.02.1:amd64 2:1.02.74-4 Linux Kernel Device Mapper userspace library
> ii mdadm 3.2.5-1 tool to administer Linux MD arrays (software RAID)
>
> Hopefully this whill help
cryptsetup was the problem. After installing cryptsetup from the testing
release 2:1.4.3-2 and rerunning update-initramfs -k all -u the problem has been
gone.
I found the solution by comparing the installed package source with sent
apt-cache policy command.
So you're right because it looks like a broken dependency or not exitend
dependency. In cryptset there is only shown an suggestion to initramfs-tools.
So I guess it is not a problem of initramfs-tools, more like a problem
between cryptsetup and another packages?
Cheers...
Pierre
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FE7025C.1000302@starcumulus.owl.de">http://lists.debian.org/4FE7025C.1000302@starcumulus.owl.de