My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

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 NetIQ/Novell/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-11
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Point of Service

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center