LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2002, 02:50 PM   #1
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Rep: Reputation: 15
how do i upgrade my kernel ?


I need to upgrade my kernel to a newer version, Ive never done this before so i havent a clue what to do.
At the moment ive got the 2.4.2-2 kernel (under redhat 7.1) and i want to upgrade to 2.4.9 upwards.
I checked kernel.org and downloaded a kernel patch version 2.4.18, but i also looked through redhat's ftp
site and found kernel RPMs there.

Should i use the kernel patch (2.4.18) and could i patch a 2.4.2-2 kernel??

or should i download an RPM from the redhat ftp site and use that??

Also, because ive never done this before id be gratefull if someone could tell me what im supposed to do,
just so i dont go and bugger everything up :S

thanx
 
Old 05-06-2002, 03:15 PM   #2
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
I recommend this how-to:

http://www.linuxorbit.com/modules.ph...icle&artid=494

If you're making a big jump in kernel versions, you will want to get the full source for the kernel you need and compile it. Otherwise, you'd have to apply every patch for every version between your current kernel and the desired kernel.

Now, I'm not sure how RedHat kernel RPM's work, but it may be similar to the patch method.

j.
 
Old 05-06-2002, 09:14 PM   #3
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Rep: Reputation: 15
Smile do you need more help?

just checking if that howto did it for you. i have upgraded my kernel several times successfully if you have any specific questions.

vance.
 
Old 05-06-2002, 09:41 PM   #4
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Kernel patches can be applied on to the source code of an unmodified (Red Hat modifies the kernels it ships) kernel one minor version behind the patch.

i.e. you should applied the 2.4.18 kernel patch only to a vanillia 2.4.17 kernel.

I suggest downloading the complete 2.4.18 tarball and reading the Kernel-HOWTO which you can find at http://www.linuxdoc.org/HOWTO/
 
Old 05-06-2002, 11:16 PM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Yeah, all these guys are correct guerilla. I hope you have fast connection too. The 2.4.18 full kernel is 30 megabytes, so in a 56k, that'll take some time.
compiling the kernel is the easy part, just type 4 commands. The time consuming, and the part which you need to really understand by knowing your computer very well is the kernel configuration, when you type make menuconfig. That'll take you some time.
Other than that...I know how you feel. I can still remember the first time I actually sucessfully compiled the kernel. I was scared like a little bunny running away from a wolf. It aint that bad however,
scream if ya need help.

zLinuxz
 
Old 05-07-2002, 09:28 PM   #6
Jazm
LQ Newbie
 
Registered: Apr 2002
Distribution: RH & SuSE
Posts: 17

Rep: Reputation: 0
Read through this thread for additional user experience.kernel compile
 
Old 07-29-2002, 11:47 AM   #7
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
question on cusotmized kernel

I have no experience in upgrading kernel. I have one Q.
I have RH7.1, 2.4.2 kernel. I applied some patches for IP masquerade and LM hardware sensors.

If I upgrade my kernel to later than 2.4.2 version, do I need to reapply the patches again, using the same method I used first time?

Thank you.
 
Old 08-13-2002, 10:53 AM   #8
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Maybe.

If the patches you applied were kernel updates to "fix" or "add functionality/compatibility", then they may already be included in the newer kernels. Otherwise, you probably will have to apply them again. Just make sure that the patches will work ok with then new kernel.

j.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel Upgrade now Kernel Panic saltireboy Slackware 9 01-23-2006 11:44 PM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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