Hi,
I need to create a precompiled Nvidia linux kernel .RUN driver using the option “–add-this-kernel”.
In versions up to v460.91 both the normal installation and the creation of precompiled driver work perfectly.
However, from versions v465.19 to latest v470.63 the option to add a precompiled module to the RUN file no longer work, failing with the following Makefile error:
ld -T /lib/modules/5.3.18-lp152.66-default/source/scripts/module-common.lds -r -o nv-peermem-linux.o \
nvidia-peermem.mod.o nvidia-peermem/nv-peermem-interface.o
ld: cannot find nvidia-peermem/nv-peermem-interface.o: No such file or directory
make: *** [Makefile:113: nv-peermem-linux.o] Error 1
ERROR: An error occurred. See /var/log/nvidia-installer.log for details.
-> The command `cd /tmp/nvidia-8365; /usr/bin/make -k -j8 nv-peermem-linux.o NV_EXCLUDE_KERNEL_MODULES=""
SYSSRC="/lib/modules/5.3.18-lp152.66-default/source"
SYSOUT="/lib/modules/5.3.18-lp152.66-default/build"`
failed with the following output:
make[1]: Entering directory '/usr/src/linux-5.3.18-lp152.66'
Building modules, stage 2.
MODPOST 5 modules
make[1]: Leaving directory '/usr/src/linux-5.3.18-lp152.66'
ld -T /lib/modules/5.3.18-lp152.66-default/source/scripts/module-common.lds -r -o nv-peermem-linux.o nvidia-peermem.mod.o nvidia-peermem/nv-peermem-interface.o
ld: cannot find nvidia-peermem/nv-peermem-interface.o: No such file or directory
make: *** [Makefile:113: nv-peermem-linux.o] Error 1
ERROR: Unable to add a precompiled kernel interface for the running kernel.
To me looks strange that the normal installation from the lastest .RUN file work and the driver installs successfully, But the option --add-this-kernel fails.
May be a regression in the “–add-this-kernel” function of the nvidia installer?
Con someone confirm that the option --add-this-kernel still works ?
Attached here is the “/var/log/nvidia-installer.log” file with the complete process:
nvidia-installer.log (24.0 KB)
Than you for any advice.