LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-25-2006, 02:30 AM   #1
jaychamp
LQ Newbie
 
Registered: Jan 2006
Location: FL
Distribution: Kubuntu(Dapper)
Posts: 26

Rep: Reputation: 15
"Module nvidia not found" after update


I just did an update for FC4, told me to reboot to see if the kernel works, and now the X Server will not load.

Quote:
Fatal: Module nvidia not found.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
I don't know if it matters but I did update to the latest nvidia driver(d/l from nvidia), and all was fine until I did this FC update. Of course I deleted the driver so can't reinstall it.

Any ideas?

Keep in mind that I'm new to Linux.
 
Old 01-25-2006, 02:37 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Never delete an old package until you've got the new one working!
Can you boot into an older kernel?

As for the driver you need, the latest isn't necessarily the one that works for you. The one you need is the one that corresponds to your kernel number. Actually you need two packages: nvidia-glx and kernel-module-nvidia<kernel number>.

Check out www.fedorafaq.org on how to get it esily through yum or use yumex and check your kernel version with "uname -r".
 
Old 01-25-2006, 02:57 AM   #3
jaychamp
LQ Newbie
 
Registered: Jan 2006
Location: FL
Distribution: Kubuntu(Dapper)
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linmix
Never delete an old package until you've got the new one working!
Not sure what you mean. Everything was working ok until I did the update. Unless I'm misunderstanding. EDIT: Are you talking about the nvidia driver? The only one I deleted is the tar I d/l from nvidia.

Quote:
Can you boot into an older kernel?
Not sure how to do that, being a newb and all

Quote:
As for the driver you need, the latest isn't necessarily the one that works for you. The one you need is the one that corresponds to your kernel number. Actually you need two packages: nvidia-glx and kernel-module-nvidia<kernel number>.

Check out www.fedorafaq.org on how to get it esily through yum or use yumex and check your kernel version with "uname -r".
I tried:
Code:
yum install nvidia-glx kernel-module-nvidia-$(uname -r)
And all I got was:
Code:
No match for argument: nvidia-glx
No match for argument: kernel-module-nvidia-2.6.14-1.1656_FC4

Last edited by jaychamp; 01-25-2006 at 03:10 AM.
 
Old 01-25-2006, 03:21 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
The easy way to get nvidia drivers to work on fedora is installing the rpm from the livna repo. If you try to install without setting up the repo as per the Fedora Faq (or alternatively Stanton-Finley) and enableing it (yum --enablerepo=livna install ...) you'll get the 'no matching argument' line.

As for booting into an older kernel, when you boot up you should see a grub boot screen informing you the something ( a kernel version) will be booted in a coupl of seconds. If you hit any of the arrow keys before that time you'll be presented with a full list of installed kernels that can be booted. Just choose the number preceding the one at the top and see if the nvidia module will load. Then install the rpm's from livna. One warning though. Scince you'll be using a different kernel the 'uname -r' thing won't work the way you want it. Note down the name of the kernel you want the nviaid drivers for (as per your post kernel-module-nvidia-2.6.14-1.1656_FC4) and type the full name.

Alternatively do yum install yumex.
Yumex is a graphical frontend for yume and allows you to easily enable repos and select packages from a list.
 
Old 01-25-2006, 03:30 AM   #5
jaychamp
LQ Newbie
 
Registered: Jan 2006
Location: FL
Distribution: Kubuntu(Dapper)
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks linmix.

I just realized the older kernel was on the boot screen, wasn't paying attention before

Going to try what you said later as I'm about to get some sleep.

Is there anyway to get rid of the new kernel or am I just asking for more trouble?
 
Old 01-25-2006, 03:39 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
You typically need to reinstall the Nvidia driver after every kernel upgrade. It's one of the annoyances of using a proprietary driver.
 
Old 01-25-2006, 10:33 AM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
If you installed the kernel through rpm you can:
# rpm -e kernel<number>
but be very careful not to uninstall a running kernel!!
There's no need to uninstall it though. Just get the right drivers installed first.
Alternatively edit grub.conf to boot from the kernel of your choice (instead of the latest)
 
Old 01-25-2006, 12:20 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
oneandoneis2 is right. There is no reason to uninstall the new kernel, just reinstall the nvidia drivers so that the nvidia module is built for the new kernel.
 
Old 01-25-2006, 08:44 PM   #9
jaychamp
LQ Newbie
 
Registered: Jan 2006
Location: FL
Distribution: Kubuntu(Dapper)
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for the replies.

Will tackle it when I get home from work.

Is their some kind of tutorial for editting my boot screen?
 
Old 01-26-2006, 04:23 AM   #10
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
In what way do you want to edit it? Most of the settings controlling it are stored in /boot/grub/grub.conf. You could try the obvious searching Google, or if there is something specific you want to do, ask us.
 
Old 01-26-2006, 07:05 PM   #11
jaychamp
LQ Newbie
 
Registered: Jan 2006
Location: FL
Distribution: Kubuntu(Dapper)
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Gethyn
In what way do you want to edit it? Most of the settings controlling it are stored in /boot/grub/grub.conf. You could try the obvious searching Google, or if there is something specific you want to do, ask us.
Originally I wanted my older kernel to boot as default. Since then though I got the new kernel to work after reinstalling the nvidia driver as suggested. So I guess I'd like to just remove the old kernel from the boot list but maybe that's not such a good idea. I would like to know how to do it though for future reference.
 
Old 01-28-2006, 09:36 AM   #12
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
If you installed the kernel with rpm, uninstalling the rpm will automatically modify your grub.conf entry and remove the kernel entry it has for the removed kernel.

Otherwise you would have to open grub.conf in the text editor of your choice and simply delete the lines relative to the kernel you have removed. A staddard grub.conf entry will look something like this:
Code:
title Fedora Core (2.6.14-1.1637_FC4)
        root (hd0,1)
        kernel /vmlinuz-2.6.14-1.1637_FC4 ro root=/dev/hda9 rhgb quiet
        initrd /initrd-2.6.14-1.1637_FC4.img
but as every new entry starts with a 'title' line it's very easy to see exactly what you need to remove.
Aditionall you may want to check the value of the 'default' entry in the grub.conf. If it is set to 0, grub will by default load the 1st entry (block after 'title') it encounters. 1 will load the second etc (Grub starts counting at 0). Of course you can always load the other entries as well, but you'd have to select them within the 'timeout' time (another antry you can adjust to suit your needs).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Symbol not found" when loading ath_pci module kf8rd Linux - Networking 3 06-29-2005 02:27 PM
mkinitrd failed with message "no module raid0 found for kernel 2.6.9" ythevenot Red Hat 3 12-07-2004 09:15 PM
NVidia GeForce 4 on Mandrake 10.1 shows "Generic" module... SAFX Mandriva 12 10-16-2004 12:36 PM
SuSE Linux 9.1 Personal: Error message "module usb_uhci not found" johnerskine Linux - Newbie 2 06-24-2004 11:02 AM
ADSL modem and "FATAL: module usbcore not found" popero Linux - Hardware 4 06-04-2004 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration