All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Harris <kharris@nexus-tech.net>
To: Jerry Van Baren <vanbaren_gerald@si.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Software Emulation error
Date: Thu, 21 Dec 2000 08:28:28 -0500	[thread overview]
Message-ID: <3A42057C.6449819F@nexus-tech.net> (raw)
In-Reply-To: 4.3.2.20001221073632.00bb81f0@falcon.si.com


Jerry Van Baren wrote:
>
> Scrogged memory, bad code.  You are trying to execute a floating point
> instruction and your processor doesn't support floating point (or it is
> disabled).  Memories like to go to 0xFFs and that is a floating point
> instruction.  Most floating point instructions are 0xFE and the 'D'
> field supplies the remaining '1' bit.  I don't see any valid
> instructions for 0xFFFFFFDA (they all have a reserved field of '0's in
> them), but the op-code causes a floating point trap if you don't have
> floating point available/enabled.
>
> I assume memcp/44 is line 44 in memcp.  I would check the parameters to
> the memcp() call to make sure you aren't copying garbage over
> yourself.  If you can look at the assembly code and registers, make
> sure the destination wasn't 0x398c8d84 (next instruction pointer - 4).
>
> How was my guess?  Did I win $1,000,000 :-)?  It would be easier if you
> tell us the processor and more about your system.

Sorry, I guess more detailed info would be helpful. I'm running a 2.2.13
kernel on a TQM823 board. I have seen this error when using dd to write
to flash. But it's not consistent (sometimes dd works, sometimes it
doesn't). Then I wrote a program using the times() function and it
always fails. I went back and tried this with the original kernel and it
works! I recompiled with and without MATH_EMULATION, but essentially get
the same error. I've tried rebuilding the kernel to what I think are
default settings, but still no luck. What other kernel configs are
relevant?

I'll put your name in the drawing for the $1M. :)

Thanks, Kyle.

> At 09:20 PM 12/20/00 -0500, Kyle Harris wrote:
>
> >Hi,
> >
> >I've encountered the following error several times while running various
> >programs. This one comes from a process attempting to call the times()
> >function.
> >
> >Software Emulation memcp/44 NIP: 18424a0 *NIP: 0x398c8d88 code: ffffffda
> >Illegal Instruction
> >
> >Can anyone give me a clue as to why this happens?
> >
> >Thanks, Kyle.
> >
>

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

  reply	other threads:[~2000-12-21 13:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21  2:20 Software Emulation error Kyle Harris
2000-12-21 12:48 ` Jerry Van Baren
2000-12-21 13:28   ` Kyle Harris [this message]
2000-12-21 15:48     ` Wolfgang Denk
2000-12-21 16:05       ` Kyle Harris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A42057C.6449819F@nexus-tech.net \
    --to=kharris@nexus-tech.net \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=vanbaren_gerald@si.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.