LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-05-2007, 02:28 PM   #1
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Rep: Reputation: 16
FC6 kernel issue, how to downgrade kernel?


I installed FC6 on a Dell PE2950 server, dual core, dual CPU 8G ram etc. After installing it ran fine for at least 2 weeks and I needed to move it to a different workbench, so I shut it down and moved it. Now I get a No IRQ Handler for vector error, and I have to pull the plug. I believe it is happening at the network level as it doesnt do it if my nics are unplugged.

Anyway, I believe this is kernel related as a few searches have turned up similiar issues running 2.6.19 kernel in FC6. So how can I downgrade the kernel in this without network connectivity, and without rebuilding the system?

Last edited by ACDII; 03-05-2007 at 02:30 PM.
 
Old 03-05-2007, 02:39 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
When the system boots and you get the count-down screen, hit enter. You'll be presented with the list of installed kernels. Select the one you want and hit enter.
 
Old 03-05-2007, 02:41 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
How did you upgrade the kernel? If you used yum or just rpm to install a new kernel .rpm package, chances are you do have the old kernel there too -- check your /boot for what files reside there. Basically because the kernel can be installed from a .rpm binary package, you could just find your preferred version of the kernel from the web, download it (and it's dependencies -- correct versions of them, note) and install them using rpm. Read
Code:
man rpm
I guess that explains which command line options you use to downgrade and possibly force downgrading. Because rpm doesn't like you having two different versions of the same package installed simultaneously, you may have to do some tricks to downgrade (not difficult), but it doesn't prevent you from having multiple kernels around. Generally when upgrading a kernel you should never remove the old kernel before you're 100% sure (or even then) that the new one works and you don't need the old one anymore. That's why, when you upgrade your kernel in a binary distribution like Fedora, it doesn't (read: should not) usually remove the old kernel files.

If you happen to have the old kernel files in your /boot you can simply use your bootloader (GRUB nowadays I guess) to boot one of the older ones. And if you like that permanent, configure your bootloader to do so. There are sites on the web with more precise information about this (kernel.org too), and what it means when you upgrade a kernel or have multiple kernels which you want to use, so go ahead -- search and read. My advice (though this should have been heard before, and not after, this like usually) is that if you're doing a kernel upgrade -- especially on a server, and especially especially on an "important" "work" "server", first test the new kernel on an identical test environment for a long enough time (how long is that? ) before doing the upgrade on the work machine, and when you do, always have the old kernel there for backup.
 
Old 03-06-2007, 10:48 AM   #4
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Original Poster
Rep: Reputation: 16
Would running yum update upgrade the kernel? Thats the only thing I did after building it.
 
Old 03-06-2007, 11:44 AM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Yes, yum update will install a new kernel if it is available. It will leave the prior kernel available to be selected as I indicated above.
 
Old 03-06-2007, 11:59 AM   #6
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Original Poster
Rep: Reputation: 16
OK, I will give it a looksee and hopefully get it back to working again without rebuilding it.
 
Old 03-06-2007, 02:29 PM   #7
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Original Poster
Rep: Reputation: 16
FIXED
Thanks!!

This was easier than I thought it would be. I never saw a choose kernel at boot screen when it started up, but I found the grub.conf file and commented out the newer kernel, it had both listed. Gave it a reboot and it came up fine. Real easy fix!!!!!
 
Old 03-17-2007, 11:24 AM   #8
sn68
Member
 
Registered: Oct 2005
Distribution: FC5
Posts: 338

Rep: Reputation: 30
Quote:
Originally Posted by ACDII
FIXED
I never saw a choose kernel at boot screen when it started up
You can also comment out "hiddenmenu" in grub.conf to see the boot choice menu
 
Old 03-17-2007, 01:22 PM   #9
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
If you are not seeing the count-down, your monitor may be taking a while to sync (and the timeout expires before you see it). You can increase the timeout in the grub.conf with, for example:

timeout=15
 
Old 03-21-2007, 02:30 AM   #10
Maybe
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by macemoneta
Yes, yum update will install a new kernel if it is available. It will leave the prior kernel available to be selected as I indicated above.
My machine was running 2.6.19-1.2911.fc6. Before the DST change, I allowed my computer to be updated by installing about 80 packages. After the install, I had 2.6.19-1.2911.6.5.fc6. Once updated, my nvidia drivers failed to load; it says I don't have nvidia drivers for 2.6.19-1.2911.6.5.fc6. I've tried all kinds of stuff to get the nvidia drivers to work with 2.6.19-1.2911.6.5.fc6, including a yum update for which there was nothing to install, but have had no luck. Booting into 2.6.19-1.2911.fc6 does not have the problem so I've been manually selecting the older kernel at boot time for about a week and a half.

So, System Patches are also suppose to update the kernel too... Right?

Rob
 
Old 03-21-2007, 09:08 AM   #11
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The nvidia kernel driver is third party software. As a result, the rpm for the kernel has no knowledge of it - it's not marked as a dependency. You need to manually update the nvdia driver each time you update the kernel.

The official nvidia installer works with the latest kernel.
 
  


Reply



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
ACX100 TI chipset WIFI card 2.6.14 Kernel, downgrade kernel? fieldyweb Linux - Wireless Networking 1 02-11-2006 03:56 AM
downgrade kernel zoings Linux - Software 2 11-07-2004 05:46 PM
Downgrade kernel ,dual kernel boot beep_beep Linux - Software 0 08-17-2004 01:25 AM
should i downgrade my kernel? help please sweet*amber Linux - Newbie 3 04-30-2004 09:07 PM
kernel downgrade Pleun Linux - Newbie 3 12-16-2003 06:09 AM

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

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration