冷夜月 发表于 2011-2-15 08:20:27

进不了桌面

多久没折腾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: *** Error 1
   make: *** Error
   2
   make: *** Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make: *** Error 1
   make: *** 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.

haulm 发表于 2011-2-15 10:18:51

内核很新,驱动太旧
NVIDIA-Linux-x86-260.19.36.run

冷夜月 发表于 2011-2-15 15:58:32

那个驱动是我在nvidia网站上搜到的,用我的 210搜到的。。。
你说的那个不会不支持吧?为啥没搜呢
等晚上回去试试。。。

panpanpdj 发表于 2011-2-15 18:02:51

去驱动之家那里看看吧,去NV的官网有时候还不大好找,N卡的驱动应该不是问题,字符界面下装上驱动一般就可以进桌面了,我之前是提前下好驱动再装机的

haulm 发表于 2011-2-15 19:21:55

官方去下载驱动,且版本号最好大于 NVIDIA-Linux-x86-260.19.36.run
256.53 不支持 2.6.35以上的内核

冷夜月 发表于 2011-2-15 19:53:26

原帖由 panpanpdj 于 2011-2-15 18:02 发表 http://www.linuxfans.org/bbs/images/common/back.gif
去驱动之家那里看看吧,去NV的官网有时候还不大好找,N卡的驱动应该不是问题,字符界面下装上驱动一般就可以进桌面了,我之前是提前下好驱动再装机的 ...
不知道怎么下linux版的,知道怎么下window的


原帖由 haulm 于 2011-2-15 19:21 发表 http://www.linuxfans.org/bbs/images/common/back.gif
官方去下载驱动,且版本号最好大于 NVIDIA-Linux-x86-260.19.36.run
256.53 不支持 2.6.35以上的内核
去http://www.nvidia.cn/object/unix_cn.html下了个最新的,果然可以了。。。


谢谢~~~~~~~~~~~~~~~~

jiangtao9999 发表于 2011-2-15 20:11:30

竟然还有人建议去驱动之家下载的……
这里是 Linux 论坛,还是推荐去官方站下载吧……

软用者 发表于 2011-2-15 22:17:53

geforce 210用256.53,geforce G210用260.19.36。就不知道210跟G210有什么不同?
页: [1]
查看完整版本: 进不了桌面