zfs icon indicating copy to clipboard operation
zfs copied to clipboard

dkms: Error! Module version 1.4.5a for zzstd.ko.xz

Open Moerten85 opened this issue 1 year ago • 23 comments

I don't know what to say anymore. That must be the 20th broken system after updating zfs to an newer version (2.1.6 in this case). What is that for a terrible software. This is the worst software I have ever used.

With the 5.18 kernel installed Fedora 36 wanted to unistall zfs/zfs-dkms because it wasn't compatible with the newer 5.19 kernels. Thus I waited for months now and installed only non kernel updates by:

sudo dnf update --exclude=kernel*

Today I saw a new zfs version 2.1.6 was available and the updater showed no possible problems anymore when executing:

sudo dnf update

But after reboot again nothing is working.

sudo zfs status

The ZFS modules are not loaded.
Try running '/sbin/modprobe zfs' as root to load them.

I can only remember that there was a suspecious message like "the kernel 5.19 has something already installed that seems to be up-to-date so that the zfs pakage was not installed" or so. One should call --force to do so. But the installation continued and showed no obvious errors.

I tried to recreate the "initramfs" with calling "dracut". But this was without success.

So please can you remove the responsible persons for this mess and replace them with more compentent ones. The linux integration is a mess. It's not working to upgrade for years. Frickl shit. Seriously. I can't be angry on you anymore. It is a completely disappointing experience. Such an unprofessional software.

Moerten85 avatar Oct 07 '22 16:10 Moerten85

PS: I want a solution for this mess. ASAP.

Moerten85 avatar Oct 07 '22 16:10 Moerten85

2022-10-07T18:08:58+0200 SUBDEBUG Upgrade: pcp-conf-6.0.0-1.fc36.x86_64
2022-10-07T18:08:59+0200 SUBDEBUG Installed: tpm2-tools-5.2-2.fc36.x86_64
2022-10-07T18:08:59+0200 SUBDEBUG Upgrade: dracut-057-3.fc36.x86_64
2022-10-07T18:08:59+0200 SUBDEBUG Installed: kernel-core-5.19.13-200.fc36.x86_64
2022-10-07T18:09:04+0200 SUBDEBUG Installed: kernel-modules-5.19.13-200.fc36.x86_64
2022-10-07T18:09:24+0200 SUBDEBUG Installed: kernel-devel-matched-5.19.13-200.fc36.x86_64
2022-10-07T18:09:24+0200 SUBDEBUG Upgrade: dkms-3.0.7-1.fc36.noarch
2022-10-07T18:09:24+0200 SUBDEBUG Upgrade: zfs-dkms-2.1.6-1.fc36.noarch
2022-10-07T18:13:18+0200 INFO Loading new zfs-2.1.6 DKMS files...
Building for 5.19.6-200.fc36.x86_64
Building initial module for 5.19.6-200.fc36.x86_64
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:4: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:3: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Done.

zavl.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

znvpair.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

zunicode.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

zcommon.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

zfs.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

icp.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

zlua.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

spl.ko.xz:
Running module version sanity check.
 - Original module
   - This kernel never originally had a module by this name
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/

zzstd.ko.xz:
Running module version sanity check.
Error! Module version 1.4.5a for zzstd.ko.xz
is not newer than what is already found in kernel 5.19.6-200.fc36.x86_64 (1.4.5a).
You may override by specifying --force.
depmod........

