vortex375 Posted July 31, 2023 Share Posted July 31, 2023 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! 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted August 1, 2023 Share Posted August 1, 2023 13 hours ago, vortex375 said: Any help is much appreciated! As there is some WIP on our repository side you need to workaround this - make an image with enabled HEADERS and then it will work. 0 Quote Link to comment Share on other sites More sharing options...
vortex375 Posted August 1, 2023 Author Share Posted August 1, 2023 Thanks. So you're saying I should try building my own image? I guess using https://github.com/armbian/build. Haven't tried anything like that, but I'll give it a go. 0 Quote Link to comment Share on other sites More sharing options...
SteamPunkProgrammer Posted February 25 Share Posted February 25 Sorry to necro the thread, but im having the same issue, do you mean I need to compile with the INCLUDE_HEADERS=yes flag? I tried that but still no luck. 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted February 25 Share Posted February 25 1 hour ago, SteamPunkProgrammer said: im having the same issue Please start by explaining the exact issue you are having. Including all versions of the components. 0 Quote Link to comment Share on other sites More sharing options...
SteamPunkProgrammer Posted February 25 Share Posted February 25 I actually figured it out, i was using jammy on my rockpi4b, went back tried bookworm, and recompiled zfs myself, now its all good! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.