> On 28/10/2010 14:17, "David Cemin" <[2]
davidcemin@xxxxxxxxx> wrote:
>
> > I tried another approach.*
> >
> > Since I assume that my problem is with modules loading, I've compiled
> the
> > kernel with xen-evtchn and xen-gntdev as modules. Now, I can load them
> with
> > modprobe. They do appear loaded in lsmod
> >
> > % lsmod | grep xen * * * * * * *
> > xen_gntdev * * * * * * *7486 *0*
> > xen_evtchn * * * * * * *4617 *1*
> >
> > It seems that xend is running, as we can see in a ps:
> >
> > % ps ax | grep xen*
> > ** 24 ? * * * *S * * *0:00 [xenwatch]
> > ** 25 ? * * * *S * * *0:00 [xenbus]
> > **851 ? * * * *S * * *0:00 avahi-daemon: running
> [xenserver-laptop.local]
> > *2101 ? * * * *S * * *0:00 xenstored --pid-file /var/run/xenstore.pid
> > *2105 ? * * * *SLl * *0:00 xenconsoled*
> > *2109 ? * * * *S * * *0:00 /usr/bin/python /usr/sbin/xend start
> > *2110 ? * * * *Sl * * 0:00 /usr/bin/python /usr/sbin/xend start
> > *2254 pts/0 * *S+ * * 0:00 grep --color xen
> >
> >
> > But /var/log/xend.log shows that I have an exception during xend
> start:
> >
> > [2010-10-28 11:10:52 2110] INFO (SrvDaemon:331) Xend Daemon started
> > [2010-10-28 11:10:52 2110] INFO (SrvDaemon:335) Xend changeset: Wed
> Aug 25
> > 09:22:42 2010 +0100 21324:b536ebfba183.
> > [2010-10-28 11:10:52 2110] ERROR (SrvDaemon:347) Exception starting
> xend ((13,
> > 'Permission denied'))
> > Traceback (most recent call last):
> > **File
> "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line
> > 339, in run
> > ** *servers = SrvServer.create()
> > **File
> "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line
> > 251, in create
> > ** *root.putChild('xend', SrvRoot())
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py",
> line 40,
> > in __init__
> > ** *self.get(name)
> > **File "/usr/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 82,
> in get
> > ** *val = val.getobj()
> > **File "/usr/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 52,
> in
> > getobj
> > ** *self.obj = klassobj()
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py",
> line 30,
> > in __init__
> > ** *self.xn = XendNode.instance()
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line
> 752, in
> > instance
> > ** *inst = XendNode()
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line
> 87, in
> > __init__
> > ** *self.other_config["xen_pagesize"] =
> self.xeninfo_dict()["xen_pagesize"]
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line
> 741, in
> > xeninfo_dict
> > ** *return dict(self.xeninfo())
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line
> 685, in
> > xeninfo
> > ** *info['xen_scheduler'] = self.xenschedinfo()
> > **File "/usr/lib/python2.6/dist-packages/xen/xend/XendNode.py", line
> 675, in
> > xenschedinfo
> > ** *sched_id = self.xc.sched_id_get()
> > Error: (13, 'Permission denied')
> >
> > And I cant call any xm bin, as for example:
> >
> > % xm list
> > Error: Unable to connect to xend: No such file or directory. Is xend
> running?
> > (1) %*
> >
> >
> > So, I'm kind of stuck here. Any Ideas?*
> >
> > Thank you all,*
> >
> > --
> > David
> >
> >
> >