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 12:13:57 -0700 (PDT) Message-ID: <864227.96402.qm@web56103.mail.re3.yahoo.com> References: <4C0E90FF.3090208@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1053877001==" 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 --===============1053877001== Content-Type: multipart/alternative; boundary="0-129258430-1276024437=:96402" --0-129258430-1276024437=:96402 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Yes it's the kernel, but no device created under /dev/xen (in case 2.6.32.1= 5 been loaded ) :- root@ServerLLX:~# cd /dev/xen root@ServerLLX:/dev/xen# ls -l total 0 crw-rw---- 1 root root 10, 61 2010-06-08 23:08 gntdev root@ServerLLX:/dev/xen# cat /proc/misc =A056 network_throughput =A057 network_latency =A058 cpu_dma_latency =A059 device-mapper 144 nvram 228 hpet =A060 blktap-control =3D> 61 xen/gntdev =3D>62 xen/evtchn 231 snapshot 227 mcelog =A063 vga_arbiter 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-129258430-1276024437=:96402 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Yes it's the kernel, but no device created un= der /dev/xen (in case 2.6.32.15 been loaded ) :-

root@ServerLLX:~# c= d /dev/xen
root@ServerLLX:/dev/xen# ls -l
total 0
crw-rw---- 1 roo= t root 10, 61 2010-06-08 23:08 gntdev

root@ServerLLX:/dev/xen# cat /= proc/misc
 56 network_throughput
 57 network_latency
&nb= sp;58 cpu_dma_latency
 59 device-mapper
144 nvram
228 hpet 60 blktap-control
=3D> 61 xen/gntdev
=3D>62 xen/evtchn231 snapshot
227 mcelog
 63 vga_arbiter

Boris

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

From: Jeremy Fitzhardinge <jerem= y@goop.org>
Subject: Re: [Xen-devel] Re: Failure to start xend with 2= .6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
To: "Boris Der= zhavets" <bderzhavets@yahoo.com>
Cc: xen-devel@lists.xensource.com= , "Keir Fraser" <keir.fraser@eu.citrix.com>, "Konrad Rzeszutek Wilk" = <konrad.wilk@oracle.com>
Date: Tuesday, June 8, 2010, 2:50 PM
<= br>
On 06/08/2010 11:29 AM, Boris Derzhavets wrote:=
> root@ServerLLX:/# find  /  -name "libxc" -print
> = ./usr/src/xen-4.0.0/tools/libxc
>
> root@ServerLLX:/# cd /dev/x= en
> root@ServerLLX:/dev/xen# ls -l
> total 0
> crw-rw---= - 1 root root 10, 61 2010-06-08 22:10 gntdev
> root@ServerLLX:/dev/xe= n#
>
> Seems like  i have  evtchn device missing, reg= ardless in .config :-
>

You should be able to see if its prese= nt in the kernel by looking at
/proc/misc, but something still needs to = create the /dev nodes.  Usually
this is udev, but libxc goes to special lengths to get this wrong, and
will end up deleting the perf= ectly good nodes unless you update it.

Keir, have the libxc changes = been backported to all the release trees?

    J

