The officially official Devuan Forum!

You are not logged in.

#1 2024-03-09 19:21:27

asgalon
Member
Registered: 2020-01-18
Posts: 3  

Nvidia module build breaks kernel modules build

Hi,

I really look forward to the day when I throw out the NVIDIA graphics card...

The latest update of nvidia drivers (525.147-05) broke the kernel modules build for 6.1.0-18 upwards:

make -f /usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost
   sed 's/ko$/o/'  /var/lib/dkms/nvidia-current/525.147.05/build/modules.order | scripts/mod/modpost -m     -o /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers -e -i Module.symvers -T -
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
make[3]: *** [/usr/src/linux-headers-6.1.0-18-common/scripts/Makefile.modpost:126: /var/lib/dkms/nvidia-current/525.147.05/build/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:1991: modpost] Error 2
make[2]: se sale del directorio '/usr/src/linux-headers-6.1.0-18-amd64'
make[1]: *** [Makefile:250: __sub-make] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-6.1.0-18-common'
make: *** [Makefile:82: modules] Error 2

This seems to be a more or less known problem on debian, but as a very unfortunate sideeffect this update seems to completely clobber my grub setup which leads to the encrypted root volume being unavailable on boot. Any idea how to resolve this nvidia mess in devuan?

Offline

#2 2024-03-09 19:42:42

swanson
Member
Registered: 2020-04-22
Posts: 103  

Re: Nvidia module build breaks kernel modules build

Offline

Board footer