[linux-armv7 >= 4.10.0-1] Unable to open LUKS container

Problems with packages? Post here, using [tags] of the package name.

[linux-armv7 >= 4.10.0-1] Unable to open LUKS container

Postby Socke » Wed Mar 15, 2017 9:18 pm

Hey guys,

since kernel 4.10 I am no longer able to open my LUKS encrypted SSD.

How to reproduce:
$this->bbcode_second_pass_code('', '
# cryptsetup luksOpen /dev/sda1 data
device-mapper: reload ioctl on temporary-cryptsetup-663 failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/sda1.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
')

And in dmesg I find then:
$this->bbcode_second_pass_code('', '
[ 610.278796] device-mapper: table: 253:0: crypt: Error allocating crypto tfm
[ 610.285891] device-mapper: ioctl: error adding target to table
')

The problem can be fixed by downgrading to kernel 4.9.x

Since it works fine on my Arch Linux notebook (x86_64) with kernel 4.10, I guess maybe the kernel is configured wrong/differently and probably the correct module is missing. The system is a BananaPi.

Regards
Socke
Socke
 
Posts: 7
Joined: Wed Mar 15, 2017 9:07 pm

Re: [linux-armv7 >= 4.10.0-1] Unable to open LUKS container

Postby Socke » Thu Mar 16, 2017 11:55 pm

I found out the problem lies within the sun4i_ss module. If I unload it with rmmod, the cryptsetup works fine. The problem persists with kernel 4.10.3-1.
Socke
 
Posts: 7
Joined: Wed Mar 15, 2017 9:07 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 8 guests