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 07-13-2005, 05:50 AM   #1
fiero
LQ Newbie
 
Registered: Jul 2005
Location: India
Distribution: Red Hat
Posts: 4

Rep: Reputation: 0
kernel panic error after rebooting new kernel image


Hi kbees,

i am in deep problem and struggling to come out of it.
I have 2.6.9-1.658 kernel running on my system.
I copied source code of 2.6.5-1.358 and compiled ( No compilation errors),

I have done the all the work:
Copying the bzImage in to /boot and
editing the grub.conf file for new kernel image.
Copied the System.map file in to /boot/. etc....

After i reboot the system and select the new kernel image it starts booting for a time and throws out a message:
" kernel panic: Attemted to kill init! "

Can any one please help me out in this regard.

Thanks.
 
Old 07-13-2005, 06:02 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Well, your not giving many specific details, why don't you just boot up with the old kernel and reconfigure the new one, compile and reinstall.

If you didn't keep your old kernel, then shame on you , you can use one of the kernels of the slackware CD, put in disc 1 and follow the onscreen instructions to boot your installed system with one of the CD kernels, then do as above.

As your not giving many details I assumed you installed it correctly, but missed something vitial out in the configuration, as thats my most common problem when installing new kernels
 
Old 07-13-2005, 06:14 AM   #3
fiero
LQ Newbie
 
Registered: Jul 2005
Location: India
Distribution: Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Phil,

Thanks for your reply.

Well i donot have source code of old kernel (2.6.9-1.658) hence i am compiling the kernel source ( 2.6.5-1.358) and trying to boot with this image, as iam writting some kernel modules which needs kernel headers while comiling, So i have downloaded 2.6.5-1.358 source code.

Iam able to boot the system with old kernel image. (2.6.9-1.658).
 
Old 07-13-2005, 08:15 AM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Can you not download the source for the kernel you are already using, that would be easiest.

Otherwise you will just have to keep trying to configure source for the kernel you downloaded, I think very few manage to get a fully workin kernel on their first attempt, or even their second and third
 
Old 07-13-2005, 08:32 AM   #5
fiero
LQ Newbie
 
Registered: Jul 2005
Location: India
Distribution: Red Hat
Posts: 4

Original Poster
Rep: Reputation: 0
That's fine, but what is the root cause for this kind of behaviour.
 
  


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
Kernel Panic can not find init image ToeShot Linux - General 5 08-03-2005 02:05 PM
kernel panic after rebooting the system.Urgent.Please help. sharmashikha Linux From Scratch 3 07-07-2005 10:36 AM
Rebooting after kernel panic nbarraud *BSD 2 01-12-2005 08:35 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
kernel-image generates Kernel Panic Osten Debian 1 03-10-2004 12:08 AM


All times are GMT -5. The time now is 09:16 PM.

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