qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: James Hogan <james.hogan@imgtec.com>
To: Duarte Silva <duarte.silva@serializing.me>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Support for NetLogic XLP Processors
Date: Wed, 25 Mar 2015 13:13:14 +0000	[thread overview]
Message-ID: <5512B46A.4080208@imgtec.com> (raw)
In-Reply-To: <8111192.6dZICC2BlA@lczc1207b1zdcs>

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

Hi Duarte,

On 22/03/15 11:13, Duarte Silva wrote:
> Hi guys,
> 
> I have been struggling to get some binaries compiled for NetLogic XLP 
> processor to run under QEMU. I have tried a bunch of things (most going back 
> and forth) and always get the following error message:
> 
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction
> 
> I tried to debug it using GDB but to no avail. Does anybody have ideas? I'm 
> running QEMU 2.2.1.

It sounds like the program had an instruction that QEMU doesn't
recognise, or doesn't think should be allowed on the current CPU which
you've set with -cpu. You might be able to find out what that
instruction is by putting this on your qemu command line:

 -singlestep -d in_asm

that will cause it to only translate one instruction at a time, and to
dump each one as it is translated. The last one printed will very likely
to be the one that is causing the problem.

Cheers
James


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-03-25 13:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-22 11:13 [Qemu-devel] Support for NetLogic XLP Processors Duarte Silva
2015-03-25 11:26 ` Duarte Silva
2015-03-25 13:13 ` James Hogan [this message]
2015-03-25 14:20   ` Duarte Silva
2015-03-25 14:44     ` Leon Alrae
2015-03-25 14:54       ` Leon Alrae
2015-03-25 15:38         ` Duarte Silva
2015-03-25 17:33           ` Leon Alrae
2015-03-25 23:54             ` Duarte Silva
2015-03-26  9:29               ` Leon Alrae
2015-03-26  9:34                 ` James Hogan
2015-03-26  9:54                   ` Duarte Silva

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=5512B46A.4080208@imgtec.com \
    --to=james.hogan@imgtec.com \
    --cc=duarte.silva@serializing.me \
    --cc=qemu-devel@nongnu.org \
    /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 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).