Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th October 2012, 12:15 PM
chaud lapin Offline
Registered User
 
Join Date: Nov 2004
Posts: 43
linuxchrome
nvidia madness

Hi all,

Just now I ran yum update. There was an error message to the effect that the latest nvidia kmod (kmod-nvidia-3.6.1-1.fc17) didn't match the latest kernel, which is still in the 3.5 range.

So I reran yum excluding kernel and kmod-nvidia. Unfortunately, yum did update org-x11-drv-nvidia, so now X won't start, saying their is a mismatch between the nvidia kernel module and the X driver:

Code:
NVIDIA: API mismatch: the NVIDIA kernel module has version 304.37,
but this NVIDIA driver component has version 304.51.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version
Looking in my yum log, I see the previous version of the driver I installed was indeed: xorg-x11-drv-nvidia-304.37-1.fc17.x86_64. I try downgrading to that with yum, but that particular version no longer appears to be in the repos.

A couple of questions:
  1. WTF is a version of the nvidia driver that is newer than the current kernel doing in the repos? I mean, that isn't going to work, right?
  2. How can I recover from this ungodly mess? I can't start Gnome.
  3. How do I prevent it from happening the future? Should I just simply exclude kernel* kmod-nvidia* and the Xorg driver in yum.conf and upgrade that stuff one every six months with the new Fedora and forget about these disruptive intermediary updates?

TIA

Last edited by chaud lapin; 12th October 2012 at 12:20 PM.
Reply With Quote
  #2  
Old 12th October 2012, 12:19 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: nvidia madness

Quote:
Originally Posted by chaud lapin View Post
Hi all,

Just now I ran yum update. There was an error message to the effect that the latest nvidia kmod (kmod-nvidia-3.6.1-1.fc17) didn't match the latest kernel, which is still in the 3.5 range.

So I reran yum excluding kernel and kmod-nvidia. Unfortunately, yum did update org-x11-drv-nvidia, so now X won't start, saying their is a mismatch between the nvidia kernel module and the X driver:

Code:
NVIDIA: API mismatch: the NVIDIA kernel module has version 304.37,
but this NVIDIA driver component has version 304.51.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version
Looking in my yum log, I see the previous version of the driver I installed is: xorg-x11-drv-nvidia-304.37-1.fc17.x86_64. I try downgrading to that with yum, but that particular no longer appears to be in the repos.

A couple of questions:

WTF is a version of the nvidia driver that is newer than the current kernel doing in the repos? I mean, that isn't going to work, right?

How can I recover from this ungodly mess? I can't boot.

How do I prevent it from happening the future? Should I just simply exclude kernel* kmod-nvidia* and the Xorg driver in yum.conf and upgrade that stuff one every six months with the new Fedora?

TIA
It takes time for the fedora and rpmfusion repos to sync (your mirror was late with the 3.6 kernel).

https://admin.fedoraproject.org/upda...l-3.6.1-1.fc17


Quote:
How do I prevent it from happening the future?
Use akmod-nvidia

Last edited by Yellowman; 12th October 2012 at 12:26 PM.
Reply With Quote
  #3  
Old 12th October 2012, 03:05 PM
chaud lapin Offline
Registered User
 
Join Date: Nov 2004
Posts: 43
linuxchrome
Re: nvidia madness

Thanks. I disabled yum-plugin-fastestmirror, cleared the yum cache, reran "yum update" and that pulled in the new 3.6 kernel.

It would seem the "fastest" mirror is not always the most up-to-date.
Reply With Quote
  #4  
Old 12th October 2012, 06:43 PM
nbecker Offline
Registered User
 
Join Date: Feb 2004
Posts: 76
linuxchrome
Re: nvidia madness

How to recover:

in grub boot screen, hit 'e' to edit. move down to the kernel invocation line (probly ends with 'nouveau'), and add '3'. To start without X.

Login as root on tty. yum remove xorg-x11-drv-nvidia

reboot
Reply With Quote
  #5  
Old 12th October 2012, 06:59 PM
chaud lapin Offline
Registered User
 
Join Date: Nov 2004
Posts: 43
linuxchrome
Re: nvidia madness

Thanks, I'll make a note of that, for the next time.

Is it worth upgrading kernel and nvidia between Fedora releases? If I was running extremely new hardware, I might need to, but I'm not. Your thoughts?
Reply With Quote
  #6  
Old 12th October 2012, 10:51 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: nvidia madness

You can stop upgrading the kernel and the driver if you choose to.
And as Yellowman said, use akmod-nvidia. The first time you boot a new kernel it builds the nvidia module (it will still download and install the kmod package when it's available but that doesn't affect anything).

It isn't really the issue you had (you for some reason had the new driver before the kernel) but it's a useful tip.
Reply With Quote
  #7  
Old 13th October 2012, 06:27 AM
chaud lapin Offline
Registered User
 
Join Date: Nov 2004
Posts: 43
linuxchrome
Re: nvidia madness

Installed akmod-nvidia. Thanks.
Reply With Quote
Reply

Tags
madness, nvidia

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
Openvpn Madness sircolin Servers & Networking 2 23rd September 2008 07:19 PM
Yum Update Madness progrock Using Fedora 13 7th November 2006 03:32 AM
Boot madness... GrayFox Hardware & Laptops 1 27th January 2006 02:54 AM
Yum Update Madness meslick Using Fedora 4 19th December 2005 01:19 PM


Current GMT-time: 19:39 (Wednesday, 22-05-2013)

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