qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@linux.intel.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu user x86 working?
Date: Fri, 11 Feb 2011 11:49:53 -0800	[thread overview]
Message-ID: <20110211194953.GA19467@tassilo.jf.intel.com> (raw)

Hi,

Is the linux-user qemu for x86-64/i386 supposed to work?

For example running it with a simple hello world on FC14 in gdb:

/home/ak/tsrc/hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped

[Thread debugging using libthread_db enabled]
ERROR: ioctl(SNDCTL_DSP_MAPINBUF): target=0x80085013 host=0x80105013
ERROR: ioctl(SNDCTL_DSP_MAPOUTBUF): target=0x80085014 host=0x80105014

Program received signal SIGSEGV, Segmentation fault.
0x000000006021f854 in static_code_gen_buffer ()
(gdb) disp/3i $pc
1: x/3i $pc
=> 0x6021f854 <static_code_gen_buffer+162660>:  mov    (%rbx),%rbp
   0x6021f857 <static_code_gen_buffer+162663>:  mov    0x28(%r14),%rbx
   0x6021f85b <static_code_gen_buffer+162667>:
    add    $0xffffffffffffff88,%rbx
(gdb) p $rbx
$2 = 0

I tested a few releases back, 0.13 and also 14-rc0 and they 
all segfault, although they are not all in the same place.
The qemu-user shipped by Fedora also seems to have the same problem.

Is this a known issue or am I doing something obviously wrong?

Thanks,
-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

             reply	other threads:[~2011-02-11 19:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 19:49 Andi Kleen [this message]
2011-02-11 22:05 ` [Qemu-devel] qemu user x86 working? Blue Swirl
2011-02-11 22:27   ` Andi Kleen
2011-02-12  1:04     ` Mulyadi Santosa
2011-02-12  8:08     ` Blue Swirl
2011-02-15 12:20       ` Andi Kleen

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=20110211194953.GA19467@tassilo.jf.intel.com \
    --to=ak@linux.intel.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).