From: "andrzej zaborowski" <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Documentation/tools on debuging dyngen code?
Date: Sat, 4 Oct 2008 01:38:09 +0200 [thread overview]
Message-ID: <fb249edb0810031638q63672e02m29bae29550f523c2@mail.gmail.com> (raw)
In-Reply-To: <E23056347B7FF446B369619CF6AAED9C06887515@xmb-sjc-218.amer.cisco.com>
2008/10/1 Bruce Beare (bbeare) <bbeare@cisco.com>:
> I'm working on a 2.6.24 Linux port built for ARCH=powerpc and configured
> for the PReP machine. I have the port booting using an unmodified 0.9.1
> version (actually, head from the SVN repo) of qemu-system-ppc but
> sometimes find that QEMU "hangs". Analysis of the hang reveals:
>
> o C-A C-X does not respond
> o QEMU is sucking up 100% cpu time of one processor
> o GDB to the kernel debug port (qemu option -s -p 1234) is non
> responsive
> o ltrace, strace show no system or library calls in progress
> o GDB on QEMU shows that it is executing apparently valid code in the
> 0x4xxxxxxx
> range.
>
> My conclusion is that QEMU is looping while executing the dynamically
> generated code. I'd like to debug this further... and am looking for
> some pointers on how to do so. Is there a built-in debugger? Is there a
I'm seeing a similar lock-up since around the time of the conversion
to TCG. It's caused by an interrupt being lost for some reason (a
signal not causing an exit from cpu loop properly). I've hit it on an
ARM target and Daniel Jacobowitz reproduced it on an x86 target). If
what you see is the same problem, adding -clock unix manages to work
around it because it means that signals will keep coming even if one
is lost and eventually the cpu loop will end, but this isn't a proper
fix.
Cheers
next prev parent reply other threads:[~2008-10-03 23:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-01 18:40 [Qemu-devel] [PATCH] 4/5: Adjustment needed for (some?) amd64 guests on i386 hosts Juergen Lock
2008-10-01 20:20 ` Thiemo Seufer
2008-10-01 21:18 ` [Qemu-devel] Documentation/tools on debuging dyngen code? Bruce Beare (bbeare)
2008-10-02 14:51 ` Mulyadi Santosa
2008-10-03 23:38 ` andrzej zaborowski [this message]
2008-10-02 18:47 ` [Qemu-devel] [PATCH] 4/5: Adjustment needed for (some?) amd64 guests on i386 hosts Juergen Lock
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=fb249edb0810031638q63672e02m29bae29550f523c2@mail.gmail.com \
--to=balrogg@gmail.com \
--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).