|
|
安装nvidia出错了,错误如下:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat May 13 11:21:37 2006
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 : true
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.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16.15/source'
-> Kernel output path: '/lib/modules/2.6.16.15/build'
-> 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.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 -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16.15/sourc
e SYSOUT=/lib/modules/2.6.16.15/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.16.15/build KBUILD_VERBOSE=1 -C /l
ib/modules/2.6.16.15/source SUBDIRS=/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-817
8-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.16.15/build \
KBUILD_SRC=/usr/local/src/linux-2.6.16.15 \
KBUILD_EXTMOD="/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv" -f
/usr/local/src/linux-2.6.16.15/Makefile modules
mkdir -p /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/local/src/linux-2.6.16.15/scripts/Makefile.build obj=/tmp/selfg
z2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2939/NVI
DIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__KERN
EL__ -Iinclude -Iinclude2 -I/usr/local/src/linux-2.6.16.15/include -include
include/linux/autoconf.h -I/tmp/selfgz2939/NVID
IA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno
-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-
pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time
-march=i686 -mtune=pentium4 -I/usr/local/src/linux-2.6.16.15/include/asm-i38
6/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-I/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplici
t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qua
l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYN
AMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDE
BUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_
ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)
" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2939/NVIDIA-Linux-
x86-1.0-8178-pkg1/usr/src/nv/.tmp_n
v.o /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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:20,
from include/linux/module.h:10,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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:522,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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
In file included from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:296: warning:
initialization from incompatible pointer type
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
`nvos_get_agp_device_by_class':
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:502: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:516: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: implicit declaration of function `pm_register'
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1305: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1423: warning
: implicit declaration of function `pm_unregister'
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:1979: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c: In function
`nvos_count_devices':
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3641: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv.c:3647: warning
: assignment makes pointer from integer without a cast
cc -Wp,-MD,/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/local/src/linux-2.6.16.15/include -inclu
de include/linux/autoconf.h -I/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg
1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-floa
t -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=pentiu
m4 -I/usr/local/src/linux-2.6.16.15/include/asm-i386/mach-default -Iinclude/
asm-i386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz2939/NVIDI
A-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
ror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KER
NEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSI
ON=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DN
V_MULTIPLE_BRI
DGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=
#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvid
ia)" -c -o /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_nv
-vm.o /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-vm.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:20,
from include/linux/module.h:10,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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:522,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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
In file included from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__
KERNEL__ -Iinclude -Iinclude2 -I/usr/local/src/linux-2.6.16.15/include -incl
ude include/linux/autoconf.h -I/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pk
g1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-a
liasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-flo
at -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=penti
um4 -I/usr/local
/src/linux-2.6.16.15/include/asm-i386/mach-default -Iinclude/asm-i386/mach-d
efault -Wdeclaration-after-statement -I/tmp/selfgz2939/NVIDIA-Linux-x86-1.0
-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-co
mmon -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__
KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINO
R_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRI
DGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=
#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvi
dia)" -c -o /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_o
s-agp.o /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-agp.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:20,
from include/linux/module.h:10,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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:522,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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
In file included from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
cc -Wp,-MD,/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/includ
e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/local/src/linux-2.6.16.15/include
-include include/linux/autoconf.h -I/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-81
78-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str
ict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msof
t-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=
pentium4 -I/usr/local/src/linux-2.6.16.15/include/asm-i386/mach-default -Iin
clude/asm-i386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz2939
/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multich
ar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJO
R_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
VEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV
_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
BUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/s
elfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_os-interface.o /tmp
/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.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:20,
from include/linux/module.h:10,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:47,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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 arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/nv-linux.h:71,
from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-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
In file included from /tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv/os-interface.c:26:
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/nv-linux.h:677:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c: In
function `os_set_mlock_capability':
/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:137
5: error: structure has no member named `rlim'
make[4]: *** [/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-i
nterface.o] \u95bf\u6b12\uffff\uffff 1
make[3]: *** [_module_/tmp/selfgz2939/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src
/nv] \u95bf\u6b12\uffff\uffff 2
make[2]: *** [modules] \u95bf\u6b12\uffff\uffff 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] \u95bf\u6b12\uffff\uffff 1
make: *** [module] \u95bf\u6b12\uffff\uffff 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. |
|