nvidia fails on 3.18-7.dmz.2
The nvidia 346 driver fails to compile for the new liquorix kernel 3.18-7.dmz.2. The old version 3.18-7.dmz.1 works fine. The make.log is below. Let me know if there's anything I can do to help.
:: Code ::
DKMS make.log for nvidia-346-uvm-346.47 for kernel 3.18-7.dmz.2-liquorix-amd64 (x86_64) Mon Mar 2 10:00:07 EST 2015 cd /var/lib/dkms/nvidia-346/346.47/build; make module SYSSRC=/lib/modules/3.18-7.dmz.2-liquorix-amd64/build SYSOUT=/lib/modules/3.18-7.dmz.2-liquorix-amd64/build KBUILD_EXTMOD=/var/lib/dkms/nvidia-346/346.47/build make[1]: Entering directory `/var/lib/dkms/nvidia-346/346.47/build' NVIDIA: calling KBUILD... make[2]: Entering directory `/usr/src/linux-headers-3.18-7.dmz.2-liquorix-amd64' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/nvidia-346/346.47/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-346/346.47/build/.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-346/346.47/build cc -Wp,-MD,/var/lib/dkms/nvidia-346/346.47/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-346/346.47/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"346.47\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-346/346.47/build/.tmp_nv.o /var/lib/dkms/nvidia-346/346.47/build/nv.c In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346/346.47/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346/346.47/build/nv.c:13: include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’: include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cnts, cnts | _QW_LOCKED) == cnts); ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/capability.h:16, from include/linux/capability.h:15, from include/linux/sched.h:15, from include/linux/utsname.h:5, from /var/lib/dkms/nvidia-346/346.47/build/nv-linux.h:44, from /var/lib/dkms/nvidia-346/346.47/build/nv.c:13: ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’: ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ ./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’: ./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz < 0 || sz >= n)) ^ include/linux/compiler.h:159:40: note: in definition of macro ‘likely’ # define likely(x) __builtin_expect(!!(x), 1) ^ objdump: '/var/lib/dkms/nvidia-346/346.47/build/.tmp_nv.o': No such file mv: cannot stat ‘/var/lib/dkms/nvidia-346/346.47/build/.tmp_nv.o’: No such file or directory make[3]: *** [/var/lib/dkms/nvidia-346/346.47/build/nv.o] Error 1 make[2]: *** [_module_/var/lib/dkms/nvidia-346/346.47/build] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-3.18-7.dmz.2-liquorix-amd64' NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make[1]: Leaving directory `/var/lib/dkms/nvidia-346/346.47/build' make: *** [/var/lib/dkms/nvidia-346/346.47/build/Module.symvers] Error 2 Back to top |
|||||
Can you provide the output of inxi -b? I just tried to compile this driver myself and it built and installed successfully on 7.dmz.2.
Back to top |
|||||
False Positive
I tried building the driver again and it succeeded. It also compiled successfully for the new 3.18-8. I'm not sure what the problem was the first time, but it appears resolved now. Sorry for the false alarm.
Back to top |
|||||
All times are GMT - 8 Hours
|