WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Doamin crash when trying to install disk encryption (PointSe

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Doamin crash when trying to install disk encryption (PointSec) on Windows HVM
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Wed, 22 Apr 2009 11:50:49 +0300
Delivery-date: Wed, 22 Apr 2009 01:52:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=1UKT9DiYp3U5iyBaZRPHFNVbfFTTarlzKypiZVtNN1w=; b=OgdmsO7S3eaAaaNTXSfaYsRJiggg9GxFbjawS09IufU7xPhaRqDOwWsCz8DpiK05Zf TBAGcbHZUoO+LuptW6OlyfUXJmyzFxA67zRo/Jg+qr7h1jhDE8jK/Dju2fhNwB/mSnbs yjDfQTCw5XHP82v5ZyNIE6E6oDQe1U6BdHRsY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LNvWdCNSw3js6zJgE8bv0p22O/IMFQW41JPwg75sq4I4B2td7anHpK2T1bolzVk9UM A10J4E1ySGqPUOStl3OUv9mXQ0O/j7pIOxep57sQ6095gJSoYAABiEFBpX1JVCehCr2W ZO4xBVtzvggMMh83PHsiNrvpSGY05nuhM+yko=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

i am trying to install the disk encryption software: 'PointSec', on a Windows HVM. After the product is installed, in my second reboot, when the PointSec is trying to load is UI, the domain is crashing, with the following error:

(XEN) HVM2: Booting from Hard Disk...
(XEN) HVM2: Booting from 0000:7c00
(XEN) realmode.c:115:d2 Failed to emulate insn.
(XEN) realmode.c:165:d2 Real-mode emulation failed @ 1eae:00000787: 0f 00 d0 e4 70 0c
(XEN) domain_crash called from realmode.c:166
(XEN) Domain 2 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.4.0-rc3-pre  x86_64  debug=n  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    1eae:[<0000000000000787>]
(XEN) RFLAGS: 0000000000004046   CONTEXT: hvm guest
(XEN) rax: 0000000000000000   rbx: 0000000000000007   rcx: 0000000000100000
(XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 0000000000000000
(XEN) rbp: 0000000000008ebf   rsp: 0000000000017a5e   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000000000011   cr4: 0000000000000000
(XEN) cr3: 0000000000000000   cr2: 0000000000000000
(XEN) ds: 0040   es: 0080   fs: 0040   gs: 0040   ss: 2112   cs: 1eae


To me, it looks like the xen real-mode emulator fails to emulate the "LLDT" instruction.
I disassembled the code (as reported from the real-mode error message), and it looks like this:
LLDT AX
IN AL, 70
OR AL, 8B

AFAIK, the PointSec is trying to load his UI (which is probably coded in realmode) in this stage, and i guess that some of the instrctions he uses aren't emulated in Xen.

I am using xen-unstable, changeset: 19553 (from April 16), and the machione i am working on, is a Lenovo T500.

Can someone please help me with this, as i am not really familiar with the real mode emulation code?

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