LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2005, 06:54 AM   #1
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Rep: Reputation: 15
Upgrading the Linux Kernel


I am upgrading my RedHat 9 kernel from 2.4.20-6 to 2.4.20-24.9 (Intersect Alliance custom kernel for SNARE). If the base part of the kernel ("2.4.20") is the same, I shouldn't have any problems with software or hardware becoming incompatible should I? I'm just not sure what is entailed in the upgrade process.

Can I upgrade a 2.2.xx kernel to 2.4.20-24.9? Might I have compatibility issues then?
 
Old 06-15-2005, 07:16 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
u won't have any software /hardware pronlem untill u compile their support i ur kernel as it was in ur previous kernel

so use the config file of ur older kernel to build ur configuration for the new kernel

regards

Last edited by masand; 06-15-2005 at 07:17 AM.
 
Old 06-15-2005, 08:47 AM   #3
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Original Poster
Rep: Reputation: 15
I'm not really sure what that means. I guess I may have asked the question wrong.

What I'm asking is, for any normal system, is there anything that you need to consider when patching the kernel (only changing the EXTRAVERSION).

The VERSION, PATCHLEVEL, and SUBLEVEL (a.k.a. "2.4.20") is the same - the only thing changing is the EXTRAVERSION ("-24.9snare") at the end of the kernel version, making it "2.4.20-24.9snare".
 
Old 06-15-2005, 09:35 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
changiing the kernel extraversion won't make any different to kernel
only that when u run some
make modules_install

u will have modules install in different directory
this is usefull if u want to make a new kernel code and not overwrite the existing kernel
and do take care of proper configuration in the kernel

regards
 
Old 06-15-2005, 09:43 AM   #5
LinuxVB
Member
 
Registered: May 2005
Distribution: SuSE
Posts: 58

Rep: Reputation: 15
If the new kernel is a precompiled kernel provided in an RPM file you can easily install it alongside your previous kernel.
Since you are using RH9 I presume you are using grub as you bootloader and the new kernel RPM will add to your bootloder configuration without manual intervention. Both kernels will be available for booting, in case of an issue with the new kernel.
If you have kernel modules that need to be compiled against your kernel source, (such as nVIDIA display driver) you will have no X windows until you install the matching kernel sources and compile the driver against them.

Even if the VERSION, PATCHLEVEL, and SUBLEVEL (a.k.a. "2.4.20") is the same - the only thing changing is the EXTRAVERSION ("-24.9snare") at the end of the kernel version, making it "2.4.20-24.9snare", IF you have kernel modules that need to be compiled against your kernel source, you will need to recompile them in order to install them in the new running kernel.
 
Old 06-15-2005, 10:16 AM   #6
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks guys. You've been very helpful.
 
Old 06-15-2005, 12:52 PM   #7
thegoalie
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware fedora core gentoo debian free bsd
Posts: 29

Rep: Reputation: 15
man i have been wrapping my head over this and cant seem to figure it out but thanks to you i have
 
  


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
upgrading the Linux kernel question.. oasisbhrnw99 Linux - Newbie 1 10-26-2004 07:10 PM
Error in linux upgrading from kernel 2.4.18 to 2.6.7 appas Linux - Software 9 08-20-2004 04:54 AM
Upgrading Redhat Linux 9 kernel piggysmile Linux - Software 2 05-31-2004 09:03 AM
Upgrading my Linux Kernel MSwal2846 Linux - Networking 1 03-19-2004 11:23 AM
Upgrading the Linux Kernel to 2.5 Ken Ju-On Linux - Newbie 7 08-12-2003 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 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