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] Help debugging domain builder, qemu upstream and hvmload

To: Daniel Castro <evil.dani@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Help debugging domain builder, qemu upstream and hvmloader
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Wed, 27 Jul 2011 08:15:06 +0100
Cc:
Delivery-date: Wed, 27 Jul 2011 00:15:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=mW0uVjWegtApmcoGDPRD+IyqjiCpQ8f78SGYrRJxRpk=; b=HZ12gOyeDC9RPRp7Xw0NKe7SwtNz843JP2fxy9WRIgBTlvuOTEugHfMYJzersNRsuC c2U1kkgeg1W2d5uOz7THlYk6YUwN/XPXyXa9kBsx33n5jjZ8Yhda9HJR+WezHt+drpmD XHZMUQzHcB+x3cNYmimcu5Usgp0uVyVk+kOFk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP2B85_uVRvCEoaD2yGCQqGO0SaDTyNPJ0K=bqNuMTdYRoaW=Q@xxxxxxxxxxxxxx>
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: AcxMLOka74D4zh2hvESnCA1yTEYEwg==
Thread-topic: [Xen-devel] Help debugging domain builder, qemu upstream and hvmloader
User-agent: Microsoft-Entourage/12.30.0.110427
On 27/07/2011 04:53, "Daniel Castro" <evil.dani@xxxxxxxxx> wrote:

> Hello All,
> 
> I run into this problem when I modify seabios.
> (XEN) hvm.c:1131:d13 Triple fault on VCPU 0 - invoking HVM system reset.
> 
> Since there is no fault handlers in the early stages of guest boot I
> am in the need to debug the domain builder, upstream qemu and/or
> hvmloader to see where exactly the fault is being generated.

You can put 'on_reboot = preserve' in your domain config file so that the
crashed domain is not automatically destroyed and restarted. Then you can
use the tool xenctx to grab the register state including crashing EIP value.

 -- Keir

> I have no experience on debugging and this seems like a good time to start.
> 
> Any pointers, or guides anyone can provide me will be of great help.
> After this I will document the process for later uses.
> 
> PD: Xen is compiled with debugging on, so is qemu and seabios.
> 
> Thanks,
> 
> Daniel



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

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