All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Brady Chen <chenchp@gmail.com>
Cc: tygrawy@gazeta.pl, xen-devel@lists.xensource.com,
	Z24 <z24@gmx.net>,
	AL.LINUX@bcpraha.com
Subject: Re: Re: [Xen-users] boot a existing windows in hvm domain
Date: Tue, 07 Aug 2007 10:29:37 +0100	[thread overview]
Message-ID: <C2DDFA11.13AD3%keir@xensource.com> (raw)
In-Reply-To: <8fec1fce0708070206u423d8636va32a989c9856e233@mail.gmail.com>

On 7/8/07 10:06, "Brady Chen" <chenchp@gmail.com> wrote:

> the dmesg shows some instructions have being simulated.
> so they should be the codes just before d0900 or d0800, am i right?

No. What is happening is that vmxassist is trying to emulate as far as it
can into real-mode execution at around linear address d71b-d71f, until it
sees an instruction that it cannot decode. When it sees an instruction it
does not understand it prints out "opc <opcode number>". Since there is no
such output immediately before the trap, this means that vmxassist was still
in its emulation loop and vmxassist itself crashed. This makes sense because
the faulting eip is somewhere in vmxassist's code (albeit not on an
instruction boundary!). The faulting linear address is definitely d0800, so
that is the interesting area of the vmxassist objdump.

What would be useful is to try to add tracing to see how far vmxassist gets
after its last line of tracing before the trap occurs. That last line is
currently from vm86.c, line 620. You might try adding extra printf()
statements imemdiately after the write16() on line 622, and also at the top
of the opcode() function. We need to find out at what point vmxassist is
jumping to this bogus address d0800.

 -- Keir

  reply	other threads:[~2007-08-07  9:29 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8fec1fce0707300537g5a1f9e2dgdb4cc27add99d218@mail.gmail.com>
     [not found] ` <f8sbfr.2so.1@z24.net.invalid.my>
     [not found]   ` <8fec1fce0708020247k242c53f9ne3eab45cc85aaad1@mail.gmail.com>
     [not found]     ` <f8srjg.1no.1@z24.net.invalid.my>
     [not found]       ` <8fec1fce0708020811q73017eb7g85f8fd353a3a20dc@mail.gmail.com>
     [not found]         ` <8fec1fce0708061955xb5018b4tf1e51863154e0f1a@mail.gmail.com>
2007-08-07  5:48           ` [Xen-users] boot a existing windows in hvm domain Brady Chen
2007-08-07  5:59             ` Keir Fraser
2007-08-07  6:06               ` Brady Chen
2007-08-07  6:32                 ` Keir Fraser
2007-08-07  7:58                   ` Brady Chen
2007-08-07  8:02                     ` Keir Fraser
2007-08-07  8:22                       ` Brady Chen
2007-08-07  8:47                         ` Keir Fraser
2007-08-07  9:06                           ` Brady Chen
2007-08-07  9:29                             ` Keir Fraser [this message]
2007-08-07  9:35                               ` Keir Fraser
2007-08-07 10:30                                 ` Brady Chen
2007-08-07 10:37                                   ` Keir Fraser
2007-08-07 11:03                                     ` Brady Chen
2007-08-07 11:35                                       ` Brady Chen
2007-08-07 11:50                                         ` Keir Fraser
2007-08-07 16:06                                           ` Brady Chen
2007-08-07 16:26                                             ` Keir Fraser
2007-08-08  7:37                                               ` Brady Chen
2007-08-08  8:25                                                 ` Brady Chen
2007-08-08  8:41                                                   ` Keir Fraser
2007-08-08  9:38                                                     ` Brady Chen
2007-08-08 10:26                                                       ` Keir Fraser
2007-08-08 12:12                                                         ` Brady Chen
2007-08-08 13:32                                                           ` Keir Fraser
2007-08-08 14:52                                                             ` Mats Petersson
2007-08-08 15:50                                                               ` Brady Chen
2007-08-08 16:19                                                                 ` Keir Fraser
2007-08-08 17:45                                                                   ` Mats Petersson
2007-08-08 20:26                                                                     ` Keir Fraser
2007-08-09  3:05                                                                       ` Brady Chen
2007-08-09  4:01                                                                         ` Brady Chen
2007-08-09  7:10                                                                           ` Keir Fraser
2007-08-09 10:35                                                                             ` Brady Chen
2007-08-09  7:13                                                                         ` Keir Fraser
2007-08-09 10:40                                                                           ` Brady Chen
2007-08-08 15:42                                                             ` Brady Chen

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=C2DDFA11.13AD3%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=AL.LINUX@bcpraha.com \
    --cc=chenchp@gmail.com \
    --cc=tygrawy@gazeta.pl \
    --cc=xen-devel@lists.xensource.com \
    --cc=z24@gmx.net \
    /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.