xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
@ 2010-07-19 21:48 Rose, Gregory V
  2010-07-20  9:05 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 6+ messages in thread
From: Rose, Gregory V @ 2010-07-19 21:48 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
  2010-07-19 21:48 Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend Rose, Gregory V
@ 2010-07-20  9:05 ` Pasi Kärkkäinen
  2010-07-20 15:52   ` Rose, Gregory V
  0 siblings, 1 reply; 6+ messages in thread
From: Pasi Kärkkäinen @ 2010-07-20  9:05 UTC (permalink / raw)
  To: Rose, Gregory V; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
  2010-07-20  9:05 ` Pasi Kärkkäinen
@ 2010-07-20 15:52   ` Rose, Gregory V
  2010-07-20 16:10     ` Rose, Gregory V
  0 siblings, 1 reply; 6+ messages in thread
From: Rose, Gregory V @ 2010-07-20 15:52 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel@lists.xensource.com

>-----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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
  2010-07-20 15:52   ` Rose, Gregory V
@ 2010-07-20 16:10     ` Rose, Gregory V
  2010-07-20 17:20       ` Pasi Kärkkäinen
  2010-07-20 18:05       ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 6+ messages in thread
From: Rose, Gregory V @ 2010-07-20 16:10 UTC (permalink / raw)
  To: Rose, Gregory V, Pasi Kärkkäinen; +Cc: xen-devel@lists.xensource.com

>-----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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
  2010-07-20 16:10     ` Rose, Gregory V
@ 2010-07-20 17:20       ` Pasi Kärkkäinen
  2010-07-20 18:05       ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 6+ messages in thread
From: Pasi Kärkkäinen @ 2010-07-20 17:20 UTC (permalink / raw)
  To: Rose, Gregory V; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend
  2010-07-20 16:10     ` Rose, Gregory V
  2010-07-20 17:20       ` Pasi Kärkkäinen
@ 2010-07-20 18:05       ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 6+ messages in thread
From: Jeremy Fitzhardinge @ 2010-07-20 18:05 UTC (permalink / raw)
  To: Rose, Gregory V; +Cc: xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-20 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-19 21:48 Xen 4.0.1-rc4 and stable 2.6.32.x pvops won't start xend Rose, Gregory V
2010-07-20  9:05 ` Pasi Kärkkäinen
2010-07-20 15:52   ` Rose, Gregory V
2010-07-20 16:10     ` Rose, Gregory V
2010-07-20 17:20       ` Pasi Kärkkäinen
2010-07-20 18:05       ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).