@fryfrog I'm actually using archzfs/zfs-dkms. Looks like I'm barking up the wrong tree... ;)
Search Criteria
Package Details: zfs-dkms 2.3.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy) |
---|---|
Package Base: | zfs-dkms |
Description: | Kernel modules for the Zettabyte File System. |
Upstream URL: | https://zfsonlinux.org/ |
Licenses: | CDDL |
Provides: | SPL-MODULE, zfs, ZFS-MODULE |
Submitter: | isiachi |
Maintainer: | kstolp |
Last Packager: | kstolp |
Votes: | 188 |
Popularity: | 0.98 |
First Submitted: | 2015-08-31 12:01 (UTC) |
Last Updated: | 2025-06-21 08:42 (UTC) |
Dependencies (2)
- dkms (dkms-gitAUR)
- zfs-utilsAUR (zfs-linux-gitAUR, zfs-utils-gitAUR, zfs-utils-staging-gitAUR)
Required by (20)
- cockpit-zfs-manager (requires zfs)
- prepare-lastboot (requires zfs)
- python-pyzfscmds (requires zfs)
- targetd (optional)
- targetd-git (optional)
- zbectl-git (requires zfs)
- zectl (requires zfs)
- zectl-git (requires zfs)
- zedenv (requires zfs)
- zedenv-git (requires zfs)
- zedenv-grub (requires zfs)
- zfs-auto-snapshot (requires zfs)
- zfs-auto-snapshot-git (requires zfs)
- zfs-openrc
- zfsbootmenu (requires zfs)
- zfsbootmenu-efi-bin (requires zfs)
- znapzend (requires zfs)
- znapzupport (requires zfs)
- zsnapd (requires zfs)
- zxfer (requires zfs)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 41 42 43 44 45 46 47 48 49 50 51 .. 67 Next › Last »
SRossi commented on 2020-02-12 07:46 (UTC)
fryfrog commented on 2020-02-12 07:38 (UTC) (edited on 2020-02-12 07:39 (UTC) by fryfrog)
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.
https://hastebin.com/zuyolixaru.diff
^ This is what I'm currently applying to my self built kernel.
SRossi commented on 2020-02-12 06:14 (UTC)
@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 (UTC)
@SRossi,
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 (UTC)
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?
2G_Storm commented on 2020-02-11 10:05 (UTC)
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 (UTC)
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)
ceratophllum commented on 2020-02-04 13:02 (UTC) (edited on 2020-02-04 13:04 (UTC) by ceratophllum)
Build of zfs-dkms is failing again with kernel 5.5.1:
FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol '__rcu_read_unlock'
make[2]: [scripts/Makefile.modpost:94: __modpost] Error 1
make[1]: [Makefile:1606: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.5.1-arch1-1/build'
make: *** [Makefile:30: modules] Error 2
make: Leaving directory '/var/lib/dkms/zfs/0.8.3/build/module'
thedanbob commented on 2020-02-04 13:00 (UTC)
Linux 5.5.1 breaks ZFS 0.8.3. If you're willing to patch your kernel there's a workaround here: https://github.com/zfsonlinux/zfs/issues/9745#issuecomment-573205923
Pinned Comments
kstolp commented on 2025-04-29 16:56 (UTC) (edited on 2025-06-21 08:43 (UTC) by kstolp)
OpenZFS currently supports Linux kernel versions 4.18 - 6.15, as declared in the META file.
Options if your Linux kernel's version is not within that range:
1) Switch to another Linux kernel, such as
linux-lts
.2) Prevent your kernel package from upgrading to an unsupported version until OpenZFS increases the maximum supported kernel version.
3) Modify this package to support your kernel by patching it on your local machine.
kstolp commented on 2023-09-29 00:34 (UTC)
When requesting changes, please include detailed reasoning for the change.
kstolp commented on 2023-01-07 09:31 (UTC)
If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.
You have two options:
1) Import the two keys into your keyring. ArchWiki article. You can find the key IDs in the PKGBUILD file, in the
validpgpkeys
array. (recommended)2) Alternatively, you can skip this verification by passing the
--skippgpcheck
argument tomakepkg
when building. (not recommended)