[Qemu-devel] [Bug 739785] Re: qemu-i386 on ARM bash: fork: Invalid argument

2011-03-28 Thread moonman
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

[Qemu-devel] [Bug 739785] Re: qemu-i386 on ARM bash: fork: Invalid argument

2011-03-28 Thread moonman
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

[Qemu-devel] [Bug 739785] Re: qemu-i386 on ARM bash: fork: Invalid argument

2011-03-28 Thread Peter Maydell
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

[Qemu-devel] [Bug 739785] Re: qemu-i386 on ARM bash: fork: Invalid argument

2011-03-22 Thread moonman
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

[Qemu-devel] [Bug 739785] Re: qemu-i386 on ARM bash: fork: Invalid argument

2011-03-22 Thread moonman
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