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] [makedumpfile] extract vmcoreinfo from /proc/vmcore for Xen

To: kexec@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [makedumpfile] extract vmcoreinfo from /proc/vmcore for Xen
From: Itsuro ODA <oda@xxxxxxxxxxxxx>
Date: Fri, 28 Sep 2007 09:49:01 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Sep 2007 17:49:35 -0700
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
Hi,

--- background ----------------------------------------------------
* what the makedumpfile is:
  To shorten the size of the dumpfile and the time of creating the
  dumpfile, makedumpfile copies only the necessary pages for analysis
  to the dumpfile from /proc/vmcore. You can specify the kind of
  unnecessary pages with dump_level. If you want to shorten the size
  further, enable the compression of the page data.
* Xen extraction 
  makedumpfile also has a feature that extracting the part of
  xen hypervisor and domain-0 from /proc/vmcore taken under xen
  environment. In most cases under xen environment, it is enough to
  analyze a cause of system crash.
* extract vmcoreinfo from /proc/vmcore
  makedumpfile 1.2.0 supports to extract the vmcoreinfo data from
  /proc/vmcore and uses it for dump filtering. (for a vmcore taken
  under the native environment.)
------------------------------------------------------------------

I'd like to support the "extract vmcoreinfo from /proc/vmcore"
function for the Xen extraction too.

I think a way of supporting this as follows:

* The hypervisor makes its vmcoreinfo at the initialize.
* add a new hypervisor call to get the hypervisor's vmcoreinfo.
  The hypercall would be a subcommand of the kexec hypercall.
* dom-0 exposes the hypervisor's vmcoreinfo via 
  /sys/hypervisor/vmcoreinfo
* kexec-tool looks /sys/hypervisor/vmcoreinfo and makes an elf-note
  according it

Any comments or suggestions are welcome before I will start to
implement it.

Thanks.
-- 
Itsuro ODA <oda@xxxxxxxxxxxxx>


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

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