SUSE Support

Here When You Need Us

How to activate kdump on a cashregister image.

This document (7007465) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Point of Service 11 Service Pack 1

Situation

If the kernel is crashing on a cash register a core dump will not be written per default.  Simply adding the needed kdump packages to capture a core dump is not working for cash register images.

Resolution

Condition

* 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:
        kdump, kexec-tools,makedumpfile

   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"


Additional Information

To test the local kernel core dump capture, follow these steps:

1.  Open a shell or terminal
2.  Run sync
3.  Run echo c >/proc/sysrq-trigger

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:7007465
  • Creation Date: 05-Jan-2011
  • Modified Date:14-Oct-2022
    • SUSE Linux Enterprise Point of Service

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.