Hello, I''ve downloaded the xen 4.0.1 version as it is explained here: http://wiki.xensource.com/xenwiki/Xen4.0 <http://wiki.xensource.com/xenwiki/Xen4.0>So, I''ve made a clone from repository, with the following command: hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg And finally I''ve built xen, tools and stubdom. I was looking for a paravirtualized domain, and so I follow the instructions from here: http://wiki.xensource.com/xenwiki/XenParavirtOps <http://wiki.xensource.com/xenwiki/XenParavirtOps>So, I am able to boot dom0 successfully, but apparently xend its not starting. A few things that I have noticed: 1) lsmod does not list evtchn and neither gntdev, and they are not compiled as a Module. I have tried also to insert them with lsmod, and of course, I dont have them. 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are correct % cat /proc/misc 52 freefall 224 tpm0 53 network_throughput 54 network_latency 55 cpu_dma_latency 56 device-mapper 1 psaux 200 tun 57 pktcdvd 228 hpet 58 blktap-control 59 xen/gntdev 60 xen/evtchn 229 fuse 61 ecryptfs 231 snapshot 227 mcelog 62 rfkill 63 vga_arbiter % ll /dev/xen total 0 crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev 3) I am really running dom) % cat /proc/xen/capabilities control_d 4) /var/log/xen shows the following errors: xend.log [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 09:22:42 2010 +0100 21324:b536ebfba183. [2010-10-27 17:32:31 1307] 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'') xend-debug.log Xend started at Wed Oct 27 17:32:31 2010. domctl operation failed -- need to rebuild the user-space tool set? sysctl operation failed -- need to rebuild the user-space tool set? Exception starting xend: (13, ''Permission denied'') Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, in run for domid, cputimes in self._get_cpu_stats().items(): File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, in _get_cpu_stats for domain in self.xc.domain_getinfo(): Error: (13, ''Permission denied'') Does anyone have any Idea of how can I start xend correctly ? Thank you! -- David Cemin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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 2010/10/27 David Cemin <davidcemin@gmail.com>> Hello, > > I''ve downloaded the xen 4.0.1 version as it is explained here: > http://wiki.xensource.com/xenwiki/Xen4.0 > > <http://wiki.xensource.com/xenwiki/Xen4.0>So, I''ve made a clone from > repository, with the following command: > > hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg > > And finally I''ve built xen, tools and stubdom. > > > I was looking for a paravirtualized domain, and so I follow the > instructions from here: > http://wiki.xensource.com/xenwiki/XenParavirtOps > > > <http://wiki.xensource.com/xenwiki/XenParavirtOps>So, I am able to boot > dom0 successfully, but apparently xend its not starting. > > A few things that I have noticed: > > 1) lsmod does not list evtchn and neither gntdev, and they are not compiled > as a Module. I have tried also to insert them with lsmod, and of course, I > dont have them. > 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are > correct > > % cat /proc/misc > 52 freefall > 224 tpm0 > 53 network_throughput > 54 network_latency > 55 cpu_dma_latency > 56 device-mapper > 1 psaux > 200 tun > 57 pktcdvd > 228 hpet > 58 blktap-control > 59 xen/gntdev > 60 xen/evtchn > 229 fuse > 61 ecryptfs > 231 snapshot > 227 mcelog > 62 rfkill > 63 vga_arbiter > % ll /dev/xen > total 0 > crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > > 3) I am really running dom) > % cat /proc/xen/capabilities > control_d > > 4) /var/log/xen shows the following errors: > > xend.log > > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 > 09:22:42 2010 +0100 21324:b536ebfba183. > [2010-10-27 17:32:31 1307] 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'') > > > xend-debug.log > > Xend started at Wed Oct 27 17:32:31 2010. > domctl operation failed -- need to rebuild the user-space tool set? > sysctl operation failed -- need to rebuild the user-space tool set? > Exception starting xend: (13, ''Permission denied'') > Exception in thread Thread-2: > Traceback (most recent call last): > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > self.run() > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 230, in run > for domid, cputimes in self._get_cpu_stats().items(): > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 208, in _get_cpu_stats > for domain in self.xc.domain_getinfo(): > Error: (13, ''Permission denied'') > > > > Does anyone have any Idea of how can I start xend correctly ? > > Thank you! > > -- > David Cemin > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Do you have /proc/xen/privcmd? You might need to configure that into your dom0 kernel build or something. -- Keir On 28/10/2010 14:17, "David Cemin" <davidcemin@gmail.com> 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 > > > > 2010/10/27 David Cemin <davidcemin@gmail.com> >> Hello, >> >> I''ve downloaded the xen 4.0.1 version as it is explained here: >> http://wiki.xensource.com/xenwiki/Xen4.0 >> >> <http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a clone from >> repository, with the following command: >> >> hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg >> And finally I''ve built xen, tools and stubdom. >> >> >> I was looking for a paravirtualized domain, and so I follow the instructions >> from here: >> http://wiki.xensource.com/xenwiki/XenParavirtOps >> >> >> <http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am able to boot >> dom0 successfully, but apparently xend its not starting. >> >> A few things that I have noticed: >> >> 1) lsmod does not list evtchn and neither gntdev, and they are not compiled >> as a Module. I have tried also to insert them with lsmod, and of course, I >> dont have them. >> 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are >> correct >> >> % cat /proc/misc >> 52 freefall >> 224 tpm0 >> 53 network_throughput >> 54 network_latency >> 55 cpu_dma_latency >> 56 device-mapper >> 1 psaux >> 200 tun >> 57 pktcdvd >> 228 hpet >> 58 blktap-control >> 59 xen/gntdev >> 60 xen/evtchn >> 229 fuse >> 61 ecryptfs >> 231 snapshot >> 227 mcelog >> 62 rfkill >> 63 vga_arbiter >> % ll /dev/xen >> total 0 >> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn >> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev >> >> 3) I am really running dom) >> % cat /proc/xen/capabilities >> control_d >> >> 4) /var/log/xen shows the following errors: >> >> xend.log >> >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 >> 09:22:42 2010 +0100 21324:b536ebfba183. >> [2010-10-27 17:32:31 1307] 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'') >> >> >> xend-debug.log >> >> Xend started at Wed Oct 27 17:32:31 2010. >> domctl operation failed -- need to rebuild the user-space tool set? >> sysctl operation failed -- need to rebuild the user-space tool set? >> Exception starting xend: (13, ''Permission denied'') >> Exception in thread Thread-2: >> Traceback (most recent call last): >> File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner >> self.run() >> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, >> in run >> for domid, cputimes in self._get_cpu_stats().items(): >> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, >> in _get_cpu_stats >> for domain in self.xc.domain_getinfo(): >> Error: (13, ''Permission denied'') >> >> >> >> Does anyone have any Idea of how can I start xend correctly ? >> >> Thank you! >> >> -- >> David Cemin >> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yes, I do have /proc/xen/privcmd. I suspect that something is missing in my config. I''m not sure if I understand what you said. What do you mean by configure privcmd into dom0 kernel? % ll /proc/xen total 0 -r--r--r-- 1 root root 0 2010-10-28 11:08 capabilities -rw------- 1 root root 0 2010-10-28 11:08 privcmd -rw------- 1 root root 0 2010-10-28 11:08 xenbus -rw------- 1 root root 0 2010-10-28 11:08 xsd_kva -rw------- 1 root root 0 2010-10-28 11:08 xsd_port Thank you! -- David 2010/10/28 Keir Fraser <keir@xen.org>> Do you have /proc/xen/privcmd? You might need to configure that into your > dom0 kernel build or something. > > -- Keir > > On 28/10/2010 14:17, "David Cemin" <davidcemin@gmail.com> 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 > > > > > > > > 2010/10/27 David Cemin <davidcemin@gmail.com> > >> Hello, > >> > >> I''ve downloaded the xen 4.0.1 version as it is explained here: > >> http://wiki.xensource.com/xenwiki/Xen4.0 > >> > >> <http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a clone from > >> repository, with the following command: > >> > >> hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg > >> And finally I''ve built xen, tools and stubdom. > >> > >> > >> I was looking for a paravirtualized domain, and so I follow the > instructions > >> from here: > >> http://wiki.xensource.com/xenwiki/XenParavirtOps > >> > >> > >> <http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am able to > boot > >> dom0 successfully, but apparently xend its not starting. > >> > >> A few things that I have noticed: > >> > >> 1) lsmod does not list evtchn and neither gntdev, and they are not > compiled > >> as a Module. I have tried also to insert them with lsmod, and of course, > I > >> dont have them. > >> 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are > >> correct > >> > >> % cat /proc/misc > >> 52 freefall > >> 224 tpm0 > >> 53 network_throughput > >> 54 network_latency > >> 55 cpu_dma_latency > >> 56 device-mapper > >> 1 psaux > >> 200 tun > >> 57 pktcdvd > >> 228 hpet > >> 58 blktap-control > >> 59 xen/gntdev > >> 60 xen/evtchn > >> 229 fuse > >> 61 ecryptfs > >> 231 snapshot > >> 227 mcelog > >> 62 rfkill > >> 63 vga_arbiter > >> % ll /dev/xen > >> total 0 > >> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > >> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > >> > >> 3) I am really running dom) > >> % cat /proc/xen/capabilities > >> control_d > >> > >> 4) /var/log/xen shows the following errors: > >> > >> xend.log > >> > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug > 25 > >> 09:22:42 2010 +0100 21324:b536ebfba183. > >> [2010-10-27 17:32:31 1307] 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'') > >> > >> > >> xend-debug.log > >> > >> Xend started at Wed Oct 27 17:32:31 2010. > >> domctl operation failed -- need to rebuild the user-space tool set? > >> sysctl operation failed -- need to rebuild the user-space tool set? > >> Exception starting xend: (13, ''Permission denied'') > >> Exception in thread Thread-2: > >> Traceback (most recent call last): > >> File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > >> self.run() > >> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 230, > >> in run > >> for domid, cputimes in self._get_cpu_stats().items(): > >> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 208, > >> in _get_cpu_stats > >> for domain in self.xc.domain_getinfo(): > >> Error: (13, ''Permission denied'') > >> > >> > >> > >> Does anyone have any Idea of how can I start xend correctly ? > >> > >> Thank you! > >> > >> -- > >> David Cemin > >> > > > > > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, Oct 28, 2010 at 11:46:58AM -0200, David Cemin wrote:> Yes, I do have /proc/xen/privcmd. I suspect that something is missing in > my config. I''m not sure if I understand what you said. What do you mean by > configure privcmd into dom0 kernel?* > % ll /proc/xen > total 0 > -r--r--r-- 1 root root 0 2010-10-28 11:08 capabilities > -rw------- 1 root root 0 2010-10-28 11:08 privcmd > -rw------- 1 root root 0 2010-10-28 11:08 xenbus > -rw------- 1 root root 0 2010-10-28 11:08 xsd_kva > -rw------- 1 root root 0 2010-10-28 11:08 xsd_port > Thank you!Have you checked the troubleshooting section from: http://wiki.xensource.com/xenwiki/XenParavirtOps and from: http://wiki.xensource.com/xenwiki/XenCommonProblems -- Pasi> -- > David > 2010/10/28 Keir Fraser <[1]keir@xen.org> > > Do you have /proc/xen/privcmd? You might need to configure that into > your > dom0 kernel build or something. > *-- Keir > On 28/10/2010 14:17, "David Cemin" <[2]davidcemin@gmail.com> 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 > > > > > > > > 2010/10/27 David Cemin <[3]davidcemin@gmail.com> > >> Hello,* > >> > >> I''ve downloaded the xen 4.0.1 version as it is explained here: > >> [4]http://wiki.xensource.com/xenwiki/Xen4.0 > >> > >> *<[5]http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a clone > from > >> repository, with the following command: > >> > >> hg clone -r RELEASE-4.0.1 > [6]http://xenbits.xen.org/xen-4.0-testing.hg > >> And finally I''ve built xen, tools and stubdom. > >> > >> > >> I was looking for a paravirtualized domain, and so I follow the > instructions > >> from here: > >> [7]http://wiki.xensource.com/xenwiki/XenParavirtOps > >> > >> > >> *<[8]http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am able > to boot > >> dom0 successfully, but apparently xend its not starting. > >> > >> A few things that I have noticed:* > >> > >> 1) lsmod does not list evtchn and neither gntdev, and they are not > compiled > >> as a Module. I have tried also to insert them with lsmod, and of > course, I > >> dont have them. > >> 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers > are > >> correct > >> > >> % cat /proc/misc* > >> *52 freefall > >> 224 tpm0 > >> *53 network_throughput > >> *54 network_latency > >> *55 cpu_dma_latency > >> *56 device-mapper > >> **1 psaux > >> 200 tun > >> *57 pktcdvd > >> 228 hpet > >> *58 blktap-control > >> *59 xen/gntdev > >> *60 xen/evtchn > >> 229 fuse > >> *61 ecryptfs > >> 231 snapshot > >> 227 mcelog > >> *62 rfkill > >> *63 vga_arbiter > >> % ll /dev/xen* > >> total 0 > >> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > >> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > >> > >> 3) I am really running dom) > >> % cat /proc/xen/capabilities ** > >> control_d > >> > >> 4) /var/log/xen shows the following errors: > >> > >> xend.log > >> > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed > Aug 25 > >> 09:22:42 2010 +0100 21324:b536ebfba183. > >> [2010-10-27 17:32:31 1307] 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'') > >> > >> > >> xend-debug.log > >> > >> Xend started at Wed Oct 27 17:32:31 2010. > >> domctl operation failed -- need to rebuild the user-space tool set? > >> sysctl operation failed -- need to rebuild the user-space tool set? > >> Exception starting xend: (13, ''Permission denied'') > >> Exception in thread Thread-2: > >> Traceback (most recent call last): > >> **File "/usr/lib/python2.6/threading.py", line 532, in > __bootstrap_inner > >> ** *self.run() > >> **File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > line 230, > >> in run > >> ** *for domid, cputimes in self._get_cpu_stats().items(): > >> **File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > line 208, > >> in _get_cpu_stats > >> ** *for domain in self.xc.domain_getinfo(): > >> Error: (13, ''Permission denied'') > >> > >> > >> > >> Does anyone have any Idea of how can I start xend correctly ? > >> > >> Thank you! > >> > >> -- > >> David Cemin > >> > > > > > > -- > David Cemin > mobile: +55 51 93523097 > home:** +55 51 32763785 > email: [9]davidcemin@gmail.com > > References > > Visible links > 1. mailto:keir@xen.org > 2. mailto:davidcemin@gmail.com > 3. mailto:davidcemin@gmail.com > 4. http://wiki.xensource.com/xenwiki/Xen4.0 > 5. http://wiki.xensource.com/xenwiki/Xen4.0 > 6. http://xenbits.xen.org/xen-4.0-testing.hg > 7. http://wiki.xensource.com/xenwiki/XenParavirtOps > 8. http://wiki.xensource.com/xenwiki/XenParavirtOps > 9. mailto:davidcemin@gmail.com> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2010-Oct-28 14:16 UTC
[Xen-users] Re: [Xen-devel] Re: xend does not start
What is SELINUX status ? Boris. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Oh, hang on, the problem is probably that you have a version mismatch between your hypercvisor and your tools in dom0. They need to be installed from the exact same Xen version. This query should have been posted to xen-users by the way - it doesn;''t belong on xen-devel. -- Keir On 28/10/2010 14:46, "David Cemin" <davidcemin@gmail.com> wrote:> Yes, I do have /proc/xen/privcmd. I suspect that something is missing in my > config. I''m not sure if I understand what you said. What do you mean by > configure privcmd into dom0 kernel? > > % ll /proc/xen > total 0 > -r--r--r-- 1 root root 0 2010-10-28 11:08 capabilities > -rw------- 1 root root 0 2010-10-28 11:08 privcmd > -rw------- 1 root root 0 2010-10-28 11:08 xenbus > -rw------- 1 root root 0 2010-10-28 11:08 xsd_kva > -rw------- 1 root root 0 2010-10-28 11:08 xsd_port > > Thank you! > > -- > David > > > 2010/10/28 Keir Fraser <keir@xen.org> >> Do you have /proc/xen/privcmd? You might need to configure that into your >> dom0 kernel build or something. >> >> -- Keir >> >> On 28/10/2010 14:17, "David Cemin" <davidcemin@gmail.com> 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 >>> >>> >>> >>> 2010/10/27 David Cemin <davidcemin@gmail.com> >>>> Hello, >>>> >>>> I''ve downloaded the xen 4.0.1 version as it is explained here: >>>> http://wiki.xensource.com/xenwiki/Xen4.0 >>>> >>>> <http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a clone from >>>> repository, with the following command: >>>> >>>> hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg >>>> And finally I''ve built xen, tools and stubdom. >>>> >>>> >>>> I was looking for a paravirtualized domain, and so I follow the >>>> instructions >>>> from here: >>>> http://wiki.xensource.com/xenwiki/XenParavirtOps >>>> >>>> >>>> <http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am able to boot >>>> dom0 successfully, but apparently xend its not starting. >>>> >>>> A few things that I have noticed: >>>> >>>> 1) lsmod does not list evtchn and neither gntdev, and they are not compiled >>>> as a Module. I have tried also to insert them with lsmod, and of course, I >>>> dont have them. >>>> 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are >>>> correct >>>> >>>> % cat /proc/misc >>>> 52 freefall >>>> 224 tpm0 >>>> 53 network_throughput >>>> 54 network_latency >>>> 55 cpu_dma_latency >>>> 56 device-mapper >>>> 1 psaux >>>> 200 tun >>>> 57 pktcdvd >>>> 228 hpet >>>> 58 blktap-control >>>> 59 xen/gntdev >>>> 60 xen/evtchn >>>> 229 fuse >>>> 61 ecryptfs >>>> 231 snapshot >>>> 227 mcelog >>>> 62 rfkill >>>> 63 vga_arbiter >>>> % ll /dev/xen >>>> total 0 >>>> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn >>>> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev >>>> >>>> 3) I am really running dom) >>>> % cat /proc/xen/capabilities >>>> control_d >>>> >>>> 4) /var/log/xen shows the following errors: >>>> >>>> xend.log >>>> >>>> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started >>>> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 >>>> 09:22:42 2010 +0100 21324:b536ebfba183. >>>> [2010-10-27 17:32:31 1307] 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'') >>>> >>>> >>>> xend-debug.log >>>> >>>> Xend started at Wed Oct 27 17:32:31 2010. >>>> domctl operation failed -- need to rebuild the user-space tool set? >>>> sysctl operation failed -- need to rebuild the user-space tool set? >>>> Exception starting xend: (13, ''Permission denied'') >>>> Exception in thread Thread-2: >>>> Traceback (most recent call last): >>>> File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner >>>> self.run() >>>> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line >>>> 230, >>>> in run >>>> for domid, cputimes in self._get_cpu_stats().items(): >>>> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line >>>> 208, >>>> in _get_cpu_stats >>>> for domain in self.xc.domain_getinfo(): >>>> Error: (13, ''Permission denied'') >>>> >>>> >>>> >>>> Does anyone have any Idea of how can I start xend correctly ? >>>> >>>> Thank you! >>>> >>>> -- >>>> David Cemin >>>> >>> >>> >> >> > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yes .. I tried that. thank you 2010/10/28 Pasi Kärkkäinen <pasik@iki.fi>> On Thu, Oct 28, 2010 at 11:46:58AM -0200, David Cemin wrote: > > Yes, I do have /proc/xen/privcmd. I suspect that something is missing > in > > my config. I''m not sure if I understand what you said. What do you > mean by > > configure privcmd into dom0 kernel?* > > % ll /proc/xen > > total 0 > > -r--r--r-- 1 root root 0 2010-10-28 11:08 capabilities > > -rw------- 1 root root 0 2010-10-28 11:08 privcmd > > -rw------- 1 root root 0 2010-10-28 11:08 xenbus > > -rw------- 1 root root 0 2010-10-28 11:08 xsd_kva > > -rw------- 1 root root 0 2010-10-28 11:08 xsd_port > > Thank you! > > Have you checked the troubleshooting section from: > http://wiki.xensource.com/xenwiki/XenParavirtOps > > and from: > http://wiki.xensource.com/xenwiki/XenCommonProblems > > -- Pasi > > > -- > > David > > 2010/10/28 Keir Fraser <[1]keir@xen.org> > > > > Do you have /proc/xen/privcmd? You might need to configure that into > > your > > dom0 kernel build or something. > > *-- Keir > > On 28/10/2010 14:17, "David Cemin" <[2]davidcemin@gmail.com> 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 > > > > > > > > > > > > 2010/10/27 David Cemin <[3]davidcemin@gmail.com> > > >> Hello,* > > >> > > >> I''ve downloaded the xen 4.0.1 version as it is explained here: > > >> [4]http://wiki.xensource.com/xenwiki/Xen4.0 > > >> > > >> *<[5]http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a > clone > > from > > >> repository, with the following command: > > >> > > >> hg clone -r RELEASE-4.0.1 > > [6]http://xenbits.xen.org/xen-4.0-testing.hg > > >> And finally I''ve built xen, tools and stubdom. > > >> > > >> > > >> I was looking for a paravirtualized domain, and so I follow the > > instructions > > >> from here: > > >> [7]http://wiki.xensource.com/xenwiki/XenParavirtOps > > >> > > >> > > >> *<[8]http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am > able > > to boot > > >> dom0 successfully, but apparently xend its not starting. > > >> > > >> A few things that I have noticed:* > > >> > > >> 1) lsmod does not list evtchn and neither gntdev, and they are > not > > compiled > > >> as a Module. I have tried also to insert them with lsmod, and of > > course, I > > >> dont have them. > > >> 2) The nodes appear in both /proc/misc and /dev/xen, and the > numbers > > are > > >> correct > > >> > > >> % cat /proc/misc* > > >> *52 freefall > > >> 224 tpm0 > > >> *53 network_throughput > > >> *54 network_latency > > >> *55 cpu_dma_latency > > >> *56 device-mapper > > >> **1 psaux > > >> 200 tun > > >> *57 pktcdvd > > >> 228 hpet > > >> *58 blktap-control > > >> *59 xen/gntdev > > >> *60 xen/evtchn > > >> 229 fuse > > >> *61 ecryptfs > > >> 231 snapshot > > >> 227 mcelog > > >> *62 rfkill > > >> *63 vga_arbiter > > >> % ll /dev/xen* > > >> total 0 > > >> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > > >> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > > >> > > >> 3) I am really running dom) > > >> % cat /proc/xen/capabilities ** > > >> control_d > > >> > > >> 4) /var/log/xen shows the following errors: > > >> > > >> xend.log > > >> > > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon > started > > >> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: > Wed > > Aug 25 > > >> 09:22:42 2010 +0100 21324:b536ebfba183. > > >> [2010-10-27 17:32:31 1307] 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'') > > >> > > >> > > >> xend-debug.log > > >> > > >> Xend started at Wed Oct 27 17:32:31 2010. > > >> domctl operation failed -- need to rebuild the user-space tool > set? > > >> sysctl operation failed -- need to rebuild the user-space tool > set? > > >> Exception starting xend: (13, ''Permission denied'') > > >> Exception in thread Thread-2: > > >> Traceback (most recent call last): > > >> **File "/usr/lib/python2.6/threading.py", line 532, in > > __bootstrap_inner > > >> ** *self.run() > > >> **File > "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > > line 230, > > >> in run > > >> ** *for domid, cputimes in self._get_cpu_stats().items(): > > >> **File > "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > > line 208, > > >> in _get_cpu_stats > > >> ** *for domain in self.xc.domain_getinfo(): > > >> Error: (13, ''Permission denied'') > > >> > > >> > > >> > > >> Does anyone have any Idea of how can I start xend correctly ? > > >> > > >> Thank you! > > >> > > >> -- > > >> David Cemin > > >> > > > > > > > > > > -- > > David Cemin > > mobile: +55 51 93523097 > > home:** +55 51 32763785 > > email: [9]davidcemin@gmail.com > > > > References > > > > Visible links > > 1. mailto:keir@xen.org > > 2. mailto:davidcemin@gmail.com > > 3. mailto:davidcemin@gmail.com > > 4. http://wiki.xensource.com/xenwiki/Xen4.0 > > 5. http://wiki.xensource.com/xenwiki/Xen4.0 > > 6. http://xenbits.xen.org/xen-4.0-testing.hg > > 7. http://wiki.xensource.com/xenwiki/XenParavirtOps > > 8. http://wiki.xensource.com/xenwiki/XenParavirtOps > > 9. mailto:davidcemin@gmail.com > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ok, sorry. I''ll open this thread on xen-users list as well. Thank you for your help. 2010/10/28 Keir Fraser <keir@xen.org>> Oh, hang on, the problem is probably that you have a version mismatch > between your hypercvisor and your tools in dom0. They need to be installed > from the exact same Xen version. This query should have been posted to > xen-users by the way - it doesn;''t belong on xen-devel. > > -- Keir > > On 28/10/2010 14:46, "David Cemin" <davidcemin@gmail.com> wrote: > > > Yes, I do have /proc/xen/privcmd. I suspect that something is missing in > my > > config. I''m not sure if I understand what you said. What do you mean by > > configure privcmd into dom0 kernel? > > > > % ll /proc/xen > > total 0 > > -r--r--r-- 1 root root 0 2010-10-28 11:08 capabilities > > -rw------- 1 root root 0 2010-10-28 11:08 privcmd > > -rw------- 1 root root 0 2010-10-28 11:08 xenbus > > -rw------- 1 root root 0 2010-10-28 11:08 xsd_kva > > -rw------- 1 root root 0 2010-10-28 11:08 xsd_port > > > > Thank you! > > > > -- > > David > > > > > > 2010/10/28 Keir Fraser <keir@xen.org> > >> Do you have /proc/xen/privcmd? You might need to configure that into > your > >> dom0 kernel build or something. > >> > >> -- Keir > >> > >> On 28/10/2010 14:17, "David Cemin" <davidcemin@gmail.com> 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 > >>> > >>> > >>> > >>> 2010/10/27 David Cemin <davidcemin@gmail.com> > >>>> Hello, > >>>> > >>>> I''ve downloaded the xen 4.0.1 version as it is explained here: > >>>> http://wiki.xensource.com/xenwiki/Xen4.0 > >>>> > >>>> <http://wiki.xensource.com/xenwiki/Xen4.0> So, I''ve made a clone > from > >>>> repository, with the following command: > >>>> > >>>> hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg > >>>> And finally I''ve built xen, tools and stubdom. > >>>> > >>>> > >>>> I was looking for a paravirtualized domain, and so I follow the > >>>> instructions > >>>> from here: > >>>> http://wiki.xensource.com/xenwiki/XenParavirtOps > >>>> > >>>> > >>>> <http://wiki.xensource.com/xenwiki/XenParavirtOps> So, I am able to > boot > >>>> dom0 successfully, but apparently xend its not starting. > >>>> > >>>> A few things that I have noticed: > >>>> > >>>> 1) lsmod does not list evtchn and neither gntdev, and they are not > compiled > >>>> as a Module. I have tried also to insert them with lsmod, and of > course, I > >>>> dont have them. > >>>> 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers > are > >>>> correct > >>>> > >>>> % cat /proc/misc > >>>> 52 freefall > >>>> 224 tpm0 > >>>> 53 network_throughput > >>>> 54 network_latency > >>>> 55 cpu_dma_latency > >>>> 56 device-mapper > >>>> 1 psaux > >>>> 200 tun > >>>> 57 pktcdvd > >>>> 228 hpet > >>>> 58 blktap-control > >>>> 59 xen/gntdev > >>>> 60 xen/evtchn > >>>> 229 fuse > >>>> 61 ecryptfs > >>>> 231 snapshot > >>>> 227 mcelog > >>>> 62 rfkill > >>>> 63 vga_arbiter > >>>> % ll /dev/xen > >>>> total 0 > >>>> crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > >>>> crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > >>>> > >>>> 3) I am really running dom) > >>>> % cat /proc/xen/capabilities > >>>> control_d > >>>> > >>>> 4) /var/log/xen shows the following errors: > >>>> > >>>> xend.log > >>>> > >>>> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > >>>> [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed > Aug 25 > >>>> 09:22:42 2010 +0100 21324:b536ebfba183. > >>>> [2010-10-27 17:32:31 1307] 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'') > >>>> > >>>> > >>>> xend-debug.log > >>>> > >>>> Xend started at Wed Oct 27 17:32:31 2010. > >>>> domctl operation failed -- need to rebuild the user-space tool set? > >>>> sysctl operation failed -- need to rebuild the user-space tool set? > >>>> Exception starting xend: (13, ''Permission denied'') > >>>> Exception in thread Thread-2: > >>>> Traceback (most recent call last): > >>>> File "/usr/lib/python2.6/threading.py", line 532, in > __bootstrap_inner > >>>> self.run() > >>>> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > line > >>>> 230, > >>>> in run > >>>> for domid, cputimes in self._get_cpu_stats().items(): > >>>> File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", > line > >>>> 208, > >>>> in _get_cpu_stats > >>>> for domain in self.xc.domain_getinfo(): > >>>> Error: (13, ''Permission denied'') > >>>> > >>>> > >>>> > >>>> Does anyone have any Idea of how can I start xend correctly ? > >>>> > >>>> Thank you! > >>>> > >>>> -- > >>>> David Cemin > >>>> > >>> > >>> > >> > >> > > > > > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hello, I''ve downloaded the xen 4.0.1 version as it is explained here: http://wiki.xensource.com/xenwiki/Xen4.0 <http://wiki.xensource.com/xenwiki/Xen4.0>So, I''ve made a clone from repository, with the following command: hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg And finally I''ve built xen, tools and stubdom. I was looking for a paravirtualized domain, and so I follow the instructions from here: http://wiki.xensource.com/xenwiki/XenParavirtOps <http://wiki.xensource.com/xenwiki/XenParavirtOps>So, I am able to boot dom0 successfully, but apparently xend its not starting. A few things that I have noticed: 1) lsmod does not list evtchn and neither gntdev, and they are not compiled as a Module. I have tried also to insert them with lsmod, and of course, I dont have them. 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are correct % cat /proc/misc 52 freefall 224 tpm0 53 network_throughput 54 network_latency 55 cpu_dma_latency 56 device-mapper 1 psaux 200 tun 57 pktcdvd 228 hpet 58 blktap-control 59 xen/gntdev 60 xen/evtchn 229 fuse 61 ecryptfs 231 snapshot 227 mcelog 62 rfkill 63 vga_arbiter % ll /dev/xen total 0 crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev 3) I am really running dom) % cat /proc/xen/capabilities control_d 4) /var/log/xen shows the following errors: xend.log [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 09:22:42 2010 +0100 21324:b536ebfba183. [2010-10-27 17:32:31 1307] 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'') xend-debug.log Xend started at Wed Oct 27 17:32:31 2010. domctl operation failed -- need to rebuild the user-space tool set? sysctl operation failed -- need to rebuild the user-space tool set? Exception starting xend: (13, ''Permission denied'') Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 230, in run for domid, cputimes in self._get_cpu_stats().items(): File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line 208, in _get_cpu_stats for domain in self.xc.domain_getinfo(): Error: (13, ''Permission denied'') Does anyone have any Idea of how can I start xend correctly ? Thank you! -- David Cemin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 2010/10/28 David Cemin <davidcemin@gmail.com>> Hello, > > I''ve downloaded the xen 4.0.1 version as it is explained here: > http://wiki.xensource.com/xenwiki/Xen4.0 > > <http://wiki.xensource.com/xenwiki/Xen4.0>So, I''ve made a clone from > repository, with the following command: > > hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg > > And finally I''ve built xen, tools and stubdom. > > > I was looking for a paravirtualized domain, and so I follow the > instructions from here: > http://wiki.xensource.com/xenwiki/XenParavirtOps > > > <http://wiki.xensource.com/xenwiki/XenParavirtOps>So, I am able to boot > dom0 successfully, but apparently xend its not starting. > > A few things that I have noticed: > > 1) lsmod does not list evtchn and neither gntdev, and they are not compiled > as a Module. I have tried also to insert them with lsmod, and of course, I > dont have them. > 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are > correct > > % cat /proc/misc > 52 freefall > 224 tpm0 > 53 network_throughput > 54 network_latency > 55 cpu_dma_latency > 56 device-mapper > 1 psaux > 200 tun > 57 pktcdvd > 228 hpet > 58 blktap-control > 59 xen/gntdev > 60 xen/evtchn > 229 fuse > 61 ecryptfs > 231 snapshot > 227 mcelog > 62 rfkill > 63 vga_arbiter > % ll /dev/xen > total 0 > crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > > 3) I am really running dom) > % cat /proc/xen/capabilities > control_d > > 4) /var/log/xen shows the following errors: > > xend.log > > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 > 09:22:42 2010 +0100 21324:b536ebfba183. > [2010-10-27 17:32:31 1307] 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'') > > > xend-debug.log > > Xend started at Wed Oct 27 17:32:31 2010. > domctl operation failed -- need to rebuild the user-space tool set? > sysctl operation failed -- need to rebuild the user-space tool set? > Exception starting xend: (13, ''Permission denied'') > Exception in thread Thread-2: > Traceback (most recent call last): > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > self.run() > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 230, in run > for domid, cputimes in self._get_cpu_stats().items(): > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 208, in _get_cpu_stats > for domain in self.xc.domain_getinfo(): > Error: (13, ''Permission denied'') > > > > Does anyone have any Idea of how can I start xend correctly ? > > Thank you! > > -- > David Cemin > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello 2010/10/28 Sriram Murali <msriram@ece.ubc.ca>> first of all make sure that you are choosing option from the boot menu. >> > Second, find the file site_customize.py. You can look for it using the > command ''find / -name "sitecustomize.py" '' as root.(I do not have access to > my machine right now, sorry!) It is somewhere in under the /etc/python... > path. In that path the add the two import site lines as shown below: > > > # install the apport exception handler if available > *import site** > site.addsitedir("/usr/lib/python2.6/dist-packages")* > > *import site** > site.addsitedir("/usr/lib/python2.6/site-packages")* > try: > import apport_python_hook > except ImportError: > pass > else: > apport_python_hook.install() > > Now xend should work. This is just a hack, maybe some one else has a better > solution... > > >I''ve added these lines into /etc/python2.6/sitecustomize.py and tried to restart xend. Nothing changed. I am trying to recompile dom0 (pvops) with the 4.0.0 version (xen/master branch). Maybe I have some version mismatch between hypervisor and dom0. Thank you !> *From:* xen-users-bounces@lists.xensource.com [mailto: > xen-users-bounces@lists.xensource.com] *On Behalf Of *David Cemin > *Sent:* October-28-10 7:57 AM > *To:* xen-users@lists.xensource.com > *Subject:* [Xen-users] xend does not start > > > > Hello, > > > > I''ve downloaded the xen 4.0.1 version as it is explained here: > > http://wiki.xensource.com/xenwiki/Xen4.0 > > > > So, I''ve made a clone from repository, with the following command: > > > > hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg > > And finally I''ve built xen, tools and stubdom. > > > > > > I was looking for a paravirtualized domain, and so I follow the > instructions from here: > > http://wiki.xensource.com/xenwiki/XenParavirtOps > > > > > > So, I am able to boot dom0 successfully, but apparently xend its not > starting. > > > > A few things that I have noticed: > > > > 1) lsmod does not list evtchn and neither gntdev, and they are not compiled > as a Module. I have tried also to insert them with lsmod, and of course, I > dont have them. > > 2) The nodes appear in both /proc/misc and /dev/xen, and the numbers are > correct > > > > % cat /proc/misc > > 52 freefall > > 224 tpm0 > > 53 network_throughput > > 54 network_latency > > 55 cpu_dma_latency > > 56 device-mapper > > 1 psaux > > 200 tun > > 57 pktcdvd > > 228 hpet > > 58 blktap-control > > 59 xen/gntdev > > 60 xen/evtchn > > 229 fuse > > 61 ecryptfs > > 231 snapshot > > 227 mcelog > > 62 rfkill > > 63 vga_arbiter > > % ll /dev/xen > > total 0 > > crw-rw---- 1 root root 10, 60 2010-10-27 17:32 evtchn > > crw-rw---- 1 root root 10, 59 2010-10-27 17:32 gntdev > > > > 3) I am really running dom) > > % cat /proc/xen/capabilities > > control_d > > > > 4) /var/log/xen shows the following errors: > > > > xend.log > > > > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:331) Xend Daemon started > > [2010-10-27 17:32:31 1307] INFO (SrvDaemon:335) Xend changeset: Wed Aug 25 > 09:22:42 2010 +0100 21324:b536ebfba183. > > [2010-10-27 17:32:31 1307] 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'') > > > > > > xend-debug.log > > > > Xend started at Wed Oct 27 17:32:31 2010. > > domctl operation failed -- need to rebuild the user-space tool set? > > sysctl operation failed -- need to rebuild the user-space tool set? > > Exception starting xend: (13, ''Permission denied'') > > Exception in thread Thread-2: > > Traceback (most recent call last): > > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > > self.run() > > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 230, in run > > for domid, cputimes in self._get_cpu_stats().items(): > > File "/usr/lib/python2.6/dist-packages/xen/xend/XendMonitor.py", line > 208, in _get_cpu_stats > > for domain in self.xc.domain_getinfo(): > > Error: (13, ''Permission denied'') > > > > > > > > Does anyone have any Idea of how can I start xend correctly ? > > > > Thank you! > > > > -- > > David Cemin > > > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-28 17:57 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-28 18:19 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG ? thank you! -- David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com>> By some reasons messages from davidcemin@gmail.com are coming to my spam > folder on yahoo.com, so i cannot reply properly. The most recent reply is > regarding python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com>* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com>* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-28 18:41 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24 - kernel 2.6.31.14 - xen 4.0.0 - xen 4.0.1 - xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com>> Please, view http://wiki.xen.org/xenwiki/Xen4.0 > > Tutorials to install Xen 4.0 :- > > Xen 4.0 on Ubuntu 10.04: > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > Set up Xen 4.0 Hypervisor > ******************************************************** > UPDATE 06/09/2010 > ******************************************************** > As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will > result building 2.6.32.15 kernel. This kernel may work properly only with > Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows > > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > ****************************************************** > > You can also follow more up to date "howto":- > > http://www.linuxtoday.com/infrastructure/2010101502135OSSV > > Except Libvirt setup it would work for you as well > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Thursday, October 28, 2010, 2:25 PM > > > Hi Boris, > > Thank you for your answer. > > My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to > recompile xen 4.0.0 and when install tools I need to use this line: > # make install-tools PYTHON_PREFIX_ARG> > ? > > thank you! > > -- > David > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > By some reasons messages from davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com>are coming to my spam folder on > yahoo.com, so i cannot reply properly. The most recent reply is regarding > python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > -- > David Cemin > mobile: +55 51 93523097 > home: +55 51 32763785 > email: davidcemin@gmail.com <http://mc/compose?to=davidcemin@gmail.com> > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-29 05:40 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
Double check packages have been installed for Xen on 10.04 Server. I''ve done such installs about 20-30 times with no problems. I believe something is wrong in OS python setup. You might try hook and then "install-tools". However, i do remember, xend reported that package not found, but not "permission denied" On the other side it would be good to see yours step by step installation procedure. You may send it to me out of the list if you want. What reports ? # ls -l /dev/xen Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 4:51 PM Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24- kernel 2.6.31.14 - xen 4.0.0- xen 4.0.1- xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com -- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris, My OS is Ubuntu 10.04, not 10.04 Server. Step by step, what I''ve done so far: 1) Install some packages: apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ libncurses5-dev dpkg-dev debhelper \ iasl texinfo bridge-utils bison flex apt-get build-dep xen-3.3 2) Clone from kernel source(it will be our dom0) git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen<http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen> cd linux-2.6-xen git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x 3) Compile kernel (.config is on the repository) make menuconfig # dom0 support and the Xen backend(load .config) make -j(x)number_of_kernels make modules_install install make deb-pkg dpkg -i ../linux-image*2.6.32.24*.deb depmod 2.6.32.24 update-initramfs -c -k 2.6.32.24 4) Compile xen 4.0.1 # cd /usr/src # hg clone –r RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG % sudo update-initramfs -c -k 2.6.32.24 update-initramfs: Generating /boot/initrd.img-2.6.32.24 % sudo update-rc.d xend defaults 20 21 update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist. % sudo update-rc.d xendomains defaults 20 21 update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xendomains already exist. then I''ve update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following: title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772 kernel /boot/xen-4.0.1.gz module /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24 quiet Finally, what I have in /dev/xen is: % ls -l /dev/xen total 0 crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchn crw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev I am attaching my .config, if you want to take a look as well. Thank you !! -- David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com>> Double check packages have been installed for Xen on 10.04 Server. > I''ve done such installs about 20-30 times with no problems. > I believe something is wrong in OS python setup. > > You might try hook and then "install-tools". However, i do remember, xend > reported > that package not found, but not "permission denied" > > On the other side it would be good to see yours step by step installation > procedure. > You may send it to me out of the list if you want. > > What reports ? > # ls -l /dev/xen > > > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Thursday, October 28, 2010, 4:51 PM > > > Hello Boris, > > I have made what is explained in both tutorials .. including uninstalling > network manager, and it hadn''t work. Same problem is still happening. > > I tried with > - kernel 2.6.32.24 > - kernel 2.6.31.14 > > - xen 4.0.0 > - xen 4.0.1 > - xen 4.0.2 > > With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... > > Do you have any other clue of what could be this problem? > > Thank you ! > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > Please, view http://wiki.xen.org/xenwiki/Xen4.0 > > Tutorials to install Xen 4.0 :- > > Xen 4.0 on Ubuntu 10.04: > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > Set up Xen 4.0 Hypervisor > ******************************************************** > UPDATE 06/09/2010 > ******************************************************** > As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will > result building 2.6.32.15 kernel. This kernel may work properly only with > Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows > > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > ****************************************************** > > You can also follow more up to date "howto":- > > http://www.linuxtoday.com/infrastructure/2010101502135OSSV > > Except Libvirt setup it would work for you as well > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Thursday, October 28, 2010, 2:25 PM > > > Hi Boris, > > Thank you for your answer. > > My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to > recompile xen 4.0.0 and when install tools I need to use this line: > # make install-tools PYTHON_PREFIX_ARG> > ? > > thank you! > > -- > David > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > By some reasons messages from davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com>are coming to my spam folder on > yahoo.com, so i cannot reply properly. The most recent reply is regarding > python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-29 13:23 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
Does it change anything after boot up:- 1) title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gz dummy=dummy dom0_mem=1024M module /boot/vmlinuz-2.6.32.24 dummy=dummy root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24 2) (+) root=/dev/sda(X) switch to actual device names or LVM (/dev/mapper/vg01-lv_root) 3) I gonna try build and load kernel with yours .config Boris. P.S. Second argument dummy=dummy was required for Grub2 some time ago, but it should affect switching to root FS when loading Dom0 . --- On Fri, 10/29/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 8:20 AM Boris, My OS is Ubuntu 10.04, not 10.04 Server. Step by step, what I''ve done so far: 1) Install some packages: apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ libncurses5-dev dpkg-dev debhelper \ iasl texinfo bridge-utils bison flex apt-get build-dep xen-3.3 2) Clone from kernel source(it will be our dom0) git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x 3) Compile kernel (.config is on the repository) make menuconfig # dom0 support and the Xen backend(load .config) make -j(x)number_of_kernels make modules_install install make deb-pkgdpkg -i ../linux-image*2.6.32.24*.deb depmod 2.6.32.24 update-initramfs -c -k 2.6.32.24 4) Compile xen 4.0.1 # cd /usr/src # hg clone –r RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG % sudo update-initramfs -c -k 2.6.32.24update-initramfs: Generating /boot/initrd.img-2.6.32.24% sudo update-rc.d xend defaults 20 21update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist.% sudo update-rc.d xendomains defaults 20 21 update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xendomains already exist. then I''ve update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following: title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gzmodule /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24quiet Finally, what I have in /dev/xen is: % ls -l /dev/xen total 0crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchncrw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev I am attaching my .config, if you want to take a look as well. Thank you !! --David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> Double check packages have been installed for Xen on 10.04 Server. I''ve done such installs about 20-30 times with no problems. I believe something is wrong in OS python setup. You might try hook and then "install-tools". However, i do remember, xend reported that package not found, but not "permission denied" On the other side it would be good to see yours step by step installation procedure. You may send it to me out of the list if you want. What reports ? # ls -l /dev/xen Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 4:51 PM Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24- kernel 2.6.31.14 - xen 4.0.0- xen 4.0.1- xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-29 13:45 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
I believe that on Desktop you have switch off NetworkManager per second "howto". What is output ? 1.) /etc/init.d/networking restart 2.) /etc/init.d/xend start Boris. --- On Fri, 10/29/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 8:20 AM Boris, My OS is Ubuntu 10.04, not 10.04 Server. Step by step, what I''ve done so far: 1) Install some packages: apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ libncurses5-dev dpkg-dev debhelper \ iasl texinfo bridge-utils bison flex apt-get build-dep xen-3.3 2) Clone from kernel source(it will be our dom0) git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x 3) Compile kernel (.config is on the repository) make menuconfig # dom0 support and the Xen backend(load .config) make -j(x)number_of_kernels make modules_install install make deb-pkgdpkg -i ../linux-image*2.6.32.24*.deb depmod 2.6.32.24 update-initramfs -c -k 2.6.32.24 4) Compile xen 4.0.1 # cd /usr/src # hg clone –r RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG % sudo update-initramfs -c -k 2.6.32.24update-initramfs: Generating /boot/initrd.img-2.6.32.24% sudo update-rc.d xend defaults 20 21update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist.% sudo update-rc.d xendomains defaults 20 21 update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xendomains already exist. then I''ve update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following: title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gzmodule /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24quiet Finally, what I have in /dev/xen is: % ls -l /dev/xen total 0crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchncrw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev I am attaching my .config, if you want to take a look as well. Thank you !! --David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> Double check packages have been installed for Xen on 10.04 Server. I''ve done such installs about 20-30 times with no problems. I believe something is wrong in OS python setup. You might try hook and then "install-tools". However, i do remember, xend reported that package not found, but not "permission denied" On the other side it would be good to see yours step by step installation procedure. You may send it to me out of the list if you want. What reports ? # ls -l /dev/xen Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 4:51 PM Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24- kernel 2.6.31.14 - xen 4.0.0- xen 4.0.1- xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-29 14:29 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
OK. David, I am loosing eth0, loading system with yours kernel. Hence, with NetworkManager turned on you cannot initiate the bridge via xend-config.sxp . My suggestion is to disable networkmanager and setup pvops kernel and xend per second "howto" ( e.g. loading xen_* backend stuff separately from kernel). Just due to presence .config ready to go in second "howto". Anyway, i believe there is issue in your .config affecting ethernet interface. What reports "ifconfig" on yours system ? Boris. --- On Fri, 10/29/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "David Cemin" <davidcemin@gmail.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 9:23 AM Does it change anything after boot up:- 1) title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gz dummy=dummy dom0_mem=1024M module /boot/vmlinuz-2.6.32.24 dummy=dummy root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24 2) (+) root=/dev/sda(X) switch to actual device names or LVM (/dev/mapper/vg01-lv_root) 3) I gonna try build and load kernel with yours .config Boris. P.S. Second argument dummy=dummy was required for Grub2 some time ago, but it should affect switching to root FS when loading Dom0 . --- On Fri, 10/29/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 8:20 AM Boris, My OS is Ubuntu 10.04, not 10.04 Server. Step by step, what I''ve done so far: 1) Install some packages: apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ libncurses5-dev dpkg-dev debhelper \ iasl texinfo bridge-utils bison flex apt-get build-dep xen-3.3 2) Clone from kernel source(it will be our dom0) git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x 3) Compile kernel (.config is on the repository) make menuconfig # dom0 support and the Xen backend(load .config) make -j(x)number_of_kernels make modules_install install make deb-pkgdpkg -i ../linux-image*2.6.32.24*.deb depmod 2.6.32.24 update-initramfs -c -k 2.6.32.24 4) Compile xen 4.0.1 # cd /usr/src # hg clone –r RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG % sudo update-initramfs -c -k 2.6.32.24update-initramfs: Generating /boot/initrd.img-2.6.32.24% sudo update-rc.d xend defaults 20 21update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist.% sudo update-rc.d xendomains defaults 20 21 update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xendomains already exist. then I''ve update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following: title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gzmodule /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24quiet Finally, what I have in /dev/xen is: % ls -l /dev/xen total 0crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchncrw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev I am attaching my .config, if you want to take a look as well. Thank you !! --David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> Double check packages have been installed for Xen on 10.04 Server. I''ve done such installs about 20-30 times with no problems. I believe something is wrong in OS python setup. You might try hook and then "install-tools". However, i do remember, xend reported that package not found, but not "permission denied" On the other side it would be good to see yours step by step installation procedure. You may send it to me out of the list if you want. What reports ? # ls -l /dev/xen Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 4:51 PM Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24- kernel 2.6.31.14 - xen 4.0.0- xen 4.0.1- xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Boris, % sudo /etc/init.d/networking restart [sudo] password for cemin: * Reconfiguring network interfaces... [ OK ] % sudo /etc/init.d/xend start % vim /var/log/xen/xend.log % sudo xm info Error: Unable to connect to xend: No such file or directory. Is xend running? (1) % ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:720 (720.0 B) TX bytes:720 (720.0 B) peth0 Link encap:Ethernet HWaddr 70:5a:b6:94:b8:65 inet6 addr: fe80::725a:b6ff:fe94:b865/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:1755 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:164409 (164.4 KB) TX bytes:468 (468.0 B) Memory:d7400000-d7420000 I still have the "permission denied" log in /var/log/xen/xend.log I''ve already uninstalled the Networkmanager (with apt-get remove) Then, in order to send this email :-) I need to reconfigure it manually. Like that: % sudo /etc/init.d/networking restart [sudo] password for cemin: * Reconfiguring network interfaces... [ OK ] % sudo /etc/init.d/xend start % vim /var/log/xen/xend.log % sudo xm info Error: Unable to connect to xend: No such file or directory. Is xend running? (1) % ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:720 (720.0 B) TX bytes:720 (720.0 B) peth0 Link encap:Ethernet HWaddr 70:5a:b6:94:b8:65 inet6 addr: fe80::725a:b6ff:fe94:b865/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:1755 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:164409 (164.4 KB) TX bytes:468 (468.0 B) Memory:d7400000-d7420000 So, my eth0 now appears. Then I tried again the same process: % sudo /etc/init.d/networking restart * Reconfiguring network interfaces... % sudo /etc/init.d/xend start /etc/xen/scripts/network-bridge: line 231: [: /sys/class/net/eth0: binary operator expected ifdown: interface eth0 not configured ifdown: interface peth0 not configured Error: either "dev" is duplicate, or "peth0" is a garbage. /etc/xen/scripts/network-bridge: line 231: [: /sys/class/net/eth0: binary operator expected ifdown: interface eth0 not configured ifdown: interface peth0 not configured Error: either "dev" is duplicate, or "peth0" is a garbage. % vim /var/log/xen/xend.log % sudo xm info Error: Unable to connect to xend: No such file or directory. Is xend running? Thank you! 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com>> I believe that on Desktop you have switch off NetworkManager per second > "howto". > What is output ? > > 1.) /etc/init.d/networking restart > > 2.) /etc/init.d/xend start > > Boris. > > > > --- On *Fri, 10/29/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Friday, October 29, 2010, 8:20 AM > > Boris, > > My OS is Ubuntu 10.04, not 10.04 Server. > > Step by step, what I''ve done so far: > > 1) Install some packages: > > apt-get install libcurl4-openssl-dev \ > xserver-xorg-dev \ > mercurial gitk \ > build-essential \ > libncurses5-dev \ > uuid-dev gawk \ > gettext texinfo bcc \ > libncurses5-dev dpkg-dev debhelper \ > iasl texinfo bridge-utils bison flex > apt-get build-dep xen-3.3 > > > > 2) Clone from kernel source(it will be our dom0) > > git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-xen<http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen> > cd linux-2.6-xen > git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x > > 3) Compile kernel (.config is on the repository) > > make menuconfig # dom0 support and the Xen backend(load .config) > make -j(x)number_of_kernels > make modules_install install > make deb-pkg > > dpkg -i ../linux-image*2.6.32.24*.deb > > depmod 2.6.32.24 > update-initramfs -c -k 2.6.32.24 > > 4) Compile xen 4.0.1 > > # cd /usr/src > # hg clone –r RELEASE-4.0.1 > http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > % sudo update-initramfs -c -k 2.6.32.24 > update-initramfs: Generating /boot/initrd.img-2.6.32.24 > % sudo update-rc.d xend defaults 20 21 > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xend already exist. > % sudo update-rc.d xendomains defaults 20 21 > update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not > match LSB Default-Start values (3 4 5) > update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not > match LSB Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xendomains already exist. > > then I''ve update grub with sudo update-grub. I am using grub 0.97 and the > entry that I am using is the following: > > title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 > uuid b76ba815-b994-4019-ab0a-0a363841f772 > kernel /boot/xen-4.0.1.gz > module /boot/vmlinuz-2.6.32.24 > root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 > module /boot/initrd.img-2.6.32.24 > quiet > > > > Finally, what I have in /dev/xen is: > > % ls -l /dev/xen > total 0 > crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchn > crw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev > > > I am attaching my .config, if you want to take a look as well. > > > Thank you !! > > -- > David > > 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > Double check packages have been installed for Xen on 10.04 Server. > I''ve done such installs about 20-30 times with no problems. > I believe something is wrong in OS python setup. > > You might try hook and then "install-tools". However, i do remember, xend > reported > that package not found, but not "permission denied" > > On the other side it would be good to see yours step by step installation > procedure. > You may send it to me out of the list if you want. > > What reports ? > # ls -l /dev/xen > > > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Thursday, October 28, 2010, 4:51 PM > > > Hello Boris, > > I have made what is explained in both tutorials .. including uninstalling > network manager, and it hadn''t work. Same problem is still happening. > > I tried with > - kernel 2.6.32.24 > - kernel 2.6.31.14 > > - xen 4.0.0 > - xen 4.0.1 > - xen 4.0.2 > > With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... > > Do you have any other clue of what could be this problem? > > Thank you ! > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > Please, view http://wiki.xen.org/xenwiki/Xen4.0 > > Tutorials to install Xen 4.0 :- > > Xen 4.0 on Ubuntu 10.04: > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > Set up Xen 4.0 Hypervisor > ******************************************************** > UPDATE 06/09/2010 > ******************************************************** > As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will > result building 2.6.32.15 kernel. This kernel may work properly only with > Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows > > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > ****************************************************** > > You can also follow more up to date "howto":- > > http://www.linuxtoday.com/infrastructure/2010101502135OSSV > > Except Libvirt setup it would work for you as well > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Thursday, October 28, 2010, 2:25 PM > > > Hi Boris, > > Thank you for your answer. > > My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to > recompile xen 4.0.0 and when install tools I need to use this line: > # make install-tools PYTHON_PREFIX_ARG> > ? > > thank you! > > -- > David > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > By some reasons messages from davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com>are coming to my spam folder on > yahoo.com, so i cannot reply properly. The most recent reply is regarding > python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Im gonna review my .config to see what is the problem. I''ll let you know when I figure it out. Thank you again! -- David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com>> OK. David, > I am loosing eth0, loading system with yours kernel. > Hence, with NetworkManager turned on you cannot initiate the bridge via > xend-config.sxp . > My suggestion is to disable networkmanager and setup pvops kernel and xend > per > second "howto" ( e.g. loading xen_* backend stuff separately from kernel). > Just due to presence .config ready to go in second "howto". Anyway, > i believe there is issue in your .config affecting ethernet interface. > > What reports "ifconfig" on yours system ? > > > Boris. > > > --- On *Fri, 10/29/10, Boris Derzhavets <bderzhavets@yahoo.com>* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "David Cemin" <davidcemin@gmail.com> > > Cc: xen-users@lists.xensource.com > Date: Friday, October 29, 2010, 9:23 AM > > > Does it change anything after boot up:- > 1) > > title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 > uuid b76ba815-b994-4019-ab0a-0a363841f772 > kernel /boot/xen-4.0.1.gz dummy=dummy dom0_mem=1024M > module /boot/vmlinuz-2.6.32.24 dummy=dummy > root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 > module /boot/initrd.img-2.6.32.24 > > 2) (+) root=/dev/sda(X) switch to actual device names or LVM > (/dev/mapper/vg01-lv_root) > > 3) I gonna try build and load kernel with yours .config > > Boris. > P.S. Second argument dummy=dummy was required for Grub2 some time ago, > but it should affect switching to root FS when loading Dom0 . > > --- On *Fri, 10/29/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Friday, October 29, 2010, 8:20 AM > > Boris, > > My OS is Ubuntu 10.04, not 10.04 Server. > > Step by step, what I''ve done so far: > > 1) Install some packages: > > apt-get install libcurl4-openssl-dev \ > xserver-xorg-dev \ > mercurial gitk \ > build-essential \ > libncurses5-dev \ > uuid-dev gawk \ > gettext texinfo bcc \ > libncurses5-dev dpkg-dev debhelper \ > iasl texinfo bridge-utils bison flex > apt-get build-dep xen-3.3 > > > > 2) Clone from kernel source(it will be our dom0) > > git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-xen<http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen> > cd linux-2.6-xen > git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x > > 3) Compile kernel (.config is on the repository) > > make menuconfig # dom0 support and the Xen backend(load .config) > make -j(x)number_of_kernels > make modules_install install > make deb-pkg > > dpkg -i ../linux-image*2.6.32.24*.deb > > depmod 2.6.32.24 > update-initramfs -c -k 2.6.32.24 > > 4) Compile xen 4.0.1 > > # cd /usr/src > # hg clone –r RELEASE-4.0.1 > http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > % sudo update-initramfs -c -k 2.6.32.24 > update-initramfs: Generating /boot/initrd.img-2.6.32.24 > % sudo update-rc.d xend defaults 20 21 > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xend already exist. > % sudo update-rc.d xendomains defaults 20 21 > update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not > match LSB Default-Start values (3 4 5) > update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not > match LSB Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xendomains already exist. > > then I''ve update grub with sudo update-grub. I am using grub 0.97 and the > entry that I am using is the following: > > title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 > uuid b76ba815-b994-4019-ab0a-0a363841f772 > kernel /boot/xen-4.0.1.gz > module /boot/vmlinuz-2.6.32.24 > root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 > module /boot/initrd.img-2.6.32.24 > quiet > > > > Finally, what I have in /dev/xen is: > > % ls -l /dev/xen > total 0 > crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchn > crw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev > > > I am attaching my .config, if you want to take a look as well. > > > Thank you !! > > -- > David > > 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> > > Double check packages have been installed for Xen on 10.04 Server. > I''ve done such installs about 20-30 times with no problems. > I believe something is wrong in OS python setup. > > You might try hook and then "install-tools". However, i do remember, xend > reported > that package not found, but not "permission denied" > > On the other side it would be good to see yours step by step installation > procedure. > You may send it to me out of the list if you want. > > What reports ? > # ls -l /dev/xen > > > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Thursday, October 28, 2010, 4:51 PM > > > Hello Boris, > > I have made what is explained in both tutorials .. including uninstalling > network manager, and it hadn''t work. Same problem is still happening. > > I tried with > - kernel 2.6.32.24 > - kernel 2.6.31.14 > > - xen 4.0.0 > - xen 4.0.1 > - xen 4.0.2 > > With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... > > Do you have any other clue of what could be this problem? > > Thank you ! > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > Please, view http://wiki.xen.org/xenwiki/Xen4.0 > > Tutorials to install Xen 4.0 :- > > Xen 4.0 on Ubuntu 10.04: > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > Set up Xen 4.0 Hypervisor > ******************************************************** > UPDATE 06/09/2010 > ******************************************************** > As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will > result building 2.6.32.15 kernel. This kernel may work properly only with > Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows > > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > ****************************************************** > > You can also follow more up to date "howto":- > > http://www.linuxtoday.com/infrastructure/2010101502135OSSV > > Except Libvirt setup it would work for you as well > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Thursday, October 28, 2010, 2:25 PM > > > Hi Boris, > > Thank you for your answer. > > My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to > recompile xen 4.0.0 and when install tools I need to use this line: > # make install-tools PYTHON_PREFIX_ARG> > ? > > thank you! > > -- > David > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > By some reasons messages from davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com>are coming to my spam folder on > yahoo.com, so i cannot reply properly. The most recent reply is regarding > python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Oct-29 16:47 UTC
Re: [Xen-users] Re: [Xen-devel] Re: xend does not start
> I''ve already uninstalled the Networkmanager (with apt-get remove)# apt-get install chkconfig # chkconfig network-manager off might be enough i guess ;) Working config (64-bit) having xen backend devices hard linked to the kernel is attached. Feel free to run "diff" Boris. --- On Fri, 10/29/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 10:52 AM Im gonna review my .config to see what is the problem. I''ll let you know when I figure it out. Thank you again! --David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> OK. David, I am loosing eth0, loading system with yours kernel. Hence, with NetworkManager turned on you cannot initiate the bridge via xend-config.sxp . My suggestion is to disable networkmanager and setup pvops kernel and xend per second "howto" ( e.g. loading xen_* backend stuff separately from kernel). Just due to presence .config ready to go in second "howto". Anyway, i believe there is issue in your .config affecting ethernet interface. What reports "ifconfig" on yours system ? Boris. --- On Fri, 10/29/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "David Cemin" <davidcemin@gmail.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 9:23 AM Does it change anything after boot up:- 1) title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gz dummy=dummy dom0_mem=1024M module /boot/vmlinuz-2.6.32.24 dummy=dummy root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24 2) (+) root=/dev/sda(X) switch to actual device names or LVM (/dev/mapper/vg01-lv_root) 3) I gonna try build and load kernel with yours .config Boris. P.S. Second argument dummy=dummy was required for Grub2 some time ago, but it should affect switching to root FS when loading Dom0 . --- On Fri, 10/29/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Friday, October 29, 2010, 8:20 AM Boris, My OS is Ubuntu 10.04, not 10.04 Server. Step by step, what I''ve done so far: 1) Install some packages: apt-get install libcurl4-openssl-dev \ xserver-xorg-dev \ mercurial gitk \ build-essential \ libncurses5-dev \ uuid-dev gawk \ gettext texinfo bcc \ libncurses5-dev dpkg-dev debhelper \ iasl texinfo bridge-utils bison flex apt-get build-dep xen-3.3 2) Clone from kernel source(it will be our dom0) git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen cd linux-2.6-xen git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x 3) Compile kernel (.config is on the repository) make menuconfig # dom0 support and the Xen backend(load .config) make -j(x)number_of_kernels make modules_install install make deb-pkgdpkg -i ../linux-image*2.6.32.24*.deb depmod 2.6.32.24 update-initramfs -c -k 2.6.32.24 4) Compile xen 4.0.1 # cd /usr/src # hg clone –r RELEASE-4.0.1 http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG % sudo update-initramfs -c -k 2.6.32.24update-initramfs: Generating /boot/initrd.img-2.6.32.24% sudo update-rc.d xend defaults 20 21update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xend already exist.% sudo update-rc.d xendomains defaults 20 21 update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) System start/stop links for /etc/init.d/xendomains already exist. then I''ve update grub with sudo update-grub. I am using grub 0.97 and the entry that I am using is the following: title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 uuid b76ba815-b994-4019-ab0a-0a363841f772kernel /boot/xen-4.0.1.gzmodule /boot/vmlinuz-2.6.32.24 root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 module /boot/initrd.img-2.6.32.24quiet Finally, what I have in /dev/xen is: % ls -l /dev/xen total 0crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchncrw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev I am attaching my .config, if you want to take a look as well. Thank you !! --David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> Double check packages have been installed for Xen on 10.04 Server. I''ve done such installs about 20-30 times with no problems. I believe something is wrong in OS python setup. You might try hook and then "install-tools". However, i do remember, xend reported that package not found, but not "permission denied" On the other side it would be good to see yours step by step installation procedure. You may send it to me out of the list if you want. What reports ? # ls -l /dev/xen Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 4:51 PM Hello Boris, I have made what is explained in both tutorials .. including uninstalling network manager, and it hadn''t work. Same problem is still happening. I tried with - kernel 2.6.32.24- kernel 2.6.31.14 - xen 4.0.0- xen 4.0.1- xen 4.0.2 With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... Do you have any other clue of what could be this problem? Thank you ! 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> Please, view http://wiki.xen.org/xenwiki/Xen4.0 Tutorials to install Xen 4.0 :- Xen 4.0 on Ubuntu 10.04: http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ Set up Xen 4.0 Hypervisor ******************************************************** UPDATE 06/09/2010 ******************************************************** As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will result building 2.6.32.15 kernel. This kernel may work properly only with Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG ****************************************************** You can also follow more up to date "howto":- http://www.linuxtoday.com/infrastructure/2010101502135OSSV Except Libvirt setup it would work for you as well Boris. --- On Thu, 10/28/10, David Cemin <davidcemin@gmail.com> wrote: From: David Cemin <davidcemin@gmail.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-users@lists.xensource.com Date: Thursday, October 28, 2010, 2:25 PM Hi Boris, Thank you for your answer. My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to recompile xen 4.0.0 and when install tools I need to use this line: # make install-tools PYTHON_PREFIX_ARG? thank you! --David 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com> By some reasons messages from davidcemin@gmail.com are coming to my spam folder on yahoo.com, so i cannot reply properly. The most recent reply is regarding python hook. If you base OS is Ubuntu >= 9.10 default location of python packages is /usr/lib/python2.6/dist-packages. This issue is addressed by line :- # make install-tools PYTHON_PREFIX_ARG It will just put packages in proper location But , once again, my question is what is your base OS ? Boris. --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 1:57 PM Well known Ubuntu issue # cd /usr/src # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg # cd xen-4.0-testing.hg # make xen # make tools # make install-xen # make install-tools PYTHON_PREFIX_ARG --- On Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start To: xen-users@lists.xensource.com, "David Cemin" <davidcemin@gmail.com> Date: Thursday, October 28, 2010, 10:16 AM What is SELINUX status ? Boris. -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris, I think you forgot to attach the .config file. Thank you ! - David 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com>> > I''ve already uninstalled the Networkmanager (with apt-get remove) > > # apt-get install chkconfig > # chkconfig network-manager off > > might be enough i guess ;) > > Working config (64-bit) having xen backend devices hard linked to the > kernel > is attached. Feel free to run "diff" > > Boris. > > --- On *Fri, 10/29/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Friday, October 29, 2010, 10:52 AM > > > Im gonna review my .config to see what is the problem. I''ll let you know > when I figure it out. > > Thank you again! > > -- > David > > 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > OK. David, > I am loosing eth0, loading system with yours kernel. > Hence, with NetworkManager turned on you cannot initiate the bridge via > xend-config.sxp . > My suggestion is to disable networkmanager and setup pvops kernel and xend > per > second "howto" ( e.g. loading xen_* backend stuff separately from kernel). > Just due to presence .config ready to go in second "howto". Anyway, > i believe there is issue in your .config affecting ethernet interface. > > What reports "ifconfig" on yours system ? > > > Boris. > > > --- On *Fri, 10/29/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Friday, October 29, 2010, 9:23 AM > > > Does it change anything after boot up:- > 1) > > title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 > uuid b76ba815-b994-4019-ab0a-0a363841f772 > kernel /boot/xen-4.0.1.gz dummy=dummy dom0_mem=1024M > module /boot/vmlinuz-2.6.32.24 dummy=dummy > root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 > module /boot/initrd.img-2.6.32.24 > > 2) (+) root=/dev/sda(X) switch to actual device names or LVM > (/dev/mapper/vg01-lv_root) > > 3) I gonna try build and load kernel with yours .config > > Boris. > P.S. Second argument dummy=dummy was required for Grub2 some time ago, > but it should affect switching to root FS when loading Dom0 . > > --- On *Fri, 10/29/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Friday, October 29, 2010, 8:20 AM > > Boris, > > My OS is Ubuntu 10.04, not 10.04 Server. > > Step by step, what I''ve done so far: > > 1) Install some packages: > > apt-get install libcurl4-openssl-dev \ > xserver-xorg-dev \ > mercurial gitk \ > build-essential \ > libncurses5-dev \ > uuid-dev gawk \ > gettext texinfo bcc \ > libncurses5-dev dpkg-dev debhelper \ > iasl texinfo bridge-utils bison flex > apt-get build-dep xen-3.3 > > > > 2) Clone from kernel source(it will be our dom0) > > git clone http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-xen<http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen> > cd linux-2.6-xen > git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x > > 3) Compile kernel (.config is on the repository) > > make menuconfig # dom0 support and the Xen backend(load .config) > make -j(x)number_of_kernels > make modules_install install > make deb-pkg > > dpkg -i ../linux-image*2.6.32.24*.deb > > depmod 2.6.32.24 > update-initramfs -c -k 2.6.32.24 > > 4) Compile xen 4.0.1 > > # cd /usr/src > # hg clone –r RELEASE-4.0.1 > http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > % sudo update-initramfs -c -k 2.6.32.24 > update-initramfs: Generating /boot/initrd.img-2.6.32.24 > % sudo update-rc.d xend defaults 20 21 > update-rc.d: warning: xend start runlevel arguments (2 3 4 5) do not match > LSB Default-Start values (3 4 5) > update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB > Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xend already exist. > % sudo update-rc.d xendomains defaults 20 21 > update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not > match LSB Default-Start values (3 4 5) > update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not > match LSB Default-Stop values (0 1 2 6) > System start/stop links for /etc/init.d/xendomains already exist. > > then I''ve update grub with sudo update-grub. I am using grub 0.97 and the > entry that I am using is the following: > > title Xen 4.0.1 / Ubuntu 10.04.1 LTS, kernel 2.6.32.24 > uuid b76ba815-b994-4019-ab0a-0a363841f772 > kernel /boot/xen-4.0.1.gz > module /boot/vmlinuz-2.6.32.24 > root=UUID=b76ba815-b994-4019-ab0a-0a363841f772 ro console=tty0 > module /boot/initrd.img-2.6.32.24 > quiet > > > > Finally, what I have in /dev/xen is: > > % ls -l /dev/xen > total 0 > crw-rw---- 1 root root 10, 60 2010-10-29 10:10 evtchn > crw-rw---- 1 root root 10, 59 2010-10-29 10:10 gntdev > > > I am attaching my .config, if you want to take a look as well. > > > Thank you !! > > -- > David > > 2010/10/29 Boris Derzhavets <bderzhavets@yahoo.com> > > Double check packages have been installed for Xen on 10.04 Server. > I''ve done such installs about 20-30 times with no problems. > I believe something is wrong in OS python setup. > > You might try hook and then "install-tools". However, i do remember, xend > reported > that package not found, but not "permission denied" > > On the other side it would be good to see yours step by step installation > procedure. > You may send it to me out of the list if you want. > > What reports ? > # ls -l /dev/xen > > > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com>* wrote: > > > From: David Cemin <davidcemin@gmail.com> > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-users@lists.xensource.com > Date: Thursday, October 28, 2010, 4:51 PM > > > Hello Boris, > > I have made what is explained in both tutorials .. including uninstalling > network manager, and it hadn''t work. Same problem is still happening. > > I tried with > - kernel 2.6.32.24 > - kernel 2.6.31.14 > > - xen 4.0.0 > - xen 4.0.1 > - xen 4.0.2 > > With all variants. Always passing PYTHON_PREFIX_ARG= in install-tools ... > > Do you have any other clue of what could be this problem? > > Thank you ! > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > Please, view http://wiki.xen.org/xenwiki/Xen4.0 > > Tutorials to install Xen 4.0 :- > > Xen 4.0 on Ubuntu 10.04: > http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/ > > Set up Xen 4.0 Hypervisor > ******************************************************** > UPDATE 06/09/2010 > ******************************************************** > As of 06/09/2010 checking out xen/stable or xen/stable-2.6.32.x branch will > result building 2.6.32.15 kernel. This kernel may work properly only with > Xen 4.0.1-rc2-pre ( at the time of writing). So build xen as follows > > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > ****************************************************** > > You can also follow more up to date "howto":- > > http://www.linuxtoday.com/infrastructure/2010101502135OSSV > > Except Libvirt setup it would work for you as well > > Boris. > > --- On *Thu, 10/28/10, David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > >* wrote: > > > From: David Cemin <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: "Boris Derzhavets" <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Cc: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com> > Date: Thursday, October 28, 2010, 2:25 PM > > > Hi Boris, > > Thank you for your answer. > > My base OS is a Ubuntu 10.04. Let me see if I got it right. I just need to > recompile xen 4.0.0 and when install tools I need to use this line: > # make install-tools PYTHON_PREFIX_ARG> > ? > > thank you! > > -- > David > > 2010/10/28 Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > > By some reasons messages from davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com>are coming to my spam folder on > yahoo.com, so i cannot reply properly. The most recent reply is regarding > python hook. > > If you base OS is Ubuntu >= 9.10 default location of python packages is > /usr/lib/python2.6/dist-packages. > This issue is addressed by line :- > > > # make install-tools PYTHON_PREFIX_ARG> > It will just put packages in proper location > But , once again, my question is what is your base OS ? > > Boris. > > > > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: Re: [Xen-users] Re: [Xen-devel] Re: xend does not start > > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 1:57 PM > > > Well known Ubuntu issue > > # cd /usr/src > # hg clone http://xenbits.xensource.com/xen-4.0-testing.hg > # cd xen-4.0-testing.hg > # make xen > # make tools > # make install-xen > # make install-tools PYTHON_PREFIX_ARG> > --- On *Thu, 10/28/10, Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > >* wrote: > > > From: Boris Derzhavets <bderzhavets@yahoo.com<http://mc/compose?to=bderzhavets@yahoo.com> > > > Subject: [Xen-users] Re: [Xen-devel] Re: xend does not start > To: xen-users@lists.xensource.com<http://mc/compose?to=xen-users@lists.xensource.com>, > "David Cemin" <davidcemin@gmail.com<http://mc/compose?to=davidcemin@gmail.com> > > > Date: Thursday, October 28, 2010, 10:16 AM > > What is SELINUX status ? > > Boris. > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > David Cemin > mobile: +55 51 93523097 > home: +55 51 32763785 > email: davidcemin@gmail.com <http://mc/compose?to=davidcemin@gmail.com> > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com<http://mc/compose?to=Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > >-- David Cemin mobile: +55 51 93523097 home: +55 51 32763785 email: davidcemin@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users