Re: [Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Ajay Garg
Following is the gdb details : ## ajay@debian:~/rumprun-arm32$ gdb --args qemu-system-arm -machine virt -nographic -kernel helloer.bin GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Founda

Re: [Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Ajay Garg
Thanks Alex for the reply .. > > Can you run under -s -S and gdb step the *guest* and see where it ends > up. The above error is usually indicative of the guest going off into > the weeds somewhere because the hardware isn't what it expects. > So, after your reply that it might be because of the

Re: [Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Alex Bennée
Ajay Garg writes: >> >> qemu-system-x86_64 is expecting an x86 binary blob. I assume you need >> qemu-system-arm. More importantly you need to specify a -M machine type >> that matches whatever rumprun is expecting. >> > > Oops, sorry my bad. > Here is the updated status : > > ajay@latitude-3480

Re: [Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Ajay Garg
> > qemu-system-x86_64 is expecting an x86 binary blob. I assume you need > qemu-system-arm. More importantly you need to specify a -M machine type > that matches whatever rumprun is expecting. > Oops, sorry my bad. Here is the updated status : ajay@latitude-3480:~/rumprun-arm-hw/rumprun$ qemu-sy

Re: [Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Alex Bennée
Ajay Garg writes: > Hi All. > > We did the following : > > a) > Cross-compile rumprun for ARM on a linux x86_64 : > > ajay@latitude-3480:~/rumprun-arm-hw/rumprun$ > CC=arm-linux-gnueabihf-gcc ./build-rr.sh hw > > c) > Tried running on x86_64, via qemu, but got the crash : > > ##

[Qemu-devel] Crash when running hello-world unikernel for ARM

2018-04-09 Thread Ajay Garg
Hi All. We did the following : a) Cross-compile rumprun for ARM on a linux x86_64 : ajay@latitude-3480:~/rumprun-arm-hw/rumprun$ CC=arm-linux-gnueabihf-gcc ./build-rr.sh hw b) Compile and bake the hello-world binary ajay@latitude-3480:~/rumprun-arm-hw/rumprun$ arm-rumprun-netbsdelf-eabihf-gcc