LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 724|回复: 6

安装nvidia6629驱动后,进入不了图形界面,出错!!求救!!

[复制链接]
发表于 2005-2-28 03:26:46 | 显示全部楼层 |阅读模式
今天在网上下载了个nvidia for linux驱动:NVIDIA-Linux-x86-1.0-6629-pkg1.run 安装到了我的内核版本为2.6.9的fedora core3上,安装后直接运行startx进入了图形界面,可是reboot后,却出现了错误,出错信息如下:
(EE)NVIDIA(0) Failed to initlialize the NVIDIA kernel module!
(EE)NVIDIA(0) ***Aborting***
(EE)Screen(s) found,but none have a usable configuration.
Fatal server error:no screens found


真的搞不懂了,本人菜鸟,望各位老鸟赐教,万分感激!!!
 楼主| 发表于 2005-2-28 03:48:11 | 显示全部楼层
现在已经能够进入x了,不过每次运行startx之前,必须运行modprobe nvidia这个命令,否则还是出现上面的错误,有没有知道这是为什么,如何才能不用这么繁琐才能进入x呢,谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-28 04:18:32 | 显示全部楼层
下面这段英文是对上面毛病的解释,nvidia的说明文档里找出来的,看得不是很明白(英语差,呵呵)
哪位高人帮者看看,不胜感激

My X server fails to start, and my X log file contains the error:

   "(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"

A: Nothing will work if the NVIDIA kernel module does not function
   properly.  If you see anything in the X log file like "(EE)
   NVIDIA(0): Failed to initialize the NVIDIA kernel module!" then
   there is most likely a problem with the NVIDIA kernel module.
   First, you should verify that if you installed from rpm that
   the rpm was built specifically for the kernel you are using.
   You should also check that the module is loaded ('/sbin/lsmod');
   if it is not loaded try loading it explicitly with 'insmod' or
   'modprobe' (be sure to exit the X server before installing a new
   kernel module).  If you receive errors about unresolved symbols,
   then the kernel module has most likely been built using header files
   for a different kernel revision than what you are running.  You can
   explicitly control what kernel header files are used when building
   the NVIDIA kernel module with the --kernel-include-dir option (see
   `sh NVIDIA-Linux-x86-1.0-6629-pkg1.run --advanced-options`
   for details).

   Please note that the convention for the location of kernel header
   files changed approximately at the time of the 2.4.0 kernel release,
   as did the location of kernel modules.  If the kernel module fails to
   load properly, modprobe/insmod may be trying to load an older kernel
   module (assuming you have upgraded).  cd'ing into the directory with
   the new kernel module and doing 'insmod ./nvidia.o' may help.

   Another cause may be that the /dev/nvidia* device files may be missing.

   Finally, the NVIDIA kernel module may print error messages indicating
   a problem -- to view these messages please check /var/log/messages, or
   wherever syslog is directed to place kernel messages.  These messages
   are prepended with "NVRM".
回复 支持 反对

使用道具 举报

发表于 2005-2-28 08:58:57 | 显示全部楼层
在/etc/rc.local中添加
/sbin/modprobe nvidia
回复 支持 反对

使用道具 举报

发表于 2005-3-8 12:40:46 | 显示全部楼层
哪位能帮帮小弟一下,我今天进linux发现不能进入图形界面了。。。
我昨天改了下/etc/fstab  是不是这个出了问题啊?
回复 支持 反对

使用道具 举报

发表于 2005-3-8 13:14:43 | 显示全部楼层
/etc/fstab只是分区挂载,不影响X

建议新建一个话题讨论,不要跟在别人帖子后面。
记得附上错误信息,不然没人能够帮你
回复 支持 反对

使用道具 举报

发表于 2005-3-8 13:32:50 | 显示全部楼层
因为FC3使用了UDEV
cp -a /dev/nvidia* /etc/udev/devices
chown root.root /etc/udev/devices/nvidia*
回复 支持 反对

使用道具 举报

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

本版积分规则

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