用sudo apt-get install nivida-glx的时候提示说依赖nvidia-kernel-1.0.9631,无法正常用apt-get 装上,然后去官方下载了1.0-9755的驱动。安装的时候出错,说是缺少"nvidia.ko"不知道要怎么解决了。
linux-headers- 和build-essential我是装有的。
代码: 全选
ERROR: ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s). Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 No such device -> Kernel messages: [17179618.212000] Bluetooth: RFCOMM TTY layer initialized [17179618.212000] Bluetooth: RFCOMM ver 1.7 [17191033.820000] NETDEV WATCHDOG: eth0: transmit timed out [17191036.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08. [17191036.820000] eth0: Tx queue start entry 396120 dirty entry 396116. [17191036.820000] eth0: Tx descriptor 0 is 000805ce. (queue head) [17191036.820000] eth0: Tx descriptor 1 is 000805ce. [17191036.820000] eth0: Tx descriptor 2 is 1008003c. [17191036.820000] eth0: Tx descriptor 3 is 600845ce. [17191036.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000 [17191048.820000] NETDEV WATCHDOG: eth0: transmit timed out [17191051.820000] eth0: Transmit timeout, status 0d 0000 c07f media 08. [17191051.820000] eth0: Tx queue start entry 32 dirty entry 28. [17191051.820000] eth0: Tx descriptor 0 is 100805ce. (queue head) [17191051.820000] eth0: Tx descriptor 1 is 00080042. [17191051.820000] eth0: Tx descriptor 2 is 00080042. [17191051.820000] eth0: Tx descriptor 3 is 000805ce. [17191051.820000] eth0: link up, 10Mbps, half-duplex, lpa 0x0000 [17208369.480000] nvidia: module license 'NVIDIA' taints kernel. [17208369.496000] NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is [17208369.496000] NVRM: supported through the NVIDIA Legacy drivers. Please [17208369.496000] NVRM: visit http://www.nvidia.com/object/unix.html for more [17208369.496000] NVRM: information. The 1.0-9631 NVIDIA driver will ignore [17208369.496000] NVRM: this GPU. Continuing probe... [17208369.496000] NVRM: No NVIDIA graphics adapter found! 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.
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++
再次安装的时候错误如下
代码:
代码: 全选
Using: nvidia-installer ncurses user interface WARNING: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this system is supported through the NVIDIA legacy Linux graphics drivers. Please visit http://www.nvidia.com/object/unix.html for more information. The 1.0-9631 NVIDIA Linux graphics driver will ignore this GPU. WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9631 NVIDIA Linux graphics driver installed in this system. For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com. -> 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". -> The CC version check failed: You appear to be compiling the NVIDIA kernel module with a different compile r than the one that was used to compile the running kernel. The Linux 2.6 k ernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel . The compiler used to compile the kernel was gcc 4.1; the current compiler is gcc 3.3. If you know what you are doing and want to ignore the gcc version check, sel ect "No" to continue installation. Otherwise, select "Yes" to abort install ation, set the CC environment variable to the name of the compiler used to c ompile your kernel, and restart installation. Abort now? (Answer: Yes) 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.