Please return LUKS drive encryption support to the kernel

JetPack 3.x had kernel support of LUKS drive encryption, but JetPack 4.2 does not. See below (using a TX2):

JetPack 3.3 /proc/config.gz:

CONFIG_DM_CRYPT=y

JetPack 4.2 /proc/config.gz:

# CONFIG_DM_CRYPT is not set

In the next 4.x JetPack release, please return this support to the kernel.

Related to https://devtalk.nvidia.com/default/topic/1049600/jetson-tx2/tx2-jetpack-4-2-sata-drive-luks-encryption-failure/.

Hi jwaltman12,

Thanks for raising this issue, we will support it at next release. Please stay tuned.

Thanks

Great, thank you!

hello jwaltman12,

FYI,
we had make the config available for next public release, (i.e. l4t-r32.2)
for the short term solution, you could update tegra config with below modification.
thanks

index 9fc9760..e2ca374 100644
--- a/arch/arm64/configs/tegra_defconfig
+++ b/arch/arm64/configs/tegra_defconfig
@@ -318,6 +318,7 @@ CONFIG_SATA_AHCI_PLATFORM=y
 CONFIG_AHCI_TEGRA_DOWNSTREAM=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_DM=y
+CONFIG_DM_CRYPT=y

Great, thanks for the update!

Hello everyone,

any update about this? When would l4t-r32.2 be released?

Or, could someone elaborate more about how I possibly can re-build the kernel so that LUKS drive encryption can be supported?

hello wengchihung,

please update tegra config as mentioned in comment #4,
we’re now currently close to l4t-r32.2 release, stay tuned.

Hello JerryChang,

after updating that config file (at /proc/config.gz) and rebooting, do I need to do something else?

btw, I’m using Jetson Nano.

hello wengchihung,

you should modify the configuration files,
$l4t-r32.1/public_sources/kernel/kernel-4.9/arch/arm64/configs/tegra_defconfig

then please refer to Kernel Customization chapter to build the kernel sources.
thanks

hi all,

JetPack-4.2.1 is now live, please refer to [url]https://developer.nvidia.com/embedded/jetpack[/url]
please moving to the latest JetPack release, open another new ticket if you need further support.
thanks