From: Boris Derzhavets Subject: Re: Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 Date: Tue, 8 Jun 2010 11:59:42 -0700 (PDT) Message-ID: <736884.60371.qm@web56102.mail.re3.yahoo.com> References: <4C0E90FF.3090208@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1142299343==" Return-path: In-Reply-To: <4C0E90FF.3090208@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com, Keir Fraser , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org --===============1142299343== Content-Type: multipart/alternative; boundary="0-917010014-1276023582=:60371" --0-917010014-1276023582=:60371 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Kernel 2.6.32.10 does create /dev/xen/evtchn been loaded instead of 2.6.32.= 15 under same Xen 4.0 ( same instance, same udev ) Boris. --- On Tue, 6/8/10, Jeremy Fitzhardinge wrote: From: Jeremy Fitzhardinge Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15 (c2cb3df0= 4eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 To: "Boris Derzhavets" Cc: xen-devel@lists.xensource.com, "Keir Fraser" , "Konrad Rzeszutek Wilk" Date: Tuesday, June 8, 2010, 2:50 PM On 06/08/2010 11:29 AM, Boris Derzhavets wrote: > root@ServerLLX:/# find=A0 /=A0 -name "libxc" -print > ./usr/src/xen-4.0.0/tools/libxc > > root@ServerLLX:/# cd /dev/xen > root@ServerLLX:/dev/xen# ls -l > total 0 > crw-rw---- 1 root root 10, 61 2010-06-08 22:10 gntdev > root@ServerLLX:/dev/xen# > > Seems like=A0 i have=A0 evtchn device missing, regardless in .config :- > You should be able to see if its present in the kernel by looking at /proc/misc, but something still needs to create the /dev nodes.=A0 Usually this is udev, but libxc goes to special lengths to get this wrong, and will end up deleting the perfectly good nodes unless you update it. Keir, have the libxc changes been backported to all the release trees? =A0 =A0 J > > CONFIG_XEN_BALLOON=3Dy > CONFIG_XEN_SCRUB_PAGES=3Dy > =3D> CONFIG_XEN_DEV_EVTCHN=3Dy > CONFIG_XEN_BACKEND=3Dy > CONFIG_XEN_NETDEV_BACKEND=3Dy > CONFIG_XEN_BLKDEV_BACKEND=3Dy > CONFIG_XEN_BLKDEV_TAP=3Dy > CONFIG_XEN_BLKBACK_PAGEMAP=3Dy > CONFIG_XEN_PCIDEV_BACKEND=3Dy > CONFIG_XEN_PCIDEV_BACKEND_VPCI=3Dy > > > Boris. > > > --- On *Tue, 6/8/10, Jeremy Fitzhardinge //* wrote: > > >=A0 =A0=A0=A0From: Jeremy Fitzhardinge >=A0 =A0=A0=A0Subject: [Xen-devel] Re: Failure to start xend with 2.6.32.15 >=A0 =A0=A0=A0(c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 >=A0 =A0=A0=A0To: "Boris Derzhavets" >=A0 =A0=A0=A0Cc: xen-devel@lists.xensource.com, "Konrad Rzeszutek Wilk" >=A0 =A0=A0=A0 >=A0 =A0=A0=A0Date: Tuesday, June 8, 2010, 1:29 PM > >=A0 =A0=A0=A0On 06/08/2010 12:57 AM, Boris Derzhavets wrote: >=A0 =A0=A0=A0> [2010-06-08 11:50:10 4166] ERROR (SrvDaemon:349) Exception = starting >=A0 =A0=A0=A0> xend ((111, 'Connection refused')) >=A0 =A0=A0=A0> Traceback (most recent call last): >=A0 =A0=A0=A0> > >=A0 =A0=A0=A0Is your libxc uptodate?=A0 Do you have proper gnttab and evtc= hn >=A0 =A0=A0=A0entries in >=A0 =A0=A0=A0/dev/xen? > >=A0 =A0 =A0 =A0=A0=A0J > >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDa= emon.py", >=A0 =A0=A0=A0> line 341, in run >=A0 =A0=A0=A0>=A0 =A0=A0=A0servers =3D SrvServer.create() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvSe= rver.py", >=A0 =A0=A0=A0> line 251, in create >=A0 =A0=A0=A0>=A0 =A0=A0=A0root.putChild('xend', SrvRoot()) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> "/usr/local/lib/python2.6/dist-packages/xen/xend/server/Srv= Root.py", >=A0 =A0=A0=A0> line 40, in __init__ >=A0 =A0=A0=A0>=A0 =A0=A0=A0self.get(name) >=A0 =A0=A0=A0>=A0=A0=A0File "/usr/local/lib/python2.6/dist-packages/xen/we= b/SrvDir.py", >=A0 =A0=A0=A0> line 84, in get >=A0 =A0=A0=A0>=A0 =A0=A0=A0val =3D val.getobj() >=A0 =A0=A0=A0>=A0=A0=A0File "/usr/local/lib/python2.6/dist-packages/xen/we= b/SrvDir.py", >=A0 =A0=A0=A0> line 52, in getobj >=A0 =A0=A0=A0>=A0 =A0=A0=A0self.obj =3D klassobj() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> "/usr/local/lib/python2.6/dist-packages/xen/xend/server/Srv= Node.py", >=A0 =A0=A0=A0> line 30, in __init__ >=A0 =A0=A0=A0>=A0 =A0=A0=A0self.xn =3D XendNode.instance() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py"= , >=A0 =A0=A0=A0> line 1141, in instance >=A0 =A0=A0=A0>=A0 =A0=A0=A0inst.save() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py"= , >=A0 =A0=A0=A0> line 578, in save >=A0 =A0=A0=A0>=A0 =A0=A0=A0self.save_networks() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py"= , >=A0 =A0=A0=A0> line 594, in save_networks >=A0 =A0=A0=A0>=A0 =A0=A0=A0for network_uuid in XendNetwork.get_all()]) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py"= , >=A0 =A0=A0=A0> line 102, in get_record >=A0 =A0=A0=A0>=A0 =A0=A0=A0for key in keys]) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.= py", line >=A0 =A0=A0=A0> 196, in get_VIFs >=A0 =A0=A0=A0>=A0 =A0=A0=A0vms =3D XendDomain.instance().get_all_vms() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain= .py", >=A0 =A0=A0=A0line >=A0 =A0=A0=A0> 1882, in instance >=A0 =A0=A0=A0>=A0 =A0=A0=A0inst.init() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain= .py", >=A0 =A0=A0=A0line >=A0 =A0=A0=A0> 114, in init >=A0 =A0=A0=A0>=A0 =A0=A0=A0xstransact.Mkdir(XS_VMROOT) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xst= ransact.py", >=A0 =A0=A0=A0> line 355, in Mkdir >=A0 =A0=A0=A0>=A0 =A0=A0=A0complete(path, lambda t: t.mkdir(*args)) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xst= ransact.py", >=A0 =A0=A0=A0> line 361, in complete >=A0 =A0=A0=A0>=A0 =A0=A0=A0t =3D xstransact(path) >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xst= ransact.py", >=A0 =A0=A0=A0> line 29, in __init__ >=A0 =A0=A0=A0>=A0 =A0=A0=A0self.transaction =3D xshandle().transaction_sta= rt() >=A0 =A0=A0=A0>=A0=A0=A0File >=A0 =A0=A0=A0> >=A0 =A0=A0=A0"/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsu= til.py", >=A0 =A0=A0=A0> line 18, in xshandle >=A0 =A0=A0=A0>=A0 =A0=A0=A0xs_handle =3D xen.lowlevel.xs.xs() >=A0 =A0=A0=A0> >=A0 =A0=A0=A0> Boris. >=A0 =A0=A0=A0> P.S.=A0 2.6.32.10 works fine. >=A0 =A0=A0=A0> >=A0 =A0=A0=A0> >=A0 =A0=A0=A0> > > >=A0 =A0=A0=A0_______________________________________________ >=A0 =A0=A0=A0Xen-devel mailing list >=A0 =A0=A0=A0Xen-devel@lists.xensource.com >=A0 =A0=A0=A0 >=A0 =A0=A0=A0http://lists.xensource.com/xen-devel > > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-917010014-1276023582=:60371 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Kernel 2.6.32.10 does create /dev/xen/evtchn = been loaded instead of 2.6.32.15
under same Xen 4.0 ( same instance, sam= e udev )

Boris.

--- On Tue, 6/8/10, Jeremy Fitzhardinge <jeremy@goop.org> wrote:

Fro= m: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] = Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8= 616e659) under Xen 4.0
To: "Boris Derzhavets" <bderzhavets@yahoo.com&= gt;
Cc: xen-devel@lists.xensource.com, "Keir Fraser" <keir.fraser@eu.= citrix.com>, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
D= ate: Tuesday, June 8, 2010, 2:50 PM

On 06/0= 8/2010 11:29 AM, Boris Derzhavets wrote:
> root@ServerLLX:/# find&nbs= p; /  -name "libxc" -print
> ./usr/src/xen-4.0.0/tools/libxc
&g= t;
> root@ServerLLX:/# cd /dev/xen
> root@ServerLLX:/dev/xen# l= s -l
> total 0
> crw-rw---- 1 root root 10, 61 2010-06-08 22:10= gntdev
> root@ServerLLX:/dev/xen#
>
> Seems like  i= have  evtchn device missing, regardless in .config :-
>

= You should be able to see if its present in the kernel by looking at
/pr= oc/misc, but something still needs to create the /dev nodes.  Usually<= br>this is udev, but libxc goes to special lengths to get this wrong, andwill end up deleting the perfectly good nodes unless you update it.
Keir, have the libxc changes been backported to all the release trees?
    J

>
> CONFIG_XEN_BALLOON=3Dy
> CON= FIG_XEN_SCRUB_PAGES=3Dy
> =3D> CONFIG_XEN_DEV_EVTCHN=3Dy
> C= ONFIG_XEN_BACKEND=3Dy
> CONFIG_XEN_NETDEV_BACKEND=3Dy
> CONFIG_XEN_BLKDEV_BACKEND=3Dy
> CONFIG_XEN_BLKDEV_TAP=3Dy
> CO= NFIG_XEN_BLKBACK_PAGEMAP=3Dy
> CONFIG_XEN_PCIDEV_BACKEND=3Dy
> = CONFIG_XEN_PCIDEV_BACKEND_VPCI=3Dy
>
>
> Boris.
>>
> --- On *Tue, 6/8/10, Jeremy Fitzhardinge /<jeremy@go= op.org>/* wrote:
>
>
>     Fro= m: Jeremy Fitzhardinge <jeremy@goop.org>
>   = ;  Subject: [Xen-devel] Re: Failure to start xend with 2.6.32.15<= br>>     (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) = under Xen 4.0
>     To: "Boris Derzhavets" <bderzhavets@yahoo.com>
>    &nbs= p;Cc: xen-devel@lists.xensource.com, "Konrad R= zeszutek Wilk"
>     <konra= d.wilk@oracle.com>
>     Date: Tuesday, Ju= ne 8, 2010, 1:29 PM
>
>     On 06/08/2010 1= 2:57 AM, Boris Derzhavets wrote:
>     > [2010= -06-08 11:50:10 4166] ERROR (SrvDaemon:349) Exception starting
> = ;    > xend ((111, 'Connection refused'))
>  &= nbsp;  > Traceback (most recent call last):
>  &nbs= p;  >
>
>     Is your libxc up= todate?  Do you have proper gnttab and evtchn
>   &nbs= p; entries in
>     /dev/xen?
>
>       &nbs= p; J
>
>     >   Fil= e
>     >
>     "/us= r/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
>&= nbsp;    > line 341, in run
>    &nb= sp;>     servers =3D SrvServer.create()
> = ;    >   File
>    &n= bsp;>
>     "/usr/local/lib/python2.6/dist-pac= kages/xen/xend/server/SrvServer.py",
>     > l= ine 251, in create
>     >    &= nbsp;root.putChild('xend', SrvRoot())
>     >&= nbsp;  File
>     > "/usr/local/lib/= python2.6/dist-packages/xen/xend/server/SrvRoot.py",
>     > line 40, in __init__
>    &nbs= p;>     self.get(name)
>    &nb= sp;>   File "/usr/local/lib/python2.6/dist-packages/xen/w= eb/SrvDir.py",
>     > line 84, in get
>=      >     val =3D val.getobj()<= br>>     >   File "/usr/local/lib/= python2.6/dist-packages/xen/web/SrvDir.py",
>     = ;> line 52, in getobj
>     >   &= nbsp; self.obj =3D klassobj()
>     >&nbs= p;  File
>     > "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/server/SrvNode.py",
>    = ; > line 30, in __init__
>     > =    self.xn =3D XendNode.instance()
>     >   File
>    &nb= sp;"/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>&n= bsp;    > line 1141, in instance
>   &nbs= p; >     inst.save()
>    =  >   File
>     "/usr/loca= l/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>   &n= bsp; > line 578, in save
>     > =    self.save_networks()
>     >= ;   File
>     "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/XendNode.py",
>     = ;> line 594, in save_networks
>     > =    for network_uuid in XendNetwork.get_all()])
> = ;    >   File
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBas= e.py",
>     > line 102, in get_record
>=      >     for key in keys])
= >     >   File
>   = ;  >
>     "/usr/local/lib/python2.6= /dist-packages/xen/xend/XendNetwork.py", line
>    &nb= sp;> 196, in get_VIFs
>     >   &= nbsp; vms =3D XendDomain.instance().get_all_vms()
>   =   >   File
>     >= "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>&n= bsp;    line
>     > 1882, in i= nstance
>     >     inst.i= nit()
>     >   File
>    &nb= sp;> "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",>     line
>     > 114= , in init
>     >     xstr= ansact.Mkdir(XS_VMROOT)
>     >  &nb= sp;File
>     >
>    &nbs= p;"/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",=
>     > line 355, in Mkdir
>  &nbs= p;  >     complete(path, lambda t: t.mkdir= (*args))
>     >   File
>=      >
>     "/usr/local/l= ib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>  =    > line 361, in complete
>     >     t =3D xstransact(path)
&= gt;     >   File
>   =   >
>     "/usr/local/lib/python2.6/= dist-packages/xen/xend/xenstore/xstransact.py",
>    &= nbsp;> line 29, in __init__
>     >  &= nbsp;  self.transaction =3D xshandle().transaction_start()
>= ;     >   File
>   &n= bsp; >
>     "/usr/local/lib/python2.6/di= st-packages/xen/xend/xenstore/xsutil.py",
>     &= gt; line 18, in xshandle
>     >   &= nbsp; xs_handle =3D xen.lowlevel.xs.xs()
>    &nb= sp;>
>     > Boris.
>   &nb= sp; > P.S.  2.6.32.10 works fine.
>     >
>     >
>  =    >
>
>
>     ____= ___________________________________________
>     = ;Xen-devel mailing list
>     Xen-devel@lists.xensource.com
>    &= nbsp;</mc/compose?to=3DXen-devel@lists.= xensource.com>
>     http://lists.xensource.com/xe= n-devel
>
>


____________________________________= ___________
Xen-devel mailing list
Xen-devel@lists.xe= nsource.com
http://lists.xensource.com/xen-devel
=

=0A=0A=0A=0A=0A=0A=0A=0A --0-917010014-1276023582=:60371-- --===============1142299343== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1142299343==--