radxa-build / rock-5b

ROCK 5B
https://radxa-build.github.io/rock-5b/
Other
78 stars 9 forks source link

Unable to install ZFS on the Debian image for Rock 5B #7

Open jakubgs opened 10 months ago

jakubgs commented 10 months ago

I'm trying to setup a NixOS installation on the NVMe with ZFS on my Rock 5B, but none of the images that work actually can have the ZFS module compiled. When I try it fails with:

rock@rock-5b:~$ sudo apt install zfs-dkms zfsutils-linux
...
Setting up zfs-dkms (2.0.3-9+deb11u1) ...
Loading new zfs-2.0.3 DKMS files...
Building for 5.10.110-15-rockchip
Building initial module for 5.10.110-15-rockchip
configure: error: 
    *** None of the expected "PDE_DATA" interfaces were detected.
    *** This may be because your kernel version is newer than what is
    *** supported, or you are using a patched custom kernel with
    *** incompatible modifications.
    ***
    *** ZFS Version: zfs-2.0.3-9+deb11u1
    *** Compatible Kernels: 3.10 - 5.10

Error! Bad return status for module build on kernel: 5.10.110-15-rockchip (aarch64)
Consult /var/lib/dkms/zfs/2.0.3/build/make.log for more information.
dpkg: error processing package zfs-dkms (--configure):

I'm not sure if it's because of the old kernel or some Rockchip specific patches for the kernel.

jakubgs commented 10 months ago

Here's my own research issue for reference: