You are not logged in.

#1 2023-08-13 09:54:42

rime@etik.com
Member
Registered: 2023-02-08
Posts: 12

[SOLVED]DKMS install failed when updating new kernel with zfs-dkms-git

The ZFS git used to work before, until I tried a full system update today. When some of my kernels updates from 6.4.9 to 6.4.10, I got the following error:

==> dkms install --no-depmod zfs/git -k 6.4.10-zen2-1-zen
/usr/bin/install: error copying 'conftest.one' to '/var/lib/dkms/zfs/git/build/conftest.dir/conftest.one': Resource temporarily unavailable
/usr/bin/install: error copying 'conftest.two' to '/var/lib/dkms/zfs/git/build/conftest.dir/conftest.two': Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: conftest.i: Resource temporarily unavailable
cat: conftest.i: Resource temporarily unavailable
cat: conftest.i: Resource temporarily unavailable
cat: conftest.i: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
cat: confdefs.h: Resource temporarily unavailable
configure: error: 
                *** This kernel does not include the required loadable module
                *** support!
                ***
                *** To build OpenZFS as a loadable Linux kernel module
                *** enable loadable module support by setting
                *** `CONFIG_MODULES=y` in the kernel configuration and run
                *** `make modules_prepare` in the Linux source tree.
                ***
                *** If you don't intend to enable loadable kernel module
                *** support, please compile OpenZFS as a Linux kernel built-in.
                ***
                *** Prepare the Linux source tree by running `make prepare`,
                *** use the OpenZFS `--enable-linux-builtin` configure option,
                *** copy the OpenZFS sources into the Linux source tree using
                *** `./copy-builtin <linux source directory>`,
                *** set `CONFIG_ZFS=y` in the kernel configuration and compile
                *** kernel as usual.

Error! Bad return status for module build on kernel: 6.4.10-zen2-1-zen (x86_64)
Consult /var/lib/dkms/zfs/git/build/make.log for more information.
==> WARNING: `dkms install --no-depmod zfs/git -k 6.4.10-zen2-1-zen' exited 10
==> dkms install --no-depmod vboxhost/7.0.10_OSE -k 6.4.10-zen2-1-zen
Error! Bad return status for module build on kernel: 6.4.10-zen2-1-zen (x86_64)
Consult /var/lib/dkms/vboxhost/7.0.10_OSE/build/make.log for more information.
==> WARNING: `dkms install --no-depmod vboxhost/7.0.10_OSE -k 6.4.10-zen2-1-zen' exited 10
==> dkms install --no-depmod v4l2loopback/0.12.7 -k 6.4.10-zen2-1-zen
==> depmod 6.4.10-zen2-1-zen
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-zen -g /boot/initramfs-linux-zen.img --microcode /boot/amd-ucode.img
==> Starting build: '6.4.10-zen2-1-zen'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [zfs]
==> ERROR: module not found: 'zavl'
==> ERROR: module not found: 'znvpair'
==> ERROR: module not found: 'zunicode'
==> ERROR: module not found: 'zcommon'
==> ERROR: module not found: 'zfs'
==> ERROR: module not found: 'spl'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-zen -g /boot/initramfs-linux-zen-fallback.img -S autodetect --microcode /boot/amd-ucode.img
==> Starting build: '6.4.10-zen2-1-zen'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [zfs]
==> ERROR: module not found: 'zavl'
==> ERROR: module not found: 'znvpair'
==> ERROR: module not found: 'zunicode'
==> ERROR: module not found: 'zcommon'
==> ERROR: module not found: 'zfs'
==> ERROR: module not found: 'spl'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.

/var/lib/dkms/zfs/2.1.6/build/make.log says:

DKMS make.log for zfs-git for kernel 6.4.10-zen2-1-zen (x86_64)
Sun Aug 13 11:31:27 CST 2023
make: *** No targets specified and no makefile found.  Stop.

The full pacman logs are as follows:
https://www.verybin.com/?c8c2397f341491 … crdfOboBA=

By checking the config.log the CONFIG_MODULES is already 'y', and already tried downgrading the kernel to previous version, but it didn't solve.
https://www.verybin.com/?2d015f52c1bb13 … Vbxn6NE6w=

This system is in an ATI machine so it has no CUDA installed.

The ZFS modules I'm using:

$ pacman -Q | grep zfs                                                                                
zfs-dkms-git 2023.08.08.r8730.g8ce2eba9e6-1
zfs-utils-git 2023.08.08.r8730.g8ce2eba9e6-1

Both of them are from archzfs repository, and tried downgrading or installing other versions before.

Last edited by rime@etik.com (2023-08-16 13:09:59)

Offline

#2 2023-08-16 03:29:22

NyanCatTW1
Member
Registered: 2023-08-16
Posts: 1

Re: [SOLVED]DKMS install failed when updating new kernel with zfs-dkms-git

You're facing https://github.com/openzfs/zfs/issues/15163, which is well fixed on 2023-08-09. But the archzfs maintainers still haven't update their prebuilt yet. In the meantime, try using zfs-dkms-git from chaotic-aur or the AUR instead of the one from archzfs.

Last edited by NyanCatTW1 (2023-08-16 03:45:36)

Offline

#3 2023-08-16 12:44:52

rime@etik.com
Member
Registered: 2023-02-08
Posts: 12

Re: [SOLVED]DKMS install failed when updating new kernel with zfs-dkms-git

NyanCatTW1 wrote:

You're facing https://github.com/openzfs/zfs/issues/15163, which is well fixed on 2023-08-09. But the archzfs maintainers still haven't update their prebuilt yet. In the meantime, try using zfs-dkms-git from chaotic-aur or the AUR instead of the one from archzfs.

Solved and thx.

Offline

Board footer

Powered by FluxBB