<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Use the crash --hyper flag.<br>
<br>
Thanks,<br>
Herbert.<br>
<br>
<div class="moz-cite-prefix">On 10/3/12 3:56 AM, hu jun wrote:<br>
</div>
<blockquote cite="mid:COL115-W208BB38849286462E8E918BC850@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
yes, it works well.<br>
<br>
<br>
title Xen -- SUSE Linux Enterprise Server 11 SP2 - 3.0.38-0.5<br>
root (hd0,0)<br>
kernel /boot/xen.gz vga=mode-0x317 crashkernel=128M@16M<br>
module /boot/vmlinuz-3.0.38-0.5-xen
root=/dev/disk/by-id/ata-WDC_WD3200BEVS-08VAT2_WD-WXD0AA9V4924-part1
resume=/dev/disk/by-id/ata-WDC_WD3200BEVS-08VAT2_WD-WXD0AA9V4924-part5
showopts vga=0x317<br>
module /boot/initrd-3.0.38-0.5-xen<br>
<br>
<br>
HjCloud:/mnt/winimg/crash/#
echo c >/proc/sysrq-trigger
<br>
<br>
<br>
HjCloud:/mnt/winimg/crash/2012-09-30-19:03 # ls<br>
README.txt System.map-3.0.13-0.27-xen vmcore
vmlinux-3.0.13-0.27-xen.gz<br>
<br>
<br>
<br>
<br>
<br>
HjCloud:/mnt/winimg/crash/2012-09-30-19:03 # crash -f
/boot/xen-syms-4.1.3_02-0.5.1 /boot/xen-syms-dbg-4.1.3_02-0.5.1
vmcore<br>
<br>
crash 5.1.9<br>
Copyright (C) 2002-2011 Red Hat, Inc.<br>
Copyright (C) 2004, 2005, 2006 IBM Corporation<br>
Copyright (C) 1999-2006 Hewlett-Packard Co<br>
Copyright (C) 2005, 2006 Fujitsu Limited<br>
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.<br>
Copyright (C) 2005 NEC Corporation<br>
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.<br>
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux,
Inc.<br>
This program is free software, covered by the GNU General Public
License,<br>
and you are welcome to change it and/or distribute copies of it
under<br>
certain conditions. Enter "help copying" to see the conditions.<br>
This program has absolutely no warranty. Enter "help warranty"
for details.<br>
<br>
crash: /boot/xen-syms-dbg-4.1.3_02-0.5.1: no .gnu_debuglink
section<br>
GNU gdb (GDB) 7.0<br>
Copyright (C) 2009 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a><br>
This is free software: you are free to change and redistribute
it.<br>
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"<br>
and "show warranty" for details.<br>
This GDB was configured as "x86_64-unknown-linux-gnu"...<br>
<br>
WARNING: crashing_cpu not found. <br>
crash: invalid kernel virtual address: 523b4fd7c071bf18 type:
"fill_pcpu_struct"<br>
WARNING: cannot fill pcpu_struct.<br>
<br>
crash: cannot read cpu_info.<br>
<br>
<br>
<br>
<br>
<br>
Do you think my method is right? <br>
<br>
<br>
<br>
<div>> Date: Wed, 3 Oct 2012 03:18:28 -0700<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:daniel.kiper@oracle.com">daniel.kiper@oracle.com</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:duanshuidao@hotmail.com">duanshuidao@hotmail.com</a>; <a class="moz-txt-link-abbreviated" href="mailto:crash-utility@redhat.com">crash-utility@redhat.com</a><br>
> Subject: Re: [Crash-utility] how to generate xen
hypervisor core though kdump or other way?<br>
> <br>
> Hi,<br>
> <br>
> > My server is Suse Linux SLES11 sp2 verison ,<br>
> ><br>
> > HjCloud:~ # uname -a<br>
> > Linux HjCloud 3.0.38-0.5-xen #1 SMP Fri Aug 3
09:02:17 UTC 2012 (358029e) x86_64 x86_64 x86_64 >
GNU/Linux<br>
> ><br>
> > I know to get dom0 kdump core by "echo c
>/proc/sysrq-trigger ",<br>
> ><br>
> > but don't know how to get xen hypervisor core, then
how to analysis<br>
> > the hypervisor core by Crash software.<br>
> ><br>
> > Can you help me?<br>
> <br>
> Does it work? If yes then /proc/vmcore<br>
> contains proper memory image with<br>
> Xen dump. Just get copy of it,<br>
> get xen-syms (or something like that;<br>
> I do not know how it is called in SLES)<br>
> and pass them to crash tool. That is it.<br>
> <br>
> Daniel<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
Crash-utility mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Crash-utility@redhat.com">Crash-utility@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/crash-utility">https://www.redhat.com/mailman/listinfo/crash-utility</a></pre>
</blockquote>
<br>
</body>
</html>