Looking for a bit help troubleshooting this. I’ve built an image on a Linux VM 
(x86_64) using the script: "scripts/build-capstan-img rickp/test 
httpserver,cloud-init,erlang”. The resulting image runs fine on the linux box 
under qemu, I get the erlang prompt and can interact, and the httpserver works 
(after a bit of messing around with capstan so it uses the images):

rickp@ubuntu:~$ capstan run rickp/test
Created instance: rickp-test
OSv v0.24-172-g41c6e62
eth0: 192.168.122.15
chown() stubbed
Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:2:2] [async-threads:10] 
[kernel-poll:true]

Eshell V7.0  (abort with ^G)
(foo@osv.local)1> application:which_applications().
[{stdlib,"ERTS  CXC 138 10","2.5"},
 {kernel,"ERTS  CXC 138 10","4.0"}]
(foo@osv.local)2> q().
ok
(foo@osv.local)3>
rickp@ubuntu:~$

However, if I take the vbox image and run that under VirtualBox on either Linux 
or OSX, it never gets further than the OSv build info print:

rickp@ubuntu:~$ ~rickp/bin/capstan run -p vbox rickp/test
Created instance: rickp-test
OSv v0.24-164-g785e57e

Thats all I get. Is there any way to debug this? I’ve debugged under qemu 
before, but not sure if there is a similar gdb-stub for virtual box? Is 
everyone else having success running under virtual box?

Cheers,
Rick

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to