>= ;
> CONFIG_XEN_BALLOON=3Dy
> CONFIG_XEN_SCRUB_PAGES=3Dy
>= =3D> CONFIG_XEN_DEV_EVTCHN=3Dy
> CONFIG_XEN_BACKEND=3Dy
> C= ONFIG_XEN_NETDEV_BACKEND=3Dy
> CONFIG_XEN_BLKDEV_BACKEND=3Dy
> = CONFIG_XEN_BLKDEV_TAP=3Dy
> CONFIG_XEN_BLKBACK_PAGEMAP=3Dy
> CO= NFIG_XEN_PCIDEV_BACKEND=3Dy
> CONFIG_XEN_PCIDEV_BACKEND_VPCI=3Dy
&= gt;
>
> Boris.
>
>
> --- On *Tue, 6/8/10, Jer= emy Fitzhardinge /<jeremy@goop.org>/* wrote:
>
>=
>     From: Jeremy Fitzhardinge <jeremy@goop.org>
>&= nbsp;    Subject: [Xen-devel] Re: Failure to start xend with= 2.6.32.15
>     (c2cb3df04eb3ff68d0de102b2acacc9= b8616e659) under Xen 4.0
>     To: "Boris Derzhav= ets" <bderzhavets@yahoo.com>
>   = ;  Cc: xen-devel@lists.xensour= ce.com, "Konrad Rzeszutek Wilk"
>     <konrad.wilk@oracle.com>
>    &n= bsp;Date: Tuesday, June 8, 2010, 1:29 PM
>
>    =  On 06/08/2010 12:57 AM, Boris Derzhavets wrote:
>   &= nbsp; > [2010-06-08 11:50:10 4166] ERROR (SrvDaemon:349) Exception starting
>= ;     > xend ((111, 'Connection refused'))
>&n= bsp;    > Traceback (most recent call last):
> = ;    >
>
>     Is your li= bxc uptodate?  Do you have proper gnttab and evtchn
>  &nbs= p;  entries in
>     /dev/xen?
><= br>>         J
>
>   = ;  >   File
>     >= ;
>     "/usr/local/lib/python2.6/dist-packages/x= en/xend/server/SrvDaemon.py",
>     > line 341= , in run
>     >     serve= rs =3D SrvServer.create()
>     >  &= nbsp;File
>     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/server/= SrvServer.py",
>     > line 251, in create
= >     >     root.putChild('xe= nd', SrvRoot())
>     >   File<= br>>     > "/usr/local/lib/python2.6/dist-package= s/xen/xend/server/SrvRoot.py",
>     > line 40= , in __init__
>     >     = self.get(name)
>     >   File "= /usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
>  &n= bsp;  > line 84, in get
>     >&n= bsp;    val =3D val.getobj()
>     = ;>   File "/usr/local/lib/python2.6/dist-packages/xen/web= /SrvDir.py",
>     > line 52, in getobj
>     >     self.o= bj =3D klassobj()
>     >   Fil= e
>     > "/usr/local/lib/python2.6/dist-packa= ges/xen/xend/server/SrvNode.py",
>     > line = 30, in __init__
>     >    &nbs= p;self.xn =3D XendNode.instance()
>     > = ;  File
>     "/usr/local/lib/python2.6= /dist-packages/xen/xend/XendNode.py",
>     > = line 1141, in instance
>     >   &nb= sp; inst.save()
>     >   = File
>     "/usr/local/lib/python2.6/dist-package= s/xen/xend/XendNode.py",
>     > 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
>    &n= bsp;"/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py",
>&= nbsp;    > line 102, in get_record
>   &n= bsp; >     for key in keys])
>  &nbs= p;  >   File
>     &g= t;
>     "/usr/local/lib/python2.6/dist-packages/= xen/xend/XendNetwork.py", line
>     > 196, in= get_VIFs
>     >     vms =3D XendDomain.instance().get_all_vms()
> = ;    >   File
>    &n= bsp;> "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",>     line
>     > 18= 82, in instance
>     >    &nbs= p;inst.init()
>     >   File>     > "/usr/local/lib/python2.6/dist-packages/= xen/xend/XendDomain.py",
>     line
> =    > 114, in init
>     >&n= bsp;    xstransact.Mkdir(XS_VMROOT)
>   &nbs= p; >   File
>     >
= >     "/usr/local/lib/python2.6/dist-packages/xen/xe= nd/xenstore/xstransact.py",
>     > line 355, in Mkdir
>     >     = ;complete(path, lambda t: t.mkdir(*args))
>     &= gt;   File
>     >
> = ;    "/usr/local/lib/python2.6/dist-packages/xen/xend/xensto= re/xstransact.py",
>     > line 361, in comple= te
>     >     t =3D xstra= nsact(path)
>     >   File
&= gt;     >
>     "/usr/loca= l/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>&nbs= p;    > line 29, in __init__
>    &n= bsp;>     self.transaction =3D xshandle().transactio= n_start()
>     >   File
>= ;     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstor= e/xsutil.py",
>     > line 18, in xshandle
= >     >     xs_handle =3D xen= .lowlevel.xs.xs()
>     >
>   =   > Boris.
>     > P.S.  2.6= .32.10 works fine.
>     >
>   = ;  >
>     >
>
>
&= gt;     _______________________________________________=
>     Xen-devel mailing list
>   = ;  Xen-devel@lists.xensource.com=
>     </mc/compose?to=3DXen-devel@lists.xe= nsource.com>
>     http://lists.xensource.com/xen-= devel
>
>


______________________________________= _________
Xen-devel mailing list
Xen= -devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-129258430-1276024437=:96402-- --===============1053877001== 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 --===============1053877001==--