WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] About how to set crash dump enable

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] About how to set crash dump enable
From: Ryo Kanbayashi <kanbayashi@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Nov 2007 03:44:23 +0900
Delivery-date: Sun, 11 Nov 2007 10:44:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi all.

I find for how to set crash dump of xen kernel(!= dom0 or domU) enable.
Please give me any hint :-)

regards.



Steps I done
-----------------------------------------------
#setting for generate debug info
#kernel-hacking - Compile the kernel with debug info -> on
make linux-2.6-xen-config CONFIGMODE=menuconfig

#build
make install-xen install-kernels debug=y

#setting grub
#omit :-)

#boot and connect to xen with serial port

#use console with serial port
[root@localhost boot]# (XEN) *** Serial input -> Xen (type 'CTRL-a'
three times to switch input to DOM0).
(XEN) 'h' pressed -> showing installed handlers
(XEN) key '%' (ascii '25') => Trap to xendbg
(XEN) key 'C' (ascii '43') => trigger a crashdump
(XEN) key 'H' (ascii '48') => dump heap info
(XEN) key 'N' (ascii '4e') => NMI statistics
(XEN) key 'R' (ascii '52') => reboot machine
(XEN) key 'a' (ascii '61') => dump timer queues
(XEN) key 'd' (ascii '64') => dump registers
(XEN) key 'h' (ascii '68') => show this message
(XEN) key 'i' (ascii '69') => dump interrupt bindings
(XEN) key 'm' (ascii '6d') => memory info
(XEN) key 'n' (ascii '6e') => trigger an NMI
(XEN) key 'q' (ascii '71') => dump domain (and guest debug) info
(XEN) key 'r' (ascii '72') => dump run queues
(XEN) key 't' (ascii '74') => display multi-cpu clock info
(XEN) key 'u' (ascii '75') => dump numa info
(XEN) key 'z' (ascii '7a') => print ioapic info

#try to generate crash dump
#but miss for some reason :-(
#What's crash kernel?
(XEN) 'C' pressed -> triggering crashdump
(XEN) * no crash kernel loaded!


----------------------------------------------------------------------

**************************************** 
HPCS lab
4th grade student of Colledge of Information Science, University of Tsukuba

Ryo Kanbayashi




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>