CaffeineAddict
Well-Known Member
Bash:
dpkg -l | grep linux-image
ic linux-image-6.12.69+deb13-amd64 6.12.69-1 amd64 Linux 6.12 for 64-bit PCs (signed)
ic linux-image-6.12.73+deb13-amd64 6.12.73-1 amd64 Linux 6.12 for 64-bit PCs (signed)
ic linux-image-6.12.74+deb13+1-amd64 6.12.74-2 amd64 Linux 6.12 for 64-bit PCs (signed)
ic linux-image-6.12.85+deb13-amd64 6.12.85-1 amd64 Linux 6.12 for 64-bit PCs (signed)
ii linux-image-6.12.86+deb13-amd64 6.12.86-1 amd64 Linux 6.12 for 64-bit PCs (signed)
ic linux-image-6.12.88+deb13-amd64 6.12.88-1 amd64 Linux 6.12 for 64-bit PCs (signed)
ii linux-image-7.0.4+deb13-amd64 7.0.4-1~bpo13+1 amd64 Linux 7.0.4 for 64-bit PCs
ii linux-image-amd64
This are the kernels, nvidia.run driver doesn't build on kernels 6.12.88 (stable repo) and 7.0.4 (backports)
I've tried all 3 of them, production, new feature and beta drivers all fail to build on most recent kernels available.
dkms or manual it doesn't matter, build fails with the following build error from
/var/log/nvidia-installer.log:BTF [M] nvidia-modeset.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia-modeset.ko] Error 1
make[4]: *** Deleting file 'nvidia-modeset.ko'
LD [M] nvidia.ko
LD [M] nvidia-uvm.ko
BTF [M] nvidia.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia.ko] Error 1
make[4]: *** Deleting file 'nvidia.ko'
LD [M] nvidia-drm.ko
LD [M] nvidia-peermem.ko
BTF [M] nvidia-peermem.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
BTF [M] nvidia-drm.ko
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia-peermem.ko] Error 1
make[4]: *** Deleting file 'nvidia-peermem.ko'
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia-drm.ko] Error 1
make[4]: *** Deleting file 'nvidia-drm.ko'
BTF [M] nvidia-uvm.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia-uvm.ko] Error 1
make[4]: *** Deleting file 'nvidia-uvm.ko'
make[4]: Target '__modfinal' not remade because of errors.
make[3]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:2061: modules] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:260: __sub-make] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
make[1]: *** [Makefile:260: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-7.0.4+deb13-common'
make: *** [Makefile:138: modules] Error 2
-> Checking to see whether the nvidia kernel module was successfully built
executing: 'cd kernel-open; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/7.0.4+deb13-amd64/source" SYSOUT="/lib/modules/7.0.4+deb13-amd64/build" NV_KERNEL_MODULES="nvidia"'...
make[1]: Entering directory '/usr/src/linux-headers-7.0.4+deb13-common'
make[2]: Entering directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
MODPOST Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
LD [M] nvidia.ko
BTF [M] nvidia.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia.ko] Error 1
make[4]: *** Deleting file 'nvidia.ko'
make[4]: Target '__modfinal' not remade because of errors.
make[3]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:2061: modules] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:260: __sub-make] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
make[1]: *** [Makefile:260: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-7.0.4+deb13-common'
make: *** [Makefile:138: modules] Error 2
-> Checking to see whether the nvidia kernel module was successfully built
executing: 'cd kernel-open; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/7.0.4+deb13-amd64/source" SYSOUT="/lib/modules/7.0.4+deb13-amd64/build" NV_KERNEL_MODULES="nvidia"'...
make[1]: Entering directory '/usr/src/linux-headers-7.0.4+deb13-common'
make[2]: Entering directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
MODPOST Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
LD [M] nvidia.ko
BTF [M] nvidia.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia.ko] Error 1
make[4]: *** Deleting file 'nvidia.ko'
make[4]: Target '__modfinal' not remade because of errors.
make[3]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:2061: modules] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:260: __sub-make] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
make[1]: *** [Makefile:260: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-7.0.4+deb13-common'
make: *** [Makefile:138: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
-> The commandcd kernel-open; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/7.0.4+deb13-amd64/source" SYSOUT="/lib/modules/7.0.4+deb13-amd64/build" NV_KERNEL_MODULES="nvidia"failed with the following outpu>
make[1]: Entering directory '/usr/src/linux-headers-7.0.4+deb13-common'
make[2]: Entering directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
MODPOST Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
LD [M] nvidia.ko
BTF [M] nvidia.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/src/linux-headers-7.0.4+deb13-common/scripts/Makefile.modfinal:62: nvidia.ko] Error 1
make[4]: *** Deleting file 'nvidia.ko'
make[4]: Target '__modfinal' not remade because of errors.
make[3]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:2061: modules] Error 2
make[2]: *** [/usr/src/linux-headers-7.0.4+deb13-common/Makefile:260: __sub-make] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/tmp/makeself.lqVvwlTi/NVIDIA-Linux-x86_64-595.45.04/kernel-open'
make[1]: *** [Makefile:260: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-7.0.4+deb13-common'
make: *** [Makefile:138: modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Anyone found a way to fix it?
Last edited:

