Hi all,
I'm trying to build a NAS using the Penta SATA Hat (https://wiki.radxa.com/Penta_SATA_HAT).
I'd like to use ZFS as file system.
I got the "supported" Armbian Jammy image from here: https://www.armbian.com/rockpi4/
I installed the kernel headers through armbian-config. However, attempting to install the zfs-dkms package gives me
Building for 6.1.30-rockchip64
Module build for kernel 6.1.30-rockchip64 was skipped since the
kernel headers for this kernel does not seem to be installed.
As you can see, my kernel version is 6.1.30-rockchip64:
$ uname -r
6.1.30-rockchip64
However, the installed kernel headers are for 5.15.93-rockchip64:
$ apt list --installed | grep linux-headers
linux-headers-current-rockchip64/jammy,now 23.02.2 arm64 [installed]
$ apt show linux-headers-current-rockchip64
Package: linux-headers-current-rockchip64
Version: 23.02.2
Priority: optional
Section: devel
Source: linux-5.15.93-rockchip64
Maintainer: Igor Pecovnik <igor.pecovnik@****l.com>
Installed-Size: 79.8 MB
Provides: armbian-current, linux-headers, linux-headers-armbian
Depends: make, gcc, libc6-dev, bison, flex, libssl-dev
Homepage: https://www.kernel.org/
Download-Size: 12.0 MB
APT-Manual-Installed: yes
APT-Sources: http://apt.armbian.com jammy/main arm64 Packages
Description: Linux kernel headers for 5.15.93-rockchip64 on arm64 current
This package provides kernel header files for 5.15.93-rockchip64 on arm64
.
This is useful for people who need to build external modules
There seem to be no matching sources for my kernel available. Obviously, I must be missing something.
How can I either
- downgrade to the kernel for which sources are available in the repo
- install the correct sources for 6.1.30-rockchip64
Any help is much appreciated!