Skip to main content
Topic: [Q] Reasons on OZL requiring a kernel a little older than the most recent?? (Read 242 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Q] Reasons on OZL requiring a kernel a little older than the most recent??

Code: [Select]
==> dkms install --no-depmod zfs/2.1.11 -k 6.3.4-artix1-1
configure: error:
        *** None of the expected "capability" 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.1.11-1
        *** Compatible Kernels: 3.10 - 6.2

Error! Bad return status for module build on kernel: 6.3.4-artix1-1 (x86_64)
Consult /var/lib/dkms/zfs/2.1.11/build/make.log for more information.
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen

 

Re: [Q] Reasons on OZL requiring a kernel a little older than the most recent??

Reply #1
And when i downgraded to LTS kernel this returns to me somewhy,
Code: [Select]
DKMS make.log for zfs-git for kernel 6.1.30-1-lts (x86_64)
Thu Jun  1 20:44:54 HKT 2023
  GEN      gitrev
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/zfs/git/build'
Making all in include
make[2]: Entering directory '/var/lib/dkms/zfs/git/build/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/lib/dkms/zfs/git/build/include'
Making all in module
make[2]: Entering directory '/var/lib/dkms/zfs/git/build/module'
mkdir -p os/linux/spl/
mkdir -p avl/ icp/ icp/algs/aes/ icp/algs/blake3/ icp/algs/edonr/ icp/algs/modes/ icp/algs/sha2/ icp/algs/skein/ icp/api/ icp/asm-aarch64/blake3/ icp/asm-aarch64/sha2/ icp/asm-arm/sha2/ icp/asm-ppc64/blake3/ icp/asm-ppc64/sha2/ icp/asm-x86_64/aes/ icp/asm-x86_64/blake3/ icp/asm-x86_64/modes/ icp/asm-x86_64/sha2/ icp/core/ icp/io/ icp/spi/ lua/ lua/setjmp/ nvpair/ os/linux/zfs/ unicode/ zcommon/ zfs/ zstd/ zstd/lib/common/ zstd/lib/compress/ zstd/lib/decompress/
make -C /usr/lib/modules/6.1.30-1-lts/build  \
  \
M="$PWD"  CONFIG_ZFS=m modules
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-atomic.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-condvar.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-cred.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-err.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-generic.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-kmem-cache.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-kmem.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-kstat.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-proc.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-procfs-list.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-taskq.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-thread.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-tsd.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-trace.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-vmem.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-xdr.o
  CC [M]  /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-zlib.o
In file included from /var/lib/dkms/zfs/git/build/include/os/linux/spl/sys/uio.h:31,
                 from /var/lib/dkms/zfs/git/build/include/os/linux/spl/sys/sunddi.h:28,
                 from /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-generic.c:42:
/var/lib/dkms/zfs/git/build/include/linux/blkdev_compat.h:33:10: fatal error: linux/elevator.h: No such file or directory
   33 | #include <linux/elevator.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.build:250: /var/lib/dkms/zfs/git/build/module/os/linux/spl/spl-generic.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:2012: /var/lib/dkms/zfs/git/build/module] Error 2
make[2]: *** [Makefile:56: modules-Linux] Error 2
make[2]: Leaving directory '/var/lib/dkms/zfs/git/build/module'
make[1]: *** [Makefile:12084: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/zfs/git/build'
make: *** [Makefile:4603: all] Error 2
:) AMD APU R4750G Zen2 Lucienne-G GCN Vega8 :) ASRock DeskMini X300 AMD edition :) (14.9+46.9)GiB SoDiMM DDR4 RAM’s
:) Samsung 990PRO HS NVMe SSD 3.63TiB (nda0; with 2.61TiB ZPool) :) Kingston NV2 NVMe SSD 3.63TiB (nvme1n1; with 2.7TiB ZPool)
:) Samsung 860QVO 2.5’’ SSD 3.63TiB (sda; with 2.1TiB ZPool) :) Transcend 220Q 2.5’’ SSD 1.82TiB (sdb; with 1.29TiB ZPool)
:) Intehill 4K UHD LED-IGZo screen