You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoking JUNEST_HOME=~/.junest-arm junest -a arm -- uname -m as suggested in the README yields
Installing JuNest...
The default mirror URL is https://mirrors.kernel.org/archlinux/$repo/os/$arch.
Remember to refresh the package databases from the server:
pacman -Syy
JuNest installed successfully
Emulating JuNest via QEMU...
Unable to reserve 0xf7000000 bytes of virtual address space for use as guest address space (check your virtual memory ulimit setting or reserve less using -R option)
Unable to reserve 0xf7000000 bytes of virtual address space for use as guest address space (check your virtual memory ulimit setting or reserve less using -R option)
Error: Check if the junest arguments are correct and if the kernel is too old use the option junest -p "-k 3.10"
uname -a outputs Linux Lydia 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64 GNU/Linux
Any suggestions? Thanks!
The text was updated successfully, but these errors were encountered:
After some experimenting with proot the problem appears to be related to the qemu-arm-static binary from the qemu-user-static-2.6-3 Archlinux package only. Other binaries from the same package seem to work fine, for instance AArch64 emulation on x86_64:
$ ./proot -R archlinux-aarch64 -q ./qemu-aarch64-static uname -a
Linux Lydia 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) aarch64 GNU/Linux
To get things working on ARMv7h the qemu-arm-static binary from this random OpenSuse package can be used:
$ ./proot -R archlinux-armv7h -q ./qemu-arm-static uname -a
Linux Lydia 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) armv7l GNU/Linux
Update: Apparently the best workaround is to export QEMU_RESERVED_VA=0xf700000 before invoking qemu-arm-static, though it's still a mystery why qemu-aarch64-static can do what qemu-arm-static can't.
Invoking
JUNEST_HOME=~/.junest-arm junest -a arm -- uname -m
as suggested in the README yieldsuname -a
outputsLinux Lydia 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64 GNU/Linux
Any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: