LinuxSir.cn,穿越时空的Linuxsir!

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

FC6下Nvidia卡安装kmod-nvidia驱动出错的解决方法

[复制链接]
发表于 2006-12-5 22:16:46 | 显示全部楼层 |阅读模式
当前内核:
  1. uname -a
  2. Linux kingduanlian 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686 athlon i386 GNU/Linux
复制代码


出错信息:

  1. sudo yum -y update kmod-nvidia
  2. Loading "installonlyn" plugin
  3. Setting up Update Process
  4. Setting up repositories
  5. Reading repository metadata in from local files
  6. Resolving Dependencies
  7. --> Populating transaction set with selected packages. Please wait.
  8. ---> Package kmod-nvidia.i686 0:1.0.9629-1.2.6.18_1.2849.fc6 set to be installed
  9. --> Running transaction check
  10. --> Processing Dependency: kernel-i686 = 2.6.18-1.2849.fc6 for package: kmod-nvidia
  11. --> Processing Dependency: nvidia-kmod-common >= 1.0.9629 for package: kmod-nvidia
  12. --> Restarting Dependency Resolution with new changes.
  13. --> Populating transaction set with selected packages. Please wait.
  14. ---> Package kernel.i686 0:2.6.18-1.2849.fc6 set to be installed
  15. ---> Package xorg-x11-drv-nvidia.i386 0:1.0.9629-1.lvn6 set to be updated
  16. --> Running transaction check
  17. --> Populating transaction set with selected packages. Please wait.
  18. ---> Package kernel.i586 0:2.6.18-1.2798.fc6 set to be erased
  19. --> Running transaction check

  20. Dependencies Resolved

  21. ================================================== ===========================
  22. Package Arch Version Repository Size
  23. ================================================== ===========================
  24. Installing:
  25. kmod-nvidia i686 1.0.9629-1.2.6.18_1.2849.fc6 livna 1.6 M
  26. Removing:
  27. kernel i586 2.6.18-1.2798.fc6 installed 43 M
  28. Installing for dependencies:
  29. kernel i686 2.6.18-1.2849.fc6 updates 16 M
  30. Updating for dependencies:
  31. xorg-x11-drv-nvidia i386 1.0.9629-1.lvn6 livna 4.5 M

  32. Transaction Summary
  33. ================================================== ===========================
  34. Install 2 Package(s)
  35. Update 1 Package(s)
  36. Remove 1 Package(s)

  37. Total download size: 22 M
  38. Downloading Packages:
  39. Running Transaction Test
  40. Finished Transaction Test


  41. Transaction Check Error: package kernel-2.6.18-1.2849.fc6 is already installed
  42. file /boot/System.map-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
  43. file /boot/config-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
  44. file /boot/symvers-2.6.18-1.2849.fc6.gz from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
  45. file /boot/vmlinuz-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
复制代码


解决方法:

对于出错说明:http://fedoraproject.org/wiki/Bugs/FC6Common

方法:
  1. su -c "yum install yum-utils"
  2. yumdownloader kernel-2.6.18-1.2849.fc6.i686
  3. su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2849.fc6.i686.rpm"
复制代码


之后再次以root运行
  1. yum install kmod-nvidia
复制代码


可以成功安装,然后重启,让新内核生效,再次进入Gnome,系统-首选项-Desktop Effects启动就可以了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-12-6 19:07:08 | 显示全部楼层
按此方法,不但成功开启EFFECTS。而且窗口边框消失的毛病也没有了。十分的很感谢。
回复 支持 反对

使用道具 举报

发表于 2006-12-6 19:07:13 | 显示全部楼层
按此方法,不但成功开启EFFECTS。而且窗口边框消失的毛病也没有了。十分的很感谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-6 21:39:19 | 显示全部楼层
终于有个回帖的了,看来没白写。
回复 支持 反对

使用道具 举报

发表于 2007-3-19 13:29:29 | 显示全部楼层
我有个问题,kingduanlian 大哥帮忙看看是什么原因。
我在装nvidia卡驱动的时候出的问题。现在系统每次重启都要设置Xwindow
而且 nvidia 显卡驱动也没装上去,还是默认的。下面是安装时我COPY的记录。

[root@fd ~]# yum -y install kmod-nvidia
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                     100% |=========================| 1.1 kB    00:00     
core                      100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================| 1.2 kB    00:00     
http://ayo.uk3.freshrpms.net/fed ... epodata/repomd.xml: [Errno 14] HTTP Error 502: Date: Fri, 16 Mar 2007 18:11:02 GMT
Content-Length: 602
Content-Type: text/html; charset=iso-8859-1

