From: Boris Derzhavets Subject: Re: Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 Server (seems to be Xen bug) Date: Sun, 13 Sep 2009 13:46:19 -0700 (PDT) Message-ID: <972930.8825.qm@web56103.mail.re3.yahoo.com> References: <522576.35088.qm@web56106.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1694158406==" Return-path: In-Reply-To: <522576.35088.qm@web56106.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: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org --===============1694158406== Content-Type: multipart/alternative; boundary="0-1146734870-1252874779=:8825" --0-1146734870-1252874779=:8825 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =A0=A0 I believe successful xend startup should generate lines like:- [=A0=A0 21.848846] skge peth0: enabling interface [=A0=A0 21.852783] ADDRCONF(NETDEV_UP): peth0: link is not ready [=A0=A0 21.870259] device peth0 entered promiscuous mode [=A0=A0 21.870259] device peth0 entered promiscuous mode [=A0=A0 22.028924] xenbus_probe wake_waiting [=A0=A0 22.028986] xenbus_probe wake_waiting [=A0=A0 22.038329] XENBUS: Unable to read cpu state [=A0=A0 22.038506] XENBUS: Unable to read cpu state [=A0=A0 22.038684] XENBUS: Unable to read cpu state [=A0=A0 22.038864] XENBUS: Unable to read cpu state [=A0=A0 22.039233] xenbus_probe_devices backend [=A0=A0 22.039393] xenbus_probe_devices failed xenbus_directory [=A0=A0 22.039424] backend_probe_and_watch devices probed ok [=A0=A0 22.039601] backend_probe_and_watch watch add ok ok [=A0=A0 22.039634] backend_probe_and_watch all done [=A0=A0 22.039676] xenbus_probe_devices device [=A0=A0 22.039850] xenbus_probe_devices failed xenbus_directory [=A0=A0 22.039878] frontend_probe_and_watch devices probed ok [=A0=A0 22.042573] frontend_probe_and_watch watch add ok ok [=A0=A0 22.042634] frontend_probe_and_watch all done It does not happen on Ubuntu 9.10 during booting up Xen Unstable with kerne= l 2.6.31. Boris. --- On Sun, 9/13/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 p= vops) on top Ubuntu 9.10 Server (seems to be Xen bug) To: "Pasi K=E4rkk=E4inen" Cc: "Jeremy Fitzhardinge" , "xen-devel@lists.xensource.com= " , "Keir Fraser" Date: Sunday, September 13, 2009, 3:54 PM Another attempt. Cleaned up /etc/mtab. Restarted Xen Host (without xend) TO MAKE SURE "xenfs" record is supposed to be added via xend startup per CS you mentioned. Loged into Dom0=A0 and checked that file /etc/mtab is clean. Then attempted= :- =A0=A0 # /etc/init.d/xend start Failure, however "xenfs" entry has been added to /etc/mtab. /var/log/xen/xend.log :- [2009-09-13 23:39:02 3497] ERROR (SrvDaemon:349) Exception starting 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/python2.6/dist-packages/xen/xend/server/SrvServer.= py", line 251, in create =A0=A0=A0 root.putChild('xend', SrvRoot()) =A0 File=0A "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot= .py", line 40, in __init__ =A0=A0=A0 self.get(name) =A0 File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 8= 4, in get =A0=A0=A0 val =3D val.getobj() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 5= 2, in getobj =A0=A0=A0 self.obj =3D klassobj() =A0 File "/usr/local/lib/python2.6/dist-packages/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", lin= e 1034, in instance =A0=A0=A0 inst.save() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", lin= e 485, in save =A0=A0=A0 self.save_networks() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", lin= e 500, in save_networks =A0=A0=A0 for=0A network_uuid in XendNetwork.get_all()]) =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py", lin= e 102, in get_record =A0=A0=A0 for key in keys]) =A0 File "/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 "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", l= ine 1741, in instance =A0=A0=A0 inst.init() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py", l= ine 113, in init =A0=A0=A0 xstransact.Mkdir(XS_VMROOT) =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransa= ct.py", line 355, in Mkdir =A0=A0=A0 complete(path, lambda t: t.mkdir(*args)) =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransa= ct.py", line 361, in complete =A0=A0=A0 t =3D=0A xstransact(path) =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransa= ct.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/xenstore/xsutil.p= y", line 18, in xshandle =A0=A0=A0 xs_handle =3D xen.lowlevel.xs.xs() Error: (111, 'Connection refused') [2009-09-13 23:39:02 3494] INFO (SrvDaemon:220) Xend exited with status 1. Boris. --- On Sun, 9/13/09, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 p= vops) on top Ubuntu 9.10 Server To: "Pasi K=E4rkk=E4inen" Cc: "Jeremy Fitzhardinge" ,=0A "xen-devel@lists.xensource.= com" , "Keir Fraser" Date: Sunday, September 13, 2009, 3:32 PM OK. I removed "xenfs" entry from /etc/fstab and /etc/mtab and attempted to =0Aload Xen Unstable Host (2.6.31). No errors been sent to console ( vs usu= al =0Asituation). "xenfs" record appears automatically to be added to=0A/etc/m= tab , however xen-bus has not been activated during Dom0 load,=0Ahence xend= appears unable to start when Dom0 gets loaded. =0A =0A =0ABoris. --- On Sun, 9/13/09, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 p= vops) on top Ubuntu 9.10 Server To: "Boris Derzhavets" Cc: "Jeremy Fitzhardinge" , "xen-devel@lists.xensource.com= " , "Keir Fraser" Date: Sunday, September 13, 2009, 3:28 PM On Sun, Sep 13, 2009 at 10:38:04AM -0700, Boris Derzhavets wrote: >=20 >=20 >=A0 =A0=A0=A0 >=20 >=A0 =A0=A0=A0In meantime when loading the most recent 2.6.31 pvops kernel = under Xen Unstable=A0 on top of Ubuntu=A0 > 9.10 Server (alpha 4, apt-get=0A update, apt-get upgrade -> grub 1.97~bet= a2) 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 activ= ated 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=A0 xenfs=A0=A0=A0 defaults =A0= =A0 0 =A0=A0 0 >=20 > as did it on 9.04. Might it be a mistake on 9.10 (or alpha bug) ? Latest xen-unstable contains code to automatically mount xenfs from xend st= art. See: http://xenbits.xen.org/xen-unstable.hg?rev/67201ec9ed79 -- Pasi > Boris. >=20 >=A0 =A0=A0=A0 >=A0=A0=A0 > --- On Sat, 9/12/09, Boris Derzhavets wrote: >=20 > 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" , "Kei= r Fraser" , "Jeremy Fitzhardinge" > Date: Saturday, September 12, 2009, 12:38 PM >=20 > dmesg log for 2.6.31-rc6 is attached. > Xen-bus activation entries are present in the log. >=20 > --- On Sat, 9/12/09, Boris Derzhavets wrote: >=20 > From: Boris Derzhavets > Subject: Re: [Xen-devel] Failure to start xend in Xen 3.4.1=0A Dom0 ( 2.6= .31 pvops) on top Ubuntu 9.10 Server > To: "xen-devel@lists.xensource.com" , "Kei= r Fraser" , "Jeremy Fitzhardinge" > Date: Saturday, September 12, 2009, 11:55 AM >=20 >=20 > =A0One more notice. >=20 > Jeremy's=A0 2.6.31-rc6 kernel just several times caused xend failure to s= tart. > Actually, 2.6.31-rc6=A0 hadn't=A0 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= =A0 raised up for 2.6.31-rc9. > =A0=A0 On the=0A other hand 2.6.31 works fine under Xen 3.4.1 on top of U= buntu 9.04 Server. >=20 > Xen port to Ubuntu is done every time via tuning Config.mk to place xen f= older under /usr/local/lib/phyton2.6/dist-packages. >=20 > Boris. >=20 > --- On Sat, 9/12/09, Boris Derzhavets wrote: >=20 > From: Boris Derzhavets > Subject: [Xen-devel] Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvo= ps) on top Ubuntu 9.10 Server > To: "xen-devel@lists.xensource.com" , "Kei= r Fraser" > Date: Saturday, September 12, 2009, 10:13 AM >=20 > Suggestion below has been used to load Dom0 via grub entry: >=20 > menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31" { > insmod=0A ext2 > set root=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 > } >=20 > Dom0 >=A0 was loaded OK. > However, /etc/init.d/xend start generates xend.log :- >=20 > [2009-09-12 17:57:48 3372] INFO (SrvDaemon:336) Xend changeset: unavailab= le.. > [2009-09-12 17:57:49 3372] ERROR (SrvDaemon:349) Exception starting xend = ((111, 'Connection refused')) > Traceback (most recent call=0A last): > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemo= n.py", line 341, in run > =A0=A0=A0 servers =3D SrvServer.create() > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServe= r.py", line 251, in create > =A0=A0=A0 >=A0 root.putChild('xend', SrvRoot()) > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.= py", line 40, in __init__ > =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-packages/xen/xend/server/SrvNode.= py", line 30, in __init__ > =A0=A0=A0 self.xn =3D=0A XendNode.instance() > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode..py", = line 949, in instance > =A0=A0=A0 inst.save() > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", l= ine 484, in save > =A0=A0=A0 self.save_networks() > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", l= ine 499, in >=A0 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", l= ine 102, in get_record > =A0=A0=A0 for key in keys]) > =A0 File "/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 "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",= line 1736, in instance >=0A =A0=A0=A0 inst.init() > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",= line 113, in init > =A0=A0=A0 xstransact.Mkdir(XS_VMROOT) > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstran= sact.py", line 355, in Mkdir > =A0=A0=A0 complete(path, lambda t: t.mkdir(*args)) > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstran= sact.py", line 361, in >=A0 complete > =A0=A0=A0 t =3D xstransact(path) > =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstran= sact.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/xenstore/xsutil= .py", line 18, in xshandle > =A0=A0=A0 xs_handle =3D xen.lowlevel.xs.xs() > Error: (111, 'Connection refused') >=0A [2009-09-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exited with statu= s 1. >=20 > Boris. >=20 >=20 > --- On Fri, 9/11/09, Keir Fraser wrote: >=20 > From: Keir Fraser > Subject: Re: [Xen-devel] How to build xen.gz with static built-in command= line dom0_mem=3D1024M ? > To: "Boris Derzhavets" , >=A0 "xen-devel@lists.xensource.com" > Date: Friday, September 11, 2009, 7:30 AM >=20 > There is no supported way, as we expect to have a sane bootloader that ca= n > parse boot args. If youw ant to hack it in, edit the line 'cmdline =3D > cmdline_cook(...' in arch/x86/setup.c to read 'cmdline =3D "my args go he= re";' > instead. >=0A=20 >=A0 -- Keir >=20 > On 11/09/2009 10:00, "Boris Derzhavets" wrote: >=20 > >=20 > >=20 > >=20 > >=20 > >=A0=20 >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >=20 >=20 >=20 >=20 >=A0 =A0 =A0=A0=A0 > -----Inline Attachment Follows----- >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >=20 >=0A=20 >=20 >=20 >=A0 =A0 =A0=A0=A0 > -----Inline Attachment Follows----- >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >=20 >=20 >=A0 =A0 =A0=A0=A0 > -----Inline Attachment Follows----- >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >=20 >=20 >=20 >=A0 =A0 =A0=A0=A0 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com >=0A http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1146734870-1252874779=:8825 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

   I believe successful xend st= artup should generate lines like:-

[   21.848846] skge pet= h0: enabling interface
[   21.852783] ADDRCONF(NETDEV_UP): pet= h0: link is not ready
[   21.870259] device peth0 entered prom= iscuous mode
[   21.870259] device peth0 entered promiscuous m= ode
[   22.028924] xenbus_probe wake_waiting
[   = 22.028986] xenbus_probe wake_waiting
[   22.038329] XENBUS: Un= able to read cpu state
[   22.038506] XENBUS: Unable to read c= pu state
[   22.038684] XENBUS: Unable to read cpu state
[&= nbsp;  22.038864] XENBUS: Unable to read cpu state
[   22= .039233] xenbus_probe_devices backend
[   22.039393] xenbus_pr= obe_devices failed xenbus_directory
[   22.039424] backend_probe_and_watch devices probed ok
[   22.039601] back= end_probe_and_watch watch add ok ok
[   22.039634] backend_pro= be_and_watch all done
[   22.039676] xenbus_probe_devices devi= ce
[   22.039850] xenbus_probe_devices failed xenbus_directory=
[   22.039878] frontend_probe_and_watch devices probed ok
= [   22.042573] frontend_probe_and_watch watch add ok ok
[ = ;  22.042634] frontend_probe_and_watch all done

It does not hap= pen on Ubuntu 9.10 during booting up Xen Unstable with kernel 2.6.31.
Boris.
--- On Sun, 9/13/09, Boris Derzhavets <bderzhavets@yah= oo.com> wrote:

From: Boris Derzh= avets <bderzhavets@yahoo.com>
Subject: Re: [Xen-devel] Failure to = start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 Server (seems to be Xen bug)
To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, "xen-devel@lists.xensou= rce.com" <xen-devel@lists.xensource.com>, "Keir Fraser" <keir.fras= er@eu.citrix.com>
Date: Sunday, September 13, 2009, 3:54 PM

<= /table>
=0A=0A=0A=0A
-----Inline Attachment Follows-----<= br>
___________________________________________= ____
Xen-devel mailing list
Xen-deve= l@lists.xensource.com
http://lists.xensource.com/xen-devel
Another attempt. Cleaned up /etc/mtab. Restarted Xe= n Host (without xend)
TO MAKE SURE "xenfs" record is supposed to be adde= d via xend startup
per CS you mentioned.

Loged into Dom0  an= d checked that file /etc/mtab is clean. Then attempted:-
   # = /etc/init.d/xend start
Failure, however "xenfs" entry has been added to /etc/mtab.

/var/log/xen/xend.log :-

[2009-09-13 23:39:02 349= 7] ERROR (SrvDaemon:349) Exception starting xend ((111, 'Connection refused= '))
Traceback (most recent call last):
  File "/usr/local/lib/py= thon2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run
&n= bsp;   servers =3D SrvServer.create()
  File "/usr/local/= lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 251, in cre= ate
    root.putChild('xend', SrvRoot())
  File= =0A "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", li= ne 40, in __init__
    self.get(name)
  File "/us= r/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 84, in get
=     val =3D val.getobj()
  File "/usr/local/lib/pyth= on2.6/dist-packages/xen/web/SrvDir.py", line 52, in getobj
  &= nbsp; self.obj =3D klassobj()
  File "/usr/local/lib/python2.6/dist= -packages/xen/xend/server/SrvNode.py", line 30, in __init__
  =   self.xn =3D XendNode.instance()
  File "/usr/local/lib/pytho= n2.6/dist-packages/xen/xend/XendNode.py", line 1034, in instance
 &= nbsp;  inst.save()
  File "/usr/local/lib/python2.6/dist-packa= ges/xen/xend/XendNode.py", line 485, in save
    self.sav= e_networks()
  File "/usr/local/lib/python2.6/dist-packages/xen/xen= d/XendNode.py", line 500, in save_networks
    for=0A net= work_uuid in XendNetwork.get_all()])
  File "/usr/local/lib/python2= .6/dist-packages/xen/xend/XendBase.py", line 102, in get_record
 &n= bsp;  for key in keys])
  File "/usr/local/lib/python2.6/dist-= packages/xen/xend/XendNetwork.py", line 196, in get_VIFs
  &nb= sp; vms =3D XendDomain.instance().get_all_vms()
  File "/usr/local/= lib/python2.6/dist-packages/xen/xend/XendDomain.py", line 1741, in instance=
    inst.init()
  File "/usr/local/lib/python2.6= /dist-packages/xen/xend/XendDomain.py", line 113, in init
  &n= bsp; xstransact.Mkdir(XS_VMROOT)
  File "/usr/local/lib/python2.6/d= ist-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 36= 1, in complete
    t =3D=0A xstransact(path)
  Fi= le "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py"= , line 29, in __init__
    self.transaction =3D xshandle(= ).transaction_start()
  File "/usr/local/lib/python2.6/dist-package= s/xen/xend/xenstore/xsutil.py", line 18, in xshandle
    = xs_handle =3D xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')[2009-09-13 23:39:02 3494] INFO (SrvDaemon:220) Xend exited with status 1.=

Boris.

--- On Sun, 9/13/09, Boris Derzhavets <bderz= havets@yahoo.com> wrote:

From: B= oris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-devel] F= ailure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 S= erver
To: "Pasi K=E4rkk=E4inen" <pasik@iki.fi>
Cc: "Jeremy Fitz= hardinge" <jeremy@goop.org>,=0A "xen-devel@lists.xensource.com" <x= en-devel@lists.xensource.com>, "Keir Fraser" <keir.fraser@eu.citrix.c= om>
Date: Sunday, September 13, 2009, 3:32 PM

OK. I removed = "xenfs" entry from /etc/fstab and /etc/mtab and attempted to
=0Aload Xen= Unstable Host (2.6.31). No errors been sent to console ( vs usual
=0Asi= tuation). "xenfs" record appears automatically to be added to=0A/etc/mtab ,= however xen-bus has not been activated during Dom0 load,=0Ahence xend appe= ars unable to start when Dom0 gets loaded.
=0A
=0A
=0ABoris.
--- On Sun, 9/13/09, Pasi K=E4rkk=E4inen <pasik@iki.fi> wrote:

From: Pasi K=E4rkk=E4inen <pas= ik@iki.fi>
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: "Boris Derzhavets" = <bderzhavets@yahoo.com>
Cc: "Jeremy Fitzhardinge" <jeremy@goop.= org>, "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com&= gt;, "Keir Fraser" <keir.fraser@eu.citrix.com>
Date: Sunday, Septe= mber 13, 2009, 3:28 PM

