|
楼主 |
发表于 2005-3-20 02:44:13
|
显示全部楼层
[quote:47c715f18b="cenbi"]我机子配制与你的差不多,
以前用 FC2 也经常死机,
后来装了 nvidia 的驱动,
按照官方的说明文件修改 xorg.conf 配制文件(ml的应该是 XF86Config-4 吧?),
并在该文件的 Section "Device" 段添加一句:
Option "NvAGP" "0"
从此以后就没再死机过,无论开多少个程序。
仅供参考![/quote]
刚才试着装驱动,可是装不上,下面是日志,麻烦大家帮我看看应该怎么弄
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Mar 20 02:37:38 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.
-> 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.
-> Kernel source path: '/usr/src/linux-2.6.9'
-> 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=/usr/src/linux-2.6.9 SYSOUT=
/usr/src/linux-2.6.9'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.9 SUBDIRS=/tmp/selfgz2387
/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
Makefile:461: .config: 没有那个文件或目录
mkdir -p /tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2387/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-poi
nter -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boun
dary=2 -fno-unit-at-a-time -Iinclude/asm-i386/mach-default -I/tmp/selfgz238
7/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -W
no-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOS
E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_P
ATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -U
DEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESEN
T -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE
-DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2387/NVIDIA-Li
nux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6
629-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:18,
from include/linux/module.h:10,
from /tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz2387/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:821,
from /tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz2387/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:240: warning: wrong type argument to increment
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[3]: *** [/tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o
] 错误 1
make[2]: *** [_module_/tmp/selfgz2387/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv] 错误 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] 错误 1
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. |
|