LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 08-31-2002, 02:52 PM   #1
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Rep: Reputation: 15
kernel doesnt load


Ive just finished compiling my brand spanking new kernel but when i try to boot it, my computer just restarts. (i made sure to copy the kernel image to /boot, and add the new kernel to lilo.conf and then run /sbin/lilo to update the lilo.conf file)

What have i done wrong / what am i missing out ??
 
Old 08-31-2002, 04:01 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Could you give some details? What do you see before and after it reboots?
 
Old 08-31-2002, 05:15 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
yeah, post what the kernel messages are when you start botting the new kernel you compiled. Some times is some configuration error of some hardware, which result in the super panic of the kernel and the thing reboots.
 
Old 08-31-2002, 09:23 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
This is happening only when you try to boot your new kernel, is that right?
 
Old 09-01-2002, 02:26 AM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
that's what he said...
 
Old 09-01-2002, 05:36 AM   #6
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
Unfortunately, Im not actually seeing any error messages but all that happens is:

"Loading kernel.............."

And that where my computer restarts. At first i just assumed that i was missing some file, or i forgot to copy some file that the kernel compilation created into my /boot dir. Im fairly sure i got my hardware configuration right, so i dont think it could be that.

Any idea's ??
 
Old 09-01-2002, 05:37 AM   #7
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
i suppose this is one of those times, when i would be really glad to see a "kernel panic..." message
 
Old 09-01-2002, 11:35 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
You have forgotten about something. The problem is: what?
 
Old 09-01-2002, 02:21 PM   #9
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
download a new 2.4.19 from www.kernel.org, and reconfigure it all again, and compile it, and then boot from that one...maybe that'll fix the problem,
 
Old 09-01-2002, 02:36 PM   #10
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
The problem is that ive compiled a new kernel right, and it doesnt load at all. As i said it just gets to the stage where it says:

"loading kernel..." (or "loading linux..." i think)

and then my computer just restarts. I was hoping someone could tell me what ive done wrong; like am i missing any files from my /boot directory. I copied the "vmlinux" file (created in /usr/src/linux, and the "bzImage" file (created in /usr/src/linux/arch/i386/boot) into my /boot directory, just like the walkthrough @

http://www.linuxorbit.com/modules.ph...icle&artid=494

said, and i made sure to add the new kernel to my lilo.conf and updated it with /sbin/lilo.

In short : "Why isnt my brand spanking new kernel loading ??"
 
Old 09-01-2002, 02:54 PM   #11
guerilla fighta
Member
 
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62

Original Poster
Rep: Reputation: 15
well i need something to pass the time with , so ill do that. But I dont see how the 2.4.19 kernel is gonna differ from the 2.4.18 kernel (obviously apart from the patch version) at boot time
 
Old 09-01-2002, 03:00 PM   #12
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
but the kernel that doesn't boot, the one you recopiled, that is a patch you downloaded yes or no?, I say you download the entire new thing, 2.4.19 30+megs, and then start from there...
 
Old 09-06-2002, 01:03 AM   #13
aditya
Member
 
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Rep: Reputation: 15
How did you specify a new file system in the lilo.conf?
'root=' line?
 
Old 09-06-2002, 09:42 AM   #14
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
No, image=, the whole tabbed part after (and with) image=.
 
Old 09-06-2002, 12:16 PM   #15
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
I would say the processor is incorrect or one of the settings in the processor section of menuconfig

I have a boot disk that does the same thing on one of my older laptops, the kernel is for a P3 and the laptop is not a P3

Of course there are other possibilities.
 
  


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
X server crashes doesnt load all the way l337dan Fedora - Installation 7 11-12-2005 10:59 PM
Windows Xp doesnt load cyberX Linux - General 3 01-21-2005 08:50 AM
kernel 5.6.8-1.521 doesnt load Xserver dertien Linux - Software 2 11-11-2004 05:00 AM
Doesnt load eth0 at startup TurkisH Linux - Networking 4 08-15-2004 02:47 PM
boot loader doesnt load ryan00davis Linux - General 2 04-27-2004 09:44 PM


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