LinuxSir.cn,穿越时空的Linuxsir!

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

[求助]ubunut6.10 显卡驱动安装问题

[复制链接]
发表于 2007-3-26 15:01:52 | 显示全部楼层 |阅读模式
弄了一晚上都没搞定有点郁闷。系统内核是2.6.17-11-generic
用sudo apt-get install nivida-glx的时候提示说依赖nvidia-kernel-1.0.9631,无法正常用apt-get 装上,然后去官方下载了1.0-9755的驱动。安装的时候出错,说是缺少"nvidia.ko"不知道要怎么解决了。
linux-headers- 和build-essential我是装有的。
  1. ERROR: ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
  2.        frequently when this kernel module was built against the wrong or
  3.        improperly configured kernel sources, with a version of gcc that differs
  4.        from the one used to build the target kernel, or if a driver such as
  5.        rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
  6.        obtaining ownership of the NVIDIA graphics device(s).
  7.       
  8.        Please see the log entries 'Kernel module load error' and 'Kernel
  9.        messages' at the end of the file '/var/log/nvidia-installer.log' for
  10.        more information.
  11. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
  12.    -1 No such device
  13. -> Kernel messages:
  14.    [17179618.212000] Bluetooth: RFCOMM TTY layer initialized
  15.    [17179618.212000] Bluetooth: RFCOMM ver 1.7
  16.    [17191033.820000] NETDEV WATCHDOG: eth0: transmit timed out
  17.    [17191036.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08.
  18.    [17191036.820000] eth0: Tx queue start entry 396120  dirty entry 396116.
  19.    [17191036.820000] eth0:  Tx descriptor 0 is 000805ce. (queue head)
  20.    [17191036.820000] eth0:  Tx descriptor 1 is 000805ce.
  21.    [17191036.820000] eth0:  Tx descriptor 2 is 1008003c.
  22.    [17191036.820000] eth0:  Tx descriptor 3 is 600845ce.
  23.    [17191036.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000
  24.    [17191048.820000] NETDEV WATCHDOG: eth0: transmit timed out
  25.    [17191051.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08.
  26.    [17191051.820000] eth0: Tx queue start entry 32  dirty entry 28.
  27.    [17191051.820000] eth0:  Tx descriptor 0 is 100805ce. (queue head)
  28.    [17191051.820000] eth0:  Tx descriptor 1 is 00080042.
  29.    [17191051.820000] eth0:  Tx descriptor 2 is 00080042.
  30.    [17191051.820000] eth0:  Tx descriptor 3 is 000805ce.
  31.    [17191051.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000
  32.    [17208369.480000] nvidia: module license 'NVIDIA' taints kernel.
  33.    [17208369.496000] NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU
  34.    installed in this system is
  35.    [17208369.496000] NVRM:  supported through the NVIDIA Legacy drivers. Please
  36.    [17208369.496000] NVRM:  visit http://www.nvidia.com/object/unix.html for
  37.    more
  38.    [17208369.496000] NVRM:  information.  The 1.0-9631 NVIDIA driver will
  39.    ignore
  40.    [17208369.496000] NVRM:  this GPU.  Continuing probe...
  41.    [17208369.496000] NVRM: No NVIDIA graphics adapter found!
  42. ERROR: Installation has failed.  Please see the file
  43.        '/var/log/nvidia-installer.log' for details.  You may find suggestions
  44.        on fixing installation problems in the README available on the Linux
  45.        driver download page at www.nvidia.com.
复制代码
现在初步了解到是和gcc 的版本有关关系
apt-get install了gcc-3.3 和g++ 3.3
并在/usr/bin里把gcc 连接改为gcc-3.3 ln -s gcc-3.3 gcc  把g++的连接改为g++3.3 ln -s g++3.3 g++
再次安装的时候错误如下
  1. Using: nvidia-installer ncurses user interface
  2. WARNING: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
  3.          system is supported through the NVIDIA legacy Linux graphics drivers.
  4.          Please visit http://www.nvidia.com/object/unix.html for more
  5.          information.  The 1.0-9631 NVIDIA Linux graphics driver will ignore
  6.          this GPU.
  7. WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9631
  8.          NVIDIA Linux graphics driver installed in this system.  For further
  9.          details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
  10.          the README available on the Linux driver download page at
  11.          www.nvidia.com.
  12. -> License accepted.
  13. -> No precompiled kernel interface was found to match your kernel; would you li
  14.    ke the installer to attempt to download a kernel interface for your kernel f
  15.    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
  16. -> No precompiled kernel interface was found to match your kernel; this means
  17.    that the installer will need to compile a new kernel interface.
  18. -> Performing CC sanity check with CC="cc".
  19. -> Performing CC version check with CC="cc".
  20. -> The CC version check failed:
  21.    
  22.    You appear to be compiling the NVIDIA kernel module with a different compile
  23.    r than the one that was used to compile the running kernel.  The Linux 2.6 k
  24.    ernel module loader rejects kernel modules built with a version of gcc that
  25.    does not exactly match that of the compiler used to build the running kernel
  26.    .  The compiler used to compile the kernel was gcc 4.1; the current compiler
  27.    is gcc 3.3.
  28.    
  29.    If you know what you are doing and want to ignore the gcc version check, sel
  30.    ect "No" to continue installation.  Otherwise, select "Yes" to abort install
  31.    ation, set the CC environment variable to the name of the compiler used to c
  32.    ompile your kernel, and restart installation.  Abort now? (Answer: Yes)
  33. ERROR: Installation has failed.  Please see the file
  34.        '/var/log/nvidia-installer.log' for details.  You may find suggestions
  35.        on fixing installation problems in the README available on the Linux
  36.        driver download page at www.nvidia.com.
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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