# apt-cache show linux-image-current-rockchip-rk3588
Package: linux-image-current-rockchip-rk3588
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 113653
Maintainer: Orange Pi <leeboby@aliyun.com>
Architecture: arm64
Source: linux-6.1.43-rockchip-rk3588
Version: 1.0.8
Description: Linux kernel, version 6.1.43-rockchip-rk3588
This package contains the Linux kernel, modules and corresponding other
files, version: 6.1.43-rockchip-rk3588.
Description-md5: 556d1c3248b99a15012a77d57ccce977
Homepage: https://www.kernel.org/
Error
# cryptsetup luksOpen /dev/nvme0n1p2 encrypted
Cannot initialize device-mapper. Is dm_mod kernel module loaded?
Cannot use device encrypted, name is invalid or still in use.
Enter passphrase for /dev/nvme0n1p2:
Attempt to load module:
# modprobe dm_mod
modprobe: FATAL: Module dm_mod not found in directory /lib/modules/6.1.43-rockchip-rk3588
I notice there's /opt/linux-headers-current-rockchip-rk3588_1.0.8_arm64.deb on my orangepi but I don't think there's a source package so I can't recompile the kernel directly on the board easily.
OS
Ubuntu
Package
Error
Attempt to load module:
Config?: https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/config/kernel/linux-rockchip-rk3588-current.config
Upstream config? https://github.com/torvalds/linux/blob/661e504db04c6b7278737ee3a9116738536b4ed4/drivers/md/Kconfig#L183-L200
Question
How do I compile this myself? I'm new to orangepi and kernel compiling. I know I need to define
https://github.com/orangepi-xunlong/orangepi-build/blob/52624375b8ce2dfc6356667351631b5c8520d312/external/config/kernel/linux-rockchip-rk3588-current.config#L2293