Today (August 2nd, 2026) i attempted to install updates for Debian 13. It left the 6.12.100+deb13-amd64 kernel in such a state that booting from it results in a kernel panic. I am able to boot in an older version (linux-image-6.12.96+deb13-amd64).
I tried to reconfigure with dpkg --configure -a but it still doesn’t work as expected. The output shown for this command is
Setting up linux-image-6.12.100+deb13-amd64-unsigned (6.12.100-1) ...
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/6.12.100+deb13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module nvidia-current-open/550.163.01 for kernel 6.12.100+deb13-amd64 (x86_64)
Building module(s)..........(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=6.12.100+deb13-amd64
Error! Bad return status for module build on kernel: 6.12.100+deb13-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current-open/550.163.01/build/make.log for more information.
Autoinstall on 6.12.100+deb13-amd64 failed for module(s) nvidia-current-open(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.12.100+deb13-amd64-unsigned (--configure):
installed linux-image-6.12.100+deb13-amd64-unsigned package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-6.12.100+deb13-amd64:
linux-headers-6.12.100+deb13-amd64 depends on linux-image-6.12.100+deb13-amd64 (= 6.12.100-1) | linux-image-6.12.100+deb13-amd64-unsigned (= 6.12.100-1); however:
Package linux-image-6.12.100+deb13-amd64 is not installed.
Package linux-image-6.12.100+deb13-amd64-unsigned is not configured yet.
dpkg: error processing package linux-headers-6.12.100+deb13-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.12.100+deb13-amd64 (= 6.12.100-1); however:
Package linux-headers-6.12.100+deb13-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.12.100+deb13-amd64-unsigned
linux-headers-6.12.100+deb13-amd64
linux-headers-amd64
The kernal header package has been installed:
linux-headers-6.12.100+deb13-amd64 is already the newest version (6.12.100-1).
linux-headers-6.12.100+deb13-amd64 set to manually installed.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
3 not fully installed or removed.
Space needed: 0 B / 15.0 GB available
In the log created by dkms, i see only one thing that i didn’t expect:
/var/lib/dkms/nvidia-current-open/550.163.01/build/nvidia/nv-pci.c: In function ‘nv_resize_pcie_bars’:
/var/lib/dkms/nvidia-current-open/550.163.01/build/nvidia/nv-pci.c:237:9: error: too few arguments to function ‘pci_resize_resource’
237 | r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size);
| ^~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia-current-open/550.163.01/build/nvidia/nv-pci-table.h:27,
from /var/lib/dkms/nvidia-current-open/550.163.01/build/nvidia/nv-pci.c:24:
/usr/src/linux-headers-6.12.100+deb13-common/include/linux/pci.h:1421:18: note: declared here
1421 | int __must_check pci_resize_resource(struct pci_dev *dev, int i, int size,
| ^~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-6.12.100+deb13-common/scripts/Makefile.build:234: /var/lib/dkms/nvidia-current-open/550.163.01/build/nvidia/nv-pci.o] Error 1
make[4]: *** Waiting for unfinished jobs....
But I do not have the know-how to determine if this is the actual problem, or how to fix it.
make.log (101.6 KB)