Friday, January 18, 2013

memory for crash kernel (0x0 to 0x0) notwithin permissible range



memory for crash kernel (0x0 to 0x0) notwithin permissible range

Memory-For-Crash
I decided to create an article about this because many people asked me why do CentOS / Redhat shows that message when you boot up the system. I did a small research and I found in a forum that is in the first page of Google answers like "you should ignore that message". Well that is really not an error message it is a warning saying that you haven't setup a amount of ram memory for the kdump.
If you look at CentOS documentation in the question number 15 they answer that:
"During the firstboot configuration phase you did not choose to reserve some RAM for the crash kernel. This message is informational only and can be safely ignored. If desired, you can configure some RAM for Kdump with 'system-config-kdump"

If you are not happy with ignoring that message I am going to post here how to remove it. This is one way that it can be done, if you know some other way you are more than welcome to post it here.

My solution is simple, as root you just need to edit your grub configuration and remove the quite option from the kernel line as follows:

cd /boot/grub/
vi grub.conf

before:
title CentOS (2.6.18-194.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-194.el5.img
after:
title CentOS (2.6.18-194.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb
initrd /initrd-2.6.18-194.el5.img

That's it, save, exit and reboot to check it:
# init 6 
or
# shutdown -r now

source: http://www.houseoflinux.com/debates/memory-for-crash-kernel-0x0-to-0x0-notwithin-permissible-range


No comments:

Post a Comment