cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgrade

This forum is for discussion about general software issues.

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby Daimusou » Sat Nov 29, 2014 1:30 pm

On 3.14.24-1 now, and I still have this problem.
Daimusou
 
Posts: 9
Joined: Sat Feb 11, 2012 12:33 am

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby pepedog » Sat Nov 29, 2014 2:31 pm

There is no kernel that can do it all.
3.0 can't do Bluetooth
3.14 can't do caam, although mk01 says it can and linux4kix says it can't
3.17/18rc can't do gpu stuff
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby patrykk » Wed Dec 24, 2014 12:42 pm

You could try my kernel base on 3.17.7 with staff ported for udoo:
https://github.com/patrykk/linux-udoo

best regards,
patrykk
 
Posts: 1
Joined: Wed Dec 24, 2014 12:37 pm

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby pg99 » Thu Dec 25, 2014 4:12 pm

Newest standard kernel (3.14.26-1) also doesn't work. If I manage to find the time, I'll try to install your 3.17.7 kernel and see if that works. Thanks for the post! I'll let you know how that goes. (PS. Some Cubox people are trying to focus on the 3.14 kernel to finally get one kernel 'that does it all': http://www.solid-run.com/community/topic1525.html. I am still silently hoping that at some point this will be successfull).
pg99
 
Posts: 8
Joined: Mon Sep 29, 2014 8:27 pm

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby crystaltraveler » Tue Jan 13, 2015 6:53 am

Came across this thread with the same issue on my novena board. I found out what's wrong.

The AESBS crypto driver is buggy for XTS on ARM (https://github.com/torvalds/linux/blob/ ... sbs-glue.c). To use aes-xts-* ciphers you'll have to build a new kernel with

$this->bbcode_second_pass_code('', 'CONFIG_CRYPTO_AES_ARM_BS=m
CONFIG_CRYPTO_XTS=m')

Then after installing your new kernel, before running cryptsetup, run:

$this->bbcode_second_pass_code('', 'rmmod aes-arm-bs
modprobe xts')

as root. Hope this helps!
crystaltraveler
 
Posts: 1
Joined: Tue Jan 13, 2015 6:44 am

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby pepedog » Fri Jan 16, 2015 7:28 pm

Sadly this doesn't work on the CuBox
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: cryptsetup fails after linux-imx6-cubox-dt 3.14.14 upgra

Postby themylogin » Mon Jan 26, 2015 10:20 am

crystaltraveler, your solution works like a charm! Thanks a lot!

pepedog, it worked for me on hummingboard, it should work for you on cubox. Try it again re-checking all steps.
themylogin
 
Posts: 1
Joined: Mon Jan 26, 2015 10:17 am

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 26 guests