aleene Posted February 17, 2020 Posted February 17, 2020 Hello I'm trying to install ZFS on the recomended armbian 4.4 bionic image for Nano PI 4 V2 (this is the default kernel) : uname -a Linux nanopim4v2 4.4.210-rk3399 #3 SMP Sat Jan 25 14:13:06 CET 2020 aarch64 GNU/Linux It complains there are no kernel headers to build a module for the 4.4.210 kernel: " sudo apt install zfs-dkms ..... Building for 4.4.210-rk3399 Module build for kernel 4.4.210-rk3399 was skipped since the kernel headers for this kernel does not seem to be installed. ... ● zfs-mount.service - Mount ZFS filesystems Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2020-02-17 13:03:10 UTC; 17ms ago Docs: man:zfs(8) Process: 13389 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE) Main PID: 13389 (code=exited, status=1/FAILURE) " I've looked into the output of "apt-cache search linux-headers" and there is no package for 4.4.210-rk3399 Also, the armbian-setup tool will install "linux-headers-rk3399 - Linux kernel headers for 4.4.192-rk3399 on arm64" Is there a way to get the headers for 4.4.210 or prepare them locally ? I've tried downgrading to 4.4.192 but the board was unstable and after some time the DTB's got messed up and I could no longer boot that image
Igor Posted February 17, 2020 Posted February 17, 2020 2 hours ago, aleene said: I've looked into the output of "apt-cache search linux-headers" and there is no package for 4.4.210-rk3399 Repository will be updated with matched headers in few hours from now. If you need this faster, you can build an image with headers and latest kernel https://github.com/armbian/build All kernels support DKMS but one from rockchip. Not sure if this is the problematic one.
aleene Posted February 18, 2020 Author Posted February 18, 2020 Ok, i will try updating the board this evening (GMT+2) I thought about building them from scratch but I'll need a new board to test with - the one I have is being used as a NAS and I can't put if offline (my other server is failing) Best regards, Alex
Igor Posted February 18, 2020 Posted February 18, 2020 Update was pushed several hours ago and it should work now. Those fixes are included now.
aleene Posted February 18, 2020 Author Posted February 18, 2020 Yes, just checked and I can confirm Thanks and best regards, Alexandru
Recommended Posts