From: Tom Rotenberg Subject: Re: Doamin crash when trying to install disk encryption (PointSec) on Windows HVM Date: Thu, 23 Apr 2009 17:08:35 +0300 Message-ID: <8686c3cd0904230708w7e0f41c3he3ed303573d52e38@mail.gmail.com> References: <8686c3cd0904230444tf05a311p813f8a426fa9ac1e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1521578859==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Tim Deegan , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1521578859== Content-Type: multipart/alternative; boundary=0016e647170271a3910468396a54 --0016e647170271a3910468396a54 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit About the TR, i have re-checked it, and it seems like the TR value is still 0x58, althoug the LTR operation put 0x50 into it. Since, i looked at the LTR code you sent me, and it seems ok, i tend to suspect, that there was some kind of (hardware) task switch, which changed the TR value without me knowing, is it possible? because otherwise, i can't really explain why the TR value is different than what was loaded from the LTR operation... BTW - how can i track what was the previous VMEXIT before this last VMENTRY which caused the exception? i think, that probably the last VMEXIT caused the "change" to vm86 mode, and this is waht causes the problem... Tom 2009/4/23 Keir Fraser > On 23/04/2009 12:44, "Tom Rotenberg" wrote: > > > However, from the VMCS dump, i saw data, which doesn't seem compatible > with > > this, as the LDTR sellector is indeed 0, but has attributes and limit > > different from zero (although it should have been totaly disabled, by the > > LLDT, no?). > > The 'unused' flag in the attributes word is set (bit 16) so LDTR is okay. > > > And more important, the TR selector is 0x58, although from the LTR, it > was > > supposed to be 0x50, no? > > If 0x50 was loaded then the selector should certainly be 0x50. > > -- Keir > > > (of-course it's possible that there were other instructions who changed > it > > back, however, i am wondering if there is a problem here). > > > --0016e647170271a3910468396a54 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
About the TR, i have re-checked it, and it seems like the = TR value is still 0x58, althoug the LTR operation put 0x50 into it. Since, = i looked at the LTR code you sent me, and it seems ok, i tend to suspect, t= hat there was some kind of (hardware) task switch, which changed the TR val= ue without me knowing, is it possible? because otherwise, i can't reall= y explain why the TR value is different than what was loaded from the LTR o= peration...

BTW - how can i track what was the previous VMEXIT before this last VME= NTRY which caused the exception? i think, that probably the last VMEXIT cau= sed the "change" to vm86 mode, and this is waht causes the proble= m...

Tom

2009/4/23 Keir Fraser <keir.fraser@eu.ci= trix.com>
On 23/04/2009 12:44, "Tom Rotenberg" <tom.rotenberg@gmail.com> wrote:=

> However, from the VMCS dump, i saw data, which doesn't seem compat= ible with
> this, as the LDTR sellector is indeed 0, but has attributes and limit<= br> > different from zero (although it should have been totaly disabled, by = the
> LLDT, no?).

The 'unused' flag in the attributes word is set (bit 16) so L= DTR is okay.

> And more important, the TR selector is 0x58, although from the LTR, it= was
> supposed to be 0x50, no?

If 0x50 was loaded then the selector should certainly be 0x50.

=A0-- Keir

> (of-course it's possible that there were other instructions who ch= anged it
> back, however, i am wondering if there is a problem here).


--0016e647170271a3910468396a54-- --===============1521578859== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1521578859==--