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/
Home Products Support Community News


Re: [Xen-devel] capturing windows crash dumps

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] capturing windows crash dumps
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 18 Aug 2009 08:54:02 +0100
Delivery-date: Tue, 18 Aug 2009 00:54:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DE324@trantor>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acofz9MVLlNDi4WlRf6lT2clrHIXXwACTnrJ
Thread-topic: [Xen-devel] capturing windows crash dumps
User-agent: Microsoft-Entourage/
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?

 -- Keir

Xen-devel mailing list