Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] kernel supports aes-xts-plain64 cipher 4.16.2-gnu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Joseph Powers
n00b
n00b


Joined: 26 Nov 2017
Posts: 41

PostPosted: Wed Apr 18, 2018 6:34 pm    Post subject: [solved] kernel supports aes-xts-plain64 cipher 4.16.2-gnu Reply with quote

I have a root,home,and swap partition in a logical volume that is encrypted. I tried upgrading my kernel from 4.9.76-r1 to 4.16.2 (both with deblobed scripts) but apparently when I boothed into the kernel it said something like this.
Code:

device mapper ioctl on failed: no such file or directory
Check that kernel supports aes-xts-plain64 cipher
failed to open luks device - /dev/sda4
could not find root in /dev/sda4

I realized my problem is similar to https://forums.gentoo.org/viewtopic-t-999158-start-0.html but it wasn't really resolved.
here is my current kernel config [ 4.9.76 ]( the one I reverted back to ) https://paste.pound-python.org/show/oNppzcrscHPgjmeVRLsQ/
here is the kernel config that I am trying to upgrade to. [4.16.2] https://paste.pound-python.org/show/tgW87WwBHvDaIsXyVfHA/
I'm abit afraid of trying again for fear of not being able to boot.


Last edited by Joseph Powers on Fri Apr 20, 2018 3:31 am; edited 1 time in total
Back to top
View user's profile Send private message
donguss
n00b
n00b


Joined: 18 Apr 2018
Posts: 17

PostPosted: Thu Apr 19, 2018 1:04 pm    Post subject: Re: Check kernel that supports aes-xts-plain64 cipher 4.16.2 Reply with quote

Code:
# CONFIG_CRYPTO_AES_X86_64 is not set

This might be your problem. Set it to "y".
Also, consult with the wiki and double-check that all other kernel options necessary for dm-crypt are set.
E.g. CRYPTO_XTS should certainly be "y" and not "m" too.
Back to top
View user's profile Send private message
Joseph Powers
n00b
n00b


Joined: 26 Nov 2017
Posts: 41

PostPosted: Fri Apr 20, 2018 3:30 am    Post subject: Re: Check kernel that supports aes-xts-plain64 cipher 4.16.2 Reply with quote

donguss wrote:
Code:
# CONFIG_CRYPTO_AES_X86_64 is not set

This might be your problem. Set it to "y".
Also, consult with the wiki and double-check that all other kernel options necessary for dm-crypt are set.
E.g. CRYPTO_XTS should certainly be "y" and not "m" too.

Wow, I got the thing to compile and boot correctly after following your advice. I find it kind of strange how the CONFIG_CRYPTO_AES_X86_64 and the XTS is disabled or nonexistent but it worked fine.
Now I just need to find how to enable ibpb and I should be good.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum