LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2002, 11:11 AM   #1
rootlinux
Member
 
Registered: Dec 2001
Location: California
Distribution: Red Hat 7.2, Slackware 8.0
Posts: 53

Rep: Reputation: 15
Arrow Kernel Compiling revisited!


Hello everyone. Well, im getting closer to compiling my first kernel. Thought I had it, but i'm coming up short.

I was pretty excited at this point, because I did a lot of research and felt that I had a pretty good idea of the correct way to compile a kernel. So let me give a run down of what I did: (FYI, running RH 7.2)

Downloaded source to /usr/src. Renamed current linux dir to the kernel in use (2.4.9-31)

Untarred the ball and renamed the directory linux to linux-2.4.18.

Changed to the directory and ran make xconfig.
Ran Make dep
ran make clean
ran make bzImage followed by make modules ; make modules_install.

copied over the kernel image and system.map to /boot. Edited lilo.conf and ran lilo.

At this point, I thought I had it made.
Well, I didnt. This is what happened, when I rebooted and chose my new kernel.

It proceeded to uncompress the kernel after I selected it from lilo.

Seemed to working ok, BUT, right after it was going through the part where it would say OK or FAILEd, i started receiving FAILED messages: Here are a couple that I can recall off the top of my head:

I remember one was that it could not find /etc/fstab. Another was that it could not find the settings for network/eth0. (I'm tring to pull this from memory so bear with me) Eventually, it does not finish booting. One other that pops in my mind is that it cant find kudzo.

So, when I thought I had it all figured out, I get a slap in the face.

Anyways, questions: Could it be the options I picked when I ran make xconfig? Since this is my first kernel compile, I thought I did it right. I'm not so sure now.

Does anyone have any idea what could possibly be wrong and if so, a solution?

I'm a little zonked here, so any help here would be greatly appreciated.

Thanks everyone.

 
Old 05-14-2002, 02:45 PM   #2
rootlinux
Member
 
Registered: Dec 2001
Location: California
Distribution: Red Hat 7.2, Slackware 8.0
Posts: 53

Original Poster
Rep: Reputation: 15
I'm wondering if I did something wrong while setting up items when I executed make menuconfig? I'm kinda clueless here as to why this is happening.

I believe that one place it hangs is when its checking for USB devices.

Any idea here?

RL
 
Old 05-15-2002, 06:10 AM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Do you still have a copy of your original kernel tree (source)? If your original kernel work(ed) fine, then try copying one of the hidden files (can't remember it's filename - not at Linux box) over to your new kernel tree and then compile.
 
  


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
window managers revisited equinox Linux - General 6 01-17-2005 08:42 PM
ATI Drivers, Revisited beckzach05 Linux - Software 0 01-02-2005 08:11 PM
floppy problem revisited itsjustme Linux - General 1 11-09-2003 09:40 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM
Fonts...revisited! rootlinux Linux - General 1 03-31-2002 10:09 AM

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

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