[Pkg-cryptsetup-devel] Bug#466573: cryptsetup: 2.6.25-rc2 does not boot due to "Error allocating crypto tfm"

Didier Raboud didier at raboud.com
Tue Feb 19 17:38:49 UTC 2008


Package: cryptsetup
Version: 2:1.0.6~pre1+svn45-1
Severity: normal

Hi, 

using kernel 2.6.25-rc2-amd64 from Debian-Kernel, I can't boot on my system because it is 
not possible to open my LUKS root (/).

The encountered error is the following (boot option quiet):
-------- Boot Log transcription --------
Enter LUKS passphrase:
device-mapper: table: 254:0: crypt: Error allocating crypto tfm
Command failed: No key available with this passphrase.

cryptsetup: cryptsetup failed, bad password or options?
Enter LUKS passphrase:
-------- END --------------------------

I tried with those differents /etc/crypttab :
1. 
sda5_crypt /dev/sda5 none luks
2.
sda5_crypt /dev/sda5 none luks,hash=sha256
3.
sda5_crypt /dev/sda5 none luks,cipher=aes-cbc-essiv:sha256

But no success. This is critical if you use cryptsetup and 2.6.25-rc2 (for the moment), 
because you cannot boot.

Regards, 

Didier, aka OdyX

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (50, 'experimental'), (50, 'unstable'), (50, 'testing'), (50, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.24-3 The Linux Kernel Device Mapper use
ii  libc6                        2.7-6       GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.24-3 The Linux Kernel Device Mapper use
ii  libpopt0                     1.10-3      lib for parsing cmdline parameters
ii  libuuid1                     1.40.5-2    universally unique id library

cryptsetup recommends no packages.

-- no debconf information





More information about the Pkg-cryptsetup-devel mailing list