Package Details: zfs-dkms 2.2.4-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: 162
Popularity: 3.15
First Submitted: 2015-08-31 12:01 (UTC)
Last Updated: 2024-05-03 03:00 (UTC)

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.

==> 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 .. 31 32 33 34 35 36 37 38 39 40 41 .. 58 Next › Last »

tleydxdy commented on 2020-02-26 18:00 (UTC) (edited on 2020-02-29 04:33 (UTC) by tleydxdy)

my kernel is compiled with 9.2.1 and I have gcc 9.2.1 but this is still not working. empty modules

% cat /proc/version
Linux version 5.4.21-1-lts (linux-lts@archlinux) (gcc version 9.2.1 20200130 (Arch Linux 9.2.1+20200130-2)) #1 SMP Thu, 20 Feb 2020 18:23:19 +0000
% gcc --version
gcc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130

update: downgrade to 9.2.0 does not fix it, however the cc1 error is no longer there.

more update: the new patch with kernel 5.5.6 also doesn't work. the error is in config.log

configure: exit 1
WARNING: modpost: missing MODULE_LICENSE() in /var/lib/dkms/zfs/0.8.3/build/build/conftest/conftest.o
see include/linux/module.h for more information

I just tried zfs-dkms-git, and it worked for the LTS kernel (not 5.5 yet), guess I'm using that for a while

sphere101 commented on 2020-02-23 13:33 (UTC)

Thank you, I was able to get zfs-dkms-0.8.3 running with 5.4.8 and gcc-9.2.0-4 with gcc-libs-9.2.0-4 Zpool is back online!

pgeorgiadis commented on 2020-02-23 10:25 (UTC) (edited on 2020-02-23 10:27 (UTC) by pgeorgiadis)

For those who tried to go back to an older kernel (because zfs-dkms is not compiling for kernel 5.5), only to find that the zfs-dkms doesn't compile there either with an error saying "Unable to build an empty module".

The issue seems to be related to GCC actually:

cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so

For me gcc got upgraded along with kernel and other packages when I did a pacman -Syu.

I downgraded my gcc to the previous version (9.2.0) and the module compiled properly for kernel 5.4.x.

freswa commented on 2020-02-22 10:03 (UTC)

Thanks for coming up with this. Would you mind to use Markdown next time? It makes pasted code far more readable

like this

Please do a full system upgrade. The gcc version you compile the dkms module with has to match the version the kernel has been compiled with.

sphere101 commented on 2020-02-22 03:45 (UTC) (edited on 2020-02-26 18:16 (UTC) by eschwartz)

In a jam , the following

Packages (1) zfs-dkms-0.8.3-1

Total Installed Size:  12.36 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(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 DKMS modules
:: Processing package changes...
(1/1) reinstalling zfs-dkms                                                    [#############################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install zfs/0.8.3 -k 5.4.8-arch1-1
configure: error: 
    *** Unable to build an empty module.

Error! Bad return status for module build on kernel: 5.4.8-arch1-1 (x86_64)
Consult /var/lib/dkms/zfs/0.8.3/build/make.log for more information.

On [root@thor zfs-dkms]# uname -a Linux thor 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux

any suggestions?

eblau commented on 2020-02-20 13:35 (UTC) (edited on 2020-02-20 13:35 (UTC) by eblau)

Can anyone confirm that zfs-dkms is working with the 5.5.X kernel? Thank you,

No, it is not yet working with the 5.5.x kernel, at least when I tried this past weekend. If you rebuild your own kernel, there's a workaround:

https://github.com/zfsonlinux/zfs/issues/9745#issuecomment-573205923

You can follow this GitHub issue to find out when there is a resolution and what ZFSonLinux release will have the fix.

sphere101 commented on 2020-02-20 13:15 (UTC)

Can anyone confirm that zfs-dkms is working with the 5.5.X kernel? Thank you,

SRossi commented on 2020-02-12 13:25 (UTC)

@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.