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


RE: RE: [Xen-devel] wget and Zope crashes on post-2.0.6 -testing

To: "Kurt Garloff" <garloff@xxxxxxx>
Subject: RE: RE: [Xen-devel] wget and Zope crashes on post-2.0.6 -testing
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 8 Jun 2005 22:19:35 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Kip Macy <kip.macy@xxxxxxxxx>, Rich Persaud <rich@xxxxxxxxxxxxx>, Osma Suominen <osma.suominen@xxxxxxxxxxxx>, Gerd Knorr <kraxel@xxxxxxx>
Delivery-date: Wed, 08 Jun 2005 21:18:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVsbOqJjO+6Js7PRjSRRCA6tHSkoQAAhssA
Thread-topic: RE: [Xen-devel] wget and Zope crashes on post-2.0.6 -testing
> I observed that the first userspace process that uses the FPU 
> will SIGFPE once. Afterwards everything runs just fine ...
> You description looks like it matches exactly the 
> misbehaviour I've been seeing.

Got any more critical bugs you're not telling us about? :-)

> Is attached patch the right way to fix this?

I think that should work (with the obvious kernel_ prefix), but I've
appeneded what we've gone for.


--- linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/bugs.h
2005-06-08 22:08:52.000000000 +0100
+++ linux-2.6.11-xen0/include/asm-i386/bugs.h   2005-03-02
07:37:49.000000000 +0000
@@ -107,7 +107,6 @@
                : "=m" (*&boot_cpu_data.fdiv_bug)
                : "m" (*&x), "m" (*&y));
+       stts();
        if (boot_cpu_data.fdiv_bug)
                printk("Hmm, FPU with FDIV bug.\n");

Xen-devel mailing list