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

Author Topic: [EN] ZFS module build error with 6.13  (Read 805 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: 101
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 Waredis

  • Newbie
  • Posts: 1
Re: ZFS module build error with 6.13
« Reply #3 on: 2025/03/08, 07:34:08 »
If ZFS doesn’t support your current kernel yet, try booting into an older kernel version:

Restart your computer and access the GRUB menu by holding Shift (on BIOS systems) or Esc (on UEFI systems).
Select "Advanced options for Ubuntu" and choose an older kernel (e.g., 6.12 instead of 6.13).
Once booted, you may need to reinstall ZFS DKMS for that kernel:
bash

Code: [Select]
sudo apt reinstall zfs-dkmsspace waves
« Last Edit: 2025/03/17, 08:28:48 by Waredis »

Offline Wummi9

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