[PlanetCCRMA] Nvidia problem and my first post!

izzy atorima@vfemail.net
Mon Nov 6 20:11:01 2006


Fernando,

I ran this again- I tried a couple of different times before and might 
not have had the correct source on the previous attempt-

Here I have kernel-devel-2.6.16-1.2080.16.rrt.rhfc5.ccrma.i686.rpm 
installed and am installing for 2.6.16-1.2080.16.rdt.rhfc5.ccrma

Booting into run level 3, 2.6.16-1.2080.16.rdt.rhfc5.ccrma and running 
"sh NVIDIA-Linux-x86-1.0-8774-pkg1.run"

I get-

ERROR: Unable to find the kernel source tree for the currently running 
kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' RPM installed. If you
know the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.

If I use -

"sh NVIDIA-Linux-x86-1.0-8774-pkg1.run 
-–kernel-source-path=/usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686"

(which is where the kernel source is installed, I believe?) I get -

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).

I will post the installer log output below.

Your help is always appreciated,
Thanks!
- izzy
> I doubt that the problem is non-matching versions of gcc. I don't think
> there was any new version updated recently. 
>
> Do you have the "kernel-devel" package for the kernel you want to build
> for installed?
>
> Looks like the nvidia module is unhappy about one (only one?) symbol in
> the kernel, that is, it would seem the nvidia module that was built was
> not built for the kernel you are booting to. 
>
> -- Fernando
>
>
>   
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Nov 6 19:20:36 2006

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
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 :
/usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686/
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
-> License accepted.
-> 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".
-> Using the kernel source path
'/usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686/' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path:
'/usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686/'
-> Kernel output path:
'/usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686/'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernels/2.6.16-1.20
80.16.rrt.rhfc5.ccrma-i686/ SYSOUT=/usr/src/kernels/2.6.16-1.2080.16.rrt.rhf
c5.ccrma-i686/'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.
ccrma-i686/ SUBDIRS=/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/n
v modules
mkdir -p /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2419/NVI
DIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-built
in-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=
pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-s
tatement -Wno-pointer-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/
usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
s -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN
T -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_
ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BA
SENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/sel
fgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz2419/
NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__K
ERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O
s -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-b
uiltin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mt
une=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after
-statement -Wno-pointer-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg
1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscri
pts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -M
D -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNE
L__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_V
ERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_
RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SY
SCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_P
RESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_
PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUI
LD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/
selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-vm.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__
KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -
Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-
builtin-log2 -fno-built
in-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm
=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointe
r-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv -Wall -Wi
mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wn
o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -
DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV
EL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRI
DGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRE
SENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_
PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV
_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR
(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2419/NVIDI
A-Linux-x86-1.0-8774-pkg1/usr/src/nv
/.tmp_os-agp.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-
agp.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-agp.c:24:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/includ
e -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -W
strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestan
ding -Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf
-fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i6
86 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration
-after-statement -Wno-pointer-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-87
74-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
ubscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-com
mon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D
__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_
MINOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_
STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT
-DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_
STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_
CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(n
vidia)" -c -o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp
_os-interface.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os
-interface.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-interface.c:26:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandi
ng -Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -
fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i68
6 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-
after-statement -Wno-pointer-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-877
4-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-su
bscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-comm
on -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__
KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MI
NOR_VERSION=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_ST
RUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -D
NV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_ST
ATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CH
ANGE_PAGE_ATTR_P
RESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/
selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_os-registry.o /tmp
/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-registry.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/os-registry.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nv-i
2c.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__
KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict
-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -
Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-
builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -m
tune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-afte
r-statement -Wno-pointer-sign -I/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pk
g1/u
sr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
-Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSI
ON=0 -DNV_PATCHLEVEL=8774 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM
-DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_
MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESEN
T -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_
ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BA
SENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp
/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.tmp_nv-i2c.o /tmp/sel
fgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.c
In file included from include/linux/list.h:7,
from include/linux/plist.h:76,
from include/linux/rtmutex.h:16,
from include/linux/rt_lock.h:13,
from include/linux/spinlock.h:96,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-i2c.c:8:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
/nv/nv-i2c.c:8:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:258: warning: wrong type argument to increment
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-877
4-pkg1/usr/src/nv/nvidia.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/us
r/src/nv/nv-kernel.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/
nv/nv.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-vm.o /t
mp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-interface.o /tmp/selfgz241
9/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/os-registry.o /tmp/selfgz2419/NV
IDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv-i2c.o
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.ccrma-i686/scripts/M
akefile.modpost
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.16-1.2080.16.rrt.rhfc5.c
crma-i686/Module.symvers /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/
src/nv/nvidia.o
Warning: could not find /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/s
rc/nv/.nv-kernel.o.cmd for /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/us
r/src/nv/nv-kernel.o
cc -Wp,-MD,/tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/.nvid
ia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandi
ng -Os -fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf -
fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i68
6 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-
after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
=KBUILD_STR(nvidia)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /
tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.mod.o /tmp/s
elfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774
-pkg1/usr/src/nv/nvidia.ko /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-pkg1/us
r/src/nv/nvidia.o /tmp/selfgz2419/NVIDIA-Linux-x86-1.0-8774-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 Invalid module format
-> Kernel messages:
EXT3 FS on hda4, internal journal
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev hda6, type vfat), uses genfs_contexts
audit(1162869404.556:3): avc: denied { getattr } for pid=1386
comm="pam_console_app" name="adsp1" dev=tmpfs ino=4124
scontext=system_u:system_r:pam_console_t:s0
tcontext=system_u:object_r:device_t:s0 tclass=chr_file
Adding 514040k swap on /dev/hda5. Priority:-1 extents:1 across:514040k
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses
genfs_contexts
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (4095 buckets, 32760 max) - 232 bytes per conntrack
ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) ->
IRQ 11
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
audit(1162869446.696:4): avc: denied { getattr } for pid=2354
comm="pam_console_app" name="adsp1" dev=tmpfs ino=4124
scontext=system_u:system_r:pam_console_t:s0-s0:c0.c255
tcontext=system_u:object_r:device_t:s0 tclass=chr_file
nvidia: disagrees about version of symbol struct_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.

> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>