From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Re: 2.6.28.7 domU: 32-bit emulation seems to be broken Date: Sun, 15 Mar 2009 09:28:58 -0700 Message-ID: <49BD2CCA.6070308@goop.org> References: <49BAFC72.4040501@goop.org> <49BB0184.1020503@goop.org> <49BB6F4A.90000@gmail.com> <49BC2994.6040404@goop.org> <49BCF38B.3000507@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <49BCF38B.3000507@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-15?Q?Sven_K=F6hler?= Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Sven K=F6hler wrote: > Jeremy Fitzhardinge schrieb: > =20 >> Has it ever worked? If so, what kernel version did it stop working at= ?=20 >> =20 > > 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 ? > > =20 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