qemu-i386 on ARM bash: fork: Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Good time of day everybody,
I have been trying to make usermode qemu on ARM with plugapps (archlinux) with archlinux i386 chroot to work.
1. I installed arch linux in a virtuabox and created a chroot for it with mkarchroot. Transferred it to my pogo plug into /i386/
2. I comiled qemu-i386 static and put it into /i386/usr/bin/
./configure --static --disable-blobs --disable-system --target-
make
3. I also compiled linux kernel 2.6.38 with CONFIG_
uname -a
Linux Plugbox 2.6.38 #4 PREEMPT Fri Mar 18 22:19:10 CDT 2011 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux
4. Added the following options into /etc/rc.local
/sbin/modprobe binfmt_misc
/bin/mount binfmt_misc -t binfmt_misc /proc/sys/
echo ':qemu-
5. Also copied ld-linux.so.3 (actually ld-2.13.so because ld-linux.so.3 is a link to that file) from /lib/ to /i386/lib/
6.Now i chroot into /i386 and I get this:
[root@Plugbox i386]# chroot .
[II aI hnve ao n@P /]# pacman -Suy
bash: fork: Invalid argument
7.I also downloaded linux-user-test-0.3 from qemu website and ran the test:
[root@Plugbox linux-user-
./qemu-
[qemu-i386]
../qemu-
BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_
make: *** [test] Error 127
> ../qemu- 0.14.0/ i386-linux- user/qemu- i386
This doesn't look like a qemu-linaro version number -- can you clarify which version of qemu you're using, please?