Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 1997 17:59:38 -0800
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        ETX-B-SL Martti Kuparinen <erakupa@kk.etx.ericsson.se>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: panic: npxintr from nowhere
Message-ID:  <19971211175938.41550@hydrogen.nike.efn.org>
In-Reply-To: <199712120143.MAA00288@word.smith.net.au>; from Mike Smith on Fri, Dec 12, 1997 at 12:13:18PM %2B1030
References:  <19971211173046.63648@hydrogen.nike.efn.org> <199712120143.MAA00288@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith scribbled this message on Dec 12:
> > actually, now that someone else brought it up, any good way to call
> > floating point routins from the kernel?  if you do, and don't have
> > any processes that have used floating point, will will get the above
> > mentioned panic...
> 
> 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...

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...

> Think about it for a moment; to whom would you deliver a floating-point 
> exception?
> 
> 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?

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971211175938.41550>