From owner-freebsd-hackers Thu Dec 11 18:16:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA05474 for hackers-outgoing; Thu, 11 Dec 1997 18:16:27 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA05457 for ; Thu, 11 Dec 1997 18:16:13 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id MAA00359; Fri, 12 Dec 1997 12:40:41 +1030 (CST) Message-Id: <199712120210.MAA00359@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: John-Mark Gurney cc: Mike Smith , ETX-B-SL Martti Kuparinen , freebsd-hackers@FreeBSD.ORG Subject: Re: panic: npxintr from nowhere In-reply-to: Your message of "Thu, 11 Dec 1997 17:59:38 -0800." <19971211175938.41550@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Dec 1997 12:40:41 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Hmm, interesting. I would guess that this means that you shouldn't run > > floating point code in the kernel. > > :) yeh... well, I was going to improve the fade screen saver so that > it wouldn't turn everything to a dull grey... Fixed point. Faster too. > also, if I remeber correctly, there are only two places in the kernel > that use floating point... one of them is in the Bt848 driver... I just looked; where? > > It probably fails because the FPU initialisation is lazy, and if you > > haven't initialised it before you use it, you'll die screaming. > > is there a routine for the kernel code to use to initalize it? You'd have to ask Bruce about that. mike