How can I fix errors and warnings in nvidia module for Tesla C1060

From: Jaswinder Singh Rajput
Date: Fri Jan 23 2009 - 00:26:46 EST


Hello,

I am trying to install driver of nvidia Tesla C1060 on x86 based
compute node of Rockcluster 5.1

But I am following errors and warnings:

make -f /usr/src/kernels/2.6.18-92.1.13.el5-i686/scripts/Makefile.build obj=
/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERNEL_
_ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/include -i
nclude include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-
pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-
declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -f
no-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtu
ne=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.el5-
i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/sr
c/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iinclude/as
m-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclarati
on-after-statement -Wno-pointer-sign -I/tmp/self
gz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-typ
e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mul
tichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM
ODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEBUG -U_DEBUG -DNDEBUG -DMODU
LE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAM
E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr
/src/nv/.tmp_nv.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nv
.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment

...

-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 No such device

I am attaching complete log file for your reference.

I cannot see any source code for these modules. How can I fix these
error and warnings.

Thanks,

--
JSR
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 24 10:26:32 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)
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)
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 177.72 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 177.72.
-> 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)
ERROR: Unable to connect to remote host download.nvidia.com (Connection
refused)
-> 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.18-92.1.13.el5/source'
-> Kernel output path: '/lib/modules/2.6.18-92.1.13.el5/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.18-92.1.13.
el5/source SYSOUT=/lib/modules/2.6.18-92.1.13.el5/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.18-92.1.13.el5/build KBUILD_VERBOS
E=1 -C /lib/modules/2.6.18-92.1.13.el5/source SUBDIRS=/tmp/selfgz3379/NVIDIA
-Linux-x86-177.72-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.18-92.1.13.el5/build \
KBUILD_SRC=/usr/src/kernels/2.6.18-92.1.13.el5-i686 \
KBUILD_EXTMOD="/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv" -f
/usr/src/kernels/2.6.18-92.1.13.el5-i686/Makefile 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 /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.tmp_versio
ns
rm -f /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.tmp_versions/
*
make -f /usr/src/kernels/2.6.18-92.1.13.el5-i686/scripts/Makefile.build obj=
/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERNEL_
_ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/include -i
nclude include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-
pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-
declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -f
no-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtu
ne=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.el5-
i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/sr
c/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iinclude/as
m-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclarati
on-after-statement -Wno-pointer-sign -I/tmp/self
gz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-typ
e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mul
tichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DM
ODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEBUG -U_DEBUG -DNDEBUG -DMODU
LE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAM
E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr
/src/nv/.tmp_nv.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nv
.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nv-vm.
o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/includ
e -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-177
.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-st
rict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-f
unction-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin
-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=gene
ric -mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1
.13.el5-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -
I/usr/src/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iin
clude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wd
eclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3379/NVIDIA-Linux
-x86-177.72-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -
Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
RSION_STRING=\"177.72\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=
#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvid
ia)" -c -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.tmp_nv-v
m.o /tmp/selfgz3379/NVIDIA-Linux-x8
6-177.72-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-vm.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-vm.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.os-agp
.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/inclu
de -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-17
7.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-func
tion-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-lo
g2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic
-mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.
el5-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/us
r/src/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iinclud
e/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdecla
ration-after-statement -Wno-pointer
-sign -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -Wall -Wimp
licit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
ter-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-erro
r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEBUG -U_DEB
UG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_a
gp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3379/NVIDIA-Lin
ux-x86-177.72-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz3379/NVIDIA-Linux-x86
-177.72-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-agp.c:24:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-agp.c:24:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.os-int
erface.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686
/include -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-
x86-177.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -
Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -pipe -
msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mprefe
rred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -mregparm=3
-ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/m
ach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/kernels/2.6.18-92.1.1
3.el5-i686/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fo
mit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno
-pointer-sign -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -Wa
ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthese
s -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -
Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEBU
G -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_
STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3
379/NVIDIA-Linux-x86-177.72-pkg1/usr
/src/nv/.tmp_os-interface.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr
/src/nv/os-interface.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-interface.c:26:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-interface.c:26:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.os-reg
istry.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -
D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/
include -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x
86-177.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit
-function-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-built
in-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
neric -mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92
.1.13.el5-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic
-I/usr/src/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Ii
nclude/asm-i386/mach-default -f
omit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wn
o-pointer-sign -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -W
all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
es -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual
-Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEB
UG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD
_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3
379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz33
79/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-registry.c:15:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/os-registry.c:15:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nv-i2c
.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/inclu
de -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-17
7.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-func
tion-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-lo
g2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic
-mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.
el5-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/us
r/src/kernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iinclud
e/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdecla
ration-after-statement -Wno-pointer-sign -I/tmp/selfgz3379/NVIDIA-Linux-x86
-177.72-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsi
gn-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI
ON_STRING=\"177.72\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nv_i
2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3379/NVIDIA-Lin
ux-x86-177.72-pkg1/usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz3379/NVIDIA-Linux-x86
-177.72-pkg1/usr/src/nv/nv-i2c.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-i2c.c:8:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-i2c.c:8:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nvacpi
.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KE
RNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/inclu
de -include include/linux/autoconf.h -I/tmp/selfgz3379/NVIDIA-Linux-x86-17
7.72-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-func
tion-declaration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-lo
g2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic
-mtune=generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.
el5-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/us
r/src/kernels/2.6.18-92.1.13.el5-i6
86/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-fram
e-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer
-sign -I/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv -Wall -Wimp
licit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
ter-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-erro
r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.72\" -UDEBUG -U_DEB
UG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvac
pi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3379/NVIDIA-Lin
ux-x86-177.72-pkg1/usr/src/nv/.tmp_nvacpi.o /tmp/selfgz3379/NVIDIA-Linux-x86
-177.72-pkg1/usr/src/nv/nvacpi.c
In file included from include/linux/list.h:8,
from include/linux/lockdep.h:13,
from include/linux/spinlock_types.h:18,
from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:59,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nvacpi.c:15:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:616,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nv-linux.h:86,
from /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/n
v/nvacpi.c:15:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:245: warning: wrong type argument to increment
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-
pkg1/usr/src/nv/nvidia.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/sr
c/nv/nv-kernel.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nv.
o /tmp/selfgz3379/NVIDIA-Linux-x86
-177.72-pkg1/usr/src/nv/nv-vm.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1
/usr/src/nv/os-agp.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv
/os-interface.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/os-r
egistry.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nv-i2c.o /
tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nvacpi.o
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.18-92.1.13.el5-i686/scripts/Makefile.modpos
t
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.18-92.1.13.el5-i686/Modu
le.symvers -I /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/Module
.symvers -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/Module.s
ymvers /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nvidia.o
WARNING: could not find /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src
/nv/.nv-kernel.o.cmd for /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/sr
c/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/.nvidia
.mod.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D
__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18-92.1.13.el5-i686/i
nclude -include include/linux/autoconf.h -I/usr/src/kernels/2.6.18-92.1.13.
el5-i686/ -I -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-dec
laration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-
builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=
generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-92.1.13.el5-i68
6/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/k
ernels/2.6.18-92.1.13.el5-i686/include/asm-i386/mach-default -Iinclude/asm-i
386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-
after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
BUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o
/tmp/selfgz3379/NVIDIA-Linux-x86-177.72
-pkg1/usr/src/nv/nvidia.mod.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/u
sr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-p
kg1/usr/src/nv/nvidia.ko /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/sr
c/nv/nvidia.o /tmp/selfgz3379/NVIDIA-Linux-x86-177.72-pkg1/usr/src/nv/nvidia
.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 No such device
-> Kernel messages:
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1020116k swap on /dev/sda3. Priority:-1 extents:1 across:1020116k
IA-32 Microcode Update Driver: v1.14a <tigran@xxxxxxxxxxx>
ip6_tables: (C) 2000-2006 Netfilter Core Team
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8120 buckets, 64960 max) - 228 bytes per conntrack
ADDRCONF(NETDEV_UP): eth0: link is not ready
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
eth0: no IPv6 routers present
nfsd: last server has exited
nfsd: unexporting all filesystems
FS-Cache: Loaded
FS-Cache: netfs 'nfs' registered for caching
cdrom: hda: mrw address space DMA selected
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
nvidia: module license 'NVIDIA' taints kernel.
NVRM: No NVIDIA graphics adapter found!
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.