Cannot build ZFS DKMS module against kernel version 6.9.6-arch1.1

Morning!

First, Props to the EndeavourOS team. I’m really liking what I see so far.

P.S. Have you considered a theme around the J class yacht Endeavour for a future release? It’s been fully restored, and would be an awesome addition to the OS…

I’m trying to install Endeavour with ZFS on Root and am unable to get the zfs dkms module installed.

It fails with:

==> dkms install --no-depmod zfs/2.2.4 -k 6.9.6-arch1-1
configure: error:
*** Cannot build against kernel version 6.9.6-arch1-1
*** The maximum supported kernel version is 6.8.

So a few questions:

  • should I grab an older installer and then just update the system after?
  • is this searching for an endeavor-specific module i.e. I should somehow point to an Arch repo instead to install
  • since this is the current installer version, is adding this module on the roadmap, or could it be done with minimal effort?
  • totally get root on zfs is an unofficial install method, so wondering if there is anything I should be doing instead

That looks strange, try building zfs-dkms from aur.

yay -S aur/zfs-dkms

OK looks like I got a tad bit further, but it still errors out.

(1/4) Arming ConditionNeedsUpdate…
(2/4) Install DKMS modules
==> dkms install --no-depmod zfs/2.2.4 -k 6.9.6-arch1-1
configure: error:
*** Cannot build against kernel version 6.9.6-arch1-1.
*** The maximum supported kernel version is 6.8.

Error! Bad return status for module build on kernel: 6.9.6-arch1-1 (x86_64)
Consult /var/lib/dkms/zfs/2.2.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod zfs/2.2.4 -k 6.9.6-arch1-1’ exited 10
(3/4) Updating linux initcpios…
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘archiso’
==> Using configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: specified kernel image does not exist: ‘/boot/vmlinuz-linux’
error: command failed to execute correctly
(4/4) Checking which packages need to be rebuilt

Ok, it looks like the current aur maintainer for that package isnt backporting any fixes.

You best bet from the iso is to use https://aur.archlinux.org/packages/zfs-dkms-staging-git

From the installed system you can then either use the lts kernel or get your zfs modules from somewhere else.

Perfect, thanks @Dalto!

Listing the commands that were inferred to close the loop for the next person.

yay -S aur/zfs-dkms-staging-git
sudo Modprobe zfs

Also of note, since I’m doing a fresh install, just selected the option to also install the LTS kernel, thanks for that extra foresight!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.