LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2003, 12:38 AM   #1
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Rep: Reputation: 30
Kernel Applications


Will the latest kernel version work with any "generation" of Linux ?

Presently, there is 2.0.X, 2.2.X and 2.4.X - will 2.4.X replace an earlier version ?

In other words, I have RH 6.2, the kernel is now 2.2.14-5.0 could I replace this with a 2.4.X kernel or would I be limited to the 2.2.X series ?
 
Old 06-21-2003, 06:57 AM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
there are differences between the different kernel versions (obviously)

From memory (and lack of research) rumours go like this: 2.0.x is outdated, 2.2.x has recently been updated (recently as in 2month or so ago) but that seemed to be perceived as a surprise from what i gathered on /. and there were claims it was likely to be the last 2.2.x series kernel. 2.2.x series kernel are generally recommended for older hardware, rather than flash new stuff.

2.4.x series kernel are more beneficial for current hardware, and incorporate alot of features for new stuff, for instance if Hyperthreading support will be found in a linux kernel it will be in a 2.4 series kernel far more likely, than in a 2.2 series kernel (dunno if there is any hyperthreading support as yet though).

2.5 series kernels are development kernels, so they are more likely to be unstable.

In shorth you can run any generation kernel but i don't think all software will be 100% compatible between a 2.2 and a 2.4 series kernel.

My best advice would be, try it, if it doesn't work well after you update the kernel, go back (if the target machine is old, you might want to compile the kernel on a newer machine but giving it backward hardware compatibility, so you don't have to wait a day and some more).

If anyone could shed some more light on this, please do, it isn't something i've looked into too much (heck i could be dead wrong here, though this is what i gathered).
 
Old 06-21-2003, 07:47 AM   #3
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
chakkerz,

Thanks for your very complete response.

I downloaded 2.4.20.bz2 when it first became available.

I planned to use it for RH [now 2.2.14-5.0] because my modem does not work.

I also planned to use it for Mdk 9.0 [now 2.4.18-6mdk] Mdk is on different HD but shares modem [which does work] with RH.

As of now, I have never learned to "compile the kernel" and the instructions are so cryptic they still scare me.
 
Old 06-21-2003, 08:55 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
OldBob,

If compiling your own kernel scares the bejesus out of you, pop into the Slackware forum here and have a read of DaOne's post on compiling kernels (it is the sticky post at the top of the forum). He lays out a nice step-by-step method that works.

The one thing you want to do before you do anything else is to make a copy of your current kernel. I copied my good kernel to vmlinuz.good and my System.map to System.good and then I added a new entry to LILO. When you compile a kernel using DaOne's procedure, you current kernel is renamed to vmlinuz.old (which is good). However, if something goes wrong and you compile again, the first bad compile gets renamed to vmlinuz.old and you no longer have a good kernel.
 
Old 06-21-2003, 02:14 PM   #5
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
Hangdog42,

Have you got a URL link for the Slackware forum ??
 
Old 06-22-2003, 06:22 AM   #6
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
He meant the slackware forum on this site, the url is
http://www.linuxquestions.org/questi...?s=&forumid=14

the thread in particular is
http://www.linuxquestions.org/questi...threadid=49035

compiling a kernel is really quite straight forward. if you do all the things that need to be done, and don't overwrite you're existing kernel, you'll be right.
Besides you have us if you have a hiccup
 
Old 06-22-2003, 07:56 PM   #7
OldBob
Member
 
Registered: May 2003
Location: New Jersey
Distribution: Red Hat 8.0 + PCLinuxOS - 2007
Posts: 160

Original Poster
Rep: Reputation: 30
chakkerz,

Thanks for your help.

I printed out DaOne's compiling answer.
 
  


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
No sound in certain applications after kernel upgrade ksgill Linux - Newbie 5 06-05-2005 11:48 AM
Cyberdrive crashes applications (possible 2.6 kernel problem) Intacto Linux - Hardware 2 03-24-2005 02:15 PM
Compiling applications into the kernel? lrt2003 Linux - General 3 05-13-2004 11:32 AM
getting applications to run on Kernel 2.6.4 jwspring Linux - Software 3 04-02-2004 09:38 PM
status of current applications after kernel upgrade (2.4.x -> 2.6.x) yangkuo Linux - Newbie 6 01-20-2004 03:04 AM


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