Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Linus Torvalds
On Sun, 21 Aug 2005, Ondrej Zary wrote: > > MATH ERROR: cwd = 0x37f, swd = 0x1820 > > Pid: 1699, comm: mprime > EIP: 0073:[<08181c73>] CPU: 0 > EIP is at 0x8181c73 > ESP: 007b:bf927ab4 EFLAGS: 00010202Not tainted (2.6.12-pentium) > EAX: 0001 EBX: ECX: 808d

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Linus Torvalds
On Sun, 21 Aug 2005, Chuck Ebbert wrote: > > > MATH ERROR: cwd = 0x37f, swd = 0x2800 <=== > > The error I marked has no exception flags set. The rest are all (masked) > denormal exceptions. Why your Cyrix MII would cause an FPU exception in these > cases is beyond me. Could you t

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Ondrej Zary
Linus Torvalds wrote: On Sun, 21 Aug 2005, Chuck Ebbert wrote: MATH ERROR: cwd = 0x37f, swd = 0x2800 <=== The error I marked has no exception flags set. The rest are all (masked) denormal exceptions. Why your Cyrix MII would cause an FPU exception in these cases is beyond me.

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Chuck Ebbert
On Thu, 18 Aug 2005 12:37:30 +0200, Ondrej Zary wrote: > > Could you modify this to print the full values of cwd and swd like this? > > > > printk("MATH ERROR: cwd = 0x%hx, swd = 0x%hx\n", cwd, swd); > > > > Then post the result. > MATH ERROR: cwd = 0x37f, swd = 0x5020 > MATH ERROR: cw

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-18 Thread Ondrej Zary
Chuck Ebbert wrote: On Wed, 17 Aug 2005 at 18:13:55 +0200, Ondrej Zary wrote: When I run a program that uses FPU, it sometimes crashes with "flaoting point exception" + printk("MATH ERROR %d\n",((~cwd) & swd & 0x3f) | (swd & 0x240)); Could you modify this to print the full values

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread Chuck Ebbert
On Wed, 17 Aug 2005 at 18:13:55 +0200, Ondrej Zary wrote: > When I run a program that uses FPU, it sometimes crashes with "flaoting > point exception" > + printk("MATH ERROR %d\n",((~cwd) & swd & 0x3f) | (swd & 0x240)); Could you modify this to print the full values of cwd and swd like t

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread linux-os \(Dick Johnson\)
On Wed, 17 Aug 2005, Ondrej Zary wrote: > My machine (Cyrix MII PR300 CPU, PCPartner TXB820DS board with i430TX > chipset) exhibits a really weird problem: > When I run a program that uses FPU, it sometimes crashes with "flaoting > point exception" - for example, when playing MP3 files using any

FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-17 Thread Ondrej Zary
My machine (Cyrix MII PR300 CPU, PCPartner TXB820DS board with i430TX chipset) exhibits a really weird problem: When I run a program that uses FPU, it sometimes crashes with "flaoting point exception" - for example, when playing MP3 files using any player. Or with Prime95 - http://www.mersenne.o