WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 (F13)
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 8 Jun 2010 13:02:34 -0700 (PDT)
Cc: Bastian Blank <waldi@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 08 Jun 2010 13:03:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1276027354; bh=1jSnBC4JwpcwszsRRgA+acKxr2amdjQkV4pzS5bPThU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=cSiGc8FJBYhDRIy8E5ZvlMg4URkYz8uhfztZenOdqbwekrOPxCpTYcqS4l/Bh32zBBu3etVrPnNrXQmGRqY3CgtxCqgsaC1sBE52lt43+at1uq3H3JO+4Qm+wIq7f5qbqmQJTy/yjK32RYnU7/U5RbMkDVNDjMBxfihAWg4pEig=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=EbJvcqn69f0GLBBq/5AxxcvYYp5a4xM06Cxr2Oa435q1CwKlUokd3HoO+n7Ngbh4mTpq2HKjEPTpnUmS+ImGVXTibYe6lXo+DSdPC4qa6H/fftCZUJTNB82J6U5yhKZYMH5ymIfGF2UBQq/idNepsdurqjcosv6uV2cUzKtVnHw=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C0E96E8.3040400@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Reproduced on top of F13 Xen 4.0 Dom0

[root@fedora13 ~]# cd /dev/xen
[root@fedora13 xen]# ls -l
total 0
crw-rw---- 1 root root 10, 61 Jun  8 23:56 gntdev

[root@fedora13 xen]# udevd -V
151

[root@fedora13 xen]# cat /proc/misc
229 fuse
223 uinput
130 watchdog
184 microcode
 56 network_throughput
 57 network_latency
 58 cpu_dma_latency
 59 device-mapper
144 nvram
228 hpet
 60 blktap-control
 61 xen/gntdev
 62 xen/evtchn
231 snapshot
227 mcelog
 63 vga_arbiter


Boris.

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

From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Bastian Blank" <waldi@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
Date: Tuesday, June 8, 2010, 3:15 PM

On 06/08/2010 12:13 PM, Boris Derzhavets wrote:
> Yes it's the kernel, but no device created under /dev/xen (in case
> 2.6.32.15 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
>

What distro?  Perhaps there's something wrong with the udev setup?

    J

>
> root@ServerLLX:/dev/xen# cat /proc/misc
>  56 network_throughput
>  57 network_latency
>  58 cpu_dma_latency
>  59 device-mapper
> 144 nvram
> 228 hpet
>  60 blktap-control
> => 61 xen/gntdev
> =>62 xen/evtchn
> 231 snapshot
> 227 mcelog
>  63 vga_arbiter
>
> Boris
>
> --- On *Tue, 6/8/10, Jeremy Fitzhardinge /<jeremy@xxxxxxxx>/* wrote:
>
>
>     From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
>     Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15
>     (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
>     To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
>     Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Keir Fraser"
>     <keir.fraser@xxxxxxxxxxxxx>, "Konrad Rzeszutek Wilk"
>     <konrad.wilk@xxxxxxxxxx>
>     Date: Tuesday, June 8, 2010, 2:50 PM
>
>     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/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  i have  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.
>     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?
>
>         J
>
>     >
>     > CONFIG_XEN_BALLOON=y
>     > CONFIG_XEN_SCRUB_PAGES=y
>     > => CONFIG_XEN_DEV_EVTCHN=y
>     > CONFIG_XEN_BACKEND=y
>     > CONFIG_XEN_NETDEV_BACKEND=y
>     > CONFIG_XEN_BLKDEV_BACKEND=y
>     > CONFIG_XEN_BLKDEV_TAP=y
>     > CONFIG_XEN_BLKBACK_PAGEMAP=y
>     > CONFIG_XEN_PCIDEV_BACKEND=y
>     > CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
>     >
>     >
>     > Boris.
>     >
>     >
>     > --- On *Tue, 6/8/10, Jeremy Fitzhardinge /<jeremy@xxxxxxxx
>     </mc/compose?to=jeremy@xxxxxxxx>>/* wrote:
>     >
>     >
>     >     From: Jeremy Fitzhardinge <jeremy@xxxxxxxx
>     </mc/compose?to=jeremy@xxxxxxxx>>
>     >     Subject: [Xen-devel] Re: Failure to start xend with 2.6.32.15
>     >     (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
>     >     To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx
>     </mc/compose?to=bderzhavets@xxxxxxxxx>>
>     >     Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=xen-devel@xxxxxxxxxxxxxxxxxxx>, "Konrad Rzeszutek
>     Wilk"
>     >     <konrad.wilk@xxxxxxxxxx </mc/compose?to=konrad.wilk@xxxxxxxxxx>>
>     >     Date: Tuesday, June 8, 2010, 1:29 PM
>     >
>     >     On 06/08/2010 12:57 AM, Boris Derzhavets wrote:
>     >     > [2010-06-08 11:50:10 4166] ERROR (SrvDaemon:349) Exception
>     starting
>     >     > xend ((111, 'Connection refused'))
>     >     > Traceback (most recent call last):
>     >     >
>     >
>     >     Is your libxc uptodate?  Do you have proper gnttab and evtchn
>     >     entries in
>     >     /dev/xen?
>     >
>     >         J
>     >
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
>     >     > line 341, in run
>     >     >     servers = SrvServer.create()
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py",
>     >     > line 251, in create
>     >     >     root.putChild('xend', SrvRoot())
>     >     >   File
>     >     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py",
>     >     > line 40, in __init__
>     >     >     self.get(name)
>     >     >   File
>     "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
>     >     > line 84, in get
>     >     >     val = val.getobj()
>     >     >   File
>     "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
>     >     > line 52, in getobj
>     >     >     self.obj = klassobj()
>     >     >   File
>     >     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py",
>     >     > line 30, in __init__
>     >     >     self.xn = XendNode.instance()
>     >     >   File
>     >     "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>     >     > line 1141, in instance
>     >     >     inst.save()
>     >     >   File
>     >     "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>     >     > line 578, in save
>     >     >     self.save_networks()
>     >     >   File
>     >     "/usr/local/lib/python2.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/XendBase.py",
>     >     > line 102, in get_record
>     >     >     for key in keys])
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.py",
>     line
>     >     > 196, in get_VIFs
>     >     >     vms = XendDomain.instance().get_all_vms()
>     >     >   File
>     >     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>     >     line
>     >     > 1882, in instance
>     >     >     inst.init()
>     >     >   File
>     >     >
>     "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>     >     line
>     >     > 114, in init
>     >     >     xstransact.Mkdir(XS_VMROOT)
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>     >     > line 355, in Mkdir
>     >     >     complete(path, lambda t: t.mkdir(*args))
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>     >     > line 361, in complete
>     >     >     t = xstransact(path)
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>     >     > line 29, in __init__
>     >     >     self.transaction = xshandle().transaction_start()
>     >     >   File
>     >     >
>     >
>        "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py",
>     >     > line 18, in xshandle
>     >     >     xs_handle = xen.lowlevel.xs.xs()
>     >     >
>     >     > Boris.
>     >     > P.S.  2.6.32.10 works fine.
>     >     >
>     >     >
>     >     >
>     >
>     >
>     >     _______________________________________________
>     >     Xen-devel mailing list
>     >     Xen-devel@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>     >     </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>>
>     >     http://lists.xensource.com/xen-devel
>     >
>     >
>
>
>     _______________________________________________
>     Xen-devel mailing list
>     Xen-devel@xxxxxxxxxxxxxxxxxxx
>     </mc/compose?to=Xen-devel@xxxxxxxxxxxxxxxxxxx>
>     http://lists.xensource.com/xen-devel
>
>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>