Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 22:12:33 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Vaibhave Agarwal <vaibhave@cs.utah.edu>
Cc:        freebsd-net@freebsd.org
Subject:   Re: npxintr from nowhere
Message-ID:  <20050522220248.D3215@epsplex.bde.org>
In-Reply-To: <Pine.LNX.4.61.0505220152010.22164@trust.cs.utah.edu>
References:  <20050521031625.77340.qmail@web53907.mail.yahoo.com> <Pine.LNX.4.61.0505220152010.22164@trust.cs.utah.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 May 2005, Vaibhave Agarwal wrote:

> I was writing some code at the ethernet layer,
> mainly changing the if_ethersubr.c for my work.
>
> I am not using any FP instructions in my code.
> But while running, my kernel crashes and gives the following panic msg:
> npx is the Floating point unit (fpu).
>
> ----------------------------------
> npxintr: npxproc = 0 , currproc = 0, npx_exists = 1
> panic: npxintr from nowhere
> ---------------------------------
> ...
>
> Has anybody ever got such message or they know the fix for it.
> I was not able to trace the error...even using kernel debug corefiles.

If you have a system newer than a 486SX, then npx interrupts shouldn't
be used for anything except to probe that not using them works.  It
is barely possible that a bug in turning off npx interrupts after the
probe results in one being delivered much later (there have been bugs
in this area).

If it was a real npx interrupt, then the address of the FP instruction
that caused it should be in the FPU state in the kernel dump.

Bruce



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