[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] vchan client and server unikernels crash



Do bear in mind that the init-xenstore.sh script is a temporary measure, as it lets any VM on the host write to the Conduit nodes.  The upstreamable version of this requires a small extension of the Xenstore permission model.  The workaround is sufficient to make it convenient to test out vchans, however.

-anil

On 16 Jan 2015, at 13:24, Michael Moon <michaelmoon.pr@xxxxxxxxx> wrote:

Thanks, I noticed that a bit later!

On Fri, Jan 16, 2015 at 1:20 PM, David Scott <scott.dj@xxxxxxxxx> wrote:


On Fri, Jan 16, 2015 at 12:00 PM, Michael Moon <michaelmoon.pr@xxxxxxxxx> wrote:
when starting vchan client-server unikernels in ocaml-vchan/lib_test/mirage, they crash with the error:

unable to get domain type for domid=x
unable to attach console

using pause-unpause (xl create -cp), I can see the following on the console:

-------------------------------------------------
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0000000010001000.
xencaml: app_main_thread
getenv(OCAMLRUNPARAM) -> null
getenv(CAMLRUNPARAM) -> null
Unsupported function lseek called in Mini-OS kernel
Unsupported function lseek called in Mini-OS kernel
Unsupported function lseek called in Mini-OS kernel
getenv(OCAMLRUNPARAM) -> null
getenv(CAMLRUNPARAM) -> null
getenv(TMPDIR) -> null
getenv(TEMP) -> null
Top level exception: Xs_protocol.Error("EACCES")
main returned 0
-------------------------------------------------

Is there any required configuration other than the ones mentioned in README on the repo?

The EACCES suggests the Xenstore permissions haven't been set up yet. Have you run the init-xenstore.sh script?


 

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel




--
Dave Scott

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.