LinuxSir.cn,穿越时空的Linuxsir!

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

求助:Nvidia最新的驱动不支持-2.6.32-5的内核?

[复制链接]
发表于 2010-5-28 20:12:57 | 显示全部楼层 |阅读模式
升级到了2.6.32-5的内核,安装显卡最新驱动NVIDIA-Linux-x86-195.36.24-pkg1 报错如下:
  1. -> Kernel module compilation complete.
  2. ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
  3.        frequently when this kernel module was built against the wrong or
  4.        improperly configured kernel sources, with a version of gcc that differs
  5.        from the one used to build the target kernel, or if a driver such as
  6.        rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
  7.        obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
  8.        installed in this system is not supported by this NVIDIA Linux graphics
  9.        driver release.
  10.       
  11.        Please see the log entries 'Kernel module load error' and 'Kernel
  12.        messages' at the end of the file '/var/log/nvidia-installer.log' for
  13.        more information.
复制代码

log file 好长,贴最后一段如下:
  1. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
  2.    -1 No such device
  3. -> Kernel messages:
  4.    [ 1685.319372] /dev/vmnet: hub 8 does not exist, allocating memory.
  5.    [ 1685.319392] /dev/vmnet: port on hub 8 successfully opened
  6.    [ 1685.322774] /dev/vmnet: open called by PID 7436 (vmnet-natd)
  7.    [ 1685.322783] /dev/vmnet: port on hub 8 successfully opened
  8.    [ 1685.324493] /dev/vmnet: open called by PID 7437 (vmnet-netifup)
  9.    [ 1685.324502] /dev/vmnet: port on hub 8 successfully opened
  10.    [ 1695.832012] vmnet1: no IPv6 routers present
  11.    [ 1696.164008] vmnet8: no IPv6 routers present
  12.    [ 1768.941921] /dev/vmmon[7546]: PTSC: initialized at 2327475000 Hz using
  13.    TSC
  14.    [ 1769.634373] /dev/vmnet: open called by PID 7549 (vmware-vmx)
  15.    [ 1769.634384] /dev/vmnet: port on hub 8 successfully opened
  16.    [ 1780.770973] /dev/vmnet: open called by PID 7549 (vmware-vmx)
  17.    [ 1780.770984] /dev/vmnet: port on hub 8 successfully opened
  18.    [ 1971.329254] /dev/vmnet: open called by PID 7549 (vmware-vmx)
  19.    [ 1971.329264] /dev/vmnet: port on hub 8 successfully opened
  20.    [ 2097.135506] nvidia: module license 'NVIDIA' taints kernel.
  21.    [ 2097.135510] Disabling lock debugging due to kernel taint
  22.    [ 2098.042304] NVRM: The NVIDIA probe routine was not called for 1
  23.    device(s).
  24.    [ 2098.042307] NVRM: This can occur when a driver such as rivafb, nvidiafb
  25.    or
  26.    [ 2098.042308] NVRM: rivatv was loaded and obtained ownership of the NVIDIA
  27.    [ 2098.042309] NVRM: device(s).
  28.    [ 2098.042311] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel
  29.    module
  30.    [ 2098.042312] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
  31.    [ 2098.042313] NVRM: support), then try loading the NVIDIA kernel module
  32.    again.
  33.    [ 2098.042315] NVRM: No NVIDIA graphics adapter probed!
  34. 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.
复制代码
发表于 2010-5-28 22:06:30 | 显示全部楼层
是新的内核使用了开源内核,在/etc/modprobe.d/blacklist.conf中加入:
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
重新启动就可以了
回复 支持 反对

使用道具 举报

发表于 2010-5-29 00:45:27 | 显示全部楼层
我用的是sid,今天也遇到了这个问题。。。。
还有一个问题:我想使用源里的NVIDIA受限驱动,但发现只有适合内核2.6.32-4 的,而最新的内核是2.6.32-5  ,那个驱动貌似安装不了(试着安装了一次,但提示不成功)
要怎么样才能让系统自动随内核升级而升级NVIDIA的驱动呢?    懒得每次升级内核后都要手动去安装nvidia的驱动了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-31 16:00:32 | 显示全部楼层
谢谢,我用了源里的受限驱动可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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