kdump gets stuck during copying of /proc/vmcore
This document (7002347) is provided subject to the disclaimer at the end of this document.
Environment
Situation
After the kdump kernel has been loaded, the last messages seen on the screen, before the kdump kernel hangs, looks like the following:
.....
waiting for devices /dev/sde1 to appear: ok
rootfs: major=8 minor=3 devn=2051
ok, dumping to /dev/sde1
-
After the above lines, there is no more activities.
Obviously, the copy process cp /proc/vmcore /dev/sde1 did not succeed.
NB: Here it is assumed that /dev/sde1 is the KDUMP_DUMPDEVICE.
Resolution
1) set the following values under /etc/sysconfig/dump
# /etc/sysconfig/kdump
KDUMP_KERNELVER="kdump"
KDUMP_COMMANDLINE=""
KEXEC_OPTIONS=" --args-linux "
KDUMP_RUNLEVEL="1"
KDUMP_IMMEDIATE_REBOOT="yes"
KDUMP_TRANSFER=""
KDUMP_SAVEDIR="/var/log/dump"
KDUMP_KEEP_OLD_DUMPS=5
KDUMP_FREE_DISK_SIZE=64
KDUMP_COMMANDLINE_APPEND=""
KDUMP_DUMPDEV="/dev/sde1" #---------> /dev/sde1 is just an example, please change it.
KDUMP_VERBOSE=3
KDUMP_DUMPLEVEL=31
KDUMP_DUMPFORMAT="compressed"
KDUMP_DUMPLEVEL=31 (or KDUMP_DUMPLEVEL=0x31) does strip all information that is not needed for the analysis. KDUMP_DUMPFORMAT is used to reduce the size of the dump.
2) Install makedumpfile package if it is not already installed. This package is needed whenever a KDUMP_DUMPLEVEL different from 0 is set.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7002347
- Creation Date: 12-Jan-2009
- Modified Date:24-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com