|
多久没折腾linux了 这几天下载了个2.5.6来装
安装好了进不了桌面,具体估计就是startx后 黑屏,左上角有个光标再闪,
怀疑是显卡(NVIDAIA GeForce 210)的问题
去官网下了个驱动来装(NVIDIA-Linux-x86-256.53.run),安装失败
也搜了下,可能是驱动内核太低,不知道有啥解决方法
驱动安装日志:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Feb 14 22:33:28 2011
installer version: 256.53
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
no cc version 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
-> License accepted.
-> Installing NVIDIA driver version 256.53.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.36.3/source'
-> Kernel output path: '/lib/modules/2.6.36.3/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.36.3/source SYS
OUT=/lib/modules/2.6.36.3/build'...
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.36.3/build \
KBUILD_SRC=/lib/modules/2.6.36.3/build \
KBUILD_EXTMOD="/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel" -f /lib/modu
les/2.6.36.3/build/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions ; rm -
f /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions/*
make -f /lib/modules/2.6.36.3/build/scripts/Makefile.build obj=/tmp/selfgz29
60/NVIDIA-Linux-x86-256.53/kernel
cc -Wp,-MD,/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/.nv.o.d -nostdi
nc -isystem /usr/lib/gcc/i686-magic-linux/4.4.0/include -I/lib/modules/2.6.3
6.3/build/arch/x86/include -Iinclude -I/lib/modules/2.6.36.3/build/include
-include include/generated/autoconf.h -I/tmp/selfgz2960/NVIDIA-Linux-x86-2
56.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -
fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-f
ormat-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregpa
rm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=gen
eric -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-co
mpare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls
-Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconse
rve-stack -I/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsig
n-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSIO
N_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s
" -D"KBUIL
D_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tm
p/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/.tmp_nv.o /tmp/selfgz2960/NVIDIA
-Linux-x86-256.53/kernel/nv.c
In file included from include/linux/kernel.h:17,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv-linu
x.h:27,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c:13
:
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:49: warning: signed and unsigned type in conditional
expression
In file included from /lib/modules/2.6.36.3/build/arch/x86/include/asm/mmzon
e.h:2,
from include/linux/mmzone.h:784,
from include/linux/topology.h:32,
from include/linux/sched.h:78,
from include/linux/utsname.h:35,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv-linu
x.h:27,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c:13
:
/lib/modules/2.6.36.3/build/arch/x86/include/asm/mmzone_32.h: In function 'p
fn_valid':
/lib/modules/2.6.36.3/build/arch/x86/include/asm/mmzone_32.h:87: warning: co
mparison between signed and unsigned integer expressions
In file included from /lib/modules/2.6.36.3/build/arch/x86/include/asm/uacce
ss.h:571,
from include/linux/poll.h:14,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv-linu
x.h:84,
from /tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c:13
:
/lib/modules/2.6.36.3/build/arch/x86/include/asm/uaccess_32.h: In function '
copy_from_user':
/lib/modules/2.6.36.3/build/arch/x86/include/asm/uaccess_32.h:209: warning:
comparison between signed and unsigned integer expressions
/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c: At top level:
/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c:426: error: unknown fiel
d 'ioctl' specified in initializer
/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.c:426: warning: initializa
tion from incompatible pointer type
make[4]: *** [/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel/nv.o] Error 1
make[3]: *** [_module_/tmp/selfgz2960/NVIDIA-Linux-x86-256.53/kernel] Error
2
make[2]: *** [sub-make] 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. |
|