2022-10-07T18:13:18+0200 SUBDEBUG Upgrade: dracut-network-057-3.fc36.x86_64
2022-10-07T18:13:18+0200 SUBDEBUG Upgrade: dracut-live-057-3.fc36.x86_64
2022-10-07T18:13:18+0200 SUBDEBUG Upgrade: zfs-2.1.6-1.fc36.x86_64
2022-10-07T18:13:19+0200 SUBDEBUG Installed: kernel-5.19.13-200.fc36.x86_64
2022-10-07T18:13:19+0200 SUBDEBUG Installed: kernel-modules-extra-5.19.13-200.fc36.x86_64
2022-10-07T18:13:35+0200 SUBDEBUG Upgrade: dracut-config-rescue-057-3.fc36.x86_64
2022-10-07T18:13:35+0200 SUBDEBUG Upgrade: dracut-squash-057-3.fc36.x86_64
2022-10-07T18:13:35+0200 SUBDEBUG Upgrade: pcp-libs-6.0.0-1.fc36.x86_64
2022-10-07T18:13:35+0200 SUBDEBUG Upgrade: xen-libs-4.16.2-1.fc36.x86_64
2022-10-07T18:13:36+0200 SUBDEBUG Upgrade: vivaldi-stable-5.5.2805.32-1.x86_64
2022-10-07T18:13:53+0200 SUBDEBUG Upgrade: firefox-105.0.2-1.fc36.x86_64
2022-10-07T18:13:58+0200 SUBDEBUG Upgrade: mutter-42.5-3.fc36.x86_64
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: gdk-pixbuf2-modules-2.42.9-2.fc36.x86_64
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl100-firmware-39.31.5.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl1000-firmware-1:39.31.5.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl105-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl135-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl2000-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl2030-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl3160-firmware-1:25.30.13.0-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl3945-firmware-15.32.2.9-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl4965-firmware-228.61.2.24-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl5000-firmware-8.83.5.1_1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl5150-firmware-8.24.2.2-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl6000-firmware-9.221.4.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl6000g2a-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl6000g2b-firmware-18.168.6.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: iwl6050-firmware-41.28.5.1-140.fc36.noarch
2022-10-07T18:13:59+0200 SUBDEBUG Upgrade: libertas-usb8388-firmware-2:20220913-140.fc36.noarch
2022-10-07T18:14:00+0200 SUBDEBUG Upgrade: code-1.72.0-1664927055.el7.x86_64
2022-10-07T18:14:14+0200 SUBDEBUG Upgrade: mtools-4.0.41-1.fc36.x86_64
2022-10-07T18:14:14+0200 SUBDEBUG Upgrade: copy-jdk-configs-4.1-1.fc36.noarch
2022-10-07T18:14:14+0200 SUBDEBUG Erase: kernel-modules-extra-5.18.19-200.fc36.x86_64
2022-10-07T18:14:31+0200 SUBDEBUG Erase: kernel-5.18.19-200.fc36.x86_64
2022-10-07T18:14:31+0200 SUBDEBUG Upgraded: iwl7260-firmware-1:25.30.13.0-139.fc36.noarch
2022-10-07T18:14:31+0200 SUBDEBUG Upgraded: dracut-live-056-1.fc36.x86_64
2022-10-07T18:14:31+0200 SUBDEBUG Upgraded: dracut-network-056-1.fc36.x86_64
2022-10-07T18:14:31+0200 SUBDEBUG Upgraded: iwlax2xx-firmware-20220815-139.fc36.noarch
2022-10-07T18:14:31+0200 SUBDEBUG Erase: kernel-modules-5.18.19-200.fc36.x86_64
2022-10-07T18:14:38+0200 SUBDEBUG Erase: kernel-core-5.18.19-200.fc36.x86_64
2022-10-07T18:14:50+0200 INFO dkms: removing: nvidia 515.57 (5.18.19-200.fc36.x86_64) (x86_64)
Module nvidia-515.57 for kernel 5.18.19-200.fc36.x86_64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

nvidia.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-uvm.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-modeset.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-drm.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

nvidia-peermem.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod....
dkms: removing: zfs 2.1.5 (5.18.19-200.fc36.x86_64) (x86_64)
Module zfs-2.1.5 for kernel 5.18.19-200.fc36.x86_64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

zavl.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

znvpair.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zunicode.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zcommon.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zfs.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

icp.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zlua.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

spl.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zzstd.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.18.19-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod....

2022-10-07T18:14:51+0200 INFO Warnung: Datei /lib/modules/5.18.19-200.fc36.x86_64/updates: Entfernen fehlgeschlagen: Datei oder Verzeichnis nicht gefunden

