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 22.214.171.124.el5 on an i686 machine.
* Downloaded 126.96.36.199 from kernel.org 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 188.8.131.52 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!
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.
|All times are GMT -5. The time now is 05:25 PM.|