LinuxQuestions.org
Help answer threads with 0 replies.
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 09-06-2001, 03:42 PM   #1
Zane
LQ Newbie
 
Registered: Sep 2001
Distribution: red hat 7.1
Posts: 2

Rep: Reputation: 0
Unhappy Kernel Problems - RH7.1 Kernel 2.4.5


I am rebuilding my kernel with the correct network driver support. I seem to be having problems. When I boot to my new kernel i get the message:

Loading linux-245 ...................
uncompressigng linux....ok, booting the kernel.

then nothing happens.


here are the steps i followed:

dowloaded the kernel source from www.kernel.org
file: linux-2.4.5.tar.bz2

copied the file to /usr/src

cd /usr/src
bunzip2 linux-2.4.5.tar.bz2
tar xvf linux-2.4.5.tar
make xconfig --- (I also have tried make menuconfig)
configured what was necessary
make dep
make clean
make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage.new

df /
/dev/hda6 is mounted on /


cd /etc
edited lilo.conf

it looks like this:

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

image=/boot/bzImage.new
label=linux-245
read-only
root=/dev/hda6

image=/boot/vmlinuz-2.4.2-2
label=linux
read-only
root=/dev/hda6


then I ran
/sbin/lilo
/sbin/lilo -q


rebooted the machine, tried to load the new kernel and got:

Loading linux-245 ...................
uncompressigng linux....ok, booting the kernel.

then nothing happens.


I have read and re-read the kernel howto and tried this procedure more than once getting the same result. If anyone can help it would be appreciated.
 
Old 09-07-2001, 01:23 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
when you change a kernel version, you need to copy the new System.map to the boot directory from the directory that the kernel was compiled in.
 
Old 09-07-2001, 08:56 AM   #3
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
"make bzlilo" should do that if I'm not mistaken..

I've not gotten my recompiled kernel running though I've tried quite a few things to make it work..

And I've not been able to find any usefull answers on the net..
I have however found lots of answers ending with :

"Hope you have better luck than me"

Last edited by Q25; 09-07-2001 at 09:00 AM.
 
Old 09-07-2001, 03:51 PM   #4
Zane
LQ Newbie
 
Registered: Sep 2001
Distribution: red hat 7.1
Posts: 2

Original Poster
Rep: Reputation: 0
now it really does not work

Thanks for the suggestions!

I tried copying the System.map over to the boot directory and that still gave me the same result as above.

I then tried make bzlilo from the /usr/src/linux directory and now by kernel tells me that it ran out of input data -- System halted.
this happens for both the original kernel and the new compiled one.

I guess it is time for a new load then try some more.
 
  


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
KDE 3.1.3 on RH7.3 (2.4.20-19.7 kernel) maximizer Linux - Software 0 08-06-2003 05:50 AM
having problems upgrading kernel: RH7.3, 2.4.18 buckles Linux - Newbie 0 06-16-2003 11:24 AM
updating kernel on rh7.2 rsc Linux - Newbie 4 11-22-2002 10:36 AM
RH7.2 and kernel recompilation Sylhouette Linux - General 2 12-17-2001 04:58 PM
kernel comilation rh7.1 Martin Linux - General 1 06-02-2001 06:34 PM

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

All times are GMT -5. The time now is 03:08 PM.

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