May 18, 2017

Lab 10.1 device-mapper: reload ioctl on temporary-cryptsetup-2318 failed: Invalid Argument

When running sudo cryptsetup luksFormat / dev / sda4

I get the following error

Device-mapper: reload ioctl on temporary-cryptsetup-2318 failed: Invalid argument
Could not set dm-crypt key assignment to device / dev / sda4
Verify that the kernel supports the aes-xts-plain64 encryption algorithm (see syslog for more information)

This is in opensuse, in the official virtualized image of the course.

With the dmesg command the following appears:

Table: 252: 0 crypt: unknown target type
Ioctl: error adding target to table

Click Here!