Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] ZFS module build error with 6.13  (Read 14001 times)

Offline bleucanardpb

  • Newbie
  • Posts: 2
[EN] ZFS module build error with 6.13
« 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).

Offline Teriarch

  • User
  • Posts: 166
Re: ZFS module build error with 6.13
« Reply #1 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

Offline bleucanardpb

  • Newbie
  • Posts: 2
Re: ZFS module build error with 6.13
« Reply #2 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.

Offline Wummi9

  • Newbie
  • Posts: 2
Re: ZFS module build error with 6.13
« Reply #3 on: 2025/03/12, 00:19:16 »
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.