2022-10-07T18:14:51+0200 SUBDEBUG Upgraded: linux-firmware-20220815-139.fc36.noarch
2022-10-07T18:14:51+0200 SUBDEBUG Upgraded: amd-gpu-firmware-20220815-139.fc36.noarch
2022-10-07T18:14:51+0200 SUBDEBUG Upgraded: intel-gpu-firmware-20220815-139.fc36.noarch
2022-10-07T18:14:51+0200 SUBDEBUG Upgraded: nvidia-gpu-firmware-20220815-139.fc36.noarch
2022-10-07T18:14:51+0200 SUBDEBUG Upgraded: vivaldi-stable-5.4.2753.51-1.x86_64
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: libertas-usb8388-firmware-2:20220815-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl6050-firmware-41.28.5.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl6000g2b-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl6000g2a-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl6000-firmware-9.221.4.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl5150-firmware-8.24.2.2-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl5000-firmware-8.83.5.1_1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl4965-firmware-228.61.2.24-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl3945-firmware-15.32.2.9-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl3160-firmware-1:25.30.13.0-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl2030-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl2000-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl135-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl105-firmware-18.168.6.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl1000-firmware-1:39.31.5.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: iwl100-firmware-39.31.5.1-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: dracut-squash-056-1.fc36.x86_64
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: dracut-config-rescue-056-1.fc36.x86_64
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: linux-firmware-whence-20220815-139.fc36.noarch
2022-10-07T18:14:52+0200 SUBDEBUG Upgraded: code-1.71.2-1663191299.el7.x86_64
2022-10-07T18:14:57+0200 SUBDEBUG Upgraded: copy-jdk-configs-4.0-3.fc36.noarch
2022-10-07T18:14:57+0200 SUBDEBUG Upgraded: zfs-2.1.5-1.fc36.x86_64
2022-10-07T18:14:57+0200 SUBDEBUG Upgraded: zfs-dkms-2.1.5-1.fc36.noarch
2022-10-07T18:15:16+0200 INFO 
Uninstall of zfs module (zfs-2.1.5-1) beginning:
Module zfs-2.1.5 for kernel 5.19.4-200.fc36.x86_64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

zavl.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

znvpair.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zunicode.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zcommon.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zfs.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

icp.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zlua.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

spl.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

zzstd.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.19.4-200.fc36.x86_64/extra/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod........
Module zfs 2.1.5 is not installed for kernel 5.19.6-200.fc36.x86_64 (x86_64). Skipping...

2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: libzpool5-2.1.5-1.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: libzfs5-2.1.5-1.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: mutter-42.5-1.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: gdk-pixbuf2-modules-2.42.9-1.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: firefox-105.0.1-1.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: dkms-3.0.6-1.fc36.noarch
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: xen-libs-4.16.1-8.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: pcp-libs-5.3.7-4.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: pcp-conf-5.3.7-4.fc36.x86_64
2022-10-07T18:15:18+0200 SUBDEBUG Upgraded: xen-licenses-4.16.1-8.fc36.x86_64
2022-10-07T18:15:19+0200 SUBDEBUG Erase: kernel-devel-5.18.19-200.fc36.x86_64
2022-10-07T18:15:24+0200 SUBDEBUG Upgraded: fontconfig-2.14.0-1.fc36.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: gdk-pixbuf2-2.42.9-1.fc36.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: libnvpair3-2.1.5-1.fc36.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: libuutil3-2.1.5-1.fc36.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: dracut-056-1.fc36.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: skypeforlinux-8.88.0.401-1.x86_64
2022-10-07T18:15:25+0200 SUBDEBUG Upgraded: mtools-4.0.40-1.fc36.x86_64
2022-10-07T18:18:41+0200 INFO dkms: running auto installation service for kernel 5.19.13-200.fc36.x86_64
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/zfs/2.1.5/source/dkms.conf does not exist.
Sign command: /lib/modules/5.19.13-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.19.13-200.fc36.x86_64 modules..................................
Signing module /var/lib/dkms/nvidia/515.57/build/nvidia.ko
Signing module /var/lib/dkms/nvidia/515.57/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia/515.57/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia/515.57/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia/515.57/build/nvidia-peermem.ko
Cleaning build area...

nvidia.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.13-200.fc36.x86_64/extra/

nvidia-uvm.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.13-200.fc36.x86_64/extra/

nvidia-modeset.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.13-200.fc36.x86_64/extra/

nvidia-drm.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.13-200.fc36.x86_64/extra/

nvidia-peermem.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.13-200.fc36.x86_64/extra/
depmod.........
 Done. 
dkms: running auto installation service for kernel 5.19.13-200.fc36.x86_64
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/zfs/2.1.5/source/dkms.conf does not exist.
 Done. 

Moerten85 avatar Oct 07 '22 17:10 Moerten85

Running module version sanity check.
Error! Module version 1.4.5a for zzstd.ko.xz
is not newer than what is already found in kernel 5.19.6-200.fc36.x86_64 (1.4.5a).
You may override by specifying --force.

