[pkg-cryptsetup-devel] Bug#541835: cryptsetup: unclear kernel requirements
Celejar
celejar at gmail.com
Sun Aug 16 15:34:24 UTC 2009
Package: cryptsetup
Version: 2:1.0.7-1
Severity: normal
This is not really a bug, but it's at least a request for better documentation.
I have a standard LUKS volume (created by the Debian installer), using
aes-cbc-essiv:sha_256. While stock Debian kernels as well as ones that I build
based on the stock config handle it fine, my 'lean' kernel configurations
choke as follows:
table:254:0: error allocating crypto tfm
ioctl: error adding target to table
ioctl: device doesn't appear to be in the dev hash table
Command failed: failed to setup dm-crypt key mapping for device /dev/hda4
Check that kernel supports aes-cbc-essiv:sha_256 cipher
I have googled extensively, and this message apparently usually indicates that
kernel support for the appropriate cipher / hash is not available, but I've
checked, double-checked, and racked my brains to figure out what I could
possibly be missing, to no avail. aes_generic.ko, cbc.ko, crypto_blkcipher.ko,
sha256_generic.ko, dm-crypt.ko, dm-mod.ko are all there.
I've obviously disabled something that cryptsetup needs, but what? Google
turns up nothing current and useful.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-rc6 (SMP w/1 CPU core)
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.30-3 The Linux Kernel Device Mapper use
ii libc6 2.9-24 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.30-3 The Linux Kernel Device Mapper use
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libuuid1 2.16-3 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
pn dosfstools <none> (no description available)
ii initramfs-tools [linux-initra 0.93.4 tools for generating an initramfs
ii udev 0.141-1 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list