How to activate kdump on a cashregister image.
This document (7007465) is provided subject to the disclaimer at the end of this document.
* The system must have at least 256 MB RAM. Please note that if you have exactly 256MB some devices like onbord Graphic Cards can use a part of the RAM for it own.
* The dump will be written to /var/crash/. There must me enough space left in this directory.
The following steps are needed:
1. Reserve memory for the capture kernel by passing appropriate parameters to the primary kernel. e.g.: crashkernel=256M-:128M@16M
a) For PXE boot:
On branchserver, add the appropriate crashkernel parameter under /srv/tftpboot/boot/pxelinux.cfg/default.
(see also cap 7. Specifying Kernel Commandline Options for Selected Terminals - scPxeFileTemplate in the official documentation)
b) For hard disk boot:
On cash register add the appropriate crashkernel parameter under /boot/grub/menue.lst
(it is currently not possible to configure kernel parameters to the menue.lst in Image Creator)
More details about that kernel parameter can be found under TID 3374462 - Configure kernel core dump capture, or in the kernel documentation (/usr/src/linux/Documentation/kernel-parameters.txt)
2. Image Creator:
a) Make sure that the following packages will be installed:
b) Go to "Images Configuration" and delete the following names in the section "Packages to Delete":
libidn, curl, libcurl4
c) Go to "Scripts" - "Image configuration script"
and add at the end of the section "Activate Service" the line "suseInsertService boot.kdump"
1. Open a shell or terminal
2. Run sync
3. Run echo c >/proc/sysrq-trigger
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:7007465
- Creation Date: 05-Jan-2011
- Modified Date:14-Oct-2022
- SUSE Linux Enterprise Point of Service
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com