Package Details: zfs-dkms 2.3.2-1

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: 2.27
First Submitted: 2015-08-31 12:01 (UTC)
Last Updated: 2025-05-03 09:40 (UTC)

Pinned Comments

kstolp commented on 2025-04-29 16:56 (UTC) (edited on 2025-05-03 09:40 (UTC) by kstolp)

OpenZFS currently supports Linux kernel versions 4.18 - 6.14, 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.

==> ERROR: One or more PGP signatures could not be verified!

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 to makepkg when building. (not recommended)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 66 Next › Last »

antesilvam commented on 2024-09-11 16:20 (UTC)

For some reasons, I cannot see the latest version (2.2.6-1) of this AUR package in the package manager:

pikaur -S zfs-dkms

Reading repository package databases...
Reading local package database...

 archzfs/zfs-dkms                      2.2.4-1              -> 2.2.4-1

FrederickZh commented on 2024-09-10 01:51 (UTC)

@yurikoles If you build packages on your machine, then your machine is a build machine (to build the package per se). So I don't think this is a valid argument.

However since this package requires these tools post-installation too, they are arguably needed for zfs-dkms to function in its special 'runtime'. (I may be wrong.)

Anyway, I think it's better to move such kind of conversations to the mailing list, as it involves many official dkms packages too.

yurikoles commented on 2024-09-09 21:35 (UTC)

@fryfrog

This argument is valid for the AUR package build machine, but a target machine may differ, so the built package must contain all dependencies to be successfully installed and run.

alepez commented on 2024-09-09 21:12 (UTC)

@fryfrog thank you, it makes sense. Anyway I just realized that I hadn't installed aur yet, the issue is actually with zfs-dkms from archzfs repository.

fryfrog commented on 2024-09-09 18:34 (UTC) (edited on 2024-09-09 18:36 (UTC) by fryfrog)

@alepez: The base-devel package is assumed to be installed, a base requirement for using the AUR. That package contains at a glance autoconf and automake which both depend on perl. So if you've installed base-devel, you have perl. Sounds like you need to install the base-devel meta package or you'll run into more weird issues w/ aur packages.

alepez commented on 2024-09-09 17:38 (UTC)

Hi. I'm installing arch on zfs root. I've done this before in other systems. The build is failing with

configure: error:
        *** None of the expected "global page state" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.2.4-1
        *** Compatible Kernels: 3.10 - 6.8


Building module:
Cleaning build area...(bad exit status: 2)
make -j22 KERNELRELEASE=6.6.50-1-lts...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.50-1-lts (x86_64)
Consult /var/lib/dkms/zfs/2.2.4/build/make.log for more information.

The actual error is not in make.log but in config.log

/usr/bin/env: 'perl': No such file or directory
configure:61462: $? = 1
configure:61475: result: no
configure:61483: checking whether global_page_state enums are sane
configure:61515: result: no
configure:61517: result: NR_FILE_PAGES in either node_stat_item or zone_stat_item: NOT FOUND
configure:61520: error:
        *** None of the expected "global page state" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.2.4-1
        *** Compatible Kernels: 3.10 - 6.8

So perl is needed during dkms install, but on a fresh system it is not installed. After installing perl package, the problem is fixed.

Probably, adding perl as a dependency is a good idea.

air-g4p commented on 2024-09-08 09:29 (UTC) (edited on 2024-09-08 09:30 (UTC) by air-g4p)

@kstolp,

Thank you for updating zfs-dkms and zfs-utils. Can confirm both build, install and operate correctly against linux, -hardened and -zen, all of which are 6.10.X.

Cheers

meithan commented on 2024-09-05 01:12 (UTC)

ZFS 2.2.6, with support for the Linux kernel 6.10, has been released.

itoffshore commented on 2024-08-30 18:32 (UTC) (edited on 2024-08-30 18:34 (UTC) by itoffshore)

@andreas303 - my source points to /usr/src/zfs-2.2.5 :

[stuart@endeavour ~]$ ll /var/lib/dkms/zfs/2.2.5
total 4.0K
drwxr-xr-x 1 root root 12 Aug 23 23:33 6.6.47-1-lts
drwxr-xr-x 1 root root 12 Aug  8 00:43 6.9.10-hardened1-1-hardened
lrwxrwxrwx 1 root root 18 Aug  8 00:02 source -> /usr/src/zfs-2.2.5

[stuart@endeavour ~]$ ll /usr/src/zfs-2.2.5
total 4.3M
drwxr-xr-x 1 root root  134 Aug  8 00:02 config
drwxr-xr-x 1 root root  482 Aug  8 00:02 include
drwxr-xr-x 1 root root  140 Aug  8 00:02 module
drwxr-xr-x 1 root root   58 Aug  8 00:02 scripts
-rwxr-xr-x 1 root root 3.2M Aug  7 07:22 configure
-rw-r--r-- 1 root root 1.3K Aug  7 07:22 dkms.conf
-rw-r--r-- 1 root root 1.1M Aug  7 07:22 Makefile.in
-rw-r--r-- 1 root root  197 Aug  7 07:22 META
-rw-r--r-- 1 root root  30K Aug  7 07:22 zfs_config.h.in
-rw-r--r-- 1 root root   38 Aug  7 07:22 zfs.release.in
  • When I've had problems building in the past it's usually a bad symlink under /var/lib/dkms/zfs - or possibly an old kernel under /lib/modules messing things up.

  • I use the compiled zfs-dkms from EndeavourOS & arch-sign-modules from AUR to sign out of tree modules like zfs:

stuart@endeavour ~]$ ls /lib/modules/6.6.47-1-lts/updates/dkms/
lkrg.ko.zst        nvidia.ko.zst          nvidia-peermem.ko.zst  spl.ko.zst
nvidia-drm.ko.zst  nvidia-modeset.ko.zst  nvidia-uvm.ko.zst      zfs.ko.zst

[stuart@endeavour ~]$ modinfo /lib/modules/6.6.47-1-lts/updates/dkms/zfs.ko.zst 
filename:       /lib/modules/6.6.47-1-lts/updates/dkms/zfs.ko.zst
version:        2.2.5-1
  • If you rm -rf /var/lib/dkms/zfs & reinstall zfs-dkms / zfs-utils & try again the modules will probably build. Alternatively try my method.

andreas303 commented on 2024-08-30 12:39 (UTC) (edited on 2024-08-30 13:32 (UTC) by andreas303)

I installed zfs-dkms with aurutils. However, I get the following error.

# dkms install --no-depmod zfs/2.2.5 -k 6.6.47-1-lts
Sign command: /usr/lib/modules/6.6.47-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! The directory /var/lib/dkms/zfs/2.2.5/source does not appear to have module source located within it.
Build halted.

This is strange, because the contents of the directory actually seems to contain source code:

# ls -al /var/lib/dkms/zfs/2.2.5/source/
total 4348
drwxr-xr-x  6 root root    4096 2024-08-29 20:28 ./
drwxr-xr-x  4 root root    4096 2024-08-29 20:28 ../
drwxr-xr-x  2 root root    4096 2024-08-29 20:28 config/
drwxr-xr-x  4 root root    4096 2024-08-29 20:28 include/
drwxr-xr-x 11 root root    4096 2024-08-29 20:28 module/
drwxr-xr-x  2 root root    4096 2024-08-29 20:28 scripts/
-rwxr-xr-x  1 root root 3253101 2024-08-29 20:27 configure*
-rw-r--r--  1 root root    1269 2024-08-29 20:27 dkms.conf
-rw-r--r--  1 root root 1124636 2024-08-29 20:27 Makefile.in
-rw-r--r--  1 root root     197 2024-08-29 20:27 META
-rw-r--r--  1 root root   30349 2024-08-29 20:27 zfs_config.h.in
-rw-r--r--  1 root root      38 2024-08-29 20:27 zfs.release.in

Other info:

# dkms status
zfs/2.2.5: added

Any ideas about what the problem is? I'm totally lost in this situation. :-/ What's the contents of your /var/lib/dkms/zfs/2.2.5/source directory?