Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: bleucanardpb on 2025/02/19, 14:30:21

Title: ZFS module build error with 6.13
Post by: bleucanardpb on 2025/02/19, 14:30:21
The zfs module dkms build fails  with an error saying it only supports up to 6.12 (Sorry, I don't have the exact message anymore).
Title: Re: ZFS module build error with 6.13
Post by: Teriarch on 2025/02/19, 17:25:37
Here is what you can do (It's a little risky and dangerous after all; on second thought:
Nothing we do can really be dangerous!):

Install package zfs-dkms. The installation partly fails because of kernel 6.13.x.
Ignore the failure and modify line 21399 of file /usr/src/zfs-2.3.0/configure instead,
where it reads:

                     if test "x$enable_linux_experimental" == "xyes"

to

                    if test "xyes" == "xyes"

Run

$ sudo apt-get install

and watch the magic happen. Unfortunately the dkms build system doesn't accept
configure options, otherwise "--configure-experimental" were the way to go.

HTH
Title: Re: ZFS module build error with 6.13
Post by: bleucanardpb on 2025/02/20, 12:11:31
Thanks for the reply. I since switched that partition to btrfs (zfs was overkill for it) anyway. I tried your trick, and it worked.
Title: Re: ZFS module build error with 6.13
Post by: Wummi9 on 2025/03/12, 00:19:16
Quote from: bleucanardpb on 2025/02/19, 14:30:21
The zfs module dkms build fails  with an error saying it only supports up to 6.12 (Sorry, I don't have the exact message anymore).
You might need to wait for an update, patch it manually, or downgrade your kernel. Check the ZFS GitHub for any workarounds. (https://projektowanie.art/)