hi Amit, On Wed, Aug 17, 2011 at 3:04 PM, amit mehta <[email protected]> wrote:
> I've a Linux box which is crashing under a particular test scenario. > To debug this issue I was thinking of using the crash (man 8 crash) > utility (available by default on recent releases of RHEL and SuSE) . > This tool requires the kernel crash dump (vmcore) and the debugging > symbols. > On my machine, I don't see any crash under /var/crash, Hence please > let me know the > configuration changes which i need to do to enable my machine to dump > the kernel image > locally (do i need to apply diskdump patches and rebuild the kernel??) > whenever > there is a kernel crash. Kdump seem to be another tool for this job > but that requires a lot of > setup. Is there a *shortcut* to enable kernel crash dump facility ? > > The debugging symbols can be found here: > http://ftp.riken.go.jp/Linux/slc/slc6X/updates/x86_64/debug/ > http://ftp.riken.go.jp/Linux/slc/slc6X/updates/i386/debug/ > > > You need to configure kdump on your RHEL system to enable it to dump the vmcore file when the panic happens... Kdump configuration is explained below.. There is a crashkernel boot parameter to be passed to kernel to specify the memory reserved for the crash kernel. http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-kdump.html http://www.mindtwist.de/main/linux/11-red-hat/27-how-to-configure-kernel-dumps-on-rhel-5.html http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/crashdump/liaaicrashdumpconfigkdump.htm Thanks and Regards, Sumeet > -Amit > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
