Hi all, After booting dom0 successfully on OMAP5, I continue to try xenstored, but failed: # xenstored -T /root/xenstored.log (XEN) event_channel.c:233:d0 EVTCHNOP failure: domain 0, error -22 FATAL: Failed to initialize dom0 state: Invalid argument And the /root/xenstored.log contents : *** Checking store ... Checking store complete. Checking store ... Checking store complete. I''ve mounted xenfs on /proc/xen, sysfs on /sys, devpts on /dev/pts, and got evtchn, privcmd, gntdev, xenbus_backend, xenbus files under /dev/xen/. Any ideas? Cheers, Baozi
On Fri, 2013-09-06 at 17:59 +0800, Chen Baozi wrote:> Hi all, > > After booting dom0 successfully on OMAP5, I continue to try xenstored, but > failed: > > # xenstored -T /root/xenstored.log > (XEN) event_channel.c:233:d0 EVTCHNOP failure: domain 0, error -22-22 is einval. event_channel.c:223 is: if ( (rchn->state != ECS_UNBOUND) || (rchn->u.unbound.remote_domid != ld->domain_id) ) ERROR_EXIT_DOM(-EINVAL, rd); from bind interdomain. You could try instrumenting with printk to figure out which half failed and what the actual values were. xenstored isn''t already running is it?> FATAL: Failed to initialize dom0 state: Invalid argument > > And the /root/xenstored.log contents : > > > *** > Checking store ... > Checking store complete. > Checking store ... > Checking store complete. > > I''ve mounted xenfs on /proc/xen, sysfs on /sys, devpts on /dev/pts, and got > evtchn, privcmd, gntdev, xenbus_backend, xenbus files under /dev/xen/. > > Any ideas? > > Cheers, > > Baozi > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On Sep 6, 2013, at 6:15 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Fri, 2013-09-06 at 17:59 +0800, Chen Baozi wrote: >> Hi all, >> >> After booting dom0 successfully on OMAP5, I continue to try xenstored, but >> failed: >> >> # xenstored -T /root/xenstored.log >> (XEN) event_channel.c:233:d0 EVTCHNOP failure: domain 0, error -22 > > -22 is einval. > > event_channel.c:223 is: > if ( (rchn->state != ECS_UNBOUND) || > (rchn->u.unbound.remote_domid != ld->domain_id) ) > ERROR_EXIT_DOM(-EINVAL, rd); > from bind interdomain. You could try instrumenting with printk to figure > out which half failed and what the actual values were. > > xenstored isn''t already running is it?Well, I think I''ve made a mistake to run the command twice...> >> FATAL: Failed to initialize dom0 state: Invalid argument >> >> And the /root/xenstored.log contents : >> >> >> *** >> Checking store ... >> Checking store complete. >> Checking store ... >> Checking store complete. >> >> I''ve mounted xenfs on /proc/xen, sysfs on /sys, devpts on /dev/pts, and got >> evtchn, privcmd, gntdev, xenbus_backend, xenbus files under /dev/xen/. >> >> Any ideas? >> >> Cheers, >> >> Baozi >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel > >