From d757dbb7b0c27e35b75aab769b541689efefcec18c7bd7fab11df5f449eb24e5 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Fri, 15 Aug 2014 21:15:16 +0000 Subject: [PATCH] - Update README.SUSE with additional debug help OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=326 --- README.SUSE | 18 ++++++++++++++++-- xen.changes | 5 +++++ xen.spec | 1 - 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.SUSE b/README.SUSE index 32cb592..0636f6f 100644 --- a/README.SUSE +++ b/README.SUSE @@ -558,7 +558,21 @@ Grub1 Example: Edit /boot/grub/menu.lst and edit the line containing xen.gz kernel /boot/xen.gz loglvl=all loglvl_guest=all -2) Sometimes it is useful to attach a serial terminal and direct Xen to send +2) With the log levels specified above and the host rebooted, more useful +information about domain 0 and running VMs can be obtained using using the +'xl dmesg' and 'xl debug-keys' commands. For example, from the command line +run: + xl debug-keys h +and then run: + xl dmesg +Note that at the end of the output from 'xl dmesg' it includes help on a +series of commands that may be passed to 'xl debug-keys'. For example, by +passing the letter 'q' to 'xl debug-keys' it will "dump domain (and guest +debug) info". + xl debug-keys q +Now you can again run 'xl dmesg' to see the domain and guest debug info. + +3) Sometimes it is useful to attach a serial terminal and direct Xen to send its output not only to the screen, but also to that terminal. First you need to attach a serial cable from the serial port on the server to a second machine's serial port. That second machine could be running minicom (or some @@ -581,7 +595,7 @@ Grub1 Example: Once the hardware and software are configured correctly the server is rebooted and its output should appear on the other terminal as the server boots up. -3) To further debug Xen or domain 0 Linux crashes or hangs, it may be useful to +4) To further debug Xen or domain 0 Linux crashes or hangs, it may be useful to use the debug-enabled hypervisor, and/or to prevent automatic rebooting. Grub2 Example: diff --git a/xen.changes b/xen.changes index 17a2e38..6568666 100644 --- a/xen.changes +++ b/xen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 15 15:09:27 MDT 2014 - carnold@suse.com + +- Update README.SUSE with additional debug help + ------------------------------------------------------------------- Fri Aug 8 07:34:38 MDT 2014 - carnold@suse.com diff --git a/xen.spec b/xen.spec index a8bf216..cd2eaf5 100644 --- a/xen.spec +++ b/xen.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - # needssslcertforbuild Name: xen