Since I got the kdeinit-error with the newest driver, I tried compiling the 340-driver this time. The installer was not be able to compile the kernel-modules and aborted installation. Strange thing this happens to me with the 340-driver, while the newest driver was compiled well, before.
Code: Select all
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 9 19:49:06 2017
installer version: 340.24
PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts:/usr/lib64/kf5:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/lib64/qt5/bin:/usr/lib64/kf5:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/lib64/qt5/bin
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 340.24.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.9.0-porteus/source'
-> Kernel output path: '/lib/modules/4.9.0-porteus/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; /usr/bin/make clean'...
-> Building NVIDIA kernel module:
executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/4.9.0-porteus/source SYSOUT=/lib/modules/4.9.0-porteus/build NV_BUILD_MODULE_INSTANCES='...
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/src/linux-4.9'
/usr/bin/make -C /lib/modules/4.9.0-porteus/build KBUILD_SRC=/usr/src/linux-4.9 \
-f /usr/src/linux-4.9/Makefile modules
make[2]: Entering directory '/usr/src/linux-4.9'
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 /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/.tmp_versions ; rm -f /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/.tmp_versions/*
/usr/bin/make -f /usr/src/linux-4.9/scripts/Makefile.build obj=/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel
cc -Wp,-MD,/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/.nv.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include -I/usr/src/linux-4.9/arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I/usr/src/linux-4.9/include -I./include -I/usr/src/linux-4.9/arch/x86/include/uapi -I/usr/src/linux-4.9/include/uapi -I./include/generated/uapi -include /usr/src/linux-4.9/include/linux/kconfig.h -I/usr/src/linux-4.9//tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel -I/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX
512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-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 -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.24\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1411/NVIDIA-Linux-x86_64-
340.24/kernel/nv.o /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c
In file included from /usr/src/linux-4.9/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.9/include/linux/stddef.h:4,
from /usr/src/linux-4.9/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.9/include/uapi/linux/types.h:13,
from /usr/src/linux-4.9/include/linux/types.h:5,
from /usr/src/linux-4.9/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.9/include/linux/capability.h:15,
from /usr/src/linux-4.9/include/linux/sched.h:15,
from /usr/src/linux-4.9/include/linux/utsname.h:5,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv-linux.h:44,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c:13:
/usr/src/linux-4.9/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
/usr/src/linux-4.9/include/asm-generic/qrwlock.h:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
/usr/src/linux-4.9/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.9/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.9/include/linux/stddef.h:4,
from /usr/src/linux-4.9/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.9/include/uapi/linux/types.h:13,
from /usr/src/linux-4.9/include/linux/types.h:5,
from /usr/src/linux-4.9/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.9/include/linux/capability.h:15,
from /usr/src/linux-4.9/include/linux/sched.h:15,
from /usr/src/linux-4.9/include/linux/utsname.h:5,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv-linux.h:44,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c:13:
/usr/src/linux-4.9/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-4.9/include/linux/mmzone.h:965:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^
/usr/src/linux-4.9/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-4.9/arch/x86/include/asm/preempt.h:5:0,
from /usr/src/linux-4.9/include/linux/preempt.h:59,
from /usr/src/linux-4.9/include/linux/spinlock.h:50,
from /usr/src/linux-4.9/include/linux/seqlock.h:35,
from /usr/src/linux-4.9/include/linux/time.h:5,
from /usr/src/linux-4.9/include/uapi/linux/timex.h:56,
from /usr/src/linux-4.9/include/linux/timex.h:56,
from /usr/src/linux-4.9/include/linux/sched.h:19,
from /usr/src/linux-4.9/include/linux/utsname.h:5,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv-linux.h:44,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c:13:
/usr/src/linux-4.9/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:175:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:496:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:506:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-refcount.h:274:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^
/usr/src/linux-4.9/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:400:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:364:11: note: in expansion of macro ‘raw_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/linux-4.9/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:365:11: note: in expansion of macro ‘raw_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/linux-4.9/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:366:11: note: in expansion of macro ‘raw_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/linux-4.9/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^
/usr/src/linux-4.9/arch/x86/include/asm/percpu.h:469:35: note: in expansion of macro ‘percpu_add_op’
#define raw_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:367:11: note: in expansion of macro ‘raw_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:409:32: note: in expansion of macro ‘__pcpu_size_call’
#define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val)
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:445:2: note: in expansion of macro ‘raw_cpu_add’
raw_cpu_add(pcp, val); \
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:483:34: note: in expansion of macro ‘__this_cpu_add’
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
^
/usr/src/linux-4.9/include/linux/percpu-defs.h:485:30: note: in expansion of macro ‘__this_cpu_sub’
#define __this_cpu_dec(pcp) __this_cpu_sub(pcp, 1)
^
/usr/src/linux-4.9/include/linux/percpu-rwsem.h:96:3: note: in expansion of macro ‘__this_cpu_dec’
__this_cpu_dec(*sem->read_count);
^
In file included from /usr/src/linux-4.9/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-4.9/include/linux/stddef.h:4,
from /usr/src/linux-4.9/include/uapi/linux/posix_types.h:4,
from /usr/src/linux-4.9/include/uapi/linux/types.h:13,
from /usr/src/linux-4.9/include/linux/types.h:5,
from /usr/src/linux-4.9/include/uapi/linux/capability.h:16,
from /usr/src/linux-4.9/include/linux/capability.h:15,
from /usr/src/linux-4.9/include/linux/sched.h:15,
from /usr/src/linux-4.9/include/linux/utsname.h:5,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv-linux.h:44,
from /tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c:13:
/usr/src/linux-4.9/arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
/usr/src/linux-4.9/arch/x86/include/asm/uaccess.h:691:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.9/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/usr/src/linux-4.9/arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
/usr/src/linux-4.9/arch/x86/include/asm/uaccess.h:711:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
^
/usr/src/linux-4.9/include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c: In function ‘nvidia_unlocked_ioctl’:
/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.c:1827:29: error: ‘struct file’ has no member named ‘f_dentry’
return nvidia_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/usr/src/linux-4.9/scripts/Makefile.build:293: recipe for target '/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.o' failed
make[3]: *** [/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel/nv.o] Error 1
/usr/src/linux-4.9/Makefile:1490: recipe for target '_module_/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel' failed
make[2]: *** [_module_/tmp/selfgz1411/NVIDIA-Linux-x86_64-340.24/kernel] Error 2
make[2]: Leaving directory '/usr/src/linux-4.9'
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.9'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
Makefile:177: recipe for target 'nvidia.ko' failed
make: *** [nvidia.ko] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
I just want to use playonlinux with 3D-support. Two graphics-cards and three driver-versions later, I still don't get 3D on my screen. Should I open a new thread with this?