Comment 28 for bug 739785

Revision history for this message
moonman (moonman-ca) wrote : Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

Ok, it seemed as though "ls" worked from "strace -ff -o ls-strace-alignment-2.log chroot /i386 /usr/bin/qemu-i386 /bin/ls"

so I tried to execute the package manager:

[root@Plugbox ~]# chroot /i386 /usr/bin/qemu-i386 /usr/bin/pacman -Suy qemu: Unsupported syscall: 240
:: Synchronizing package databases...
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
 core 37.0K 166.6K/s 00:00:01 [######################] 100%
 extra 466.9K 524.3K/s 00:00:01 [######################] 100%
 community 446.5K 518.5K/s 00:00:01 [######################] 100%
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

resolving dependencies...
looking for inter-conflicts...

Targets (1): pacman-3.5.3-1

Total Download Size: 0.82 MB
Total Installed Size: 2.78 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
 pacman-3.5.3-1-i686 840.0K 731.3K/s 00:00:02 [######################] 100%
checking package integrity...
(1/1) checking for file conflicts [######################] 100%
(1/1) upgrading pacman [######################] 100%
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
error: could not fork a new process (Invalid argument)
error: could not fork a new process (Invalid argument)

Still there's something going on with fork