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

Re: [Xen-devel] set_gdt failing in translated mode

  • To: "Keir Fraser" <keir@xxxxxxxxxxxxx>
  • From: "Tim Wood" <twwood@xxxxxxxxx>
  • Date: Mon, 11 Dec 2006 15:12:35 -0500
  • Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 11 Dec 2006 12:12:29 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UISKZ+6q2nkLS0GSpPUnpS6+r1CUzDBEXcIfaQPbzQNjIrRjwQYDpHkxkO84hs57ogNHkqBKerS8MjVoM9FH6DF34QnCEI4WBPxBZL3UOlVb0XJVG/fVz1Y5LWssj12u5o7WsGG3MxJDhJMkKsnUGprm4hsr4CVOBtqMJGt3g5c=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 12/11/06, Keir Fraser <keir@xxxxxxxxxxxxx> wrote:
On 11/12/06 01:03, "Tim Wood" <twwood@xxxxxxxxx> wrote:

> I'm working on save/restore for domains using translated shadow page
> tables.  I've added support so that page tables are not
> (un)canonicalized during save/restore, but when the new context is
> being loaded, the set_gdt call is failing.  Specifically, the
> get_page_and_type() call fails.

What's the error (try adding guest_loglvl=all as a Xen boot parameter)? Most
likely Xen thinks the GDT pages are already mapped writable. Or there could
be a PFN vs. MFN mixup.

In get_page_type, I am getting this error message:
Error while validating mfn 53be (pfn 1091) for type a0000000:
caf=80000002 taf=00000000

Digging down as deep as I can, the root error is in check_descriptor()
because [b & _SEGMENT_TYPE) != 0xc00] is true, so the call fails.  I'm
not 100% sure on the significance of that yet.

I see that alloc_segdesc_page is calling check_descriptor() multiple
times and that the first 30 iterations succeed.

any advice? --thanks in advance,

Xen-devel mailing list



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