LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Applications (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-applications-66980/)

OldBob 06-20-2003 11:38 PM

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 ?

chakkerz 06-21-2003 05:57 AM

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).

OldBob 06-21-2003 06:47 AM

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.

Hangdog42 06-21-2003 07:55 AM

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.

OldBob 06-21-2003 01:14 PM

Hangdog42,

Have you got a URL link for the Slackware forum ??

chakkerz 06-22-2003 05:22 AM

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 :)

OldBob 06-22-2003 06:56 PM

chakkerz,

Thanks for your help.

I printed out DaOne's compiling answer.


All times are GMT -5. The time now is 11:41 PM.