7.2.x (Linux only)
This document describes how to set up a Linux system for a kdump to produce a kernel crash log
- IMPORTANT: Provide results of following commands. Core file can not be analyzed until the results of the following commands are supplied:
rpm -qa | grep `uname -r`
- Steps to enable kdump are addressed in following document. When kernel crashes, the core file is put in /var/crash subdirectory by default.
Run following commands to verify kdump is set and running:
|service kdump status|
cat /sys/kernel/kexec_crash_loaded (should return 1)
cat /proc/iomem | grep Crash (should return "<some-address> : Crash kernel"
- Please check if magic keys for Sysrq is enabled:
It should show 1. If not, enable magic keys on the systems. This is the command to enable Sysrq:
Force crash can also be generated using Alt-SysRq-c key combination or using “echo 0 > /proc/sysrq-trigger. The core file should be in /var/crash.
|echo 1 > /proc/sys/kernel/sysrq|
- Once you have enabled the kdump and sysrq, and the machine crashes again, please collect and attach to this case the logs from the following locations: