qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ben Taylor <sol10x86@cox.net>
To: Rob Landley <rob@landley.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] PATCH: allow Sparc hosts to run arm/mips/sparc-softmmu
Date: Thu, 15 Mar 2007 12:50:58 -0400	[thread overview]
Message-ID: <18442832.1173977458530.JavaMail.root@eastrmwml07.mgt.cox.net> (raw)


---- Rob Landley <rob@landley.net> wrote: 
> On Tuesday 13 March 2007 10:25 am, Ben Taylor wrote:
> > However, it's very wax-on, wax-off kind of thing.  Without the patch,
> > arm-test and mips-test crash.  With the patch, I can run both tests.
> 
> Could we get a reproduction sequence for the crashes please?

Running 0.9.0-CVS plus a few patches, on a Solaris 10/FCS 
heavily patched host, compiled with blastwave gcc-3.4.3.

When I run the arm-test as suggested by the readme, qemu
core dumps with a SIGSEGV at the line that was patched.  I agree
with Paul that is probalby not the right fix.  It does just happen to
fix it on both mips-test and arm-test.

Uncommmenting the define for DEBUG_EXEC in cpu-exec.c 
and recompiling, and starting the arm-test with "-vnc :0 -S", 
connecting with VNC, going to the qemu monitor and enabling 
all logging and hitting continue, the qemu again dumps core, 
having processed exactly one translation block.   With the patch,
and started exactly the same way, the first TB log looks exactly
the same, but continues without "crashing".

If I put a fprintf(logfile...) above the line, it works, no crash.

I am not very good at debugging as it is, and I'm pretty sure that there's
some sort of left over from the TB that is causing the problem.  I'm
suspecting maybe a page boundry, just from having stepi'd all the
instructions in the TB before it SEGV's on that line.  The last address
looked suspciously like a page boundry.  However, that's just an
uneducated SWAG at what the problem is.

Does that help?

Ben

             reply	other threads:[~2007-03-15 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 16:50 Ben Taylor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-13 14:25 [Qemu-devel] PATCH: allow Sparc hosts to run arm/mips/sparc-softmmu Ben Taylor
2007-03-13 14:57 ` Paul Brook
2007-03-15 16:22 ` Rob Landley
2007-03-13 14:01 Ben Taylor
2007-03-13 14:08 ` Paul Brook

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=18442832.1173977458530.JavaMail.root@eastrmwml07.mgt.cox.net \
    --to=sol10x86@cox.net \
    --cc=qemu-devel@nongnu.org \
    --cc=rob@landley.net \
    /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).