qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Cc: qemumail@olifantasia.com
Subject: Re: [Qemu-devel] PPC emulation, how?
Date: Wed, 21 Apr 2004 02:34:03 +0200	[thread overview]
Message-ID: <1082507643.8968.9.camel@rapid> (raw)
In-Reply-To: <4085B1B9.5040604@olifantasia.com>

On Wed, 2004-04-21 at 01:26, Martin wrote:
> IWith the ne2000 patch I can ping from host to qemu and from qemu to host.
> nfsmount doesn't work yet.
> I also tried a few tests with wget.
> It fails on some and succeeds on other tests. The good thing is that you 
> can stop wget with ctrl-C (mount and ping from the debianinstalldisk 
> just stop reacting if they fail in qemu)

Just try to use ping -c <count>
so you'll get the shell back...

> I think there are more endianess problems because wget fails on all 
> files which are odd sized.
> I made a few testfiles (less than 1 kb) and put them on my httpserver of 
> the host.
> a text file of 907 bytes fails 906 bytes succeeds 905 bytes fails.
> Fails in this case means the download doesn't even start.

I didn't test wget, because it's used to crash when I try to launch
it...
I'm not sure those are endian problems. It may be timer problem or worse
(MMU...).
I have a new implementation of time-base/decrementer which makes Linux
guest timings to be connected to reality.
This also boosts the emulation by a factor of 2 or 3. I'm reworking
exception management, which is not well implemented and may be buggy.
This will also improve speed and (I hope) solve some emulation problems.

> I am still not sure how to use the -S option and/or the gdb debugger 
> with qemu.

'-S' option is really simple: it just stops qemu just before starting
the emulation. You then have to enter the 'c' command in qemu monitor to
let it run.
You now have a PPC register dump in the monitor, too with 'info
registers'
The use of gdb is not easy when you emulate the whole system. I only use
it to solve kernel problems. For userland problems,
the best way may be to launch gdb in the guest system  :-)

-- 
J. Mayer <l_indien@magic.fr>
Never organized

      reply	other threads:[~2004-04-21  0:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 18:08 [Qemu-devel] PPC emulation, how? Francisco José Cañizares Santofimia
2004-04-13 18:56 ` Jocelyn Mayer
2004-04-14 14:25   ` Martin
2004-04-16 17:44     ` Jocelyn Mayer
2004-04-18 19:51       ` J. Mayer
2004-04-19 18:05       ` Martin
2004-04-19 18:34         ` Karel Gardas
     [not found]       ` <40830EDD.9080505@olifantasia.com>
     [not found]         ` <1082363002.29001.41.camel@rapid>
2004-04-19 18:12           ` Martin
2004-04-19 21:16             ` J. Mayer
2004-04-19 22:41               ` Carlos Valiente
2004-04-20 23:26                 ` Martin
2004-04-21  0:34                   ` J. Mayer [this message]

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=1082507643.8968.9.camel@rapid \
    --to=l_indien@magic.fr \
    --cc=qemu-devel@nongnu.org \
    --cc=qemumail@olifantasia.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 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).