i get this too but im failing to upgrade from 6.1.0-15-amd64 to 6.1.0-18-amd64 on Debian 12 (bookworm) so at least my machine isnt toast, but i get this while upgrading:
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:
Package linux-headers-6.1.0-18-amd64 is not configured yet.
i get this in my /var/log/nala/dpkg-debug.log:
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-18-amd64 (–configure):
installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) …
im reading the nvidia log now and so far I see this:
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’
this is with Nvidia driver version 525.147.05-4~deb12u1
I believe it is the same thing on Debian 12 too, because Devuan is just Debian without systemd. You can try to purge the new kernel image, then it will default to the former kernel, that worked before, and must be already installed. On Devuan, purging the new kernel image triggers the DKMS compile to the old kernel, reverting things back, I think it will run for Debian too.
I guess that it is ok to stay with the old kernel until a fix for this issue is released. You can also revert to the Noveau driver with loss of functionality (mostly on gaming). This option is the last resort, because the Nouveau driver has it’s own problems.
To check if the old kernel is enough for you, hold shift key while booting to get into the grub bootloader screen, then choose the former kernel. You probably will boot with no issues. Debian keeps the last three kernels installed, and purging the most recent one will revert the default to the former version.
It is a NVIDIA problem, not a kernel one, but at least your system will run as before.
Thank you for the years of joy and wonders, using NVIDIA graphics. Lately, I am wondering about the stagnant updates for Linux users. The following are the bug fixes that I am doing for the various drivers.
I would personally recommend packaging (and compiling) egl-gbm separately using the latest version, it’s open source like egl-wayland and you can control everything about it.
Also it’s doubtful there will be another 545 update, 550 will likely become the next production branch once it’s out beta and the NFB 545 won’t be relevant anymore.
Imagine 535 will be supported for some time still though, anything below 535 is probably nearing its end except the LTS 470.
Is there a way to subscribe to updates on bug 4336331? I turned off kernel auto-upgrades because of this and I’d like to know when I can turn it back on.
Using the 6.5.0-0-amd64 kernel from bookworm-backports continues to work well for me. However, in hindsight I could have just sudo apt purge linux-image-6.1.0-18-amd64 (you don’t have to purge or remove the headers).
If I did that right away I would have still had 6.1.0-15 and 6.1.0-17, if I would have done that later I still would have had 6.1.0-15 which is fine for my 7-yr old machine w/ approx 10 yr old hardware (it wasn’t anything cutting edge when I bought it). In hindsight, that’s really the point of having a fallback kernel. But for some reason there is always a strong appeal of a “new” kernel with a bigger number. I think (and I could be wrong) unless there is a specific issue you are having, or you know something is included in the new kernel that will help you, there is no reason to think you need that “new” one with a bigger number. Same logic applies to nvidia drivers. But if you have very new hardware, then the logic is different and there is a better chance keeping up with available upgrades will benefit you.
I have installed version 550.54.14 (from Nvidia releases) in Debian 12 and the issue was solved. Now running kernel 6.1.0-18 in a Lenovo Legion laptop with Nvidia GeForce RTX 4070.