Jump to content

Pi 5 - can't build ZFS module due to kernel headers


Recommended Posts

Posted (edited)

Good evening,

Armbian noob here (Debian veteran) working with an RPi 5. I've just installed `Armbian_24.2.5_Rpi5b_bookworm_current_6.6.23.img.xz` and would like to build the ZFS modules. I've installed the kernel modules using `armbian-config` but when I try to build I get

 

 

root@meson:~# dpkg-reconfigure zfs-dkms
Deleting module zfs-2.2.3 completely from the DKMS tree.
Loading new zfs-2.2.3 DKMS files...
Building for 6.6.23-current-bcm2712
Module build for kernel 6.6.23-current-bcm2712 was skipped since the
kernel headers for this kernel do not seem to be installed.
root@meson:~#

 

Edit: Current situation:

 

root@meson:~# dpkg -l linux-headers-current-bcm2712 linux-image-current-bcm2712
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version      Architecture Description
+++-=============================-============-============-=========================================================
ii  linux-headers-current-bcm2712 24.2.1       arm64        Armbian Linux current headers 6.6.18-current-bcm2712
ii  linux-image-current-bcm2712   24.2.5       arm64        Armbian Linux current kernel image 6.6.23-current-bcm2712
root@meson:~#  




 

 

 

 

It seems that the headers for this kernel are not available. `armbian-config` lists only a newer kernel as an option (6.7) `apt search` lists older kernels, probably from the Debian repos. Can I switch to these or is there something else I can do?

 

Thanks!

 

(First post here.)

Edited by Hank Barta
Link to comment
Share on other sites

2 hours ago, Hank Barta said:

something else I can do?


Switch to nightly kernels (those are becoming stable in two weeks anyway), update, reboot. Remove / Add kernels and it will work. Use armbian-config -> software to make this easy way.
 

2 hours ago, Hank Barta said:

First post here

 

Welcome!!!

Link to comment
Share on other sites

Posted (edited)

Thanks for the suggestion. There was no option for kernels in armbian-config -> software. I there was an option to switch to nightly in armbian-config -> system and I executed that. It installed a new kernel and now the system hangs on the 4 pixel rainbow screen.

 

I should probably have mentioned that this is on a Pi CM4 booting from an NVME SSD. I'm trying things out on that to avoid swapping NVME SSDs on my Pi 5. I'm aware that RpiOS runs different kernels on Pi 4 vs. Pi 4B/CM4 but they install both and choose the correct one during boot.

Edited by Hank Barta
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