qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219
@ 2005-10-13 15:08 mre2007
  2005-10-16  2:28 ` Paul Brook
  0 siblings, 1 reply; 4+ messages in thread
From: mre2007 @ 2005-10-13 15:08 UTC (permalink / raw)
  To: qemu-devel

I am having problems running a toy example using qemu. Here's my setup:

Linux argon 2.6.11.4-21.9-default #1 Fri Aug 19 11:58:59 UTC 2005 i686
i686 i386 GNU/Linux

./configure --disable-gfx-check --prefix=../tmp
--target-list=i386-user,i386-softmmu

argon:~/tmp # ./qemu-i386 /bin/ls
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 258
qemu: Unsupported syscall: 240
qemu  qemu-i386  qemu-img

argon:~/tmp # ./qemu-i386 -L / /bin/ls
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 219
qemu: Unsupported syscall: 258
qemu: Unsupported syscall: 240
qemu  qemu-i386  qemu-img

argon:~/projects/stem/bin # lsmod | grep kqemu
kqemu                  40968  0

any ideas?

-Marc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219
  2005-10-13 15:08 [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219 mre2007
@ 2005-10-16  2:28 ` Paul Brook
  2005-10-17 12:38   ` mre2007
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Brook @ 2005-10-16  2:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: mre2007

> argon:~/tmp # ./qemu-i386 /bin/ls
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 219
> qemu: Unsupported syscall: 258
> qemu: Unsupported syscall: 240
> qemu  qemu-i386  qemu-img

qemu doesn't support NPTL.

> argon:~/projects/stem/bin # lsmod | grep kqemu
> kqemu                  40968  0

Not relevant. kqemu is only used for full system emulation.

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219
  2005-10-16  2:28 ` Paul Brook
@ 2005-10-17 12:38   ` mre2007
  2005-10-18 17:31     ` Mulyadi Santosa
  0 siblings, 1 reply; 4+ messages in thread
From: mre2007 @ 2005-10-17 12:38 UTC (permalink / raw)
  To: Paul Brook; +Cc: qemu-devel

>> argon:~/tmp # ./qemu-i386 /bin/ls
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 219
>> qemu: Unsupported syscall: 258
>> qemu: Unsupported syscall: 240
>> qemu  qemu-i386  qemu-img
>
> qemu doesn't support NPTL.
>

ah, so what are my options here? Can I compile qemu with an explicit
-lpthread flag, or will I have to recomplile glibc? It seems that having
two glibc libraries on my system is rather messy...

Thanks,
-Marc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219
  2005-10-17 12:38   ` mre2007
@ 2005-10-18 17:31     ` Mulyadi Santosa
  0 siblings, 0 replies; 4+ messages in thread
From: Mulyadi Santosa @ 2005-10-18 17:31 UTC (permalink / raw)
  To: qemu-devel, mre2007, Paul Brook

hello

> ah, so what are my options here? Can I compile qemu with an explicit
> -lpthread flag, or will I have to recomplile glibc? It seems that
> having two glibc libraries on my system is rather messy...

try to use LD_ASSUME_KERNEL, so your command becomes
LD_ASSUME_KERNEL=2.4.9 ./qemu-i386 /bin/ls

or you can rename the /lib/tls or /lib/i686 into something else e.g. 
/lib/tls-

Ler me know if this works...

regards

Mulyadi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-18 17:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-13 15:08 [Qemu-devel] Trying to emulate "ls" -> qemu: Unsupported syscall: 219 mre2007
2005-10-16  2:28 ` Paul Brook
2005-10-17 12:38   ` mre2007
2005-10-18 17:31     ` Mulyadi Santosa

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).