Trying other mirror.
freshrpms                 100% |=========================| 1.1 kB    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 216 kB    01:16     
http://redhat.secsup.org/fedora/ ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz            100% |=========================| 519 kB    01:41     
################################################## 1165/1165
primary.xml.gz            100% |=========================|  64 kB    00:01     
################################################## 176/176
primary.xml.gz            100% |=========================| 1.4 MB    01:23     
################################################## 4529/4529
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-nvidia to pack into transaction set.
kmod-nvidia-1.0.9755-2.2. 100% |=========================|  19 kB    00:05     
---> Package kmod-nvidia.i686 0:1.0.9755-2.2.6.20_1.2925.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.20-1.2925.fc6 for package: kmod-nvidia
--> Processing Dependency: nvidia-kmod-common >= 1.0.9755 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.20-1.2925.fc6. 100% |=========================| 218 kB    00:52     
---> Package kernel.i686 0:2.6.20-1.2925.fc6 set to be installed
---> Downloading header for xorg-x11-drv-nvidia to pack into transaction set.
xorg-x11-drv-nvidia-1.0.9 100% |=========================|  35 kB    00:12     
---> Package xorg-x11-drv-nvidia.i386 0:1.0.9755-3.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: mkinitrd >= 5.1.19.0.2-1 for package: kernel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mkinitrd to pack into transaction set.
mkinitrd-5.1.19.0.3-1.i38 100% |=========================|  52 kB    00:11     
---> Package mkinitrd.i386 0:5.1.19.0.3-1 set to be updated
--> Running transaction check
--> Processing Dependency: nash = 5.1.19.0.3-1 for package: mkinitrd
--> Processing Dependency: libparted-1.8.so.2 for package: mkinitrd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package parted.i386 0:1.8.2-1.fc6 set to be updated
---> Downloading header for nash to pack into transaction set.
nash-5.1.19.0.3-1.i386.rp 100% |=========================|  48 kB    00:07     
---> Package nash.i386 0:5.1.19.0.3-1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
kmod-nvidia             i686       1.0.9755-2.2.6.20_1.2925.fc6  livna             2.3 M
Installing for dependencies:
kernel                  i686       2.6.20-1.2925.fc6  updates            16 M
xorg-x11-drv-nvidia     i386       1.0.9755-3.lvn6  livna             4.9 M
Updating for dependencies:
mkinitrd                i386       5.1.19.0.3-1     updates           412 k
nash                    i386       5.1.19.0.3-1     updates           1.1 M
parted                  i386       1.8.2-1.fc6      updates           533 k

Transaction Summary
==================================================================================================
Install      3 Package(s)         
Update       3 Package(s)         
Remove       0 Package(s)         

Total download size: 25 M
Downloading Packages:
(1/6): mkinitrd-5.1.19.0. 100% |=========================| 412 kB    01:18     
(2/6): kernel-2.6.20-1.29 100% |=========================|  16 MB    46:57     
(3/6): parted-1.8.2-1.fc6 100% |=========================| 533 kB    00:46     
(4/6): xorg-x11-drv-nvidi 100% |=========================| 4.9 MB    10:57     
(5/6): nash-5.1.19.0.3-1. 100% |=========================| 1.1 MB    02:01     
(6/6): kmod-nvidia-1.0.97 100% |=========================| 2.3 MB    04:47     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>"
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : nash                         ######################### [1/9]
  Updating  : parted                       ######################### [2/9]
  Updating  : mkinitrd                     ######################### [3/9]
  Installing: kernel                       ######################### [4/9]
  Installing: kmod-nvidia                  ######################### [5/9]
  Installing: xorg-x11-drv-nvidia          ######################### [6/9]
FATAL: Module nvidia not found.
  Cleanup   : mkinitrd                     ######################### [7/9]
  Cleanup   : parted                       ######################### [8/9]
  Cleanup   : nash                         ######################### [9/9]

Installed: kmod-nvidia.i686 0:1.0.9755-2.2.6.20_1.2925.fc6
Dependency Installed: kernel.i686 0:2.6.20-1.2925.fc6 xorg-x11-drv-nvidia.i386 0:1.0.9755-3.lvn6
Dependency Updated: mkinitrd.i386 0:5.1.19.0.3-1 nash.i386 0:5.1.19.0.3-1 parted.i386 0:1.8.2-1.fc6
Complete!
[root@fd ~]#
回复 支持 反对

使用道具 举报

发表于 2007-3-19 13:33:40 | 显示全部楼层
[lr@fd ~]$ uname -a
Linux fd.depp.com 2.6.20-1.2925.fc6 #1 SMP Sat Mar 10 19:15:16 EST 2007 i686 i686 i386 GNU/Linux

这个安装完后的内核
回复 支持 反对

使用道具 举报

发表于 2007-3-19 13:48:56 | 显示全部楼层
[lr@fd ~]$ uname -a
Linux fd.depp.com 2.6.20-1.2925.fc6 #1 SMP Sat Mar 10 19:15:16 EST 2007 i686 i686 i386 GNU/Linux

这个安装完后的内核
回复 支持 反对

使用道具 举报

发表于 2007-3-19 13:57:13 | 显示全部楼层
2.6.18-1.2798.fc6xen

这是安装前的内核。
回复 支持 反对

使用道具 举报

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

本版积分规则

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