Subject: Re: port-xen/30977: FPU troubles
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 12/09/2005 20:25:02
The following reply was made to PR port-xen/30977; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Quentin Garnier <cube@cubidou.net>
Cc: Paul Ripke <stix@stix.id.au>, gnats-bugs@NetBSD.org,
	port-xen@NetBSD.org
Subject: Re: port-xen/30977: FPU troubles
Date: Fri, 9 Dec 2005 21:21:31 +0100

 On Fri, Dec 09, 2005 at 06:45:50PM +0100, Quentin Garnier wrote:
 > On Wed, Nov 23, 2005 at 01:47:04PM +0100, Manuel Bouyer wrote:
 > > On Wed, Nov 23, 2005 at 08:15:04AM +1100, Paul Ripke wrote:
 > > > I've finally got around to trying xen (NetBSD-3.0BETA, xen 2.0.7) and
 > > > have run into this PR in DOM0.
 > > > 
 > > > First sign was xearth coredumping on login. Next was only "clicking"
 > > > from xmms, and I've had xpdf core, too.
 > > > 
 > > > A little debugging shows that the FPU state is not being correctly
 > > > saved or restored during "some" context switches. The following code
 > > > appears to exhibit the behaviour reliably:
 > [...]
 > > Index: i386/machdep.c
 > > ===================================================================
 > 
 > ogg123 is happier with this, but still not perfect.
 
 OK, this may be related to the flaw paranoia is still reporting.
 
 > gkrellm, OTOH, is really not happy with it.
 
 Is this a threaded program ?
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --