Cryptsetup not working on Vero 4K

Hi!

Just got my Vero 4K and everything works smooth except that I cannot mount my external encrypted hard drive.

root@osmc-Grumbole:/boot# cryptsetup luksOpen /dev/sda1 media
Enter passphrase for /dev/sda1:
device-mapper: reload ioctl on temporary-cryptsetup-1199 failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sda1.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).

Linux osmc-Grumbole 3.14.29-42-osmc #1 SMP Sun Oct 29 00:34:17 UTC 2017 aarch64 GNU/Linux

Any chance for me to add modules to kernel? I noticed from GitHub that there’s next commit which probably has something to do with this: [package] [kernel-osmc] Vero 4K: add CRYPTO_XTS support · osmc/osmc@a41e072 · GitHub

Check the error message and use a different cipher. Should work then.

This was addressed very recently.

Please take a look at this thread: Mdadm issues

Really impressive community here, thanks for quick responses!

I followed dillthedog’s thread and fixed the issue by installing vero364-kernel-osmc 3.9.10 from stretch-devel.

Thank you so much!