linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Software FPU emulation
@ 2002-02-21  8:51 srinivas pulipati
  2002-02-21 11:57 ` Jerry Van Baren
  0 siblings, 1 reply; 4+ messages in thread
From: srinivas pulipati @ 2002-02-21  8:51 UTC (permalink / raw)
  To: Embedded Linux PPC List


hi all,

i have ported linux-2.4.4 to my custmoboard based on mpc860.
i got the bash prompt succesfully.

but is is crashing sometimes and giving FPU emulation., sig:8.
sometimes working perfectly.

is it because of UPM programming problem or something else?

thanks
srinivas


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Software FPU emulation
  2002-02-21  8:51 Software FPU emulation srinivas pulipati
@ 2002-02-21 11:57 ` Jerry Van Baren
  0 siblings, 0 replies; 4+ messages in thread
From: Jerry Van Baren @ 2002-02-21 11:57 UTC (permalink / raw)
  To: linuxppc-embedded


98% certainty it is a memory (UPM) problem.  You are probably randomly
misreading an instruction as 0xFFxxxxxx which is a floating point
instruction.  This causes a FP emulation trap.  If you look at where the
trap occurred (SPR register SRR0) and look at the actual memory location in
question with your debugger, you probably will not find a FP instruction in
memory, which means it was misread.

gvb


At 02:21 PM 2/21/2002 +0530, srinivas pulipati wrote:

>hi all,
>
>i have ported linux-2.4.4 to my custmoboard based on mpc860.
>i got the bash prompt succesfully.
>
>but is is crashing sometimes and giving FPU emulation., sig:8.
>sometimes working perfectly.
>
>is it because of UPM programming problem or something else?
>
>thanks
>srinivas
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Software FPU Emulation
@ 2004-07-29  8:37 hu
  2004-07-29 17:11 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: hu @ 2004-07-29  8:37 UTC (permalink / raw)
  To: linuxppc-dev


1)environment
Linux kernel 2.4.4-rthal5
ppcboot 1.1.5
MPC823 board

2)I'm running a device driver which read data from touchpanel, sometimes
I get message like that:
Oops: Kernel Mode Software FPU Emulation, sig: 8
NIP: C000BC0C XER: C000206F LR: C000BC0C SP: C019FF60 REGS: c019feb0 TRAP: 1000
MSR: 00009032
TASK = c019dff0[0] 'swapper' Last syscall: 120
......
Call backtrace
C000BC0C C0003EE4 C0003EFC C01BA750 C00021E4

3)I check in System.map
C000BC0C 	Schedule
C0003EE4 	Letext(idled)
C0003EFC	cpu_idle
C01BA750	start_kernel
C00021E4	start_here

4)I dont know how can I do, from messages above, I cant see any clue to solve.

John Hu
hl76@263.net

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Software FPU Emulation
  2004-07-29  8:37 Software FPU Emulation hu
@ 2004-07-29 17:11 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-07-29 17:11 UTC (permalink / raw)
  To: hu; +Cc: linuxppc-dev


In message <20040729083532.57B4F2F7B5@smtp.263.net> you wrote:
>
> 1)environment
> Linux kernel 2.4.4-rthal5
> ppcboot 1.1.5
> MPC823 board

Alls these are pretty old versions. Did you  try  running  some  more
recent code?

> 2)I'm running a device driver which read data from touchpanel, sometimes
> I get message like that:
> Oops: Kernel Mode Software FPU Emulation, sig: 8

Maybe a bug in your driver?

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Monday is an awful way to spend one seventh of your life.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-29 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29  8:37 Software FPU Emulation hu
2004-07-29 17:11 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-02-21  8:51 Software FPU emulation srinivas pulipati
2002-02-21 11:57 ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).