Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-04-2008, 05:52 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Kernel Panic while booting with a newly compiled kernel


I am a newbie to kernel programming.
I am now stuck with a problem and require your help.
What I did:

* Installed RHEL Server release 5 ( Tikanga ) kernel on an i686 machine.
* Downloaded from and unzipped it to a local folder.
* I did a make modules followed by make install
* Then I built the kernel using make bzImage.
* Copied the bzImage to /boot
* Did a mkinitrd with the version and copied the .img file to /boot
* Edit grub.conf with a new title to boot bzImage and newly created initrd.

On booting I get the following error. Don’t know how to proceed from here.
Can someone help me. Please let me know if you require any more details.
Since I am new to this forum and Linux kernel programming I have no idea what data
Is relevant for this issue.

Screen shot follows:

Activating logical volumes
2 logical volume(s) in volume group “VolGroup00” now active
Creating root device.
Mounting root filesystem.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
Setuproot: moving /dev failed: No such file or directory
No fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
ERROR opening /dev/console: No such file or directory
Trying to use fd 0 instead.
WARNING: can’t access (null)
exec of init ((null)) failed!!!: Bad address
Kernel panic – not syncing: Attempted to kill init!
Old 06-04-2008, 07:22 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I little while back we saw a lot of these. If I recall it was caused because the initrd image did not have the driver required to access the hard drive. Try using the search menu on this web site. The key words would be combinations of kernel panic not syncing.

Last edited by stress_junkie; 06-04-2008 at 07:24 AM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic - mkrootdev: label /1 not found - when booting from newly compiled kerne the_shani Red Hat 7 05-21-2009 07:27 AM
kernel panic while booting custom compiled 2.6.24 kernel on RHEL 4 AS samkraju Red Hat 4 02-10-2008 01:55 AM
newly compiled kernel problem manyoo Linux - Kernel 3 12-07-2006 11:01 PM
Newly compiled kernel won't boot nivantha Linux - Kernel 3 09-14-2006 04:02 AM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 10:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration