[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Thu, 27 Jan 2011 13:31:53 +1100
  • Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • Delivery-date: Wed, 26 Jan 2011 18:32:44 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acu9IOYLjzOjGfDnSTu8s3+YKu8dYQAqTbQg
  • Thread-topic: [Xen-devel] AMD crash on restore. bug in MTRR restore. 4.0.2-rc2-pre

Additionally, WinDbg tells me that MSR's 175, and 176 are wiped out by
save/restore:

immediately before suspend
kd> rdmsr 174
msr[174] = 00000000`00000008
kd> rdmsr 175
msr[175] = 00000000`8039e000
kd> rdmsr 176
msr[176] = 00000000`816a4950

immediately after restore
kd> rdmsr 174
msr[174] = 00000000`00000000
kd> rdmsr 175
msr[175] = 00000000`00000000
kd> rdmsr 176
msr[176] = 00000000`00000000

although you're never too sure with WinDbg...

James

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
> Sent: Wednesday, 26 January 2011 17:19
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: Tim Deegan
> Subject: [Xen-devel] AMD crash on restore. bug in MTRR restore.
4.0.2-rc2-pre
> 
> The mtrr save code on my AMD system reads the first MTRR as
> 0x00000000f0000000,0x000000fff8000800. When it tries to restore in
> mtrr_var_range_msr_set, 0x000000fff8000800 is rejected as invalid and
> not restored.
> 
> Commenting out the check against the mask, as well as Tim's patch to
fix
> the segment registers makes the output of xen-hvmctx match before the
> save and after the restore.
> 
> Windows still crashes on restore though so I don't know if this has
> anything to do with it.
> 
> James
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.