Rose, Gregory V
2010-Jul-19 21:48 UTC
[Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
When I try to start xend I get the following error messages: 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> File "usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> File "usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module> File "usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> File "usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module> xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory)'') ---------------------- I saw some posts to the xen-devel archive from the late June timeframe that discuss a similar error message but when I went to look at the xc_private.c source file it doesn''t look anything like the file mentioned in the emails. http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01519.html Anyone have any idea what''s going on? The 2.6.31.13 pvops kernel works fine. Thanks, - Greg _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jul-20 09:05 UTC
Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
On Mon, Jul 19, 2010 at 02:48:37PM -0700, Rose, Gregory V wrote:> When I try to start xend I get the following error messages: > > 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> > File "usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module> > File "usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module> > File "usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module> > File "usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module> > xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could not obtain handle on privileged command interface (2 = No such file or directory)'') > > ---------------------- > > I saw some posts to the xen-devel archive from the late June timeframe that discuss a similar error message but when I went to look at the xc_private.c source file it doesn''t look anything like the file mentioned in the emails. > > http://lists.xensource.com/archives/html/xen-devel/2010-06/msg01519.html > > Anyone have any idea what''s going on? The 2.6.31.13 pvops kernel works fine. >I think this has been discussed multiple times recently on this list.. I''ve been on vacation, so I haven''t followed very closely, so I can''t point you to the correct answer :) First check the "Xend (and/or xenstored) does not start when using pv_ops dom0 kernel?" section from http://wiki.xensource.com/xenwiki/XenParavirtOps Does that help? -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Rose, Gregory V
2010-Jul-20 15:52 UTC
RE: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
>-----Original Message----- >From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >Sent: Tuesday, July 20, 2010 2:05 AM >To: Rose, Gregory V >Cc: xen-devel@lists.xensource.com >Subject: Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t >start xend > >> >> I saw some posts to the xen-devel archive from the late June timeframe >that discuss a similar error message but when I went to look at the >xc_private.c source file it doesn''t look anything like the file >mentioned in the emails. >> >> http://lists.xensource.com/archives/html/xen-devel/2010- >06/msg01519.html >> >> Anyone have any idea what''s going on? The 2.6.31.13 pvops kernel >works fine. >> > >I think this has been discussed multiple times recently on this list.. >I''ve been on vacation, so I haven''t followed very closely, so I can''t >point you to the correct answer :) > >First check the "Xend (and/or xenstored) does not start when using >pv_ops dom0 kernel?" section from >http://wiki.xensource.com/xenwiki/XenParavirtOps > >Does that help?Well, it tells me what is wrong but not how to fix it... ;-) For some reason the stable-2.6.32x branch doesn''t have the drivers/xen/gntdev driver source in it while the 2.6.31 kernel does. Beats me why... When I run menuconfig in the 2.6.31 kernel I see the option for XEN_GNTDEV but not in the 2.6.32 kernel. Copying the config from 2.6.31 to 2.6.32 doesn''t help because the driver module is missing from the tree and just won''t show up. I''ll go search the archives some more and see if I can find any answers. Thanks for the pointers. - Greg _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Rose, Gregory V
2010-Jul-20 16:10 UTC
RE: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- >bounces@lists.xensource.com] On Behalf Of Rose, Gregory V >Sent: Tuesday, July 20, 2010 8:53 AM >Subject: RE: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t >start xend > >>-----Original Message----- >>From: Pasi Kärkkäinen [mailto:pasik@iki.fi] >>Sent: Tuesday, July 20, 2010 2:05 AM >>To: Rose, Gregory V >>Subject: Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t >>start xend >> >>> >> >>Does that help? > >Well, it tells me what is wrong but not how to fix it... > >;-) > >For some reason the stable-2.6.32x branch doesn''t have the >drivers/xen/gntdev driver source in it while the 2.6.31 kernel does. >Beats me why... > >When I run menuconfig in the 2.6.31 kernel I see the option for >XEN_GNTDEV but not in the 2.6.32 kernel. Copying the config from 2.6.31 >to 2.6.32 doesn''t help because the driver module is missing from the >tree and just won''t show up. > >I''ll go search the archives some more and see if I can find any answers.OK, I was working off of a special branch created by Jeremy to test the SR-IOV patches that allow for setting the VF MAC and VLAN from the host VMM using RTNETLINK messages and netdev ops. That branch doesn''t include the gntdev.c device. When I switched back to the xen/stable-2.6.32.x branch it was back again. My confusion I guess, I was under the impression Jeremy''s sr-iov branch was based on the stable-2.6.32.x branch that I had originally posted my patches against. Evidently they''re not. I''m going to chalk it up to code management and branching confusion... - Greg _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jul-20 17:20 UTC
Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
On Tue, Jul 20, 2010 at 09:10:23AM -0700, Rose, Gregory V wrote:> >-----Original Message----- > >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > >bounces@lists.xensource.com] On Behalf Of Rose, Gregory V > >Sent: Tuesday, July 20, 2010 8:53 AM > >Subject: RE: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t > >start xend > > > >>-----Original Message----- > >>From: Pasi Kärkkäinen [mailto:pasik@iki.fi] > >>Sent: Tuesday, July 20, 2010 2:05 AM > >>To: Rose, Gregory V > >>Subject: Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t > >>start xend > >> > >>> > >> > >>Does that help? > > > >Well, it tells me what is wrong but not how to fix it... > > > >;-) > > > >For some reason the stable-2.6.32x branch doesn''t have the > >drivers/xen/gntdev driver source in it while the 2.6.31 kernel does. > >Beats me why... > > > >When I run menuconfig in the 2.6.31 kernel I see the option for > >XEN_GNTDEV but not in the 2.6.32 kernel. Copying the config from 2.6.31 > >to 2.6.32 doesn''t help because the driver module is missing from the > >tree and just won''t show up. > > > >I''ll go search the archives some more and see if I can find any answers. > > OK, I was working off of a special branch created by Jeremy to test the SR-IOV patches that allow for setting the VF MAC and VLAN from the host VMM using RTNETLINK messages and netdev ops. That branch doesn''t include the gntdev.c device. When I switched back to the xen/stable-2.6.32.x branch it was back again. My confusion I guess, I was under the impression Jeremy''s sr-iov branch was based on the stable-2.6.32.x branch that I had originally posted my patches against. Evidently they''re not. > > I''m going to chalk it up to code management and branching confusion... >:) Good that it works now. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-Jul-20 18:05 UTC
Re: [Xen-devel] Xen 4.0.1-rc4 and stable 2.6.32.x pvops won''t start xend
On 07/20/2010 09:10 AM, Rose, Gregory V wrote:> OK, I was working off of a special branch created by Jeremy to test the SR-IOV patches that allow for setting the VF MAC and VLAN from the host VMM using RTNETLINK messages and netdev ops. That branch doesn''t include the gntdev.c device. When I switched back to the xen/stable-2.6.32.x branch it was back again. My confusion I guess, I was under the impression Jeremy''s sr-iov branch was based on the stable-2.6.32.x branch that I had originally posted my patches against. Evidently they''re not. >No, I rebased it to plain kernel.org v2.6.32, since there were no other Xen dependencies in your changes. J _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel