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

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

To: Sven Köhler <sven.koehler@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: 2.6.28.7 domU: 32-bit emulation seems to be broken
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Sun, 15 Mar 2009 09:28:58 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 15 Mar 2009 09:29:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49BCF38B.3000507@xxxxxxxxx>
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> <gpei6e$gcn$1@xxxxxxxxxxxxx> <49BAFC72.4040501@xxxxxxxx> <49BB0184.1020503@xxxxxxxx> <49BB6F4A.90000@xxxxxxxxx> <49BC2994.6040404@xxxxxxxx> <49BCF38B.3000507@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Sven Köhler wrote:
Jeremy Fitzhardinge schrieb:
Has it ever worked? If so, what kernel version did it stop working at?

I've just tried a good old non-pv_ops 2.6.18 kernel:

I ran the same binary file, that segfaults on 2.6.28.7.
It runs just fine on 2.6.18.

I haven't tested any other pc_ops kernel version. I'm not sure, that it
ever worked with these kernel. Which was the first kernel version, that
had domU support? 2.6.28.0 ?

Does this patch help?

diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index e4baa06..3ea8299 100644
--- a/arch/x86/ia32/ia32entry.S
+++ b/arch/x86/ia32/ia32entry.S
@@ -400,7 +400,6 @@ ENTRY(ia32_syscall)
        /*CFI_REL_OFFSET        rflags,EFLAGS-RIP*/
        /*CFI_REL_OFFSET        cs,CS-RIP*/
        CFI_REL_OFFSET  rip,RIP-RIP
-       PARAVIRT_ADJUST_EXCEPTION_FRAME
        SWAPGS
        /*
         * No need to follow this irqs on/off section: the syscall

        J


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

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