@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.
Search Criteria
Package Details: zfs-dkms 2.2.6-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: | 179 |
Popularity: | 5.79 |
First Submitted: | 2015-08-31 12:01 (UTC) |
Last Updated: | 2024-09-05 04:42 (UTC) |
Dependencies (2)
- dkms (dkms-gitAUR, dkms-fast-zstdAUR)
- zfs-utilsAUR (zfs-utils-gitAUR, zfs-linux-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 (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 63 Next › Last »
fryfrog commented on 2024-09-09 18:34 (UTC) (edited on 2024-09-09 18:36 (UTC) by fryfrog)
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 likezfs
:
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
& reinstallzfs-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?
thaewrapt commented on 2024-08-11 22:50 (UTC)
Yeah, for now safe bet (as per usual) is an LTS kernel.
meithan commented on 2024-08-11 22:37 (UTC)
@korimitsu: The latest ZFS release (zfs-2.2.5) only officially supports the Linux kernel up to 6.9.
You'll have to wait for the next release for 6.10 support.
korimitsu commented on 2024-08-11 22:07 (UTC)
Fails to compile:
paru -S linux-headers
warning: linux-headers-6.10.3.arch1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-headers-6.10.3.arch1-2
Total Download Size: 25.93 MiB
Total Installed Size: 131.47 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
linux-headers-6.10.3.arch1-2-x86_64 25.9 MiB 18.1 MiB/s 00:01 [#######################################################################################] 100%
(1/1) checking keys in keyring [#######################################################################################] 100%
(1/1) checking package integrity [#######################################################################################] 100%
(1/1) loading package files [#######################################################################################] 100%
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) checking available disk space [#######################################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod vmware-workstation/17.5.2_23775571 -k 6.10.3-arch1-2
:: Processing package changes...
(1/1) reinstalling linux-headers [#######################################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod vmware-workstation/17.5.2_23775571 -k 6.10.3-arch1-2
==> dkms install --no-depmod zfs/2.2.4 -k 6.10.3-arch1-2
configure: error:
*** None of the expected "blk_queue_max_hw_sectors" 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
Error! Bad return status for module build on kernel: 6.10.3-arch1-2 (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.10.3-arch1-2' exited 10
==> depmod 6.10.3-arch1-2
Pinned Comments
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)