LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-22-2007, 04:29 PM   #1
kcanaday
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Kernel Panics During Bootup


I am currently dealing with Checkpoint's SecurePlatform, which is basically a hardened version of Red Hat Linux. I"m having some problems getting the machine (Dell Poweredge 2650) to boot. Originally, we were seeing segmentation faults and kernel panics. So, we rebuilt the RAID controller and reinstalled. Now, the segmentation faults have disappeared, but I'm seeing the following kernel panic during the botoup:
Code:
dump_function_ptr is NULL
aid.o module
<6>Journalled Block Device driver loaded
ERROR: /bin/insmod exited abnormally!
Loading jbd.o module
Loading ext3.o module
Mounting /proc filesystem
Creating block devices
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
From my limited research, I understand this might be resolved by editing grub.conf. More specifically, it looks like I need to modify the kernel /vmlinuz-smp ro root=LABEL=/ console=SERIAL 3 line. However, I've been a little confused if this should be edited to reflect the '/' or the '/boot' partition. I feel like it should be the /boot, but I just wanted to clarify with people who've seen this before. To help, I've got the output of df -k and the current grub.conf, which I'll post a snippet from. Any guidence is appreciated!

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5               600832    131944    438368  24% /
none                    600832    131944    438368  24% /dev/pts
/dev/sda1               147766      9182    130955   7% /boot
/dev/sda7              1541680    184432   1278936  13% /opt
none                   1027596         0   1027596   0% /dev/shm
/dev/sda6              1541680    253724   1209644  18% /sysimg
/dev/sda8            133139784    176620 126199804   1% /var
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
menutitle=Check Point SecurePlatform NGX (R60)
background 777777
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --silent --timeout=5 console serial
password --md5 $1$CMIBHNAR$UDpThf2e0Tamfl/rWC6It.
splashimage=(hd0,0)/grub/splash.xpm.gz

title Start in normal mode
	root (hd0,0)
	kernel /vmlinuz-smp ro root=LABEL=/ console=SERIAL 3
	initrd /initrd-smp

title Start in maintenance mode
	lock
	root (hd0,0)
	kernel /vmlinuz-smp ro root=LABEL=/ console=CURRENT debug 7 single
	initrd /initrd-smp

title Start in normal mode - Single CPU
	root (hd0,0)
	kernel /vmlinuz ro root=LABEL=/ console=SERIAL 3
	initrd /initrd

title Start in maintenance mode - Single CPU
	lock
	root (hd0,0)
	kernel /vmlinuz ro root=LABEL=/ console=CURRENT debug 7 single
	initrd /initrd

title Start in debug mode
	root (hd0,0)
	kernel /vmlinuz-smp ro root=LABEL=/ console=CURRENT kdb=on 3
	initrd /initrd-smp

title Snapshot Image Management
	lock
	root (hd0,0)
	configfile /grub/submenus/snapshots.lst
 
Old 01-22-2007, 04:44 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
kernel /vmlinuz-smp ro root=LABEL=/
Grub wants to see where the root of the filesystem is intalled. From your df -k output:

Quote:
dev/sda5 600832 131944 438368 24% /
So, edit grub.conf to read:

kernel /vmlinuz-smp ro root=LABEL=/dev/dsa5, or, it your distro will tolerate it,

kernel /vmlinuz-smp ro root=/dev/sda5

Last edited by bigrigdriver; 01-22-2007 at 04:46 PM.
 
Old 01-22-2007, 04:56 PM   #3
kcanaday
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
alright, so it is looking for root and not boot...
Thank you!
 
Old 01-22-2007, 07:10 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Yep. And don't do root=LABEL=/dev/sda5... The filesystem label is probably NOT /dev/sda5. root=/dev/sda5 should work just fine.
 
  


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
why kernel panics Niloy Linux - Software 3 08-16-2005 02:46 PM
more kernel panics... Legrow Fedora 0 04-18-2005 11:25 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM
Kernel Panics? cli_man Linux - Software 0 09-05-2003 09:58 AM
kernel panics please help valleyman Linux - Hardware 12 06-26-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration