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
Question
aleene
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts