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/
Home Products Support Community News


Re: [Xen-devel] Doamin crash when trying to install disk encryption (Po

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [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 14:18:35 +0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 22 Apr 2009 04:19:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ab+Zqwt5K7ZWJfkYPdN+roTh/qmYUcb9XdAFv5HSUpw=; b=IjLPr6R32Umj7ps0Aa+uyb+hwi8YcNhRZqP0I4RXMFWDJQUOWaipIX4V0EI5R5tfEO LwEwd55qu/BMWAwa7IoGVfpJV1Mnrwp9a9xW4RyENuDE3tV3dyzfDXfm7EJWXjDr1mXc lBY2/iMGOr4s+1VhgpZkZKTx6x+BqYzUxx5kI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JO7VKCXYisl1CVPPNOP/st2mBWSwjWrWoT3yTf5hfLKhmJhmoJPHYHpa36/A9eRmXu tWe1v/ZZpgphgraCN1Opw/gsHgEZf8IHezvlNm1rsfAwTqwKKKPA4Bq6AB2VrZi0mduE 4D0Z4zrA0AlS3yjBiQTa2KRqFyt/B8mu0xmes=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C614B59D.929E%keir.fraser@xxxxxxxxxxxxx>
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>
References: <8686c3cd0904220150h769c71d0g52d9cf5b5de8474a@xxxxxxxxxxxxxx> <C614B59D.929E%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I have applied your patch, and it seemed to work. However, the domain still crashes, and now it looks like it's because of the 'LTR' instruction.

The (new) error i am receiving is:

(XEN) HVM1: Booting from Hard Disk...
(XEN) HVM1: Booting from 0000:7c00
(XEN) realmode.c:115:d1 Failed to emulate insn.
(XEN) realmode.c:165:d1 Real-mode emulation failed @ 1eae:00000797: 0f 00 d8 66 b8 8e
(XEN) domain_crash called from realmode.c:166
(XEN) Domain 1 (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:[<0000000000000797>]
(XEN) RFLAGS: 0000000000004086   CONTEXT: hvm guest
(XEN) rax: 0000000000000050   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: 0068   es: 0068   fs: 0068   gs: 0068   ss: 0070   cs: 1eae


2009/4/22 Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
On 22/04/2009 09:50, "Tom Rotenberg" <tom.rotenberg@xxxxxxxxx> wrote:

> 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?

We don't emulate LLDT at the moment. Try the attached patch.

 -- Keir

Xen-devel mailing list