Subject: Re: port-xen/30977: FPU troubles
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Quentin Garnier <cube@cubidou.net>
List: port-xen
Date: 12/09/2005 18:45:50
--GeDkoc8jIzHasOdk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
> >=20
> > First sign was xearth coredumping on login. Next was only "clicking"
> > from xmms, and I've had xpdf core, too.
> >=20
> > 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
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

ogg123 is happier with this, but still not perfect.

gkrellm, OTOH, is really not happy with it.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--GeDkoc8jIzHasOdk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQ5nCztgoQloHrPnoAQIRcwgAgf4dyJO36mhuYK4cdur4fn6glk9sbvyC
nSimx59JQZw/5xgdZriEJrcqHzxg73WqHdL23+2qyF+yAYI3xOlU6J6lCiDuDtYN
NEL/8CFvAvEyc2aVM5dMmLNF+8SqXvYEfi+kEl1rWWm/nw1vwc4qmdkHcfqxUb5R
fD7Z/JR4PeqltW/pKxEZ9O0oJOqSLoCXUdV+phHnPQoeeipfHYxP95uk+GaVzkwj
DfTYY7vxyiQ4iD8Gs4axTSmX/3vHkP9CjG1HUuSj2k9nP712lOcAzoGwqysjuSf0
ds0sny9ECmnR0x+J7VTXxVRQjuu9VI4bHNmBSeT3OceMPMXcujfO0g==
=dF8G
-----END PGP SIGNATURE-----

--GeDkoc8jIzHasOdk--