This is a problem. It looks like the zstd kernel module is exporting the zstd version rather than the ZFS version. This problem is fixed in master for the next major release by putting the zstd code into the ZFS module.

Error! Could not locate dkms.conf file.
File: /var/lib/dkms/zfs/2.1.5/source/dkms.conf does not exist.

This is weird. It seems to think the 2.1.5 version is still installed.

I am not involved with the RPM packaging.

@tonyhutter @behlendorf I suggest looking at this when you return to the office on Monday.

ryao avatar Oct 08 '22 02:10 ryao

Please contact me on the OpenZFS slack server around 1pm EST tomorrow (Saturday):

http://openzfs.slack.com

I am the former Gentoo maintainer and run Gentoo, so Fedora is not my forte, but I am willing to try to help (for free). I have not encountered a modern Linux system that I could not get working with ZFS so far.

ryao avatar Oct 08 '22 02:10 ryao

https://www.reddit.com/r/zfs/comments/xuyc5x/comment/ir7wwav/

Users on Reddit seem to also be affected.

ryao avatar Oct 08 '22 03:10 ryao

I had the same issue. I uninstalled ZFS. Then re-installed it again.

After I did "sudo /sbin/modprobe zfs"

And re-imported my pool, now it's working fine again.

Arron17 avatar Oct 08 '22 04:10 Arron17

This has been problematic for a very long time, personally I usually deal with this by upgrading juts zfs, and then upgrading whatever else might need upgrading, that seems to confuse the system the least. We're doing the majority of the work in the postinstall and preuninstall rpm scripts, and if both a kernel and zfs are upgraded in the same transaction there's no real guarantee what the order of installation will be here. I know there was some discussion a long while back to maybe do the dkms stuff in posttransaction instead, when the list of installed packages has settled down.

Lalufu avatar Oct 09 '22 14:10 Lalufu

I could work around this by removing/installing zfs again. But today a new kernel 5.19.14 was released and you guess it. The syxstem was broken again. Interestingly in the log I had again this line

File: /var/lib/dkms/zfs/2.1.5/source/dkms.conf does not exist.

But I had version 2.1.6 installed. So this looks quite obvious like a bug/old link that had not been updated or is hardcoded somewhere in your code. Please investigate this. No other software has problems like this. Ok, maybe ZFS has to do some ugly hacks to work with linux, but I am quite sure it's a problem on your side.

Moerten85 avatar Oct 09 '22 17:10 Moerten85

@Moerten85 It looks like a bug in the DKMS code to me too. The people who maintain that have already been pinged, but it is the weekend and they will not be back in the office until Monday.

ryao avatar Oct 09 '22 17:10 ryao

What worked for me was looking in /var/lib/dkms/zfs/ and removing any reference to the old 2.1.5 version, and leaving the 2.1.6 stuff only. The clue was "File: /var/lib/dkms/zfs/2.1.5/source/dkms.conf does not exist." which, is true.

gene-hightower avatar Oct 09 '22 20:10 gene-hightower

gene

So did you remove the /var/lib/dkms/zfs/2.1.5 dir entirely?

naphtaj avatar Oct 10 '22 02:10 naphtaj

This might still be relevant:

https://github.com/openzfs/zfs/issues/6902#issuecomment-436532442

Lalufu avatar Oct 10 '22 16:10 Lalufu

gene

So did you remove the /var/lib/dkms/zfs/2.1.5 dir entirely?

Yes, and every symlink pointing to it.

gene-hightower avatar Oct 10 '22 16:10 gene-hightower

Error! Module version 1.4.5a for zzstd.ko.xz
is not newer than what is already found in kernel 5.19.6-200.fc36.x86_64 (1.4.5a).

I'll try a 2.1.5 -> 2.1.6 upgrade in a F36 VM and will see if I can reproduce this.

tonyhutter avatar Oct 10 '22 22:10 tonyhutter

I tried an upgrade on F36, but unfortunately was not able to reproduce the issue.

I started with zfs-2.1.5 and the slightly older 5.19.8-200.fc36.x86_64 kernel. I then did a dnf upgrade, which updated both the kernel and zfs at the same time, and rebooted. I ran modprobe zfs verified version was 2.1.6. During the update, I got the correct output for zzstd.ko.xz:

zzstd.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.14-200.fc36.x86_64/extra/

tonyhutter avatar Oct 11 '22 18:10 tonyhutter

