1st error:
ERROR: Unable to build the NVIDIA kernel module.
2nd error:
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. Your may find suggestions on fixing installation problems in the README available on the Linux driver download page at
www.nvidia.com.
contents of /var/log/nvidia-installer.log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jul 29 10:51:10 2005
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : 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
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
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
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
7174). As part of installing this driver (version: 1.0-6629), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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
-> 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.
-> Kernel source path: '/lib/modules/2.6.11.9-chw-2/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module 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.o nv-vm.o os-
agp.o os-interface.o os-registry.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 -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11.9-chw-2/
source SYSOUT=/lib/modules/2.6.11.9-chw-2/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11.9-chw-2/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.11.9-chw-2/source SUBDIRS=/tmp/selfgz3968/NVIDIA-Linux-x
86-1.0-6629-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.11.9-chw-2/build \
KBUILD_SRC=/usr/src/kernel-source-2.6.11.9-chw-2 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/
usr/src/nv" \
-f /usr/src/kernel-source-2.6.11.9-chw-2/Makefile modules
mkdir -p /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/src/kernel-source-2.6.11.9-chw-2/scripts/Makefile.build obj=/tm
p/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3968/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL__
-Iinclude -Iinclude2 -I/usr/src/kernel-source-2.6.11.9-chw-2/include -I/tmp
/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-prototy
pes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomi
t-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586
-I/usr/src/kernel-source-2.6.11.9-chw-2/include/asm-i386/mach-default -Iincl
ude/asm-i386/mach-default -I/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/
usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscript
s -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -W
no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -
D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=
1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_
OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_C
1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_
OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_C
HANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CR
EATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUI
LD_MODNAME=nvidia -c -o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv/nv.o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
: passing arg 1 of `pmd_offset' from incompatible pointer type
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
cc -Wp,-MD,/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNE
L__ -Iinclude -Iinclude2 -I/usr/src/kernel-source-2.6.11.9-chw-2/include -I
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -
fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i
586 -I/
usr/src/kernel-source-2.6.11.9-chw-2/include/asm-i386/mach-default -Iinclude
/asm-i386/mach-default -I/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr
/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -
Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-
cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_G
NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -
DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK
-DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN
GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREAT
-DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN
GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREAT
E_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUI
LD_MODNAME=nvidia -c -o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/s
rc/nv/nv-vm.o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-v
m.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
vel:
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
g: `cache_flush' defined but not used
cc -Wp,-MD,/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/src/kernel-source-2.6.11.9-chw-2/include -
I/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=
i586 -I/usr/src/kernel-source-2.6.11.9-chw-2/include/asm-i386/mach-default -
Iinclude/asm-i386/mach-default -I/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-
pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subs
cripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -
MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DN
TRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VER
SION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_I
NT64_OK -DN
VCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_
PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_P
RESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD
_MODNAME=nvidia -c -o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-ag
p.c
/nv/os-agp.o /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-ag
p.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l
evel:
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
: parse error before '*' token
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: type defaults to `int' in declaration of `drm_agp_p'
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: data definition has no type or storage class
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error
: request for member `acquire' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
ng: `inter_module_put' is deprecated (declared at include/linux/module.h:578
)
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro
r: request for member `copy_info' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro
r: request for member `enable' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernAllocAGPPages':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro
r: request for member `allocate_memory' in something not a structure or unio
n
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro
r: request for member `bind_memory' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro
r: request for member `free_memory' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernMapAGPPages':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernFreeAGPPages':
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro
r: request for member `free_memory' in something not a structure or union
make[4]: *** [/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a
gp.o] Error 1
make[3]: *** [_module_/tmp/selfgz3968/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv] Error 2
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.