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

RE: [Xen-devel] capturing windows crash dumps

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] capturing windows crash dumps
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 18 Aug 2009 20:42:12 +1000
Cc:
Delivery-date: Tue, 18 Aug 2009 03:42:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6B01CAA.12488%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D016DE324@trantor> <C6B01CAA.12488%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acofz9MVLlNDi4WlRf6lT2clrHIXXwACTnrJAAPGsMA=
Thread-topic: [Xen-devel] capturing windows crash dumps
> On 18/08/2009 07:47, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > Windows has provision for a driver to get called when a bug check
occurs
> > (KeRegisterBugCheckCallback etc), and also to get called every time
some
> > data is to be written to the dump file.
> >
> > I would like to be able to capture that information into Dom0
somehow,
> > as a few of the bug check's I've had in GPLPV in the past have
rendered
> > the block device driver inoperable and therefore unable to write out
the
> > dump file.
> >
> > Is there an existing communication channel that could be used for
this
> > or do I need to invent write my own? The more low level the better
(as
> > in xenstore may not be accessible depending on the circumstances of
the
> > crash).
> 
> Could it be as simple as write the guest physical address of a
pre-allocated
> buffer into xenstore (from GPLPV drivers)? Then dump that area of
guest
> memory on guest bugcheck, even as a manual operation from dom0?
> 

The memory in question could be anything from 64kb (minidump) to the
size of DomU memory (full dump) or somewhere inbetween (kernel dump).
I'm normally just interested in the kernel dump which is normally a much
more respectable size, but still not the size of memory you can easily
find when the system has gone belly up.

James

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