显卡驱动装不上去,出现在一大堆的错误,救救我吧!
nvidia-installer log file '/var/log/nvidia-installer.log'creation time: Wed Dec 21 09:48:29 2005
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: true
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.15-rc5-git7/build'
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.15-rc5-git7
/build SYSOUT=/lib/modules/2.6.15-rc5-git7/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
*** Failed rivafb module sanity check, but continuing! ***
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.15-rc5-git7/build \
KBUILD_SRC=/lib/modules/2.6.15-rc5-git7/build \
KBUILD_EXTMOD="/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv" -f
/lib/modules/2.6.15-rc5-git7/build/Makefile modules
mkdir -p /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
ions
make -f /lib/modules/2.6.15-rc5-git7/build/scripts/Makefile.build obj=/tmp/s
elfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz3732/NVI
DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
.d-nostdinc -isystem /usr/lib/gcc/i686-magic-linux/3.4.4/include -D__KERNE
L__ -Iinclude -Iinclude2 -I/lib/modules/2.6.15-rc5-git7/build/include -inclu
de include/linux/autoconf.h-I/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-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 -mregparm=3 -
I/lib/modules/2.6.15-rc5-git7/build/include/asm-i386/mach-default -Iinclude/
asm-i386/mach-default -Wdeclaration-after-statement-I/tmp/selfgz3732/NVIDI
A-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
ror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__K
ERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM
ODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UN
IX -DNV_LINUX -DNV_INT64_OK -DNVC
PU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKB
UILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz3732/NVIDIA-Linux-
x86-1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-
6111-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/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-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:454,
from /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:253: warning: wrong type argument to increment
In file included from /tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:179:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:207:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:220: warning:
initialization from incompatible pointer type
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:242:5: warnin
g: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvos_find_agp_by_class':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: warning
: implicit declaration of function `pm_register'
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1161: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1279: warning
: implicit declaration of function `pm_unregister'
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1325:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:1765: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:2731: warning
: passing arg 1 of `pmd_offset' from incompatible pointer type
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3332: warning
: implicit declaration of function `inter_module_get'
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3333: warning
: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nvos_count_devices':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
`nv_acpi_event':
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
`PM_SAVE_STATE' undeclared (first use in this function)
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
(Each undeclared identifier is reported only once
/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
for each function it appears in.)
make: *** [/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o
] 错误 1
make: *** [_module_/tmp/selfgz3732/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv] 错误 2
make: *** 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** 错误 1
make: *** 错误 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. 怎么没人回答! :cry:
现在搞定了 :lol: 我也遇到这,怎么办? 我也遇到这,怎么办?
换成新的驱动。
www.nvidia.com Gefoce2 MX显卡应该得装旧版本的驱动,新版本的驱动是装不了的。
如果你使用较老的显卡芯片比如:RIVA TNT、RIVA TNT2/TNT2 Pro 、RIVA TNT2 Ultra、Vanta/Vanta LT 、RIVA TNT2 Model 64/Model 64 Pro、Aladdin TNT2 、GeForce 256、 GeForce DDR 、Quadro 、GeForce2 GTS/GeForce2 Pro、GeForce2 Ti 、 GeForce2 Ultra 、 Quadro2 Pro 。请使用旧版本驱动程序:如4363。下载链接:
http://cosoft.org.cn/html/osl/download.php?file_id=7980&f=nVIDIA-Linux-x86-1.0-4363.run&g_u_n=nx4d
页:
[1]