All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Daniel Castro <evil.dani@gmail.com>, xen-devel@lists.xensource.com
Subject: Re: Help debugging domain builder, qemu upstream and hvmloader
Date: Wed, 27 Jul 2011 08:15:06 +0100	[thread overview]
Message-ID: <CA55798A.1E95D%keir.xen@gmail.com> (raw)
In-Reply-To: <CAP2B85_uVRvCEoaD2yGCQqGO0SaDTyNPJ0K=bqNuMTdYRoaW=Q@mail.gmail.com>

On 27/07/2011 04:53, "Daniel Castro" <evil.dani@gmail.com> 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

  reply	other threads:[~2011-07-27  7:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  3:53 Help debugging domain builder, qemu upstream and hvmloader Daniel Castro
2011-07-27  7:15 ` Keir Fraser [this message]
2011-07-27  7:44 ` Wei Liu
     [not found]   ` <CAP2B858WotB2ggGqj=4uANCOrdFiZ7KfE+QsuBjm0fU9BgZ7iA@mail.gmail.com>
2011-07-27 10:11     ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA55798A.1E95D%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=evil.dani@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.