Hi,
I’m trying to install CUDA 2.1 and NVIDIA-Linux-x86_64-180.22-pkg2 on an x86_64 system running Ubuntu 8.04.1, kernel 2.6.27-1-server. No precompiled kernel module is found, and I get the following error when trying to compile the kernel module:
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘pv_lock_ops’
I have successfully installed the same driver on an Ubuntu 8.10 x86_64 desktop machine. Does this have to do with any unsupported virtualization features in the 8.04.1 kernel? Any ideas how to make it work? Since the kernel is running on a large cluster, we would prefer to not recompile/tweak the kernel unless absolutely neccessary.
I have attached the nvidia-installer.log file. Btw, the warning about no supported GPU found is normal.
Thanks,
Lars
[codebox]
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Thu Feb 12 21:35:12 2009
installer version: 1.0.7
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
Using: nvidia-installer ncurses user interface
WARNING: You do not appear to have an NVIDIA GPU supported by the 180.22 NVIDIA
Linux graphics driver installed in this system. For further details,
please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README
available on the Linux driver download page at www.nvidia.com.
→ License accepted.
→ Installing NVIDIA driver version 180.22.
→ No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
→ No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
→ Performing CC sanity check with CC=“cc”.
→ Performing CC version check with CC=“cc”.
→ Kernel source path: ‘/lib/modules/2.6.27-1-server/build’
→ Kernel output path: ‘/lib/modules/2.6.27-1-server/build’
→ Performing rivafb check.
→ Performing nvidiafb check.
→ Performing Xen check.
→ Cleaning kernel module build directory.
executing: ‘cd ./usr/src/nv; make clean’…
→ Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27-1-server
/build SYSOUT=/lib/modules/2.6.27-1-server/build’…
NVIDIA: calling KBUILD…
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-1-server/build SUBDIRS=/
root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.tmp_versions ; rm
-f /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr
/src/nv
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.nv.o.d -nost
dinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNEL__ -Iin
clude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -include in
clude/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-proto
types -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-funct
ion-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit
-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchron
ous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/m
ach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibli
ng-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/root/NVIDIA-
Linux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
ror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-err
or -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="180.22" -UDEBUG -U_DE
BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)
" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/NVIDIA-Linux-x86_64-180
.22-pkg2/usr/src/nv/.tmp_nv.o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/
nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.c:
14:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.c:
14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.c:
14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.c:
14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.c:
14:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.nv-vm.o.d -n
ostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNEL__ -
Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -include
include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-de
claration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-
time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-un
wind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-de
fault -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-cal
ls -pg -Wdeclaration-after-statement -Wno-po
inter-sign -I/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplic
it -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer
-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compa
re -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
G="180.22" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUI
LD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.tmp_nv-vm.o /root/NVIDIA-L
inux-x86_64-180.22-pkg2/usr/src/nv/nv-vm.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-vm
.c:14:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-vm
.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-vm
.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-vm
.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-vm
.c:14:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.os-agp.o.d -
nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNEL__
-Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -includ
e include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototyp
es -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function
-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at
-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous
-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach
-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-
calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/root/NVIDIA-Lin
ux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wf
ormat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
-mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -
D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="180.22" -UDEBUG -U_DEBUG
-DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os
_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/NVIDIA-Linux-x86_6
4-180.22-pkg2/usr/src/nv/.tmp_os-agp.o /root/NVIDIA-Linux-x86_64-180.22-pkg2
/usr/src/nv/os-agp.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-ag
p.c:24:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-ag
p.c:24:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-ag
p.c:24:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-ag
p.c:24:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-ag
p.c:24:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.os-interface.
o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERN
EL__ -Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -
include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fu
nction-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fu
nit-at-a-time -maccumulate-outgoing-args -pipe -Wno-s
ign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno
-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-p
ointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-po
inter-sign -I/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplic
it -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer
-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compa
re -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
G="180.22" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUI
LD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.tmp_os-interface.o /
root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-interface.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-in
terface.c:26:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-in
terface.c:26:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-in
terface.c:26:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-in
terface.c:26:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-in
terface.c:26:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.os-registry.o
.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNE
L__ -Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -i
nclude include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fun
ction-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fun
it-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchr
onous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86
/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sib
ling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/root/NVIDI
A-Linux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitc
h -Wformat -Wcha
r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=k
ernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL_
_ -DMODULE -DNVRM -DNV_VERSION_STRING="180.22" -UDEBUG -U_DEBUG -DNDEBUG -
DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D
“KBUILD_MODNAME=KBUILD_STR(nvidia)” -c -o /root/NVIDIA-Linux-x86_64-180.22-p
kg2/usr/src/nv/.tmp_os-registry.o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/
src/nv/os-registry.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-re
gistry.c:15:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-re
gistry.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-re
gistry.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-re
gistry.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-re
gistry.c:15:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.nv-i2c.o.d -
nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNEL__
-Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -includ
e include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototyp
es -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function
-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at
-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous
-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach
-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-
calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/root/NVIDIA-Lin
ux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wf
ormat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
-mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -
D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="180.22" -UDEBUG -U_DEBUG
-DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)
" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/NVIDIA-Lin
ux-x86_64-180.22-pkg2/usr/src/nv/.tmp_nv-i2c.o /root/NVIDIA-Linux-x86_64-180
.22-pkg2/usr/src/nv/nv-i2c.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-i2
c.c:8:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-i2
c.c:8:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-i2
c.c:8:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-i2
c.c:8:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-i2
c.c:8:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
cc -Wp,-MD,/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.nvacpi.o.d -
nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.2.4/include -D__KERNEL__
-Iinclude -I/usr/src/linux-headers-2.6.27-1-server/arch/x86/include -includ
e include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototyp
es -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function
-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at
-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous
-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3d
now -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-poin
ter -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-point
er-sign -I/root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv -Wall -Wimplicit
-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
ith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\
“180.22" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s” -D"KBUILD_
BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /r
oot/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.tmp_nvacpi.o /root/NVIDIA-Li
nux-x86_64-180.22-pkg2/usr/src/nv/nvacpi.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nvacp
i.c:15:
include/asm/bitops.h: In function ‘set_bit’:
include/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arith
metic
include/asm/bitops.h: In function ‘clear_bit’:
include/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arith
metic
In file included from include/linux/utsname.h:35,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:19,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nvacp
i.c:15:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:1964: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:983,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:86,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nvacp
i.c:15:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:113,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nvacp
i.c:15:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:141,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-li
nux.h:142,
from /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nvacp
i.c:15:
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:210: warning: pointer of type ‘void *’ used in arit
hmetic
ld -m elf_x86_64 -r -o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/
nvidia.o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-kernel.o /root/
NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv.o /root/NVIDIA-Linux-x86_64-18
0.22-pkg2/usr/src/nv/nv-vm.o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/n
v/os-agp.o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-interface.o /
root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/os-registry.o /root/NVIDIA-L
inux-x86_64-180.22-pkg2/usr/src/nv/nv-i2c.o /root/NVIDIA-Linux-x86_64-180.22
-pkg2/usr/src/nv/nvacpi.o
(cat /dev/null; echo kernel//root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/
nv/nvidia.ko;) > /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/modules.or
der
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.27-1-server/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.27-1-server/Module
.symvers -I /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/Module.symvers
-o /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/Module.symvers -S -K /us
r/src/linux-headers-2.6.27-1-server/Module.markers -M /root/NVIDIA-Linux-x86
_64-180.22-pkg2/usr/src/nv/Module.markers -w -s
WARNING: could not find /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/.nv
-kernel.o.cmd for /root/NVIDIA-Linux-x86_64-180.22-pkg2/usr/src/nv/nv-kernel
.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'pv_l
ock_ops’
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
→ 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.
[/codebox]