Hello,
[root@Plugbox ~]# strace -ff -o ls-strace.log chroot /i386 /usr/bin/qemu-i386
/bin/ls
b? d?e?l? mu-e386i ome oot roc s? u?
bin diae hlrc.tin.gar m? o?oot qs? t? v?
[root@Plugbox ~]# strace -ff -o bash-strace.log chroot /i386 /usr/bin/qemu-i386
Also by googling I noticed that many people have the same problem if
their CPU architecture is different from x86, and the try to emulate
x86.
** Attachment added: "ls-strace"
https://bugs.launchpad.net/qemu/+bug/739785/+attachment/1951371/+files/ls-strace.log.32356
--
You received this bug
OK, can you run the following and attach the resulting strace logfiles?
strace -ff -o ls-strace.log chroot /i386 /usr/bin/qemu-i386 /bin/ls
strace -ff -o bash-strace.log chroot /i386 /usr/bin/qemu-i386 /bin/bash
-c /bin/ls
(and tell us what the commands print as well).
Also can you state exactl
I compiled a static bash build. Now there's no weird command prompt, but
I still can't execute anything because of fork.
[root@Plugbox i386]# chroot .
bash-44.# ls
bash: fork: Invalid argument
bash-44.# a
bash: fork: Invalid argument
bash-44.# asdf
bash: fork: Invalid
I found some more info about this, however it was on a ppc platform so I don't
know if it'll be useful:
http://www.powerdeveloper.org/forums/viewtopic.php?p=13709
"I've made some investigations. Seems that the problem is here:
clone(18874385,0,0,0,1210087208,1074262024) = -1 errno=22 (Invalid arg