bugtracker icon indicating copy to clipboard operation
bugtracker copied to clipboard

dm-crypt kernel modules are missing

Open u0d7i opened this issue 3 years ago • 2 comments

Is it possible to add dm-crypt supporting modules to kernel build, so dm-crypt and LUKS crypto containers / volumes (both file and partition based) could be used?

user@devuan-n900:~$ sudo cryptsetup luksFormat -q -v -d keyfile test.img
Cannot initialize device-mapper. Is dm_mod kernel module loaded?
Cannot initialize device-mapper. Is dm_mod kernel module loaded?
Command failed with code -1 (wrong or missing parameters).

user@devuan-n900:~$ sudo modprobe dm_mod
modprobe: FATAL: Module dm_mod not found in directory /lib/modules/5.15.2

u0d7i avatar Apr 26 '22 08:04 u0d7i

Sure thing, let's see if we can do that this week.

MerlijnWajer avatar Apr 26 '22 08:04 MerlijnWajer

They are enabled in the PinePhone kernel already.

rafael2k avatar Sep 19 '22 13:09 rafael2k

This also seems related: https://github.com/maemo-leste/bugtracker/issues/633

although I imagine we want some of the crypt stuff built in. (Apologies I didn't get to this yet)

MerlijnWajer avatar Nov 23 '22 20:11 MerlijnWajer