Jump to content

Install zfs-dkms (Jammy)


vortex375

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines