From: Tom Rotenberg Subject: Doamin crash when trying to install disk encryption (PointSec) on Windows HVM Date: Wed, 22 Apr 2009 11:50:49 +0300 Message-ID: <8686c3cd0904220150h769c71d0g52d9cf5b5de8474a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1980407768==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1980407768== Content-Type: multipart/alternative; boundary=0016e6469c0433bd51046820dce5 --0016e6469c0433bd51046820dce5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --0016e6469c0433bd51046820dce5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

i a= m 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 followin= g 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) cr= ashed on cpu#0:
(XEN) ----[ Xen-3.4.0-rc3-pre=A0 x86_64=A0 debug=3Dn=A0 = Not tainted ]----
(XEN) CPU:=A0=A0=A0 0
(XEN) RIP:=A0=A0=A0 1eae:[<= ;0000000000000787>]
(XEN) RFLAGS: 0000000000004046=A0=A0 CONTEXT: hvm guest
(XEN) rax: 00000= 00000000000=A0=A0 rbx: 0000000000000007=A0=A0 rcx: 0000000000100000
(XEN= ) rdx: 0000000000000000=A0=A0 rsi: 0000000000000000=A0=A0 rdi: 000000000000= 0000
(XEN) rbp: 0000000000008ebf=A0=A0 rsp: 0000000000017a5e=A0=A0 r8:= =A0 0000000000000000
(XEN) r9:=A0 0000000000000000=A0=A0 r10: 0000000000000000=A0=A0 r11: 000000= 0000000000
(XEN) r12: 0000000000000000=A0=A0 r13: 0000000000000000=A0=A0= r14: 0000000000000000
(XEN) r15: 0000000000000000=A0=A0 cr0: 0000000000= 000011=A0=A0 cr4: 0000000000000000
(XEN) cr3: 0000000000000000=A0=A0 cr2: 0000000000000000
(XEN) ds: 0040= =A0=A0 es: 0080=A0=A0 fs: 0040=A0=A0 gs: 0040=A0=A0 ss: 2112=A0=A0 cs: 1eae=


To me, it looks like the xen real-mode emulator fails to emulat= e 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 em= ulated in Xen.

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

Can someone please help me w= ith this, as i am not really familiar with the real mode emulation code?
Thanks,
=A0=A0=A0=A0=A0=A0=A0 Tom
--0016e6469c0433bd51046820dce5-- --===============1980407768== 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 --===============1980407768==--