Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Missing crypto modules in kernel 4.0.4 for CT/Jessie

Featured Replies

Hi!

 

I'm trying to use the image Cubietruck_Debian_3.8_jessie_4.0.4.raw with my CubieTruck, but run into problems when trying to use an external LUKS-disk which is encrypted using aes-xts-plain64.

 

'cryptsetup luksOpen' informs the following:

device-mapper: reload ioctl on  failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/disk/by-uuid/<xxxx>.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).

'cat /proc/crypto | grep name' lists only this, which seems kinda minimal:

name         : stdrng
name         : stdrng
name         : crc32c
name         : deflate
name         : ecb(arc4)
name         : arc4
name         : aes
name         : des3_ede
name         : des
name         : sha224
name         : sha256
name         : sha1
name         : md5
name         : md4

Directory /lib/modules/4.0.4-cubietruck/kernel/crypto/ has these files:

af_alg.ko  algif_rng.ko  async_tx  ccm.ko  crypto_null.ko  ctr.ko  fcrypt.ko  gcm.ko  gf128mul.ko  ghash-generic.ko  pcbc.ko  seqiv.ko

So, it seems that some crypto modules for the kernel are missing, but I don't know which ones are needed ('aes-xts' or similar, at least, maybe?).

 

Any ideas on what to do? Do I need to compile the kernel to include the modules? Does the older 3.4.x(?) kernel have these included?

 

Thanks.

New kernel config:

https://github.com/igorpecovnik/lib/blob/next/config/linux-sunxi-next.config

 

CONFIG_DM_CRYPT=m

 

This is enabled as module.

 

I also don't know what exactly is needed without research and can only add blindly some new modules in this area but it will take some time before I rebuild a kernel. In such cases is better and faster if you try to build a kernel by your own. That's why I made a script ;)

 

When compiling remember to save the .config because it's overwritten on each run. 

 

Old kernel config:

https://github.com/igorpecovnik/lib/blob/next/config/linux-sunxi.config

 

Don't know. Simply try it and than we have at least something to compare to.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.