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

Re: [Xen-devel] Setting up page directories and tables


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Dave Pacheco" <dap@xxxxxxxxxxxx>
  • Date: Fri, 27 Apr 2007 20:56:12 -0400
  • Cc: Joel Weinberger <joel@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 27 Apr 2007 17:54:44 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=oGWo+GVtchK6sPnsEImQBTzVuzWIxaoCh/pqe6Nwa+SweYSfaNa6IpoB6WndIz/IZaXsm5rsD1q4qYjtOuCW395KH5dA/ICbxyj/nDM9015LDWmqDnemdsQNNcio0iYJMwf+Sg79heXmjtKaHTj0hooHYhXBGqZhiUr5/fXpQUo=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 4/27/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
On 27/4/07 21:11, "Dave Pacheco" < dap@xxxxxxxxxxxx> wrote:

All of these steps succeed (the hypercall returns 0, and the argument indicating how many updates succeeded is 1 in both cases). But later, when switching into the context of this process, I try to update the user base pointer with

 HYPERVISOR_mmuext_op({MMUEXT_NEW_USER_BASEPTR, mfn of P}...).

Only x86/64 has a separate USER_BASEPTR. You want to use just MMUEXT_NEW_BASEPTR.

When I use that, the domain immediately crashes. I would have expected a page fault, since the page tables aren't actually set up yet, but I don't even get that. (It's possible that it faulted again trying to load the fault handler.)

/var/log/xen/xend.log doesn't say much useful, other than that the domain crashed. Is there a way to tell why a domain crashed (i.e. executing an illegal instruction, or triple fault, or something like that)?

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

 


Rackspace

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