Comment 17 for bug 739785

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

I think you should be able to work around this with:
  echo 2 >/proc/cpu/alignment

which makes unaligned accesses fault and the kernel fix them up. This will be slower than if qemu wasn't generating unaligned accesses in the first place but it should at least make things run. (echo 0 ... will give you the original behaviour back.)

(I have an armv5 system running now.)