* [Qemu-devel] Help debugging qemu linux-user
@ 2009-01-14 22:16 Arnaud Patard
2009-01-18 19:51 ` Miklos Vajna
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2009-01-14 22:16 UTC (permalink / raw)
To: qemu-devel
Hi,
Theses days, I've been trying to play with qemu on mipsel on my freetime
(mainly to play with mips assembly). Now, I'm able to run some
busybox commands with busybox-static debs (for
armel,mipsel,i386). Unfortunately, every time I tried to use non-static
binaries (say some chroot or the binaries from the
linux-user-test-0.3.tar.gz file), qemu is crashing. The code should
not be so bad as it's working fine with the static binaries imho. So
either the bug comes from my code or it comes from somewhere else in the
qemu code. Can someone give me some advice on how to debug that ?
Moreover, after looking at the mailing-list archive, it's not clear if
someone managed to run non-static binaries with the previous patches for
mips hosts. Can someone tell me if it worked ?
I plan to send the patches against the svn for inclusion but I need to
fix this bug, add support for the softmmu case and clean my code (it's
ugly, contains #if 0 and other bad things) so don't ask for it please :)
btw, are there some CodingStyle rules ?
Thanks,
Arnaud
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Help debugging qemu linux-user
2009-01-14 22:16 [Qemu-devel] Help debugging qemu linux-user Arnaud Patard
@ 2009-01-18 19:51 ` Miklos Vajna
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Vajna @ 2009-01-18 19:51 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
On Wed, Jan 14, 2009 at 11:16:26PM +0100, Arnaud Patard <arnaud.patard@rtp-net.org> wrote:
> Theses days, I've been trying to play with qemu on mipsel on my freetime
> (mainly to play with mips assembly). Now, I'm able to run some
> busybox commands with busybox-static debs (for
> armel,mipsel,i386). Unfortunately, every time I tried to use non-static
> binaries (say some chroot or the binaries from the
> linux-user-test-0.3.tar.gz file), qemu is crashing. The code should
> not be so bad as it's working fine with the static binaries imho. So
> either the bug comes from my code or it comes from somewhere else in the
> qemu code. Can someone give me some advice on how to debug that ?
Try running a simple application that uses fork(). I guess your problem
is that the binary is linked to an nptl-enabled libc, and nptl is
supported only on arm and sh IIRC.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-18 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 22:16 [Qemu-devel] Help debugging qemu linux-user Arnaud Patard
2009-01-18 19:51 ` Miklos Vajna
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).