Page 1 of 1

[solved] xts aes module missing at boot ( with LVM enabled )

PostPosted: Sat May 09, 2015 10:05 am
by jlambrecht
I've tried multiple kernel configuration but cannot get this straight for now, maybe someone can point me at what i'm missing ?

device-mapper: reload ioctl on temporary-cryptsetup-896 failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/vg-......
Check that kernel supports aes-xts-plain64 cipher .....

the ..... are mine

Re: xts aes module missing at boot ( with LVM enabled )

PostPosted: Sat May 09, 2015 3:58 pm
by N8Fear
Check if all necessary options are enabled.
If you want more help than that, you should post your Kernel config...

Re: xts aes module missing at boot ( with LVM enabled )

PostPosted: Mon May 11, 2015 7:48 am
by jlambrecht
Hmm, what do you mean, check if all is enabled ? Is there not a reference for this ?

Re: xts aes module missing at boot ( with LVM enabled )

PostPosted: Mon May 11, 2015 8:31 am
by jlambrecht
refusal can be a great motivation ... the XTS module is only available after enabling 'development or incomplete drivers'

Re: xts aes module missing at boot ( with LVM enabled )

PostPosted: Mon May 11, 2015 1:49 pm
by N8Fear
Does that mean that you resolved you issue? If not there are some hints you could follow. First you can search during make menuconfig by enter "/<search string>" or "/xts" for example. For me CRYPTO_XTS depents on CRYPTO and nothing else.
Other than that you will want some kind of AES and possibly the user-space interfaces and possibly some dm-crypt related stuff. On the other hand, it'd still be easier to just post you config.

Re: xts aes module missing at boot ( with LVM enabled )

PostPosted: Tue May 12, 2015 4:08 am
by jlambrecht
Yes, by enabling that option in the kernel the XTS module became available in the menuconfig and config file. Otherwise it's just no there.