[测试]手动安装显卡驱动出现的问题。。。
发表于 : 2007-07-31 10:46
因为置顶贴里的三个N卡驱动都不适合我,所以想装一个另外的版本,于是就下载了8776版本, 前面都正常,就是安装到最后提示Unable to build the NVIDIA Kernel module...请问各位大吓这是怎么回事?
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jul 31 10:14:13 2007
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
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 : (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
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.20-16-generic/build'
-> Kernel output path: '/lib/modules/2.6.20-16-generic/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-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=/lib/modules/2.6.20-16-gener
ic/build SYSOUT=/lib/modules/2.6.20-16-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-16-generic/build SUBDIRS
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-16-generic/build SUBDIRS
=/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/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 /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6081/NVI
DIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Iubuntu/include -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -
pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i586 -mtu
ne=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/ma
pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i586 -mtu
ne=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/ma
ch-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after
-statement -Wno-pointer-sign -I/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-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=8776 -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_PRESE
NT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBU
ILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6081/NV
IDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz6081/NVIDIA-Lin
ux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
在包含自 /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
��14 的文件中:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h:17:26:
错误: linux/config.h:No such file or directory
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: 在函数 ‘prefetch_range’ 中:
include/linux/prefetch.h:62: 警告: ‘void *’ 型指针用在了算术
表达式中
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c: 在顶层:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c:102: 警告�
� ‘kmem_cache_t’ 已过时
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c: 在函数 ╰�
�nv_kern_open’ 中:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c:1806: 警告
�� 传递参数 2 (属于 ‘request_irq’)时在不兼容的指针类型鞋�
�转换
make[3]: *** [/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 错误 1
make: *** [module] 错误 2
-> Error.
make: *** [module] 错误 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.
LINUX 想说爱你真的不容易....
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jul 31 10:14:13 2007
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
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 : (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
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.20-16-generic/build'
-> Kernel output path: '/lib/modules/2.6.20-16-generic/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-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=/lib/modules/2.6.20-16-gener
ic/build SYSOUT=/lib/modules/2.6.20-16-generic/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-16-generic/build SUBDIRS
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.20-16-generic/build SUBDIRS
=/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/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 /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6081/NVI
DIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Iubuntu/include -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -
pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i586 -mtu
ne=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/ma
pipe -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i586 -mtu
ne=generic -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/ma
ch-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after
-statement -Wno-pointer-sign -I/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-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=8776 -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_PRESE
NT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBU
ILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6081/NV
IDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz6081/NVIDIA-Lin
ux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
在包含自 /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c
��14 的文件中:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv-linux.h:17:26:
错误: linux/config.h:No such file or directory
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: 在函数 ‘prefetch_range’ 中:
include/linux/prefetch.h:62: 警告: ‘void *’ 型指针用在了算术
表达式中
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c: 在顶层:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c:102: 警告�
� ‘kmem_cache_t’ 已过时
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c: 在函数 ╰�
�nv_kern_open’ 中:
/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.c:1806: 警告
�� 传递参数 2 (属于 ‘request_irq’)时在不兼容的指针类型鞋�
�转换
make[3]: *** [/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz6081/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 错误 1
make: *** [module] 错误 2
-> Error.
make: *** [module] 错误 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.
LINUX 想说爱你真的不容易....