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,
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