Bug#1135362: linux-image-7.0.3+deb14-amd64: Fails to build nVidia module
Thomas More
debian at gilead.dev
Thu May 7 19:39:28 BST 2026
Package: nvidia-kernel-dkms
Version: 550.163.01-5
Followup-For: Bug #1135362
X-Debbugs-Cc: debian-amd64 at lists.debian.org, debian at gilead.dev
User: debian-amd64 at lists.debian.org
Usertags: amd64
Control: tags -1 ftbfs
I'm hitting this as well:
*****
nvidia/nv-mmap.c:905:42: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
905 | detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
| ^~~~~~~~~~~~~~~
| VGA_CRTC_OFFSET
make[4]: *** [/usr/src/linux-headers-7.0.3+deb14-common/scripts/Makefile.build:294: nvidia/nv-mmap.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-7.0.3+deb14-common/Makefile:2129: .] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.3+deb14-common/Makefile:260: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia-current/550.163.01/build'
make[1]: *** [Makefile:260: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-7.0.3+deb14-common'
make: *** [Makefile:140: modules] Error 2
# exit code: 2
*****
FWIW, I found what appears to be the same problem discussed here:
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1113
and cf. here:
https://old.reddit.com/r/linuxquestions/comments/1sodpgh/i_cant_build_the_nvidia_580xxdkms_on_linux_kernel/`
-- Package-specific info:
uname -a:
Linux edith 6.19.14+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.14-1 (2026-04-25) x86_64 GNU/Linux
/proc/version:
Linux version 6.19.14+deb14-amd64 (debian-kernel at lists.debian.org) (x86_64-linux-gnu-gcc-15 (Debian 15.2.0-17) 15.2.0, GNU ld (GNU Binutils for Debian) 2.46) #1 SMP PREEMPT_DYNAMIC Debian 6.19.14-1 (2026-04-25)
/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 550.163.01 Tue Apr 8 12:41:17 UTC 2025
GCC version: gcc version 15.2.0 (Debian 15.2.0-17)
More information about the pkg-nvidia-devel
mailing list