2.2.13 387 Math Emulation related oops

Sven Geggus (geg@iitb.fhg.de)
Fri, 22 Oct 1999 15:26:04 +0200


Hi,

I am using an embedded Machine using an ALI M6117C CPU which claims to be
386 compatible (works fine without trying to use floating point commands).

I have verified, that Math emulation is called correctly by adding a printk
statement to the math_emulate() command.

The following code causes the attached oops (sorry, don't know how to code
this in assembly language):

--cut--
#include <math.h>

int main() {
printf("sin of 90: %f\n",sin(90));
exit(0);
}
--cut--

Unable to handle kernel paging request at virtual address 8499ebc0
current->tss.cr3 = 00e3d000, %cr3 = 00e3d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c01ac6f1>]
EFLAGS: 00010292
eax: 8499ebbc ebx: 00000001 ecx: 04f2d95b edx: 13cb656e
esi: 8499ebbc edi: c0e3ff00 ebp: c0e3ff00 esp: c0e3feac
ds: 0018 es: 0018 ss: 0018
Process a.out (pid: 27, process nr: 12, stackpage=c0e3f000)
Stack: 00000000 c0e3ffb4 c01ce8a8 c0e3feec c0e3fee8 c0e3fefc c0e3fed4
c0e3fef4
8499ebbc 1db11825 1f59845f 76f0a3cd c0e3ffb4 00000039 00000000
a6b5dce9
a2df3fff 0bedbcf8 fde5c782 a2502826 3742b934 b9693565 e5c332f2
e4dcf720
Call Trace: [<c01ce8a8>] [<c01a8ffb>] [<c01aa712>] [<c01a65df>] [<c011917d>]
[<c01191db>] [<c01192ae>]
[<c010ec39>] [<c0107c07>] [<c0107b44>]
Code: f7 60 04 89 54 24 28 8b 54 24 5c 89 54 24 10 89 54 24 2c 89

Regards

Sven

-- 
|_||_||||| Sven Geggus @ Fraunhofer IITB, Karlsruhe, GERMANY
|_||_||||| Phone: +49 6091-422, Web: http://wsd.iitb.fhg.de/
|        | ... Linux powered DATA aquisition and evaluation,
|  IITB  | embedded systems, combustion engine diagnosis

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/