Package Details: zfs-dkms 0.8.3-1

Git Clone URL: (read-only, click to copy)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL:
Licenses: CDDL
Conflicts: spl-dkms
Provides: spl-dkms, zfs
Replaces: spl-dkms
Submitter: isiachi
Maintainer: eschwartz
Last Packager: eschwartz
Votes: 90
Popularity: 2.48
First Submitted: 2015-08-31 12:01
Last Updated: 2020-01-27 19:53

Latest Comments

1 2 3 4 5 6 ... Next › Last »

SRossi commented on 2020-02-12 13:25

@freswa Thanks for the hint. I guess that was part of the problem.

After downgrading gcc to 9.2.0, the zfs modules for 5.4.15 compiled just fine again. Lifting gcc to 9.2.1 and installing the latest lts kernel and headers, then reinstalling zfs-dkms and updating the grub config enabled me to successfully switch to the lts kernel with archzfs/zfs-dkms.

freswa commented on 2020-02-12 10:57

@SRossi Make sure the version of gcc compiling the zfs code is the same that compiled the kernel. GCC Version of the running kernel can be looked up in /proc/version

fryfrog commented on 2020-02-12 07:54

In that case, may as well try aur/zfs-dkms?

SRossi commented on 2020-02-12 07:46

@fryfrog I'm actually using archzfs/zfs-dkms. Looks like I'm barking up the wrong tree... ;)

fryfrog commented on 2020-02-12 07:38

As a point of comparison, have you tried archzfs/zfs-dkms? While they're similar, they are slightly different.

Another option would be building the kernel yourself too, w/ the couple of patches to help ZFS.

^ This is what I'm currently applying to my self built kernel.

SRossi commented on 2020-02-12 06:14

@eschwartz No matter what I do - reinstalling all related zfs packages including kernel and kernel headers etc. - I can't get the modules to build or install. Even worse, I can't get it to work with kernel 5.4.15 anymore either, the kernel that the system (booting from zfs) is currently running with. It looks like a bug upstream or some issue with some package hooks maybe, where stuff gets pulled from underneat dkms leaving it in a bad state?

As a workaround I replaced zfs-dkms with zfs-linux for now. I will try with the long-term kernel again after a reboot later today and maybe be able to provide more information.

eschwartz commented on 2020-02-11 15:02


It builds fine for me. Did you try manually running sudo dkms install zfs/0.8.3 -k 5.4.18-1-lts?

SRossi commented on 2020-02-11 14:08

I used to run stable kernels with zfs-dkms but since 5.5.x is not working with zfs, I would like to switch to the lts kernel tree.

(3/4) Install DKMS modules ==> dkms install zfs/0.8.3 -k 5.4.18-1-lts configure: error: *** Unable to build an empty module.

Is there any chance to get this done?

storm.continuity commented on 2020-02-11 10:05

Build on 5.4.8 seems to be working flawlessly.

My installed version is: aur/zfs-dkms 0.8.3-1 (+90 2.98%) (Installed)

Any news on the 5.5.2 kernel release?

tleydxdy commented on 2020-02-04 19:36

Build for zen kernel 5.4.15 fails with weird errors

/var/lib/dkms/zfs/0.8.3/build/configure: 13381: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_COMMON+= --define "$(DEBUG_KMEM_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13382: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_COMMON+= --define "$(DEBUG_KMEM_TRACKING_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13383: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_COMMON+= --define "$(DEBUGINFO_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13384: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_COMMON+= --define "$(ASAN_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13403: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_UTIL+= $(DEFINE_INITRAMFS): not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13404: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_UTIL+= $(DEFINE_SYSTEMD): not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13405: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_UTIL+= $(DEFINE_PYZFS): not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13406: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_UTIL+= $(DEFINE_PYTHON_VERSION): not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13407: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_UTIL+= $(DEFINE_PYTHON_PKG_VERSION): not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13418: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_KMOD+= --define "ksrc $(LINUX)": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13419: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_KMOD+= --define "kobj $(LINUX_OBJ)": not found
/var/lib/dkms/zfs/0.8.3/build/configure: 13420: /var/lib/dkms/zfs/0.8.3/build/configure: RPM_DEFINE_KMOD+= --define "_wrong_version_format_terminate_build 0": not found
configure: error:
    *** Unable to build an empty module.

Error! Bad return status for module build on kernel: 5.4.15-zen1-1-zen (x86_64)