Bug #1612

panic: npxintr from nowhere

Added by bleader over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:alexh% Done:

0%

Category:-
Target version:-

Description

Hi,

I'm trying to install DragonFly BSD onto a small geode based board
(http://www.pcengines.ch/alix2c3.htm if this can be of any use).

I'm booting up a laptop with the live CD, running the "Setup NetBoot
Install Services" to boot from PXE. Just to ensure this wasn't in a
given version I tried with:
- 2.2.1
- 2.4.1
- LATEST downloaded on 23th of november

Attached is the full dmesg, here are a few hilights:

npx0: <math processor> on motherboard
npx0: error reporting broken; using 387 emulator

npxintr: npxthread = 0, curthread = 0xc168c6f0, npx_exists = 0
panic: npxintr from nowhere
Trace beginning at frame 0xccc4ccf4
panic(ccc4cd18,c168c6f0,bfbffce0,bfbffcd0,ccc4cd30) at panic+0x8c
panic(c05acd1b,c05f199c,0,c168c6f0,0) at panic+0x8c
npx_intr(0) at npx_intr+0xd6
Xfpu() at Xfpu+0x2e
Debugger("panic")

panic_npx_intr.log (5.42 KB) bleader, 11/23/2009 08:22 PM

patch-npx-0.diff Magnifier (607 Bytes) bleader, 11/25/2009 10:19 AM

History

#1 Updated by alexh over 4 years ago

I've ported DragonFly to a Geode LX (Soekris net5501) a few months ago. I'll
take a look at this issue whenever I have some time (hopefully later this
week).

Cheers,
Alex Hornung

#2 Updated by bleader over 4 years ago

polachok provided a patch (attached) and generated a new iso for me to test.

It seems to have resolved the issue.

-- snip --
npx0: <math processor> on motherboard
npx0: INT 16 interface
-- snip --

#3 Updated by polachok over 4 years ago

Is it safe to assume that every SMP CPU has FPU set in cpuid? Then we could
remove code duplication.
See the patch:
http://leaf.dragonflybsd.org/~polachok/patch-npx-1.diff

#4 Updated by polachok over 4 years ago

Fixed in b670c2c99ec73b62442407f5cf77c121faba7f5a.

Also available in: Atom PDF