QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1779|回复: 7

进不了桌面

[复制链接]
发表于 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[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.
发表于 2011-2-15 10:18:51 | 显示全部楼层
内核很新,驱动太旧
NVIDIA-Linux-x86-260.19.36.run
回复

使用道具 举报

 楼主| 发表于 2011-2-15 15:58:32 | 显示全部楼层
那个驱动是我在nvidia网站上搜到的,用我的 210搜到的。。。
你说的那个不会不支持吧?为啥没搜呢
等晚上回去试试。。。
回复

使用道具 举报

发表于 2011-2-15 18:02:51 | 显示全部楼层
去驱动之家那里看看吧,去NV的官网有时候还不大好找,N卡的驱动应该不是问题,字符界面下装上驱动一般就可以进桌面了,我之前是提前下好驱动再装机的
回复

使用道具 举报

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

不知道怎么下linux版的,知道怎么下window的


原帖由 haulm 于 2011-2-15 19:21 发表
官方去下载驱动,且版本号最好大于 NVIDIA-Linux-x86-260.19.36.run
256.53 不支持 2.6.35以上的内核

http://www.nvidia.cn/object/unix_cn.html下了个最新的,果然可以了。。。


谢谢~~~~~~~~~~~~~~~~
回复

使用道具 举报

发表于 2011-2-15 20:11:30 | 显示全部楼层
竟然还有人建议去驱动之家下载的……
这里是 Linux 论坛,还是推荐去官方站下载吧……
回复

使用道具 举报

发表于 2011-2-15 22:17:53 | 显示全部楼层
geforce 210用256.53,geforce G210用260.19.36。就不知道210跟G210有什么不同?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-18 09:12 , Processed in 0.079049 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表