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

Re: [Xen-devel] About arm32 address translation



On Wed, Oct 16, 2013 at 11:24:47AM +0100, Ian Campbell wrote:
> On Wed, 2013-10-16 at 18:02 +0800, Chen Baozi wrote:
> > On Oct 16, 2013, at 5:25 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > 
> > > On Wed, 2013-10-16 at 17:20 +0800, Chen Baozi wrote:
> > >> Hi Ian,
> > >> 
> > >> I am trying to add supporting dumping 32-bit guest on arm32 to see
> > >> what happened in my dom0 kernel when booting. It seems
> > >> gvirt_to_maddr() is not workable under arm32.
> > > 
> > > What makes you say that, it should work, or else it is buggy and we've
> > > not noticed, but it is used in copy to/from user routines so I doubt
> > > that.
> > 
> > Ok, I'll look into it. The output shows me "Failed to convert stack to
> > physical address". In this case, it must be gvirt_to_maddr to return
> > -EFAULT.
> 
> That suggests that the guest's SP doesn't have a mapping in the guest's
> PTs. What's the full trace?

See http://pastebin.com/DYL5gkAQ

Thanks.

Baozi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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