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 <[email protected]> wrote: > > Thanks, I noticed that a bit later! > > On Fri, Jan 16, 2015 at 1:20 PM, David Scott <[email protected] > <mailto:[email protected]>> wrote: > > > On Fri, Jan 16, 2015 at 12:00 PM, Michael Moon <[email protected] > <mailto:[email protected]>> 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? > > https://github.com/mirage/ocaml-vchan/blob/master/lib_test/mirage/init-xenstore.sh > > <https://github.com/mirage/ocaml-vchan/blob/master/lib_test/mirage/init-xenstore.sh> > > > > _______________________________________________ > MirageOS-devel mailing list > [email protected] > <mailto:[email protected]> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel > <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel> > > > > > -- > Dave Scott > > _______________________________________________ > MirageOS-devel mailing list > [email protected] > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
_______________________________________________ MirageOS-devel mailing list [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
