|
|
我的显卡是GeForce2 MX/MX 400
到官方网站下了1.0-9631驱动
到tty1中,init 3
到驱动所在目录下,sh NVIDIA……………….rum
最后出错:unable to build the NVIDIA kernel module
日志文件内容如下:
creation time: Sat Dec 1 12:50:56 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
force SELinux : default
no X server 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
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> 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.23.1-42.fc8/source'
-> Kernel output path: '/lib/modules/2.6.23.1-42.fc8/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 Modules.symvers
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23.1-42.fc8
/source SYSOUT=/lib/modules/2.6.23.1-42.fc8/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.1-42.fc8/build KBUILD_VERBOSE=1
-C /lib/modules/2.6.23.1-42.fc8/source SUBDIRS=/root/self/NVIDIA-Linux-x86-1
.0-9631-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.23.1-42.fc8/build \
KBUILD_SRC=/usr/src/kernels/2.6.23.1-42.fc8-i686 \
KBUILD_EXTMOD="/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv" -f /us
r/src/kernels/2.6.23.1-42.fc8-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 /root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/.tmp_versions
rm -f /root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/.tmp_versions/*
make -f /usr/src/kernels/2.6.23.1-42.fc8-i686/scripts/Makefile.build obj=/ro
ot/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/self/NVIDIA-L
inux-x86-1.0-9631-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/self/NVIDIA-Linux-x86-1.0-9631-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.23.1-42.fc8-i686/include -includ
e include/linux/autoconf.h -I/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/
src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mr
egparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune
=generic -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_A
S_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/kernels/2.6.23.1-42.fc8-i6
86/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/
kernels/2.6.23.1-42.fc8-i686/include/asm-i386/mach-default -Iinclude/asm-i38
6/mach-default -fomit-frame-point
er -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
-I/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv -Wall -Wimplicit -Wre
turn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-c
ast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_
MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9631 -UDEBUG -U_DEBUG -
DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PC
I_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRES
ENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KG
DB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRE
SENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
UILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /root/self/NVIDIA
-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.o /root/self/NVIDIA-Linux-x86-1.0-963
1-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:9,
from include/linux/preempt.h:12,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:30,
from include/linux/time.h:9,
from include/linux/timex.h:58,
from include/linux/sched.h:54,
from include/linux/utsname.h:36,
from /root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/n
v-linux.h:20,
from /root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/n
v.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: At top level:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:110: error: expect
ed ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*��
� token
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function ‘nv
os_create_alloc’:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: ‘nv_
pte_t_cache’ undeclared (first use in this function)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: (Each
undeclared identifier is reported only once
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:454: error: for ea
ch function it appears in.)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function ‘nv
os_free_alloc’:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:486: error: ‘nv_
pte_t_cache’ undeclared (first use in this function)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function ‘nv
idia_init_module’:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1372: error: ‘nv
_pte_t_cache’ undeclared (first use in this function)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1372: error: too m
any arguments to function ‘kmem_cache_create’
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1494: error: void
value not ignored as it ought to be
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function ‘nv
idia_exit_module’:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1521: error: void
value not ignored as it ought to be
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1622: error: ‘nv
_pte_t_cache’ undeclared (first use in this function)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c: In function ‘nv
_kern_open’:
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1849: warning: ‘
deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:
64)
/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.c:1849: warning: ‘
deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:
64)
make[4]: *** [/root/self/NVIDIA-Linux-x86-1.0-9631-pkg1/usr/src/nv/nv.o] Err
or 1
make[3]: *** [_module_/root/self/NVIDIA-Linux-x86-1.0-9631-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. |
|