LinuxSir.cn,穿越时空的Linuxsir!

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

NVIDIA GF 400显卡驱动安装问题(结贴)

[复制链接]
发表于 2007-3-5 10:12:28 | 显示全部楼层 |阅读模式
Debian 2.6.18-3内核,安装NVIDIA显卡驱动的时候提示No precompiled kerner interface...,无法进行下去。这是安装日志文件
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar  5 09:54:00 2007

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
  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.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
ERROR: Unable to find the kernel source tree for the currently running kernel.
       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' or 'kernel-devel' 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.

我用的是9631的驱动,看了一下readme文件,支持偶的显卡的。
想问的问题是,这个kernel interface都需要安装什么呢?还有对gcc的版本是不是有 要求?
发表于 2007-3-5 15:58:26 | 显示全部楼层
我没有具体安装过此显卡的驱动,不过,可以感觉到好像是这里:
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
也就是你的CC 版本是否有问题!
即这个驱动所需要的是什么版的CC,和你现在用的是一样的吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-5 17:14:23 | 显示全部楼层
嗯,偶知道编译内核的gcc版本要和编辑驱动的gcc版本一致,在它 的readme文件里面有说明,偶看了一下,
内核的gcc:
cat /proc/version
Linux version 2.6.18-3-686 (Debian 2.6.18-7) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 SMP Mon Dec 4 16:41:14 UTC 2006

系统当前的gcc版本
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr--with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

一样的。
回复 支持 反对

使用道具 举报

发表于 2007-3-6 15:24:28 | 显示全部楼层
回复LZ兄弟
1、你安装的是哪个版本的NVIDIA驱动
2、你在安装驱动的时候,如有提示说你没有什么kernel的头文件等,请选择NO,然后再在下一个窗口选择OK,看能否继续安装,
3、如果第2步说的方法不行,那你的KERNEL的DEV包可能没安装全,请自己再查看一下,如果你是自己 编译的内容,出现上边的问题,请用第2步提到的方法尝试。
4、你的显示目前最新的驱动是NVIDIA-9631,如果你安装NVIDIA-97××的,可能不会成功。
5、因为你的内核是2.6.18-3,NVIDIA-8***系列的内核可能已不被支持,只有安装NVIDIA-9631最合适,当然你也可在我发的一个帖子里:
http://bbs.linuxsir.cn/showthread.php?t=293884
使用我的方法来安装一个NVIDIA-7184,我现在就是在KERNEL-2.6.20.1上使用 NVIDIA-7184的,我的显卡是:GF 4200 GO (64M)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-7 08:32:21 | 显示全部楼层
1、你安装的是哪个版本的NVIDIA驱动

9631
2、你在安装驱动的时候,如有提示说你没有什么kernel的头文件等,请选择NO,然后再在下一个窗口选择OK,看能否继续安装,

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)?
这一步问我是否要去下载,No
然后,
No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
这步只能ok,然后就error,quit了。
3、如果第2步说的方法不行,那你的KERNEL的DEV包可能没安装全,请自己再查看一下,如果你是自己 编译的内容,出现上边的问题,请用第2步提到的方法尝试。

嗯,我也觉得是这里的问题,只是苦于不知道该安装些什么,无从下手。
4,这个就略了,那个97**的不支持显卡的。
5,阁下的帖子偶已经拜读过,郁闷的是这个7184的驱动,偶暂时下载不了,等试过了再说吧。

Anyway,it's very kind of you to help me, 3ks.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-12 12:57:12 | 显示全部楼层
好几天了,一直想上来,总登陆不了。
先说一下问题的解决吧。
办法是---reinstall the system。
看起来有点儿无可奈何,但却是行之有效的。
现在用的是debian etch,2.6.18-4的内核,从nvidia网站下载9631的安装程序,
直接安装,虽然也提示没有kernel interface之类的,但直接编译一个就ok了,现在可以驱动了。

我想了一下,问题可能出在这里,2.6.18-3的内核,找不到对应的头文件,我当时装了2.6.18-4版本的头文件,所以怎么也编译不成功。:ask

问题解决了,谢谢各位哦。

目前的刷新频率为50,调不上去,不果看起来很好了已经。

Post by bowlder
Debian 2.6.18-3内核,安装NVIDIA显卡驱动的时候提示No precompiled kerner interface...,无法进行下去。这是安装日志文件
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar  5 09:54:00 2007

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
  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.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
ERROR: Unable to find the kernel source tree for the currently running kernel.
       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' or 'kernel-devel' 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.

我用的是9631的驱动,看了一下readme文件,支持偶的显卡的。
想问的问题是,这个kernel interface都需要安装什么呢?还有对gcc的版本是不是有 要求?
回复 支持 反对

使用道具 举报

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

本版积分规则

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