zfs-dkms Cannot find UTS_RELEASE definition
System information
| Type | Name/Version |
|---|---|
| Distribution Name | Fedora Server |
| Distribution Version | 6.6.14-200.fc39 |
| Kernel Version | 6.6.14 |
| Architecture | x86_64 |
| OpenZFS Version | 2.2.2 |
Hello i am currently running into a problem with zfs-dkms. I am using a custom built kernel which is based on the 6.6.13-200fc39 fedora kernel just with some more imports so my old network cards work.
When running dkms autoinstall it fails with
checking for parallel... no
checking kernel source and build directories... done
checking kernel source directory... /lib/modules/6.6.14-200.fc39.x86_64/source
checking kernel build directory... /lib/modules/6.6.14-200.fc39.x86_64/build
checking kernel source version... Not found
configure: error:
*** Cannot find UTS_RELEASE definition.
Building module:
Cleaning build area...(bad exit status: 2)
make -j40 KERNELRELEASE=6.6.14-200.fc39.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.14-200.fc39.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/2.2.2/build/make.log for more information.
dkms autoinstall on 6.6.14-200.fc39.x86_64/x86_64 failed for zfs(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
The make log states no Makefile was found.
I don't really know how. because the Makefile is in place and the kernel headers are too i just built a kernel with it before to make sure everything was in place correctly, i am relatively new to these deep linux things so excuse me for things i might miss!
the spl module is not loading specifically
930.448005] failed to validate module [spl] BTF: -22 is in my dmesg