Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-08-2005, 08:31 AM   #1
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Rep: Reputation: 15
Compiling kernels 2.6.10

I thought I would post this to help anyone else. I dont think I am a newbie but you never know. The point is this. I have been trying to get RH9 to be upgraded to 2.6.7/9/10 kernel and it has always been a nightmare module-init-tools has typically been the worst offender also make oldconfig gets allot of unreferenced symobols. I have a simple piece of advice when trying to move from 2.4 kernel to 2.6

Get the latest 2.4 kernel
unzip & untar
cp /boot/config-2.4* ./.config
where ./ is where you untared the latest 2.4
make oldconfig
get that kernel running
When you have that working
unzip & untar the 2.6 kernel
then do a
make oldconfig

Yes its longer and things should not be that hard but I am just doing a move to 2.6.10 and after 2 days of trying to get 2.4.20 to 2.6.10 by doing 2.4.20 -> 2.4.29 -> 2.6.10 it worked allot easier. Now I have made a disk and dont care untill I have to do it again. I am not going to detail all the problems I had, cause google has them all. If anyone thinks this is dumb advise please say so.
Old 02-08-2005, 08:58 AM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Why would you do this? The way I do it is get the new kernel, untar it's source and run make mrproper; make gconfig; make; make modules; make modules_install; and that's it.

What problems did you encounter with your move to 2.6.10?
Old 02-08-2005, 09:13 AM   #3
Registered: Sep 2004
Distribution: Make my own
Posts: 30

Original Poster
Rep: Reputation: 15
Module init tools were a nightmare tried 3.0 and 3.1 follwed the make to the word but it fails and does not tell you about it. The links gets messed run it twice and all the .old get the 3.0 version. But none of that will be fixed by doing a staged upgrade. the config-2.4.20 when does as a make oldconfig on 2.6.10 will miss symbols in the .config. If you do it 2.4.20 -> 2.4.29 -> 2.6.10 then it picks up the HW config allot cleaner.


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
Questions about compiling kernels/programs... finklewicz Linux - Newbie 2 05-12-2005 05:14 PM
after compiling, none of the kernels will boot hubabuba Fedora 1 05-02-2005 12:31 PM
getting/compiling kernels ninmonkeys Linux - General 1 11-06-2004 08:19 PM
compiling kernels for different systems alaios Linux - General 2 11-06-2004 04:48 PM
compiling kernels Doug Hammond Linux - General 4 02-18-2003 03:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration