From: Bruce Edge Subject: Re: Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 Server Date: Sun, 13 Sep 2009 11:16:19 -0700 Message-ID: <45c43ef50909131116y698358yfa301a27d63b33b7@mail.gmail.com> References: <127400.27829.qm@web56105.mail.re3.yahoo.com> <533818.78953.qm@web56105.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0742021423==" Return-path: In-Reply-To: <533818.78953.qm@web56105.mail.re3.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============0742021423== Content-Type: multipart/alternative; boundary=0015176f0cf4c023580473798b0a --0015176f0cf4c023580473798b0a Content-Type: text/plain; charset=ISO-8859-1 I've been following along on this thread as I'm also using the pv-ops kernel on 9.04. Perhaps 9.10 already mounts /proc/xen and as such doesn't require the fstab entry. If this is the case that would explain the "already mounted" error message. -Bruce On Sun, Sep 13, 2009 at 10:38 AM, Boris Derzhavets wrote: > > In meantime when loading the most recent 2.6.31 pvops kernel under Xen > Unstable on top of Ubuntu 9.10 Server (alpha 4, apt-get update, apt-get > upgrade -> grub 1.97~beta2) i get a message: > > /proc/xen is already mounted on xenfs ( xenfs is busy) > > what causes daemon xend failure to start. Xen-bus appears not to be > activated during Dom0 loading. As usual i added to /etc/fstab before > loading Xen Host :- > none /proc/xen xenfs defaults 0 0 > as did it on 9.04. Might it be a mistake on 9.10 (or alpha bug) ? > > > Boris. > > --- On *Sat, 9/12/09, Boris Derzhavets * wrote: > > > From: Boris Derzhavets > Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 > pvops) on top Ubuntu 9.10 Server > To: "xen-devel@lists.xensource.com" , "Keir > Fraser" , "Jeremy Fitzhardinge" < > jeremy@goop.org> > Date: Saturday, September 12, 2009, 12:38 PM > > dmesg log for 2.6.31-rc6 is attached. > Xen-bus activation entries are present in the log. > > --- On *Sat, 9/12/09, Boris Derzhavets * wrote: > > > From: Boris Derzhavets > Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 > pvops) on top Ubuntu 9.10 Server > To: "xen-devel@lists.xensource.com" , "Keir > Fraser" , "Jeremy Fitzhardinge" < > jeremy@goop.org> > Date: Saturday, September 12, 2009, 11:55 AM > > > > One more notice. > > Jeremy's 2.6.31-rc6 kernel just several times caused xend failure to > start. > Actually, 2.6.31-rc6 hadn't problems with supporting Dom0 on top of > Ubuntu 9.10 , i.e. xend started almost every time. > 2.6.29.6 & 2.6.30.2 xenified kernels also don't have any problems with > xend startup after loading Dom0. > It seems to me as issue dependent on kernel supporting Dom0, first time > raised up for 2.6.31-rc9. > On the other hand 2.6.31 works fine under Xen 3.4.1 on top of Ubuntu > 9.04 Server. > > Xen port to Ubuntu is done every time via tuning Config.mk to place xen > folder under /usr/local/lib/phyton2.6/dist-packages. > > Boris. > > --- On *Sat, 9/12/09, Boris Derzhavets * wrote: > > > From: Boris Derzhavets > Subject: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 > pvops) on top Ubuntu 9.10 Server > To: "xen-devel@lists.xensource.com" , "Keir > Fraser" > Date: Saturday, September 12, 2009, 10:13 AM > > Suggestion below has been used to load Dom0 via grub entry: > > menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31" { > insmod ext2 > set root=(hd0,13) > multiboot (hd0,13)/xen-3.4.gz > module (hd0,13)/vmlinuz-2.6.31 > module (hd0,13)/initrd-2.6.31.img > } > > Dom0 was loaded OK. > However, /etc/init.d/xend start generates xend.log :- > > [2009-09-12 17:57:48 3372] INFO (SrvDaemon:336) Xend changeset: > unavailable. > [2009-09-12 17:57:49 3372] ERROR (SrvDaemon:349) Exception starting xend > ((111, 'Connection refused')) > Traceback (most recent call last): > 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 > 949, in instance > inst.save() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line > 484, in save > self.save_networks() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line > 499, 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 1736, in instance > inst.init() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", > line 113, 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() > Error: (111, 'Connection refused') > [2009-09-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exited with status 1. > > Boris. > > > --- On *Fri, 9/11/09, Keir Fraser * wrote: > > > From: Keir Fraser > Subject: Re: [Xen-devel] How to build xen.gz with static built-in command > line dom0_mem=1024M ? > To: "Boris Derzhavets" , " > xen-devel@lists.xensource.com" > Date: Friday, September 11, 2009, 7:30 AM > > There is no supported way, as we expect to have a sane bootloader that can > parse boot args. If youw ant to hack it in, edit the line 'cmdline = > cmdline_cook(...' in arch/x86/setup.c to read 'cmdline = "my args go > here";' > instead. > > -- Keir > > On 11/09/2009 10:00, "Boris Derzhavets" wrote: > > > > > > > > > > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > --0015176f0cf4c023580473798b0a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've been following along on this thread as I'm also using the pv-o= ps kernel on 9.04.

Perhaps 9.10 already mounts /proc/xen and as such= doesn't require the fstab entry. If this is the case that would explai= n the "already mounted" error message.

-Bruce

On Sun, Sep 13, 2009 at 10:38 = AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:

=20

In meantime when loading the most recent 2.6.31 pvops kernel un= der Xen Unstable on top of Ubuntu=A0 9.10 Server (alpha 4, apt-get update, apt-get upgrade -> grub 1.97~beta2= ) i get a message:

=A0/proc/xen is already mounted on xenfs ( xenfs is busy)

what causes daemon xend failure to start. Xen-bus appears not to be acti= vated during Dom0 loading.=A0 As usual i added to /etc/fstab before loading Xen Host :-
=A0=A0=A0 none= =A0=A0=A0 /proc/xen =A0=A0 xenfs=A0=A0=A0 defaults =A0=A0 0 =A0=A0 0
as did it on 9.04. Might it be a mistake on 9.10 (or alpha bug) ?

Boris.

=20

--- On Sat, 9/12/09, Boris Derzhavets &= lt;bderzhavets@y= ahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Sub= ject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvop= s) on top Ubuntu 9.10 Server
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>= , "Keir Fraser" <keir.fraser@eu.citrix.com>, "Jeremy Fitzhardi= nge" <jeremy@g= oop.org>
Date: Saturday, September 12, 2009, 12:38 PM

dmesg log for 2.6.31-rc6 is attached.
Xen-bus activation entries are present in the log.


--- On Sat, 9/= 12/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Sub= ject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvop= s) on top Ubuntu 9.10 Server
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>= , "Keir Fraser" <keir.fraser@eu.citrix.com>, "Jeremy Fitzhardi= nge" <jeremy@g= oop.org>
Date: Saturday, September 12, 2009, 11:55 AM



=A0One more notice.

Jeremy's=A0 2.6.31-rc6 kernel just several times caused xend failure to start.
Actu= ally, 2.6.31-rc6=A0 hadn't=A0 problems with supporting Dom0 on top of U= buntu 9.10 , i.e. xend started almost every time.
2.6.29.6 & 2.6.30.= 2 xenified kernels also don't have any problems with
xend startup after loading Dom0.
It seems to me as issue dependent on ke= rnel supporting Dom0, first time=A0 raised up for 2.6.31-rc9.
=A0=A0 On = the other hand 2.6.31 works fine under Xen 3.4.1 on top of Ubuntu 9.04 Serv= er.

Xen port to Ubuntu is done every time via tuning Config.mk to place xen= folder under /usr/local/lib/phyton2.6/dist-packages.

Boris.

= --- On Sat, 9/12/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote= :

From: Boris Derzhavets <bderzhavets@yahoo.com>
Su= bject: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 Server
To: "<= a href=3D"mailto:xen-devel@lists.xensource.com" target=3D"_blank">xen-devel= @lists.xensource.com" <xen-devel@lists.xensource.com>, "Kei= r Fraser" <keir.fraser@eu.citrix.com>
Date: Saturday, September 12, 2009, 10:13 AM

Suggestion below has been used to load Dom0 via grub entry:

menuentr= y "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31" {
insmod ext2
set r= oot=3D(hd0,13)
multiboot (hd0,13)/xen-3.4.gz
module (hd0,13)/vmlinuz-= 2.6.31
module (hd0,13)/initrd-2.6.31.img
}

Dom0 was loaded OK.
However, /etc/init.d/xend start generates xend.log :-
[2009-09-12 17:57:48 3372] INFO (SrvDaemon:336) Xend changeset: unavai= lable.
[2009-09-12 17:57:49 3372] ERROR (SrvDaemon:349) Exception starti= ng xend ((111, 'Connection refused'))
Traceback (most recent call last):
=A0 File "/usr/local/lib/python2= .6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run
= =A0=A0=A0 servers =3D SrvServer.create()
=A0 File "/usr/local/lib/p= ython2.6/dist-packages/xen/xend/server/SrvServer.py", line 251, in cre= ate
=A0=A0=A0 root.putChild('xend', SrvRoot())
=A0 File "/usr/local/lib/= python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __ini= t__
=A0=A0=A0 self..get(name)
=A0 File "/usr/local/lib/python2.6= /dist-packages/xen/web/SrvDir.py", line 84, in get
=A0=A0=A0 val =3D val..getobj()
=A0 File "/usr/local/lib/python2.6/= dist-packages/xen/web/SrvDir.py", line 52, in getobj
=A0=A0=A0 self= .obj =3D klassobj()
=A0 File "/usr/local/lib/python2.6/dist-package= s/xen/xend/server/SrvNode.py", line 30, in __init__
=A0=A0=A0 self.xn =3D XendNode.instance()
=A0 File "/usr/local/lib/= python2.6/dist-packages/xen/xend/XendNode..py", line 949, in instance<= br>=A0=A0=A0 inst.save()
=A0 File "/usr/local/lib/python2.6/dist-pa= ckages/xen/xend/XendNode.py", line 484, in save
=A0=A0=A0 self.save_networks()
=A0 File "/usr/local/lib/python2.6/d= ist-packages/xen/xend/XendNode.py", line 499, in save_networks
=A0=A0=A0 for network_uuid in XendNetwork.get_all()])
= =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py&= quot;, line 102, in get_record
=A0=A0=A0 for key in keys])
=A0 File &= quot;/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.py", = line 196, in get_VIFs
=A0=A0=A0 vms =3D XendDomain.instance().get_all_vms()
=A0 File "/us= r/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1736= , in instance
=A0=A0=A0 inst.init()
=A0 File "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/XendDomain.py", line 113, in init
=A0=A0=A0 xstransact.Mkdir(XS_VMROOT)
=A0 File "/usr/local/lib/pyth= on2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 355, in Mkd= ir
=A0=A0=A0 complete(path, lambda t: t.mkdir(*args))
=A0 File "= /usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py"= ;, line 361, in complete
=A0=A0=A0 t =3D xstransact(path)
=A0 File "/usr/local/= lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29,= in __init__
=A0=A0=A0 self.transaction =3D xshandle().transaction_start= ()
=A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xensto= re/xsutil.py", line 18, in xshandle
=A0=A0=A0 xs_handle =3D xen.lowlevel.xs.xs()
Error: (111, 'Connectio= n refused')
[2009-09-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exi= ted with status 1.

Boris.


--- On Fri, 9/11/09, Keir Fr= aser <keir.fraser@eu..citrix.com> wrote:

From: Keir Fraser <keir.fraser@eu.citrix.com>Subject: Re: [Xen-devel] How to build xen.gz with static built-in command = line dom0_mem=3D1024M ?
To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "x= en-devel@lists.xensource.com" <xen-devel@lists.xensource.com>Date: Friday, September 11, 2009, 7:30 AM

There is no supported way, as we expect to have a sane bootloader = that can
parse boot args. If youw ant to hack it in, edit the line '= cmdline =3D
cmdline_cook(...' in arch/x86/setup.c to read 'cmdli= ne =3D "my args go here";'
instead.

-- Keir

On 11/09/2009 10:00, "Boris Derzhavets= " <bderzhavets@yahoo.com> wrote:

= >
>
>
>
>=A0



_______________= ________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com=
http://lists.xensource.com/xen-devel


-----Inline Attachment Follows-----

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


-----Inline Attachment Follows-----

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


-----Inline Attachment Fo= llows-----

_______________________________________________
X= en-devel mailing list
Xen-devel@lists.xensource.com
http://l= ists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.= com
http://l= ists.xensource.com/xen-devel


--0015176f0cf4c023580473798b0a-- --===============0742021423== 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 --===============0742021423==--