I'm not sure if it's helpful, or even relevant, but I got this output upgrading a centos7 server.

I had installed zfs but for some reason the module hadn't been compiled (even though it looks like the kernel-headers were installed at that point, which is the only reason I'm familiar with why it wouldn't have been compiled during installation). So I installed newer kernel-headers package and reinstalled zfs.

$ rpm -q kernel-headers | kernel-headers-3.10.0-1160.76.1.el7.x86_64

$ sudo yum -y reinstall zfs-dkms --enablerepo zfs-testing | Error! Module version 1.4.5a for zzstd.ko.xz

My upgrade worked fine. I exported the pool, modprobe -r, modprobe, and imported the pool, and verified that it's running the 2.1.6 module.

justinpryzby avatar Oct 12 '22 02:10 justinpryzby

@tonyhutter FWIW: I've just updated a zfs 2.1.5 Rocky Linux 8.6 system from kernel-4.18.0-372.19.1.el8_6.x86_64 to kernel-4.18.0-372.26.1.el8_6.x86_64 using dkms-3.0.7 (without updating zfs!). I got the same output as you i.e. it worked fine. Also dkms status output is fine.

Then, as a 2nd step after reboot, I've updated zfs from 2.1.5 to 2.1.6 for kernel-4.18.0-372.26.1.el8_6.x86_64. Now I've got the following output during "yum update" (just for the zfs-2.1.6 rpms!):

zzstd.ko.xz:
Running module version sanity check.
Error! Module version 1.4.5a for zzstd.ko.xz
is not newer than what is already found in kernel 4.18.0-372.26.1.el8_6.x86_64 (1.4.5a).
You may override by specifying --force.
depmod....

and dkms status is now unhappy:

# dkms status
zfs/2.1.6, 4.18.0-372.26.1.el8_6.x86_64, x86_64: installed (WARNING! Diff between built and installed module!)

Also, there are stale symlinks in /lib/modules/4.18.0-372.26.1.el8_6.x86_64/weak-updates/ for all zfs kernel modules and /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zzstd.ko.xz was not updated (because of ther error above).

However, all zfs kernel modules in the extra directory have new timestamps. But the checksum of extra/zzstd.ko.xz differs from the new compilation (all other checksums match):

# md5sum /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/*
f1e07468523b6280d3d172b7c4956c57  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/icp.ko.xz
12bd261ff332f325dfc5c44211d8b0b4  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/spl.ko.xz
43bda0ea2f5b40b3d72f574a257203f9  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zavl.ko.xz
5f7b28a61920e8446813e19555869994  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zcommon.ko.xz
2b3d5a6968ce279b8581aeb9ecf86342  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zfs.ko.xz
c5403e7f836a4bbfb8adf27b936e24cc  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zlua.ko.xz
aadd99c04e89bb35b4ec7d85e839def7  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/znvpair.ko.xz
8d873e253e9802ca30694bb2918d7601  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zunicode.ko.xz
3c07a450d76c3e4cdd8c830f2ad69582  /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zzstd.ko.xz

# md5sum /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/*
f1e07468523b6280d3d172b7c4956c57  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/icp.ko.xz
12bd261ff332f325dfc5c44211d8b0b4  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/spl.ko.xz
43bda0ea2f5b40b3d72f574a257203f9  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zavl.ko.xz
5f7b28a61920e8446813e19555869994  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zcommon.ko.xz
2b3d5a6968ce279b8581aeb9ecf86342  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zfs.ko.xz
c5403e7f836a4bbfb8adf27b936e24cc  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zlua.ko.xz
aadd99c04e89bb35b4ec7d85e839def7  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/znvpair.ko.xz
8d873e253e9802ca30694bb2918d7601  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zunicode.ko.xz
3bc6370c19c0162fedaaf34cd296ae40  /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/zzstd.ko.xz

My workaround is to delete the stale weak-updates symlinks and overwrite the zzstd.ko.xz in extra with the new kernel module version in /var/lib/dkms/zfs/2.1.6/4.18.0-372.26.1.el8_6.x86_64/x86_64/module/zsstd.ko.xz followed by a dracut -f.

Now dkms status is happy and zfs 2.1.6 works (after reboot):

# dkms status
zfs/2.1.6, 4.18.0-372.26.1.el8_6.x86_64, x86_64: installed
# zfs version
zfs-2.1.6-1
zfs-kmod-2.1.6-1

knweiss avatar Oct 12 '22 09:10 knweiss

@knweiss thanks for the info - I will try to reproduce using your detailed instructions.

@Moerten85 I'm going to change the title of this issue to Error! Module version 1.4.5a for zzstd.ko.xz so it will get more visibility if other people are hitting the issue. Feel free to change it back if you really want the old title though.

tonyhutter avatar Oct 12 '22 16:10 tonyhutter

@knweiss I ran though your scenario with Almalinux 8 (RHEL 8 clone), but was unable to reproduce:

  1. Started with kernel-4.18.0-372.19.1.el8_6 and zfs-2.1.5-2 dkms:
$ uname -a
Linux centos8 4.18.0-372.19.1.el8_6.x86_64 #1 SMP Tue Aug 2 13:42:59 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

$ zfs --version
zfs-2.1.5-2
zfs-kmod-2.1.5-2
  1. dnf update kernel
  2. reboot
  3. I'm now running kernel-4.18.0-372.26.1.
  4. I noticed in my terminal that when I dnf updated the kernel, that it had this warning:
dkms: running auto installation service for kernel 4.18.0-372.26.1.el8_6.x86_64
Sign command: /lib/modules/4.18.0-372.26.1.el8_6.x86_64/build/scripts/sign-file
Binary /lib/modules/4.18.0-372.26.1.el8_6.x86_64/build/scripts/sign-file not found, modules won't be signed
Error! Your kernel headers for kernel 4.18.0-372.26.1.el8_6.x86_64 cannot be found at /lib/modules/4.18.0-372.26.1.el8_6.x86_64/build or /lib/modules/4.18.0-372.26.1.el8_6.x86_64/source.
Please install the linux-headers-4.18.0-372.26.1.el8_6.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.
  1. dnf update kernel-devel
  2. dnf update zfs
  3. reboot
  4. modprobe zfs - correctly shows zfs-2.1.6

The only thing I can think if is that when you updated your kernel, it didn't update kernel-devel (as it did with me), and if you don't update that too, then maybe that's what messed up your dkms install?

tonyhutter avatar Oct 12 '22 23:10 tonyhutter

@tonyhutter Interesting. FWIW I was using zfs-2.1.5-1 as a starting point.

Which dkms were you using? (dkms-3.0.7-1.el8.noarch here). I assume your dkms status output shows no warning?

I've just verified: kernel-devel was installed as expected:

# rpm -qa --last | grep -E 'kernel.*4.18.0-372'
kernel-devel-4.18.0-372.26.1.el8_6.x86_64     Wed 12 Oct 2022 10:12:07 AM CEST
kernel-headers-4.18.0-372.26.1.el8_6.x86_64   Wed 12 Oct 2022 10:11:57 AM CEST
kernel-4.18.0-372.26.1.el8_6.x86_64           Wed 12 Oct 2022 10:11:55 AM CEST
kernel-tools-4.18.0-372.26.1.el8_6.x86_64     Wed 12 Oct 2022 10:11:45 AM CEST
kernel-tools-libs-4.18.0-372.26.1.el8_6.x86_64 Wed 12 Oct 2022 10:11:07 AM CEST
kernel-modules-4.18.0-372.26.1.el8_6.x86_64   Wed 12 Oct 2022 10:11:02 AM CEST
kernel-core-4.18.0-372.26.1.el8_6.x86_64      Wed 12 Oct 2022 10:10:57 AM CEST
kernel-devel-4.18.0-372.19.1.el8_6.x86_64     Mon 05 Sep 2022 01:36:56 PM CEST
kernel-4.18.0-372.19.1.el8_6.x86_64           Mon 05 Sep 2022 01:36:46 PM CEST
kernel-modules-4.18.0-372.19.1.el8_6.x86_64   Mon 05 Sep 2022 01:36:42 PM CEST
kernel-core-4.18.0-372.19.1.el8_6.x86_64      Mon 05 Sep 2022 01:36:37 PM CEST
kernel-devel-4.18.0-372.9.1.el8.x86_64        Tue 05 Jul 2022 11:41:41 AM CEST
kernel-4.18.0-372.9.1.el8.x86_64              Tue 05 Jul 2022 11:41:20 AM CEST
kernel-modules-4.18.0-372.9.1.el8.x86_64      Tue 05 Jul 2022 11:39:27 AM CEST
kernel-core-4.18.0-372.9.1.el8.x86_64         Tue 05 Jul 2022 11:39:22 AM CEST

