Crappy 6.2.8.arch1-1 kernel ... zfs pool gone

After updates 240323 the zfs pool went to /dev/null
kernel 6.2.8.arch1-1 was one of the updates including headers.

> Error! Bad return status for module build on kernel: 6.2.8-arch1-1 (x86_64)
> Consult /var/lib/dkms/zfs/2.1.9/build/make.log for more information.
> ==> WARNING: `dkms install --no-depmod zfs/2.1.9 -k 6.2.8-arch1-1' exited 10

sudo cat /var/lib/dkms/zfs/2.1.9/build/make.log

ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_start_io_acct'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_end_io_acct_remapped'
make[2]: *** [scripts/Makefile.modpost:138: /var/lib/dkms/zfs/2.1.9/build/module/Module.symvers] Error 1
make[1]: *** [Makefile:1973: modpost] Error 2
make: *** [Makefile:55: modules-Linux] Error 2
make: Leaving directory '/var/lib/dkms/zfs/2.1.9/build/module'

Anybody experiencing something like this. In 6.2.7 nothing like this.

1 Like

Looks like the dkms module isn’t working with the latest kernel.

I avoid this by using the archzfs repo.

1 Like

zfs currently does not compile for kernel 6.2.8 because this kernel started to hide some symbol from non-GPL modules.

While the zfs team is working on this topic and eventually fixing it with the next zfs release, you can use the workaround mentioned here by one user:

https://aur.archlinux.org/packages/zfs-dkms

This is how I do it.

3 Likes

thanks … I was curious why this went wrong. I am familiar with the archzfs repo and cachyos.
I can agree on what you are saying about archzfs/ It avoids some irritation when you upgrade the kernel.

Thanks mbod this worked !

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