Solved

Kernel panic

Posted on 2010-11-15
5
886 Views
Last Modified: 2012-05-10
Hi,

RH4 AS after reboot, generate few error lines (attached screenshot) the first is regarding the RAID controller I think, (it is on HP DL 360G4) and it finish with:
"Kernel panic - not syncing: Attempted to kill init!"

After that the system is not booting... any idea how to fix it? screenshot
0
Comment
Question by:questil
5 Comments
 
LVL 5

Expert Comment

by:ByteSleuth
ID: 34134357
Hello,

if you start your box, do you have the possibility to enter menu from your controller?

for me it looks like your volume-groups are gone or not working.

HTH
0
 
LVL 7

Expert Comment

by:Hatrix76
ID: 34134810
No, the problem seems to be that your initrd image is out of sync with the current kernel, the line with the insmod error at the beginning is the problem. It can not load the cciss.ko kernel module, which is responsible for the raid array. It seems at some point the kernel got upgraded, but a problem occured while the kernel tried to generate the new initrd image.

The initrd image is a small mini-image, that get's loaded at kernel boot. This image contains all modules which are needed for the kernel to prepare the installed hardware.

My suggestion would be to boot with a RedHat 4 disk, boot in emergency or rescue mode. I do not know how it's done on a Redhat CD, on debian / ubuntu installer you have always the option to boot into a rescue mode.

When booted in the rescue-mode, mount all the filesystems you had in the right place, chroot into it and try to reinstall the kernel image. Take note of any problems that might occur. e.g. It could be that, if your /boot resides on a seperate partition, that there is not enough space for the temporary new initrd image.

If the kernel installs fine and the new initrd image is generated (take a note of the datestamps of the files before / after in /boot) you will be able to successfully boot once again!

best
Ray
0
 
LVL 1

Expert Comment

by:tuxnani
ID: 34135318
you must reinstall kernel image using yacht.
0
 

Accepted Solution

by:
questil earned 0 total points
ID: 34154559
I booted with the installation cd in rescue mode, run chroot, moved the kernel img file to another name:
#mv HP-initrd-2.6.9-11.ELsmp.img HP-initrd-2.6.9-11.ELsmp.img.old

Run the mkinitrd command:
#mkinitrd HP-initrd-2.6.9-11.ELsmp.img 2.6.9-11.ELsmp

And then rebooted with the new kernel and everything is working!

Thanks everyone!
0
 

Author Closing Comment

by:questil
ID: 34186345
The other solutions didn't work.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question