|
装nvidia的驱动96xx.run 驱动编译了后出现错误
sh ./NVIDIA........1.96xx....run后,accpet,提示官方无法下载,提示自己编译,出现编译进度条,进度达到100%后,
出现错误ERROR: Unable to load the kernel module 'nvidia.ko'. ....(如下) 提示安装失败
nvidia_install.log 有
....................................................
-> done.
-> Kernel module compilation complete.
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).
.........................................................
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
google搜索到解决方案是copy /lib/modules././././.下的一个nvidia.ko文件
但还是不行
错误说可能有3方面
1.内核不一致
2.gcc编译器不一致
3.驱动正在运行 无法获得控制权
我觉的都不大可能
1.
[root@localhost ~]# rpm -qa|grep "kernel"
kernel-headers-2.6.18-1.2798.fc6
kernel-devel-2.6.18-1.2798.fc6
kernel-2.6.18-1.2798.fc6
rpm从光盘中装的 应该是一致的 内核也没升级过
[root@localhost ~]# uname -a
Linux localhost 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux
2.同上 没改过
[root@localhost ~]# gcc -v
使用内建 specs。
目标:i386-redhat-linux
线程模型:posix
gcc 版本 4.1.1 20061011 (Red Hat 4.1.1-30)
3.etc/inittab.conf中id修改为3 启动进入命令行模式 nvdia驱动应该还没加载
不知道大家遇到这种情况没 不知道是怎么解决的 |
|