Configure a XEN Virtual Machine (domu) for a kernel / core dump
This document (7001384) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 2
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 1
Situation
Need to get kernel dump or core dump from a virtual machine (domu)
Resolution
Configure a SLES 10 or SLES11 vm for a vmcore
On the XEN host (dom0)
1. Modify the following line in /etc/xen/xend-config.xsp
4. Test the configuration:
- At a terminal prompt, shutdown corresponding vm if running and restart using
- xm create <vm name>
- Connect to the vm console by running xm console <vm name>& login as ROOT
- Run modprobe crasher call_panic=1
- Check /var/lib/xen/dump for the dump file
- As root user, from a terminal on XEN Host (dom0) run xm dump-core <vm name>
- Check /var/log/dump on the XEN Host (dom0)
Additional Information
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:7001384
- Creation Date: 17-Sep-2008
- Modified Date:14-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com