Page 1 of 1
Please add kernel headers to images
Posted: Tue Jan 16, 2024 8:07 pm
by sgofferj
Hi there FriendlyElec team,
so I just got myself a cm3588 NAS and I'm trying to install ZFS-DKMS which fails because the kernel of the image is 6.1.25 but in the repos, kernel headers are available up to 6.1.0-17.
Would you please include the corresponding kernel headers to the kernel in your image or better yet, run a repo for your kernel images with all sources and headers?
Thank you!
Re: Please add kernel headers to images
Posted: Thu Jan 18, 2024 4:04 pm
by wasuu
I do have the same problem, while trying to install zfs.
Re: Please add kernel headers to images
Posted: Sat Jan 20, 2024 9:42 am
by Eleanor12
Would you please include the corresponding kernel headers to the kernel in your image or better yet, run a repo for your kernel images with all sources and headers?
Re: Please add kernel headers to images
Posted: Sun Jan 21, 2024 11:42 am
by Thiagoros
sgofferj wrote:
Hi there FriendlyElec team,
so I just got myself a cm3588 NAS and I'm trying to install ZFS-DKMS which fails because the kernel of the image is 6.1.25 but in the repos, kernel headers are available up to 6.1.0-17.
Would you please include the corresponding kernel headers to the kernel in your image or better yet, run a repo for your kernel images with all sources and headers?
Thank you!
Concerns have been raised about ZFS-DKMS compatibility difficulties caused by kernel version differences. Requesting the inclusion of corresponding kernel headers in the image, or creating a repository for kernel images with extensive sources and headers, would considerably improve installation performance. I appreciate your attention to this problem.
Re: Please add kernel headers to images
Posted: Mon Jan 22, 2024 9:56 pm
by wasuu
There are two major problems with the openmedia image based on Debian 11 ("bullseye")
1) The zfs version from the repo is to old for kernel 6.1.25
2) The kernel headers from the debian repo are for 6.1.55
The debian 12 bookworm image fixes 1) - it is zfs 2.1.11, the only problem left is 2) - the repo kernel headers are 6.1.69.
I got zfs working after compiling the 6.1.25 kernel and installing the debian bookworm zfs-dkms.
I have installed openmediavault 6.x and it worked, but the deb package for omv-zfs didnt compile, so I switched to omv 7.x and I was able to install and load it, but it fails using the omv ui.
If I try to mount a zfs filesystem I do get an error message:
400 - Bad Request
id: The value "storage001" does not match exactly one schema of [{"type":"string","format":"fsuuid"},{"type":"string","format":"devicefile"}].
It seems there is a problem with the omv-zfs package from OMV-Extras, next I will try out the latest version maybe that helps.
Re: Please add kernel headers to images
Posted: Fri May 24, 2024 9:23 pm
by justacoasterfan
Are there any updates on how to get ZFS working in OMV?
Re: Please add kernel headers to images
Posted: Fri Sep 20, 2024 2:29 am
by gullslackey
Have you fixed it yet? I have the same problem as you, please help me.
Re: Please add kernel headers to images
Posted: Mon Apr 07, 2025 3:33 am
by aab44
justacoasterfan wrote:
Are there any updates on how to get ZFS working in OMV?
Check this link, it should solve your problem:
https://github.com/Vincent-Dalstra/CM35 ... pt-sourcesyou need to change linux-headers deb in dpkg -i /opt/archives/linux-headers-6.1.57_6.1.57-11_arm64.deb
with the one located in opt/archives folder
for example I used image rk3588-sd-openmediavault-6.1-arm64-20250123.img.gz
the inux-headers deb located in /opt/archives folderf is linux-headers-6.1.99_6.1.99-32_arm64.deb
so, i change dpkg -i /opt/archives/linux-headers-6.1.57_6.1.57-11_arm64.deb to dpkg -i /opt/archives/linux-headers-6.1.99_6.1.99-32_arm64.deb
Hope that help