LinuxSir.cn,穿越时空的Linuxsir!

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

FC6下安装nvidia驱动总是找不到内核

[复制链接]
发表于 2006-11-7 13:49:22 | 显示全部楼层 |阅读模式
我的显卡是TNT2,安装nvidia驱动时,总是提示找不到内核,就算是安装了kernel-devel和kernel-header后也是一样?

大家有没有解决办法?
发表于 2006-11-7 14:07:42 | 显示全部楼层
安装程序BUG,安装了错误的内核, 从光盘或者网上找i686内核即可:

Anaconda installing the wrong architecture kernel in some systems. cpuspeed is not working for the same reason. This does not affect out of box functionality much but if you are compiling third party kernel drivers you might run into this on x86 architecture. x86_64 and PPC systems are not affected.  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941

yumdownloader is part of yum-utils in Fedora Extras. You can also manually download the kernel.


    su -c "yum install yum-utils"

    Workaround is simple:


    yumdownloader kernel-2.6.18-1.2798.fc6.i686
    su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2798.fc6.i686.rpm"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 18:58:02 | 显示全部楼层
是不是安装程序安装了i586的内核,而我只要把原来的内核卸载掉,然后装i686的内核?
可以用yum安装吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 19:08:30 | 显示全部楼层
帮我看看完成这三步骤后,行不行
1.下载kernel-2.6.18-1.2798.fc6.i686.rpm
2. rpm -e kernel
3. rpm -ivh kernel-2.6.18-1.2798.fc6.i686.rpm
还要不要配置什么吗?
回复 支持 反对

使用道具 举报

发表于 2006-11-7 20:25:45 | 显示全部楼层
This is due to a bug in anaconda (the Fedora Core installer) that accidentally installed an i586 kernel on your i686 machine. Workaround

参见http://rpm.livna.org/
装nvidia kernel 8776时出现
我是改用
yum install kmod-nvidia --enablerepo=livna-testing

解决了
这是个beta版驱动
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-7 21:41:04 | 显示全部楼层
会楼上的,我的显卡不支持nvidia8****驱动
回复 支持 反对

使用道具 举报

发表于 2006-11-7 23:11:26 | 显示全部楼层
LZ,你把现在的内核换掉,然后用livna-tesing源是上的nv驱动就可以。我的就是这么干的。最初的情况和你的一样。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-8 13:21:11 | 显示全部楼层
卸载内核时提示:

[root@localhost ~]# rpm -e kernel
error: Failed dependencies:
        kernel >= 2.6.12-1.1411_FC5 is needed by (installed) pcmciautils-014-5.i386
        kernel >= 2.6 is needed by (installed) gnome-volume-manager-2.15.0-2.fc6.i386

但 pcmciautils-014-5.i386和 gnome-volume-manager-2.15.0-2.fc6.i386 我都安装了
这令人费解
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-8 21:51:56 | 显示全部楼层
还是没有解决,自己顶阿。。。。
回复 支持 反对

使用道具 举报

发表于 2006-11-8 21:56:34 | 显示全部楼层
因为gnome那些包都依赖你的kernel才能运行,你要删当前内核,rpm会检测依赖关系。所以,只能强行将kernel干掉:

$ sudo rpm -e kernel-headers-2.6.18-1.2798.fc6 --nodeps
$ sudo rpm -e kernel-2.6.18-1.2798.fc6 --nodeps
$ sudo rpm -e kernel-devel-2.6.18-1.2798.fc6 --nodeps

更详细,参考这里:http://blog.chinaunix.net/u/18537/showart_191497.html
回复 支持 反对

使用道具 举报

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

本版积分规则

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