为什么使用新内核不能安装nvidia的驱动?
:?: 我把redhat8.0的内核升级为2.4.22,但是安装nvidia的4496驱动时总是无法安装,而在升级前是可以的。下面是log文件:nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 13 23:42:15 2003
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 : false
no questions : false
silent : false
XFree86 install prefix: /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
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)
ERROR: Unable to connect to download.nvidia.com (temporary DNS error (try again
later))
-> 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.
-> Kernel include path: '/lib/modules/2.4.22-tang.1/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.onv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.22-ta
ng.1/build/include'...
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.
If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.
In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.
[1;31m*** Failed cc sanity check. Bailing out! ***
Error 1
-> 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. Redhat测试版Fedora安装Nvidia驱动记发表者: 北南南北 在 2003 年 10 月 11 日 - 07:01 AM作者:bywind来自:LinuxSir.Org提要:由于nvidia4496pkg2的驱动不认fedora的内核,所以不能用sh NVIDIA-Linux-x86-1.0-4496-pkg2.run的方法来安装BBS讨论: 请点击这里主要内容:1]下载 NVIDIA-Linux-x86-1.0-4496-pkg2.run2]运行下面的命令来获得它的源码#sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only3]设置环境变量#export IGNORE_CC_MISMATCH=yes4]进入源码文件夹,运行安装命令#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2#make install5]修改/etc/X11/XF86Config然后改/etc/X11/XF86Config文件中的这段。Section "Device"Identifier "Videocard0"Driver "nv"把这里的nv 改成nvidiaVendorName "Videocard vendor"BoardName "NVIDIA GeForce 2 MX (generic)"EndSection
谢谢回复,我晚上试一下。
Redhat测试版Fedora安装Nvidia驱动记发表者: 北南南北 在 2003 年 10 月 11 日 - 07:01 AM作者:bywind来自:LinuxSir.Org提要:由于nvidia4496pkg2的驱动不认fedora的内核,所以不能用sh NVIDIA-Linux-x86-1.0-4496-pkg2.run的方法来安装BBS讨论: 请点击这里主要内容:1]下载 NVIDIA-Linux-x86-1.0-4496-pkg2.run2]运行下面的命令来获得它的源码#sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only3]设置环境变量#export IGNORE_CC_MISMATCH=yes4]进入源码文件夹,运行安装命令#cd ../NVIDIA-Linux-x86-1.0-4496-pkg2#make install5]修改/etc/X11/XF86Config然后改/etc/X11/XF86Config文件中的这段。Section "Device"Identifier "Videocard0"Driver "nv"把这里的nv 改成nvidiaVendorName "Videocard vendor"BoardName "NVIDIA GeForce 2 MX (generic)"EndSection :-):-) 用这个方法已经可以安装了,谢谢!
页:
[1]