I uninstalled all dkms modules, removed everything in /var/lib/dkms
, and installed the modules again.
While installing, I got ==> ERROR: Missing 5.15.24-1-lts kernel modules tree for module
errors.
So I installed LTS kernel again (why do I need to have it installed?!), and the installation worked without errors. The installation of nct6687d-dkms-git
still failed, though.
$ dkms status
nct6687d-dkms-git/r30.4f00ace: added
Deprecated feature: REMAKE_INITRD
v4l2loopback/0.12.5, 5.15.24-1-lts, x86_64: installedDeprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
v4l2loopback/0.12.5, 5.16.10-246-tkg-pds, x86_64: installedDeprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
v4l2loopback/0.12.5, 5.16.9-arch1-1, x86_64: installedDeprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
v4l2loopback/0.12.5, 5.16.9-zen1-1-zen, x86_64: installedDeprecated feature: REMAKE_INITRD
vhba-module/20211218, 5.15.24-1-lts, x86_64: installed
vhba-module/20211218, 5.16.10-246-tkg-pds, x86_64: installed
vhba-module/20211218, 5.16.9-arch1-1, x86_64: installed
vhba-module/20211218, 5.16.9-zen1-1-zen, x86_64: installed (WARNING! Diff between built and installed module!)
But at least dkms autoinstall throws less errors now:
$ sudo dkms autoinstall
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
Building module:
cleaning build area...
make -j12 KERNELRELEASE=5.16.9-zen1-1-zen TARGET=5.16.9-zen1-1-zen KERNEL_BUILD=/usr/lib/modules/5.16.9-zen1-1-zen/build...
Error! Build of nct6687.ko failed for: 5.16.9-zen1-1-zen (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/nct6687d-dkms-git/r30.4f00ace/build for more information.
Did you try to uninstall the package you try to make working?
yes.
Are you sure you know the state of your installation as of now?
No, I’m very confused about what is going on.