public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Michael Crawford <mdcrawford@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: How to debug a triple fault at startup?
Date: Mon, 22 Jun 2009 11:35:05 +0300	[thread overview]
Message-ID: <4A3F4239.7060103@redhat.com> (raw)
In-Reply-To: <dc9f86e80906211858g54fd1920rb701a80d435eca34@mail.gmail.com>

On 06/22/2009 04:58 AM, Michael Crawford wrote:
> I'm not completely certain, but I think I get a GPF whenever trying to
> output text to the screen once interrupts have been enabled.
>
> That is, before calling int 0x19, I can use printf from within
> rombios.c, and my messages appear.  But from anywhere within the int19
> code, they don't.
>
> I definitely don't see the "Booting from hard drive message".
>    

Try to hack the reset code to vm_stop(0) instead of resetting.  You'll 
then be able to examine guest registers with 'info registers' though the 
monitor (or debugger), and perhaps see what went wrong.

-- 
error compiling committee.c: too many arguments to function


      parent reply	other threads:[~2009-06-22  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-21 16:02 How to debug a triple fault at startup? Michael Crawford
2009-06-21 20:02 ` Michael Crawford
2009-06-22  1:58   ` Michael Crawford
2009-06-22  8:05     ` Alexander Graf
2009-06-22  8:35     ` Avi Kivity [this message]

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=4A3F4239.7060103@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mdcrawford@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox