WARNING - OLD ARCHIVES

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

xen-devel

Re: [Xen-devel] Re: 2.6.28.7 domU: 32-bit emulation seems to be broken

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] Re: 2.6.28.7 domU: 32-bit emulation seems to be broken
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 14 Aug 2009 13:55:27 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Milan Holzäpfel <listen@xxxxxxxx>
Delivery-date: Fri, 14 Aug 2009 13:55:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200908101459.31377.Christoph.Egger@xxxxxxx>
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: <gpe0vg$j67$1@xxxxxxxxxxxxx> <49BFD56B.1040003@xxxxxxxx> <20090810132121.3859d865.listen@xxxxxxxx> <200908101459.31377.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
On 08/10/09 05:59, Christoph Egger wrote:
>> I still notice this problem with vanilla 2.6.30.4 domU under Xen 3.3.2
>> (32 bit binaries on a 64 bit domU kernel segfault, AMD CPU).  vdso32=0
>> still helps.
>>
>> Any news?
>>     
>
> What does Linux use w/o vdso32=0 on your box ? Does it use sysenter, syscall
> or int 0x80 ?
>
> Do you boot the DomU directly or does this happen after migration from
> an Intel box ?
>   

There appears to be a bug in the 64-bit xen_sysret32, which attempts to
take the sysret environment and turn it into an iret hypercall (since
iret is the only way to do a 64-bit kernel -> 32-bit user return).

I don't have an AMD test machine on hand, so I haven't had a chance to
work out what's actually failing.  I couldn't see anything wrong by
staring at the code, but that probably means I was either starting hard
at the bug, or looking right next to the bug...

Could you try looking at this?

    J

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

<Prev in Thread] Current Thread [Next in Thread>