LinuxSir.cn,穿越时空的Linuxsir!

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

nvidia驱动,ERROR: Unable to determine the NVIDIA kernel module filename.[已解

[复制链接]
发表于 2004-5-13 21:05:20 | 显示全部楼层 |阅读模式

  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Mon May 17 16:50:57 2004

  3. option status:
  4.   license pre-accepted    : false
  5.   update                  : false
  6.   force update            : false
  7.   expert                  : false
  8.   uninstall               : false
  9.   driver info             : false
  10.   no precompiled interface: false
  11.   no ncurses color        : false
  12.   query latest driver ver : false
  13.   OpenGL header files     : false
  14.   no questions            : false
  15.   silent                  : false
  16.   XFree86 install prefix  : /usr/X11R6
  17.   OpenGL install prefix   : /usr
  18.   Installer install prefix: /usr
  19.   kernel source path      : /usr/src/linux-2.6.6/
  20.   kernel install path     : (not specified)
  21.   proc mount point        : /proc
  22.   ui                      : (not specified)
  23.   tmpdir                  : /tmp
  24.   ftp site                : [url]ftp://download.nvidia.com[/url]

  25. Using: nvidia-installer ncurses user interface
  26. -> License accepted.
  27. -> No precompiled kernel interface was found to match your kernel; would you li
  28.    ke the installer to attempt to download a kernel interface for your kernel f
  29.    rom the NVIDIA ftp site ([url]ftp://download.nvidia.com[/url])? (Answer: Yes)
  30. ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again
  31.        later))
  32. -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
  33.    this means that the installer will need to compile a kernel interface for
  34.    your kernel.
  35. -> Using the kernel source path '/usr/src/linux-2.6.6/' as specified by the
  36.    '--kernel-source-path' commandline option.
  37. -> Kernel source path: '/usr/src/linux-2.6.6/'
  38. -> Performing cc_version_check with CC="/opt/gcc-2.95.3/bin/gcc".
  39. ERROR: Unable to determine the NVIDIA kernel module filename.
  40. ERROR: Installation has failed.  Please see the file
  41.        '/var/log/nvidia-installer.log' for details.  You may find suggestions
  42.        on fixing installation problems in the README available on the Linux
  43.        driver download page at [url]www.nvidia.com.[/url]
复制代码
 楼主| 发表于 2004-5-13 21:06:38 | 显示全部楼层
主要是这个~~~

ERROR: Unable to determine the NVIDIA kernel module filename.
发表于 2004-5-13 23:49:37 | 显示全部楼层
估计是因为你编译内核时用的gcc是2.95.3的是吧。
那么你在运行nvidia的驱动安装程序之前,你要这样做一下:
export PATH=/opt/gcc-2.95.3/binPATH
export CC=/opt/gcc-2.95.3/bin/gcc
然后再运行nvidia的驱动安装程序。
 楼主| 发表于 2004-5-14 00:07:01 | 显示全部楼层
我装的时候用了export CC=/opt/gcc-2.95.3/bin/gcc

刚才又加上了export PATH=/opt/gcc-2.95.3/binPATH

可还是一样的!
发表于 2004-5-14 00:15:44 | 显示全部楼层
还有就是你的/usr/src/linux-2.6.6
有没有做一个链接 /usr/src/linux -->linux-2.6.6
呢?
那个nvidia好像是要求要这样。
 楼主| 发表于 2004-5-14 08:04:49 | 显示全部楼层
我原来都是指定 --kernel-source-path 这次直接做了个链接,可还是那个样子~
发表于 2004-5-14 09:19:05 | 显示全部楼层
你用的是哪个驱动呀。我一直用着都没有这个问题耶。
有没有去nvidia.com 下载最新的版本啊。我用了很久都没有出现问题的。
 楼主| 发表于 2004-5-14 09:28:11 | 显示全部楼层
NVIDIA-Linux-x86-1.0-5336-pkg1.run

是从NVIDIA下的,

兄弟用的哪个?
发表于 2004-5-14 09:30:52 | 显示全部楼层
那没错的啊。
奇怪,我从2.6出来不久以后就开始用它了,一直没有问题,期间我也更新了N次的内核和gcc版本了。但是安装一直都没有问题。如果不行的话,那就不要用gcc-2.95.3 编译内核,而改用现在的版本编译,然后再安装nvidia这样就应该没有问题了。
 楼主| 发表于 2004-5-14 09:32:23 | 显示全部楼层
en,我去试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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