Kernel panic after hard reboot and fsck

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Kernel panic after hard reboot and fsck
# 8  
Old 07-05-2010
Code:
# export PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin

Code:
# mkinitrd -f -v --with=megaraid /boot/initrd-2.6.9-5.EL_new.img  $(uname -r)

edit like this and change the "default" line
Code:
 
# cat /boot/grub/grub.conf
default=1
....
....
title Red Hat Enterprise Linux Server New initrd-2.6.9-5.EL_new.img (2.6.9-5.EL_new)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.EL ro 
        initrd /initrd-2.6.9-5.EL_new.img

reboot
let see you what happened

Last edited by ygemici; 07-05-2010 at 11:37 AM..
# 9  
Old 07-06-2010
[mod] Broken Links to Images Removed {/mod]

Also I have tried to change in my fstab LABEL to /dev/sdaX, but OS loading ending with this:


---------- Post updated at 12:49 AM ---------- Previous update was at 12:21 AM ----------

Quote:
Originally Posted by ygemici
Code:
# export PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin

Code:
# mkinitrd -f -v --with=megaraid /boot/initrd-2.6.9-5.EL_new.img  $(uname -r)

edit like this and change the "default" line
Code:
 
# cat /boot/grub/grub.conf
default=1
....
....
title Red Hat Enterprise Linux Server New initrd-2.6.9-5.EL_new.img (2.6.9-5.EL_new)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.EL ro 
        initrd /initrd-2.6.9-5.EL_new.img

reboot
let see you what happened
Thank you!

I have performed rebuild initrd with
Code:
mkinitrd -f -v --with=megaraid_mm  --with=megaraid_mbox /boot/initrd-2.6.9-5.EL_new.img 2.6.9-5.EL

because in /etc/modprobe.conf
Code:
alias scsi_hostadapter megaraid_mbox

but after reboot I have the same screen 404 - File or directory not found.

---------- Post updated at 02:14 AM ---------- Previous update was at 12:49 AM ----------

last dmesg available here

---------- Post updated at 09:10 AM ---------- Previous update was at 02:14 AM ----------

The problem was in a disabled RAID in BIOS. After reboot now I have screens:



and after fsck:

Last edited by nikkadim; 07-06-2010 at 08:57 AM..
# 10  
Old 07-06-2010
Looks like grub cannot find your initramfs after you fsck'ed the root filesystem - it is probably in lost+found. The previous "RAMDISK: Ran out of compressed data" message in your screenshot was a clue that there was something wrong with it anyway. You should rebuild it.
# 11  
Old 07-06-2010
can you write the output ?

Code:
 # cat /etc/grub.conf

# 12  
Old 07-07-2010
in grub.conf

It turned out that it was necessary to add the path /boot/ for kernel and initrd.

Now system going to boot and stoped here:

Image

and after fsck -t ext2 /dev/sda1 -y


Image
# 13  
Old 07-07-2010
Reboot and boot system for single user mode then run fsck
# 14  
Old 07-07-2010
Quote:
Originally Posted by ygemici
Reboot and boot system for single user mode then run fsck
Yes, I have tried this but on next boot system again makes me checking filesystem.. Smilie

Image
and after pause:
Image

Last edited by nikkadim; 07-07-2010 at 09:29 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Df reporting double size of du after fsck & reboot

Solaris 8 running on a Sparcstation 5 (Aurora) with 170MHz processor and 256MB ram This is AFTER doing fsck and reboot. 820030k vs 385252k All other files in /usr/asm not in /usr/asm/sys or /usr/asm/data amount to 43k. The /usr/asm/lost+found is 8k. somehow df and other applications... (3 Replies)
Discussion started by: lcoreyl
3 Replies

2. Solaris

fsck entire hard drive?

ho do you check filesystem on entire hard disk? (9 Replies)
Discussion started by: orange47
9 Replies

3. HP-UX

Reboot After Panic

Hi all, Does anybody know what kinds of events can prompt the following? I found our test db box had rebooted itself. I'd like to know how I can go about finding our why. Thanks folks... (1 Reply)
Discussion started by: Kozmo
1 Replies

4. Linux

Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU

ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before? I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system. Please Help... (2 Replies)
Discussion started by: dave043
2 Replies

5. AIX

Is fsck executed during reboot for AIX?

Dear Gurus, I would like to know if fsck is executed automatically during reboot for AIX? Is there any logs which I can refer to? or any documentation reference for this? Thank You. (2 Replies)
Discussion started by: cteoh88
2 Replies

6. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

7. UNIX for Advanced & Expert Users

reboot after panic hp-ux 11o

One of our servers keeps crashing. Here is the following message that we get: 11:01 Thu Aug 31 2006. Reboot after panic: fcpbh_scsi_comp: Inbound data overf low 12:28 Wed Sep 6, 2006. Reboot: 16:12 Wed Sep 06 2006. Reboot after panic: , isr.ior = 0'10240070.0'dcf72938 Does anyone... (1 Reply)
Discussion started by: shoultsc
1 Replies

8. Linux

kernel panic

I have compiled kernel version 2.6.12 in my linux box mandrake 10.1. I have followed www.digitalhermit.com/linux/Kernel-Build-HOWTO.html instructions. I have copied .config file from /usr/src/linux and lightly modified it (only the processor type) by xconfig. I have compiled the source and modules.... (3 Replies)
Discussion started by: Davide71
3 Replies

9. UNIX for Advanced & Expert Users

Reboot after Panic

I've got htis message on our sun U60 machine: "Reboot after panic:errID 0x000004eff........." ,this message have been issued on the /var/adm/messages file & cause system rebooting randomly. Any comment. Thanks, --Nikk (1 Reply)
Discussion started by: nikk
1 Replies

10. UNIX for Dummies Questions & Answers

kernel panic

hello :-) I have one problem with my LiLO... I installed PLD Linux on my computer but when it boots, the last thing I can see is: request_module Root fs not mounted VFS: Cannot open root device 03:01 Kernel panic: VFS: unable to mount root fs on 03:01 and the system stops :-( what... (1 Reply)
Discussion started by: pgas
1 Replies
Login or Register to Ask a Question