All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Deegan <Tim.Deegan@citrix.com>
To: James Harper <james.harper@bendigoit.com.au>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: xm save + restore crashes Windows 2008 32-bit (4.0.2-rc2-pre)
Date: Tue, 25 Jan 2011 10:53:13 +0000	[thread overview]
Message-ID: <20110125105313.GC13241@whitby.uk.xensource.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01BB927D@trantor>

At 10:43 +0000 on 25 Jan (1295952215), James Harper wrote:
> > > I should know if the problem exists on intel very soon. I'm guessing
> not
> > > or I wouldn't be the first one posting about it... either that or
> there
> > > is something else going on.
> > 
> > It was on AMD that I saw it too.  If I read them correctly, Ian's
> > regression tests are passing HVM save/restore for at least some
> Windows
> > versions on AMD too, so it may be very specific.
> > 
> 
> Definitely AMD specific. Works fine on my Intel system.
> 
> I'm guessing it's missing the save and/or restore of some critical part
> of the CPU state for the domain that causes an immediate crash when
> return to user mode. Any suggestions as to where to start looking?

I'm trying to set it up here as well but I'm away from the office and
getting the VGA console as far as my screen is proving tricky.

Can you try:
 - xl pause <domid>
 - xen-hvmctx <domid> >before
 - xl save <domid> save-file
 - xl restore -p save-file
 - xl list
 - xen-hvmctx <new-domid> >after
 - diff -u before after

There should be a few differences to do with timers and TSCs but there
might be some other smoking gun.  Of course it's possible that some
piece of state got added that didn't get into the save/restore code at
all.  It's also possible that some vital piece of memory isn't getting
saved properly but that's less likely to be AMD-specific. 

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@citrix.com>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

  reply	other threads:[~2011-01-25 10:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25  4:20 xm save + restore crashes Windows 2008 32-bit (4.0.2-rc2-pre) James Harper
2011-01-25  9:24 ` Tim Deegan
2011-01-25  9:28   ` James Harper
2011-01-25 10:39     ` Tim Deegan
2011-01-25 10:43       ` James Harper
2011-01-25 10:53         ` Tim Deegan [this message]
2011-01-25 11:01           ` James Harper
2011-01-25 11:12             ` Tim Deegan
2011-01-25 11:24           ` James Harper
2011-01-25 11:37           ` James Harper
2011-01-25 11:52             ` xm save + restore crashes Windows 2008 32-bit(4.0.2-rc2-pre) James Harper
2011-01-25 13:35               ` xm save + restore crashes Windows 200832-bit(4.0.2-rc2-pre) (AMD only) James Harper
2011-01-25 14:37                 ` Tim Deegan
2011-01-25 22:11                   ` James Harper
2011-01-25 22:21                     ` Tim Deegan
2011-01-25 22:25                       ` James Harper

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=20110125105313.GC13241@whitby.uk.xensource.com \
    --to=tim.deegan@citrix.com \
    --cc=james.harper@bendigoit.com.au \
    --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.