From owner-freebsd-current@FreeBSD.ORG Sat Jun 19 07:19:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F79316A4CE for ; Sat, 19 Jun 2004 07:19:47 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8CC943D2F for ; Sat, 19 Jun 2004 07:19:46 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i5J7JT4u018835; Sat, 19 Jun 2004 17:19:29 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i5J7JPao019490; Sat, 19 Jun 2004 17:19:27 +1000 Date: Sat, 19 Jun 2004 17:19:24 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Divacky Roman In-Reply-To: <20040618104954.GA63085@stud.fit.vutbr.cz> Message-ID: <20040619171345.R3813@gamplex.bde.org> References: <20040618104954.GA63085@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: strange message appearing in a fresh current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 07:19:47 -0000 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