Fedora Linux Support Community & Resources Center
  #1  
Old 26th June 2009, 06:19 AM
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,674
kmod to akmod -question

I have two kernels in my new fedora 11 install:
kernel-2.6.29.4-167.fc11.i586
kernel-2.6.29.5-191.fc11.i586
The 2.6.29.4-167 kernel has the nvidia driver installed using kmod-nvidia. Since I'm new to fedora I just used the method I came upon in the how-to before realizing the advantages of akmod-nvidia. What I would like to do is remove the kmod-nvidia module and install the akmod-nvidia module before I install the nvidia drivers to the new kernel.
Is it as easy as rpm -e kmod-nvidia and rpm -i akmod-nvidia? Or am I missing some steps?
Coming from Debian, I'm still trying to get used to rpm and Fedora's modules and meta-packages, so, if someone could give me a hand, I'd appreciate it.
My first nvidia driver install gave me the i586 kernel, since I wasn't aware of the PAE kernel and the need for separate drivers. I want to avoid surprises this time. I removed the PAE kernels since I have no need for them, and am just using the i586 kernels now.
After installing akmod-nvidia, do I have to reinstall xorg-x11-drivers for that kernel, or are the ones there for the older kernel the correct ones? Should I be removing more of the old driver files?
Thanks for your help in advance.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 19/20, siduction and openSUSE 13.1 with KDE
Reply With Quote
  #2  
Old 26th June 2009, 07:10 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
Note that the kmod-nvidia packages provide only the kernel driver module for any one specific kernel. Based on what you've described: you need do nothing more than install the akmod-nvidia package. There may be an advantage to first removing the kmod-nvidia, since it's absense will prevent any further auto-updates of new kmod-nvidia packages, which you simply won't need with the auto-builder (hence the name: akmod-*). Note that akmod-nvidia requires the kernel-devel packages(s) to match your kernel(s), plus latest kernel-headers, plus compiler(s) and such (these should be dragged along automatically by YUM as dependencies when you install akmod-*). Cost is HDD space. In no case do you want or need to remove the base driver package(s). The following should get you what you want:
yum remove kmod-nvidia
yum install akmod-nvidia


Do not interrupt nor split these operations: removing the kmod-nvidia package will erase your only existing kernel driver module from disk, but it will still exist, loaded in RAM into the running kernel, until a re-boot/power failure. Make sense? Upon re-boot, akmod-nvidia will build whatever kmod is needed, automatically. Theoretically. YMMV.

V

Last edited by Hlingler; 26th June 2009 at 07:13 AM.
Reply With Quote
  #3  
Old 26th June 2009, 04:00 PM
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,674
@Hlingler
Thank You.
This is just the info I was looking for. Am getting used to fedora now and really liking it. Now, when a new kernel comes in, akmod will install the nvidia drivers and I'll be a happy camper. :-)
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 19/20, siduction and openSUSE 13.1 with KDE
Reply With Quote
  #4  
Old 26th June 2009, 05:38 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
Quote:
Now, when a new kernel comes in, akmod will install the nvidia drivers...
For posterity and clarity: no, the actual driver itself (package xorg-x11-drv-nvidia) is not affected by kmod/akmod method. Package kmod-nvidia-* provides a pre-compiled kernel driver module (kmod) for one kernel. Package akmod-nvidia-* automatically builds and installs a required kmod (if one does not already exist) on-the-spot and on-demand. The result should indeed be many happy(ier) campers. We hope.

V
Reply With Quote
  #5  
Old 26th June 2009, 06:21 PM
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,674
Thanks again Hlingler,
Understood...I'll get the hang of this yet..LOL..
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 19/20, siduction and openSUSE 13.1 with KDE
Reply With Quote
  #6  
Old 26th June 2009, 10:52 PM
GCFreak Offline
Registered User
 
Join Date: Jul 2008
Location: Wellington, New Zealand
Posts: 80
Make sure kernel-devel is also installed, because in some of the akmod-nvidia packages it isn'listed as a dependency.
__________________
Main
AMD Athlon X2 5200+ 2.7GHz | 2GB DDR2-800 | ASUS M2N-SLI Deluxe | 2x Albatron GeForce 8500 GT 256MB | Creative SoundBlaster Live! 5.1 | Creative Inspire P5800 5.1 | 510W Power Supply | Fedora 11 and Windows XP SP3
Server
2x Intel Xeon Dual-Core 2.4GHz | 2GB DDR-266 ECC | Dell PowerEdge 1600SC | ATI Rage XL IGP 16MB | Dell PERC 3/SC SCSI RAID Controller | SATA RAID Controller | Redundant Power Supplies | CentOS 5.3
Reply With Quote
  #7  
Old 26th June 2009, 11:23 PM
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,674
@GCFreak
thanks for the hint...won't be home till Sunday night with my Fedora box to actually try out the akmod install...I'll check for kernel-devel first.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 19/20, siduction and openSUSE 13.1 with KDE
Reply With Quote
Reply

Tags
akmod, kmod, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kmod vs akmod mathan Hardware & Laptops 13 27th January 2014 03:01 PM
What is the difference between an 'akmod' and a 'kmod'? Dead1nside Using Fedora 21 20th October 2013 05:11 PM
[SOLVED] akmod can not build kmod-nvidia-96xx saqer Using Fedora 5 26th July 2009 09:26 AM
how difference about kmod & akmod ? tonjaa Using Fedora 0 26th June 2009 11:32 AM
are akmod-nvidia and kmod-nvidia exclusive? marko Using Fedora 2 23rd February 2009 02:26 AM


Current GMT-time: 16:19 (Friday, 29-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat