New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Cryptsetup and the 3.18.27-1 Kernel
Cryptsetup and the 3.18.27-1 Kernel
I'm using the great B3 install by MouettE. Thanks MouettE!!
I'm trying to encrypt a partition with cryptsetup but get the error.
=========
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Command failed with code 22: Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info)
=========
Has anyone seen this error and solved it? I have searched various groups and it looks like I may need to change kernel version, but that seems quite drastic.
https://bugzilla.kernel.org/show_bug.cgi?id=112631
Any help gratefully received.
Charles
I'm trying to encrypt a partition with cryptsetup but get the error.
=========
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Command failed with code 22: Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info)
=========
Has anyone seen this error and solved it? I have searched various groups and it looks like I may need to change kernel version, but that seems quite drastic.
https://bugzilla.kernel.org/show_bug.cgi?id=112631
Any help gratefully received.
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
Hello,
The option is probably missing from the kernel configuration. I'm on holiday right now but I will take a look when I get back and make a new release if possible.
The option is probably missing from the kernel configuration. I'm on holiday right now but I will take a look when I get back and make a new release if possible.
Re: Cryptsetup and the 3.18.27-1 Kernel
Thanks MouettE
Re: Cryptsetup and the 3.18.27-1 Kernel
Good news I did some tests on a newer 3.18.44 kernel and it seems to work (I previously tried with 3.18.27 and did reproduce the problem). It was a kernel bug.
I'm currently compiling the new versions of the kernel packages for the B2 and the B3 and they will be pushed to the repo in a couple of days. You will be able to do an apt-get upgrade and reboot to correct the problem.
I'm currently compiling the new versions of the kernel packages for the B2 and the B3 and they will be pushed to the repo in a couple of days. You will be able to do an apt-get upgrade and reboot to correct the problem.
Re: Cryptsetup and the 3.18.27-1 Kernel
That's great. Thanks very much. I'll be able to do my backups again!
Charles
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
I tried it today and the update came through. The bug has gone!
Thanks MouettE
Thanks MouettE
Re: Cryptsetup and the 3.18.27-1 Kernel
Both B2 and B3 now have a new 3.18.44-1 kernel available.
Re: Cryptsetup and the 3.18.27-1 Kernel
MouettE,
Me again, with the same issue, but with the Stretch install for B3.
Enter passphrase for /dev/sda3:
device-mapper: reload ioctl on temporary-cryptsetup-10055 failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Is this the kernel again? If so, would it be possible to update it again?
Thanks
Charles
Me again, with the same issue, but with the Stretch install for B3.
Enter passphrase for /dev/sda3:
device-mapper: reload ioctl on temporary-cryptsetup-10055 failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Is this the kernel again? If so, would it be possible to update it again?
Thanks
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
I am very busy at the moment but I have created an issue on the github repo and I will take a look as soon as I can.
Best,
Best,
Re: Cryptsetup and the 3.18.27-1 Kernel
Thanks. Very kind of you.
Charles
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
I've compiled a new kernel with added crypto modules, I've managed to boot my b3 with so it should work OK, can you validate if it fixes your issue ? You just need to download it at http://repo.excito.org/testing/bubba3-k ... _armel.deb and manually install it with dpkg -i bubba3-kernel_4.9.88-1_armel.deb.
Let me know, if it's OK I'll release it on the official repository.
Let me know, if it's OK I'll release it on the official repository.
Re: Cryptsetup and the 3.18.27-1 Kernel
MouettE,
That has worked. Thanks!
Charles
That has worked. Thanks!
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
Good to know. Let me know if there is any issue. I will make an official release in the next couple of weeks.
Re: Cryptsetup and the 3.18.27-1 Kernel
MouettE,
I've just had to reinstall my stretch partition and have got the kernel error again.
device-mapper: reload ioctl on temporary-cryptsetup-17520 failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Is this the same thing as before?
Charles
I've just had to reinstall my stretch partition and have got the kernel error again.
device-mapper: reload ioctl on temporary-cryptsetup-17520 failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda3.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Is this the same thing as before?
Charles
Re: Cryptsetup and the 3.18.27-1 Kernel
MouettE,
I installed your previous fix - which worked - but it did this:
dpkg: warning: downgrading bubba3-kernel from 1:4.9.135-1 to 1:4.9.88-1
(Reading database ... 23515 files and directories currently installed.)
Preparing to unpack bubba3-kernel_4.9.88-1_armel.deb ...
Unpacking bubba3-kernel (1:4.9.88-1) over (1:4.9.135-1) ...
Setting up bubba3-kernel (1:4.9.88-1) ...
Charles
I installed your previous fix - which worked - but it did this:
dpkg: warning: downgrading bubba3-kernel from 1:4.9.135-1 to 1:4.9.88-1
(Reading database ... 23515 files and directories currently installed.)
Preparing to unpack bubba3-kernel_4.9.88-1_armel.deb ...
Unpacking bubba3-kernel (1:4.9.88-1) over (1:4.9.135-1) ...
Setting up bubba3-kernel (1:4.9.88-1) ...
Charles