strange message appearing in a fresh current
Bruce Evans
bde at zeta.org.au
Sat Jun 19 07:19:47 GMT 2004
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
@@ -1134,4 +1134,7 @@
}
+ /* 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
More information about the freebsd-current
mailing list