Re: strange message appearing in a fresh current

From: Bruce Evans <bde_at_zeta.org.au>
Date: Sat, 19 Jun 2004 17:19:24 +1000 (EST)
On Fri, 18 Jun 2004, Divacky Roman wrote:

>
> kernel trap 22 with interrupts disabled
> npxdna: fpcurthread == curthread 1 times
>
> I am getting this quite often (uptime is about 2 minutes and I've got it
> at least 3 times)

This should be fixed soon:

%%%
Index: machdep.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v
retrieving revision 1.590
diff -u -2 -r1.590 machdep.c
--- machdep.c	11 Jun 2004 11:16:22 -0000	1.590
+++ machdep.c	19 Jun 2004 05:27:18 -0000
_at__at_ -1134,4 +1134,7 _at__at_
         }

+	/* XXX drop the FP state correctly, unlike in the next 3 statements. */
+	fpstate_drop(td);
+
 	/*
 	 * Initialize the math emulator (if any) for the current process.
%%%

> built for i686 cpu (amd duron) with -O -pipe

Hmm.  Don't Durons have FXSR?  (I686_CPU or CPU_ENABLE_SSE) and not
CPU_DISABLE_SSE together with a CPU that supports FXSR should give
a configuration that is not affected by the bug.

Bruce
Received on Sat Jun 19 2004 - 05:19:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:58 UTC