You are not logged in.

#1 2022-07-30 08:03:37

schmodd
Member
Registered: 2015-02-12
Posts: 35

[SOLVED] kernel module "algif_skcipher" is missing (cryptsetup)

Hi,

I am trying to load a veracrypt encrypted container file with cryptsetup on a small PC that has no AES-Support.
So I ran the command:

# cryptsetup --veracrypt --type tcrypt open /path/to/container container-name

This fails due to the fact that the kernel module "algif_skcipher" is missing.
After googling around I found another thread that states that this is because the kernel module dm_crypt is not loaded.
So I tried:

# modprobe dm_crypt

This gives me: "modprobe: FATAL: Module dm_crypt not found in directory /lib/modules/5.18.9-arch1-1"

I am running an up to date install of arch with standard kernel.
Is this error related to the fact that my cpu does not have AES-Support or do I need some additional packages?
Any hints?

Last edited by schmodd (2022-07-30 15:05:35)

Offline

#2 2022-07-30 08:24:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] kernel module "algif_skcipher" is missing (cryptsetup)

/lib/modules/5.18.9-arch1-1"

I am running an up to date install of arch with standard kernel.

https://github.com/archlinux/svntogit-p … inux/trunk

5.18.14.arch1-1

heftig authored and svntogit committed 7 days ago

5.18.10.arch1-1

heftig authored and svntogit committed 23 days ago

Offline

#3 2022-07-30 08:55:38

schmodd
Member
Registered: 2015-02-12
Posts: 35

Re: [SOLVED] kernel module "algif_skcipher" is missing (cryptsetup)

seth wrote:

https://github.com/archlinux/svntogit-p … inux/trunk
5.18.14.arch1-1

heftig authored and svntogit committed 7 days ago

5.18.10.arch1-1

heftig authored and svntogit committed 23 days ago

Ok, restarting the system helped after new kernel upgrade.
Thanks.

Last edited by schmodd (2022-07-30 09:20:31)

Offline

#4 2022-07-30 13:56:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] kernel module "algif_skcipher" is missing (cryptsetup)

The alternative explanation would have been that you forgot to mount the /boot partiton during the kernel update or were actually booting from the root partition.
In any event, when something complains that it can't load a module from a dated kernel path, the reason is generally that you're running a dated kernel (w/ no on disk modules present)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB