Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1030569
| From | Nathan Schulte <nmschulte@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#973378: cryptsetup-udeb: Cannot create '--type plain' device; "device-mapper: table: 253:0: crypt: Error allocating crypto tfm" |
| Date | 2020-10-29 19:30 +0100 |
| Message-ID | <B5kQq-RG-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Source: cryptsetup-udeb
Severity: normal
Tags: d-i
X-Debbugs-Cc: guilhem@debian.org
Using cryptsetup to securely wipe a device before enabling encryption, e.g.:
cryptsetup --key-file /dev/random open --type plain /path/to/device container
fails on my system during install, using the latest weekly snapshot of Debian testing.
Some messages are logged to the terminal and some are logged by the kernel:
device-mapper: reload ioctl on container (253:0) failed: No such file or directory
kernel: device-mapper: table: 253:0: crypt: Error allocating crypto tfm
kernel: device-mapper: ioctl: error adding target to table.
I am executing these commands at the partitioning step, after running these commands:
anna-install cdebconf-newt-entropy partman-crypto-dm cryptsetup-udeb crypto-dm-modules crypto-modules
insmod /lib/modules/$(uname -r)/kernel/drivers/md/dm-crypt.ko || insmod dm_crypt dm-crypt || modprobe dm_crypt dm-crypt
mkdir -p /run/cryptsetup
Using cryptsetup otherwise works fine, e.g. to format, open and close LUKS2 devices.
Is there another package I should install or module I should load? I tried inserting any crypto related module I could
find without success: cbc.ko, arch/*aes*.ko, aes_generic.ko, ...
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.8.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#973378: cryptsetup-udeb: Cannot create '--type plain' device; "device-mapper: table: 253:0: crypt: Error allocating crypto tfm" Nathan Schulte <nmschulte@gmail.com> - 2020-10-29 19:30 +0100 Bug#973378: cryptsetup-udeb: Cannot create '--type plain' device; "device-mapper: table: 253:0: crypt: Error allocating crypto tfm" Guilhem Moulin <guilhem@debian.org> - 2020-10-29 22:00 +0100
csiph-web