Notice, that I did upgrade the system/kernel with yum update (the zfs repo mirror is disabled by default) and not yum update kernel as you did. That's probably why you didn't get the new kernel-devel rpm but I did.

knweiss avatar Oct 13 '22 10:10 knweiss

@knweiss here's what I'm seeing:

$ rpm -qi dkms
Name        : dkms
Version     : 3.0.7
Release     : 1.el8
...
$ dkms status
zfs/2.1.6, 4.18.0-372.26.1.el8_6.x86_64, x86_64: installed
...
$ rpm -qa --last | grep -E 'kernel.*4.18.0-372'
kernel-devel-4.18.0-372.26.1.el8_6.x86_64     Wed 12 Oct 2022 07:01:23 PM EDT
kernel-4.18.0-372.26.1.el8_6.x86_64           Wed 12 Oct 2022 06:57:59 PM EDT
kernel-modules-4.18.0-372.26.1.el8_6.x86_64   Wed 12 Oct 2022 06:57:54 PM EDT
kernel-core-4.18.0-372.26.1.el8_6.x86_64      Wed 12 Oct 2022 06:57:47 PM EDT
kernel-4.18.0-372.19.1.el8_6.x86_64           Tue 06 Sep 2022 05:00:56 PM EDT
kernel-tools-4.18.0-372.19.1.el8_6.x86_64     Tue 06 Sep 2022 04:59:59 PM EDT
kernel-devel-4.18.0-372.19.1.el8_6.x86_64     Tue 06 Sep 2022 04:57:43 PM EDT
kernel-modules-4.18.0-372.19.1.el8_6.x86_64   Tue 06 Sep 2022 04:53:24 PM EDT
kernel-core-4.18.0-372.19.1.el8_6.x86_64      Tue 06 Sep 2022 04:52:56 PM EDT
kernel-headers-4.18.0-372.19.1.el8_6.x86_64   Tue 06 Sep 2022 04:51:48 PM EDT
kernel-tools-libs-4.18.0-372.19.1.el8_6.x86_64 Tue 06 Sep 2022 04:51:10 PM EDT

tonyhutter avatar Oct 13 '22 16:10 tonyhutter

gene

So did you remove the /var/lib/dkms/zfs/2.1.5 dir entirely?

Yes, and every symlink pointing to it.

Can confirm this works. Deleted the dir, updated the kernel to 5.19.16, rebooted, and zfs was still working. EDIT: Never mind, upon doing this I get occasional system freezes. Nothing on journalctl because I suspect nothing got logged when it froze.

naphtaj avatar Oct 22 '22 05:10 naphtaj

Having the same issue with fresh install from jonathonf ppa to ubuntu 20.04 with HWE kernel.

Is it a problem if I'm not using zstd with openzfs?

knutov avatar Nov 21 '22 13:11 knutov

I'd never seen this before, but just saw it while upgrading from zfs-2.1.8 to 2.1.9 under kernel: kernel-lt-5.4.229-1.el7.elrepo.x86_64

` zzstd.ko: Running module version sanity check. Error! Module version 1.4.5a for zzstd.ko is not newer than what is already found in kernel 5.4.229-1.el7.elrepo.x86_64 (1.4.5a). You may override by specifying --force. depmod..... Actualizando : zfs-2.1.9-1.el7.x86_64 6/12 Limpieza : zfs-2.1.8-1.el7.x86_64 7/12

Uninstall of zfs module (zfs-2.1.8-1) beginning: Module zfs-2.1.8 for kernel 5.4.226-1.el7.elrepo.x86_64 (x86_64). Before uninstall, this module version was ACTIVE on this kernel. ` ...

[pryzbyj@database ~]$ sudo modprobe zfs modprobe: ERROR: ctx=0xf76010 path=/lib/modules/5.4.229-1.el7.elrepo.x86_64/weak-updates/zzstd.ko error=No such file or directory modprobe: ERROR: ctx=0xf76010 path=/lib/modules/5.4.229-1.el7.elrepo.x86_64/weak-updates/zzstd.ko error=No such file or directory

I resolved by upgrading to the .230 kernel and reinstalling the zfs packages.

justinpryzby avatar Jan 28 '23 20:01 justinpryzby