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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-31-2002, 03:52 PM
|
#1
|
Member
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62
Rep:
|
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 ??
|
|
|
08-31-2002, 05:01 PM
|
#2
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Could you give some details? What do you see before and after it reboots?
|
|
|
08-31-2002, 06:15 PM
|
#3
|
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:
|
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.
|
|
|
08-31-2002, 10:23 PM
|
#4
|
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:
|
This is happening only when you try to boot your new kernel, is that right?
|
|
|
09-01-2002, 03:26 AM
|
#5
|
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:
|
that's what he said...
|
|
|
09-01-2002, 06:36 AM
|
#6
|
Member
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62
Original Poster
Rep:
|
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 ??
|
|
|
09-01-2002, 06:37 AM
|
#7
|
Member
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62
Original Poster
Rep:
|
i suppose this is one of those times, when i would be really glad to see a "kernel panic..." message
|
|
|
09-01-2002, 12:35 PM
|
#8
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
You have forgotten about something. The problem is: what?
|
|
|
09-01-2002, 03:21 PM
|
#9
|
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:
|
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,
|
|
|
09-01-2002, 03:36 PM
|
#10
|
Member
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62
Original Poster
Rep:
|
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 ??"
|
|
|
09-01-2002, 03:54 PM
|
#11
|
Member
Registered: Feb 2002
Distribution: SuSE 8.2
Posts: 62
Original Poster
Rep:
|
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
|
|
|
09-01-2002, 04:00 PM
|
#12
|
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:
|
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...
|
|
|
09-06-2002, 02:03 AM
|
#13
|
Member
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71
Rep:
|
How did you specify a new file system in the lilo.conf?
'root=' line?
|
|
|
09-06-2002, 10:42 AM
|
#14
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
No, image=, the whole tabbed part after (and with) image=.
|
|
|
09-06-2002, 01:16 PM
|
#15
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|