LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-21-2003, 04:27 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
Recompiling the kernel


I spent some time last night recompiling and upgrading the kernel on a test system I have (RH9). I decided to try the 2.5.72 kernel for kicks. Well I did the make and got my bzImage. I added it to the /boot/ directory, and added an entry in lilo for that image. Rebooted the box and I get the new kernel as a selection, yay! Well I select it and hit enter. Then I get this:

Code:
Loading linux-2.5.72......................
Uncompressing Linux... Ok, booting the kernel.
Normal, I know, but it just stops after that. Nothing happens. I'm thinking I either screwed something up in my lilo.conf or this build is screwed up (which is quite possible considering it's in active development). Here is my lilo.conf file:

Code:
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
        label=linux
        initrd=/boot/initrd-2.4.20-8.img
        read-only
        append="root=LABEL=/"

image=/boot/vmlinuz-2.5.72
        label=linux-2.5.72
        read-only
Lastly, here are the directions I loosly followed. Things seemed to have changed a lot from 2.4 to 2.5 in kernel setup. http://www.linuxhelp.net/guides/kernel/ .
 
Old 06-21-2003, 04:36 PM   #2
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Yeah this happens for me too. It's probably either :

a) you've added somthing without somthing else when you compiled, ie, dependencies.

b) this kernel is beta, it may or may not work for your setup YET!!

I've had varied degree's of success compiling beta kernels, but never one that actually boots.

Anyone add anything to this???

just as an afterthought...... are you aware if you copy the old kernel config file to a file called .config you can use your last kernels configuration settings... give it a shot... however even this did not work for me. I'm assuming this kernel is still not stable enough for my system. (I'm compiling it as athlon processor, slackware 9 distro.)

Last edited by Evilone; 06-21-2003 at 04:39 PM.
 
Old 06-21-2003, 06:06 PM   #3
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
2.5 is under development. Don't use it... try 2.4.20.

Second, you say it just sop after showing "uncompressing"... did your screen goes blank? if yes, there is a problem with your "frame buffer device"
 
Old 06-21-2003, 06:08 PM   #4
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Half_Elf
2.5 is under development. Don't use it... try 2.4.20.
I'm already using 2.4.20, I just wanted to try something new. I know 2.5 is being developed. That's why I wanted to try it.

Quote:
Originally posted by Half_Elf
Second, you say it just sop after showing "uncompressing"... did your screen goes blank? if yes, there is a problem with your "frame buffer device"
No, it just hangs with those two lines showing on the screen.
 
  


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
recompiling kernel DaveyB Linux - Newbie 3 08-10-2004 09:45 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
What does recompiling the kernel do? direwolf20 Linux - Newbie 2 10-08-2003 12:06 AM
What use does recompiling the kernel have? twinkers Debian 8 10-06-2003 10:46 AM
recompiling kernel slacknewbie Linux - General 3 05-08-2002 10:24 AM


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