<span>Package: nvidia-kernel-dkms</span><div><span>  Version: 550.163.01-5.1</span></div><div><br></div><div><span>  I can reproduce this issue on Debian testing/forky amd64.</span></div><div><br></div><div><span>  Hardware:</span></div><div><span>  NVIDIA GeForce RTX 4070 SUPER</span></div><div><span>  PCI ID: 10de:2783</span></div><div><br></div><div><span>  Kernel versions:</span></div><div><span>  - 7.1.13+deb14-amd64: works correctly</span></div><div><span>  - 7.2.6+deb14-amd64: NVIDIA DKMS module fails to build</span></div><div><br></div><div><span>  The kernel 7.2.6 package installation fails while running DKMS:</span></div><div><br></div><div><span>  Autoinstall of module nvidia-current/550.163.01 for kernel 7.2.6+deb14-amd64 failed.</span></div><div><br></div><div><span>  Relevant compiler error:</span></div><div><br></div><div><span>  nvidia/os-interface.c: In function ‘os_get_current_process_name’:</span></div><div><span>  nvidia/os-interface.c:753:5: error: implicit declaration of function ‘strncpy’</span></div><div><span>  753 |     strncpy(buf, current->comm, len - 1);</span></div><div><span>      |     ^~~~~~~</span></div><div><br></div><div><span>  Because the NVIDIA module is not built, the new kernel does not start</span></div><div><span>  nvidia-persistenced and systemd-modules-load.service fails. The system</span></div><div><span>  can boot far enough to unlock LUKS and mount the LVM root filesystem, but</span></div><div><span>  the graphical session does not start correctly.</span></div><div><br></div><div><span>  The initramfs for the new kernel had to be generated manually with:</span></div><div><br></div><div><span>  update-initramfs -c -k 7.2.6+deb14-amd64</span></div><div><br></div><div><span>  The installed packages include:</span></div><div><br></div><div><span>  linux-image-7.2.6+deb14-amd64 7.2.6-1</span></div><div><span>  linux-headers-7.2.6+deb14-amd64 7.2.6-1</span></div><div><span>  nvidia-driver 550.163.01-5.1</span></div><div><span>  nvidia-kernel-dkms 550.163.01-5.1</span></div><div><span>  dkms 3.2.2-1</span></div><div><br></div><span>  The previous kernel 7.1.13+deb14-amd64 remains usable.</span><br>