LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-14-2004, 11:33 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
BIG problems trying to compile a new kernel


Hi,

I read a thousand HOWTO's about making a new kernel and I just can't seem to do it and was wondering if someone could tell me where I'm going wrong.

I've got a fresh install of RH9 and have installed a new kernel source (2.5.75).
I've made a new symlink ln -s /usr/src/linux-x.x.x /usr/src/
then I do make mrproper
then make xconfig
I then load one of the .configs that came with the RH9 kernel source since I figure this will be ok, save and do
make bzImage

that part goes ok.
Then, I go to make modules and whilst it is doing this,I notice some warnings to the effect that something is 'deprecated'.I notice about 20 of these warnings and when making modules has finished,I get several errors reported.Things like :
make: ***[driver/char/xxxx] Error 1

if I try and make modules_install it won't do it and spits out more errors at me.

Can someone offer some advice please?
I've spent about 4 solid days trying to figure this out.

thanks,
Ludwig
 
Old 01-14-2004, 11:58 AM   #2
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
1) Why on earth are you trying to install 2.5.75??????? For heavens sake dude, that is the unstable branche that alraidy produced a stable series. Either go with 2.6.x or the 2.4.x but not 2.5.x
2) If you have the .config file of RH 9, why didn't you just copy that file to the kernel source directories and do "make oldconfig"

I would doownload the latest STABLE (which is 2.6.1 btw) and install that.
 
Old 01-14-2004, 12:21 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Quote:
1) Why on earth are you trying to install 2.5.75??????? For heavens sake dude, that is the unstable branche that alraidy produced a stable series. Either go with 2.6.x or the 2.4.x but not 2.5.x
oh.
I didn't know it was unstable.
I thought all the kernels at Kernel.org were ok to download.

Quote:
2) If you have the .config file of RH 9, why didn't you just copy that file to the kernel source directories and do "make oldconfig"
Forgive me,but I'm new to this.
So,if you put a .config file in the kernel source directory and do "make oldconfig" it sets it up for you automatically,without you having to load it into that xconfig thingy?

thanks for your help,
Ludwig
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
big problems w/ new slack install + kern compile neoninja Slackware 4 11-04-2003 10:03 AM
Slackware 9, 2.4.21 kernel, toshiba 2435 = big problems Linux User #522 Linux - Laptop and Netbook 10 07-22-2003 02:32 PM
Kernel upgrade = Big problems! chrise Linux - General 13 04-15-2003 08:17 AM
Kernel compile error: System is too big for standalone boot from floppy... nutshell Linux - General 1 03-09-2002 10:11 AM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration