ZFS module build error with 6.13

Started by bleucanardpb, 2025/02/19, 14:30:21

Previous topic - Next topic

bleucanardpb

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).

Teriarch

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

bleucanardpb

Thanks for the reply. I since switched that partition to btrfs (zfs was overkill for it) anyway. I tried your trick, and it worked.

Wummi9

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.