On Sun, Sep 13, 2009= at 10:38:04AM -0700, Boris Derzhavets wrote:
>
>
>&nbs= p;    
>
>     In meantime = when loading the most recent 2.6.31 pvops kernel under Xen Unstable  o= n top of Ubuntu 
> 9.10 Server (alpha 4, apt-get=0A 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 xe= nd failure to start. Xen-bus appears not to be activated during Dom0 loadin= g. 
> As usual i added to /etc/fstab before loading Xen Host :-<= br>>     none    /proc/xen   &nb= sp; xenfs    defaults    0    0
> =
> as did it on 9.04. Might it be a mistake on 9.10 (or alpha bug) ?<= br>
Latest xen-unstable contains code to automatically mount xenfs from = xend start.

See: http://xenbits.xen.org/= xen-unstable.hg?rev/67201ec9ed79

-- Pasi

> Boris.
&= gt;
>     
>   
> ---= On Sat, 9/12/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
>
> Fro= m: Boris Derzhavets <bderzhavets@yahoo.com>> 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" <xen-devel@lists.xen= source.com>, "Keir Fraser" <keir.fraser@eu.ci= trix.com>, "Jeremy Fitzhardinge" <jeremy@goop= .org>
> Date: Saturday, September 12, 2009, 12:38 PM
> <= br>> dmesg log for 2.6.31-rc6 is attached.
> Xen-bus activation en= tries are present in the log.
>
> --- On Sat, 9/12/09, Boris D= erzhavets <bderzhavets@yahoo.com> wrote:
&= gt;
> From: Boris Derzhavets <bderzhavets@yah= oo.com>
> Subject: Re: [Xen-devel] Failure to start xend in Xe= n 3.4.1=0A Dom0 ( 2.6.31 pvops) 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 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 suppo= rting 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 iss= ue dependent on kernel supporting Dom0, first time  raised up for 2.6.= 31-rc9.
>    On the=0A other hand 2.6.31 works fine under X= en 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/loca= l/lib/phyton2.6/dist-packages.
>
> Boris.
>
> ---= On Sat, 9/12/09, Boris Derzhavets <bderzhavets@yaho= o.com> wrote:
>
> From: Boris Derzhavets <bderzhavets@yahoo.com>
> Subject: [Xen-devel] Failur= e 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" <xen-devel@lists.xensource.com>, "Keir Fraser" <= keir.fraser@eu.citrix.com>
> Date: Saturda= y, September 12, 2009, 10:13 AM
>
> Suggestion below has been = used to load Dom0 via grub entry:
>
> menuentry "Xen 3.4 / Ubu= ntu 9.10 kernel 2.6.31" {
> insmod=0A ext2
> set root=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
> }
>
> Do= m0
>  was loaded OK.
> However, /etc/init.d/xend start gen= erates xend.log :-
>
> [2009-09-12 17:57:48 3372] INFO (SrvDae= mon:336) Xend changeset: unavailable..
> [2009-09-12 17:57:49 3372] E= RROR (SrvDaemon:349) Exception starting xend ((111, 'Connection refused'))<= br>> Traceback (most recent call=0A last):
>   File "/usr/loc= al/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in = run
>     servers =3D SrvServer.create()
>  = ; File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py= ", line 251, in create
>    
>  root.putChi= ld('xend', SrvRoot())
>   File "/usr/local/lib/python2.6/dist-pa= ckages/xen/xend/server/SrvRoot.py", line 40, in __init__
>  &nbs= p;  self.get(name)
>   File "/usr/local/lib/python2.6/dist-= packages/xen/web/SrvDir.py", line 84, in get
>     val= =3D val..getobj()
>   File "/usr/local/lib/python2.6/dist-packa= ges/xen/web/SrvDir.py", line 52, in getobj
>     self.= obj =3D klassobj()
>   File "/usr/local/lib/python2.6/dist-packa= ges/xen/xend/server/SrvNode.py", line 30, in __init__
>   &= nbsp; self.xn =3D=0A XendNode.instance()
>   File "/usr/local/li= b/python2.6/dist-packages/xen/xend/XendNode..py", line 949, in instance
= >     inst.save()
>   File "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/XendNode.py", line 484, in save
>  = ;   self.save_networks()
>   File "/usr/local/lib/pyth= on2.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/X= endBase.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 =3D = XendDomain.instance().get_all_vms()
>   File "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/XendDomain.py", line 1736, in instance
>= ;=0A     inst.init()
>   File "/usr/local/lib/pyt= hon2.6/dist-packages/xen/xend/XendDomain.py", line 113, in init
> &nb= sp;   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))<= br>>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/xensto= re/xstransact.py", line 361, in
>  complete
>   =   t =3D xstransact(path)
>   File "/usr/local/lib/python2.6= /dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__
&g= t;     self.transaction =3D xshandle().transaction_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()
> Error: (111, 'Connection refused')
>=0A= [2009-09-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exited with status 1.=
>
> Boris.
>
>
> --- On Fri, 9/11/09, Kei= r Fraser <keir.fraser@eu..citrix.com> wrote:<= br>>
> From: Keir Fraser <keir.fraser@eu.c= itrix.com>
> Subject: Re: [Xen-devel] How to build xen.gz with= static built-in command line dom0_mem=3D1024M ?
> To: "Boris Derzhav= ets" <bderzhavets@yahoo.com>,
>  "= xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
> Date: Friday, September 1= 1, 2009, 7:30 AM
>
> There is no supported way, as we expect t= o have a sane bootloader that can
> parse boot args. If youw ant to h= ack it in, edit the line 'cmdline =3D
> cmdline_cook(...' in arch/x86= /setup.c to read 'cmdline =3D "my args go here";'
> instead.
>= =0A
>  -- Keir
>
> On 11/09/2009 10:00, "Boris Der= zhavets" <bderzhavets@yahoo.com> wrote:
&g= t;
> >
> >
> >
> >
> >&nb= sp;
>
>
>
> ___________________________________= ____________
> Xen-devel mailing list
> Xen= -devel@lists.xensource.com
> http://lists.xensource.com/= xen-devel
>
>
>
>
>
>  &n= bsp;    
> -----Inline Attachment Follows-----
>=
> _______________________________________________
> Xen-devel= mailing list
> Xen-devel@lists.xensource.com=
> http://lists.xensource.com/xen-devel
>
>=
>=0A
>
>
>       
= > -----Inline Attachment Follows-----
>
> _________________= ______________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://li= sts.xensource.com/xen-devel
>
>
>
>  &n= bsp;    
> -----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
>=0A htt= p://lists.xensource.com/xen-devel


__________________________= _____________________
Xen-devel mailing list
Xen-= devel@lists.xensource.com
http://lists.xensource.com/xen-de= vel

=0A=0A
-----Inline Attachment Follows-----

= _______________________________________________
Xen-devel mailing listXen-devel@lists.xensource.com
http://= lists.xensource.com/xen-devel

=0A=0A=0A=0A --0-1146734870-1252874779=:8825-- --===============1694158406== 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 --===============1694158406==--