LinuxSir.cn,穿越时空的Linuxsir!

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

安装显卡驱动出现错,高手明示!

[复制链接]
发表于 2007-8-18 15:18:45 | 显示全部楼层 |阅读模式
安装驱 NVIDIA-Linux-x86-1.0-9631-pkg1.run
出现错误
提示如下:
===============================

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Aug 18 15:09:05 2007

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     : true
  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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC test with CC="cc".
ERROR: The kernel header file
       '/lib/modules/2.6.16.21-0.8-default/build/include/linux/kernel.h' does
       not exist.  The most likely reason for this is that the kernel source
       path '/lib/modules/2.6.16.21-0.8-default/build' is incorrect.  Please
       make sure you have installed the kernel source files for your kernel and
       that they are properly configured; on Red Hat Linux systems, for
       example, be sure you have the 'kernel-source' RPM installed.  If you
       know the correct kernel source files are installed, you may specify the
       kernel source path with the '--kernel-source-path' command line option.
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.
=====================================
请高手给指出错误,好像说是什么路径不对,连接错误
现在装驱动还需要联网啊,记得以前装RED HAT的时候不用啊,刚开始的时候还提示我网络错误,不过网络弄好了,现在又出现这个问题!比较郁闷……
 楼主| 发表于 2007-8-18 15:44:47 | 显示全部楼层
根据NVIDIA官方安装说明操作,通过YAST安装,又提示如下错误,是不是系统哪里有问题?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2007-8-18 17:12:21 | 显示全部楼层
首先,要用 NVIDIA-Linux-x86-1.0-9631-pkg1.run 来安装,必须联网
其次,在YAST中安装,你只能安装2个包,具体哪2个包,官方网站上有,一般是不会出错的,
建议用此种方法。
回复 支持 反对

使用道具 举报

发表于 2007-8-18 19:24:41 | 显示全部楼层
应该是没有安装Kernel source.
回复 支持 反对

使用道具 举报

发表于 2007-8-20 00:25:27 | 显示全部楼层
首先确认你是否安装了 核心开发的包和基础开发的包,如果没有安装就通过软件更新来安装,
然后到ftp://download.nvidia.com/opensuse/10.2/
上面找到你的cpu,如果你的是amd64的就进入X86-64子目录
如果是intel的cpu,就进入i586子目录
我这里用amd64cpu做说明:进入X86_64子目录
下载了
x11-video-nvidiaG01-100.14.09-2.1.x86_64.rpm和
nvidia-gfxG01-kmp-default-100.14.09_2.6.18.8_0.3-1.1.x86_64.rpm
其他不用
然后将这个文件作为源添加到源里,从软件管理搜G01关键字,可以找到这2个文件,然后安装
,之后,打开控制台,init 3进入字符模式
root
密码
sax2 -r -m 0=nvidia,
进行配置,选择自己的分辨率,测试没有问题就保存重启机,就ok
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-20 19:56:46 | 显示全部楼层
好像是没有装kernel source这个包,叫我装上试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-20 20:12:50 | 显示全部楼层
恭喜我一下,安装上了一个,还有一个安装不上
提示:
没有提供可安装的kernel(drivers_char_agp)==……后面一串懒得打了,
这是又少装哪个包了?
回复 支持 反对

使用道具 举报

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

本版积分规则

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