graysky2 / modprobed-db

Keeps track of EVERY kernel module that has ever been probed. Useful for those of us who make localmodconfig :)
https://wiki.archlinux.org/index.php/Modprobed-db
181 stars 16 forks source link

Nvidia-340xx-dkms not build with ck-modprobed kernel #21

Closed nebulosa2007 closed 12 months ago

nebulosa2007 commented 12 months ago

I couldn't find the answer anywhere, request some ideas...

Build kernel linux-ck with modprobed-db without errors, but can't install linux-ck-header with nvidia340xx-dkms:

$ sudo dkms autoinstall -k 6.6.3-2-ck-atom-modprobed --verbose
[sudo] password for nebulosa: 
Sign command: /usr/lib/modules/6.6.3-2-ck-atom-modprobed/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
make clean; make -C uvm clean
make: Entering directory '/var/lib/dkms/nvidia/340.108/build/uvm'
make: Leaving directory '/var/lib/dkms/nvidia/340.108/build/uvm'

{ make -j4 KERNELRELEASE=6.6.3-2-ck-atom-modprobed -j4 module KERNEL_UNAME=6.6.3-2-ck-atom-modprobed; make -C uvm module KERNEL_UNAME=6.6.3-2-ck-atom-modprobed KBUILD_EXTMOD=/var/lib/dkms/nvidia/340.108/build/uvm CC=clang LD=ld.lld; } >> /var/lib/dkms/nvidia/340.108/build/make.log 2>&1
(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.3-2-ck-atom-modprobed (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
dkms autoinstall on 6.6.3-2-ck-atom-modprobed/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

make.log modprobed.db

This kernel version but without modprobed.db (compiled all drivers) - 6.6.3-2-atom - installing nvidia340xx-dkms works correct.

I suppose that I need add some modules but can't understand how I can figure out witch ones they are?

nebulosa2007 commented 12 months ago

In kernel 6.6.4-1 there is no problem with compiling nvidia-dkms. Sorry for inconvenience