Hello!
First of all, I’m quite new to compiling and have never tried to compile a kernel before, I almost got not idea what I’m doing.
I’ve been using the pre-patched kernel from copr jlay/kernel-acspatch with great success for passtrough of my second GPU to my windows guest
However, now i want to start using zfsonlinux which uses DKMS and I’m getting errors:
# dkms autoinstall
Error! echo
Your kernel headers for kernel 4.17.2-201.acspatch.fc28.x86_64 cannot be found at
/lib/modules/4.17.2-201.acspatch.fc28.x86_64/build or /lib/modules/4.17.2-201.acspatch.fc28.x86_64/source.
Error! echo
Your kernel headers for kernel 4.17.2-201.acspatch.fc28.x86_64 cannot be found at
/lib/modules/4.17.2-201.acspatch.fc28.x86_64/build or /lib/modules/4.17.2-201.acspatch.fc28.x86_64/source.
Obviously i need the kernel-headers which the copr repo doesnt provide.
So I figured i could patch and compile my own kernel, so i followed This guide
cat ~/testpatch.diff | patch -p1
$ make oldconfig
$ make bzImage
$ make modules
# make modules_install
all works just fine, However when i get to the last step, make install im getting errors:
# make install
scripts/kconfig/conf --syncconfig Kconfig
sh ./arch/x86/boot/install.sh 4.18.0-rc4-acspatch+ arch/x86/boot/bzImage \
System.map "/boot"
Error! Bad return status for module build on kernel: 4.18.0-rc4-acspatch+ (x86_64)
Consult /var/lib/dkms/spl/0.7.9/build/make.log for more information.
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option. Failed to find spl_config.h in
*** any of the following:
/usr/src/spl-0.7.9/4.18.0-rc4-acspatch+
/usr/src/spl-0.7.9
Error! Bad return status for module build on kernel: 4.18.0-rc4-acspatch+ (x86_64)
Consult /var/lib/dkms/zfs/0.7.9/build/make.log for more information.