With Xen 4.0.0-rc6-pre on Fedora 12, I see the following error when trying to start xend: # python -V Python 2.6.2 # xend start ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> import relocate File "/usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> from xen.xend import XendDomain File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module> from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> from xen.xend import balloon, sxp, image File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory )'') This looks very similar to this existing, open bug: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1436 It appears this bug was opened 2009-03-21 but the status still shows as ''NEW''. Does anyone have more info on this? Is there a workaround? Thanks in advance, Ed PS, here is my Xen/Linux info: (XEN) Xen version 4.0.0-rc6-pre (root@) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) Thu Mar 4 21:32:45 MST 2010 (XEN) Latest ChangeSet: Wed Mar 03 17:41:58 2010 +0000 20997:b8d2a4134a68 (XEN) Console output is synchronous. (XEN) Command line: acpi_skip_timer_override loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1 console=com1 [ 0.000000] Linux version 2.6.31.6 (root@truckee) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) #1 SMP Thu Mar 4 20:59:13 MST 2010 [ 0.000000] Command line: ro root=UUID=5d34160d-d728-4e6e-b66d-9e1632aa6dd5 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen acpi_skip_timer_override _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Mar-05 14:25 UTC
Re: [Xen-devel] xend internal error on 4.0.0-rc6-pre
On Fri, Mar 05, 2010 at 06:38:00AM -0700, Nadolski, Ed wrote:> With Xen 4.0.0-rc6-pre on Fedora 12, I see the following error when trying to start xend: >Does Xen 4.0.0-rc5 work? (from the rpms)> # python -V > Python 2.6.2 > # xend start > ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> > import relocate > File "/usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> > from xen.xend import XendDomain > File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module> > xc = xen.lowlevel.xc.xc() > xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory > )'') >Hmm.. do you have xen-evtchn module loaded? Do you have /proc/xen (xenfs) mounted? -- Pasi> This looks very similar to this existing, open bug: > > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1436 > > It appears this bug was opened 2009-03-21 but the status still shows as ''NEW''. Does anyone have more info on this? Is there a workaround? > > Thanks in advance, > Ed > > PS, here is my Xen/Linux info: > > (XEN) Xen version 4.0.0-rc6-pre (root@) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) Thu Mar 4 21:32:45 MST 2010 > (XEN) Latest ChangeSet: Wed Mar 03 17:41:58 2010 +0000 20997:b8d2a4134a68 > (XEN) Console output is synchronous. > (XEN) Command line: acpi_skip_timer_override loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1 console=com1 > > [ 0.000000] Linux version 2.6.31.6 (root@truckee) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) #1 SMP Thu Mar 4 20:59:13 MST 2010 > [ 0.000000] Command line: ro root=UUID=5d34160d-d728-4e6e-b66d-9e1632aa6dd5 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen acpi_skip_timer_override > > > > _______________________________________________ > 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-Mar-05 18:41 UTC
Re: [Xen-devel] xend internal error on 4.0.0-rc6-pre
> Does Xen 4.0.0-rc5 work? (from the rpms)xen-4.0.0-0.2.rc6.fc12.src.rpm has been built matching the tip CS 20997:b8d2a4134a68 generates rpms :- [root@fedora x86_64]# cat inst.sh yum install xen-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-debuginfo-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-devel-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-doc-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-hypervisor-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-libs-4.0.0-0.2.rc6.fc12.x86_64.rpm \ xen-runtime-4.0.0-0.2.rc6.fc12.x86_64.rpm which been installed upgrade Xen and allows to load Michael''s Young the most recent kernel for Dom0 support host : fedora release : 2.6.32.9-1.2.89.xendom0.fc12.x86_64 version : #1 SMP Thu Mar 4 13:04:28 MSK 2010 machine : x86_64 nr_cpus : 4 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2833 hw_caps : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 virt_caps : hvm total_memory : 8162 free_memory : 131 node_to_cpu : node0:0-3 node_to_memory : node0:131 node_to_dma32_mem : node0:127 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .0-rc6-pre xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : cc_compiler : gcc version 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC) cc_compile_by : root cc_compile_domain : cc_compile_date : Fri Mar 5 21:07:54 MSK 2010 xend_config_format : 4 Details :- xen-4.0.0-0.2.rc6.fc12.src.rpm was built for Xen 4.0 hg-tree status [root@fedora xen-unstable.hg]# hg log|more changeset: 20997:b8d2a4134a68 tag: tip user: Keir Fraser <keir.fraser@citrix.com> date: Wed Mar 03 17:41:58 2010 +0000 summary: x86-64: fix hotplug fault handling for 32-bit domains'' M2P range changeset: 20996:401c0012b827 user: Keir Fraser <keir.fraser@citrix.com> date: Wed Mar 03 17:40:48 2010 +0000 summary: xentop: tmem: no stats for non-tmem domains changeset: 20995:6c338a5830b5 user: Keir Fraser <keir.fraser@citrix.com> date: Wed Mar 03 17:40:22 2010 +0000 summary: Fix domain exit actions that contain hyphen changeset: 20994:71af69a9d393 user: Keir Fraser <keir.fraser@citrix.com> date: Wed Mar 03 17:39:22 2010 +0000 summary: Replace config file parser for "xl" changeset: 20993:4554b305228a user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 14:05:35 2010 +0000 summary: x86: use key handler scratch buffer in dump_irqs() changeset: 20992:92984e102687 user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 13:43:48 2010 +0000 summary: x86/acpi: Add a missing CR in printk changeset: 20991:6430786865e4 user: Keir Fraser <keir.fraser@citrix.com> date: Tue Mar 02 13:42:55 2010 +0000 summary: Update Xen version to 4.0.0-rc6-pre . . . . Boris. Boris. --- On Fri, 3/5/10, Pasi Kärkkäinen <pasik@iki.fi> wrote: From: Pasi Kärkkäinen <pasik@iki.fi> Subject: Re: [Xen-devel] xend internal error on 4.0.0-rc6-pre To: "Nadolski, Ed" <Ed.Nadolski@lsi.com> Cc: "Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com> Date: Friday, March 5, 2010, 9:25 AM On Fri, Mar 05, 2010 at 06:38:00AM -0700, Nadolski, Ed wrote:> With Xen 4.0.0-rc6-pre on Fedora 12, I see the following error when trying to start xend: >Does Xen 4.0.0-rc5 work? (from the rpms)> # python -V > Python 2.6.2 > # xend start > ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory) > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module> > import relocate > File "/usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> > from xen.xend import XendDomain > File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module> > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> > from xen.xend import balloon, sxp, image > File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module> > xc = xen.lowlevel.xc.xc() > xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory > )'') >Hmm.. do you have xen-evtchn module loaded? Do you have /proc/xen (xenfs) mounted? -- Pasi> This looks very similar to this existing, open bug: > > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1436 > > It appears this bug was opened 2009-03-21 but the status still shows as ''NEW''. Does anyone have more info on this? Is there a workaround? > > Thanks in advance, > Ed > > PS, here is my Xen/Linux info: > > (XEN) Xen version 4.0.0-rc6-pre (root@) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) Thu Mar 4 21:32:45 MST 2010 > (XEN) Latest ChangeSet: Wed Mar 03 17:41:58 2010 +0000 20997:b8d2a4134a68 > (XEN) Console output is synchronous. > (XEN) Command line: acpi_skip_timer_override loglvl=all guest_loglvl=all sync_console console_to_ring com1=115200,8n1 console=com1 > > [ 0.000000] Linux version 2.6.31.6 (root@truckee) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) #1 SMP Thu Mar 4 20:59:13 MST 2010 > [ 0.000000] Command line: ro root=UUID=5d34160d-d728-4e6e-b66d-9e1632aa6dd5 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen acpi_skip_timer_override > > > > _______________________________________________ > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > # python -V > > Python 2.6.2 > > # xend start > > ERROR Internal error: Could not obtain handle on privileged command > interface (2 = No such file or directory) > > Traceback (most recent call last): > > File "/usr/sbin/xend", line 36, in <module> > > from xen.xend.server import SrvDaemon > > File "/usr/lib64/python2.6/site- > packages/xen/xend/server/SrvDaemon.py", line 26, in <module> > > import relocate > > File "/usr/lib64/python2.6/site- > packages/xen/xend/server/relocate.py", line 28, in <module> > > from xen.xend import XendDomain > > File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", > line 36, in <module> > > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > > File "/usr/lib64/python2.6/site- > packages/xen/xend/XendCheckpoint.py", line 20, in <module> > > from xen.xend import balloon, sxp, image > > File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line > 46, in <module> > > xc = xen.lowlevel.xc.xc() > > xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle > on privileged command interface (2 = No such file or directory > > )'') > > > > Hmm.. do you have xen-evtchn module loaded? Do you have /proc/xen > (xenfs) mounted?That was it, xenfs was not being mounted. I had to add the following line to /etc/fstab: none /proc/xen xenfs defaults 0 0 Thanks, Ed _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel