From: Boris Derzhavets Subject: Failure to start xend in Xen 3.4.1 Dom0 ( 2.6.31 pvops) on top Ubuntu 9.10 Server Date: Sat, 12 Sep 2009 07:13:02 -0700 (PDT) Message-ID: <749513.61615.qm@web56105.mail.re3.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1800998475==" Return-path: In-Reply-To: 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" , Keir Fraser List-Id: xen-devel@lists.xenproject.org --===============1800998475== Content-Type: multipart/alternative; boundary="0-1075603912-1252764782=:61615" --0-1075603912-1252764782=:61615 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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=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: unavailable= .. [2009-09-12 17:57:49 3372] 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 "/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 949, in instance =A0=A0=A0 inst.save() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", lin= e 484, in save =A0=A0=A0 self.save_networks() =A0 File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", lin= e 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", 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 1736, 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 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-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 l= ine dom0_mem=3D1024M ? 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 =3D cmdline_cook(...' in arch/x86/setup.c to read 'cmdline =3D "my args go here= ";' instead. -- Keir On 11/09/2009 10:00, "Boris Derzhavets" wrote: >=20 >=20 >=20 >=20 >=A0=20 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1075603912-1252764782=:61615 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Suggestion below has been used to load Dom0 v= ia grub entry:

menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.31" {
= insmod ext2
set root=3D(hd0,13)
multiboot (hd0,13)/xen-3.4.gz
modu= le (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: u= navailable.
[2009-09-12 17:57:49 3372] ERROR (SrvDaemon:349) Exception s= tarting xend ((111, 'Connection refused'))
Traceback (most recent call l= ast):
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/serve= r/SrvDaemon.py", line 341, in run
    servers =3D SrvServ= er.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__
 &n= bsp;  self.get(name)
  File "/usr/local/lib/python2.6/dist-pac= kages/xen/web/SrvDir.py", line 84, in get
    val =3D val= ..getobj()
  File "/usr/local/lib/python2.6/dist-packages/xen/web/Sr= vDir.py", line 52, in getobj
    self.obj =3D klassobj()<= br>  File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvN= ode.py", line 30, in __init__
    self.xn =3D XendNode.in= stance()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/Xe= ndNode.py", line 949, in instance
    inst.save()
&nbs= p; File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line= 484, in save
    self.save_networks()
  File "/u= sr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 499, in save_networks
    for network_uuid in XendNetwork.get_al= l()])
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendB= ase.py", line 102, in get_record
    for key in keys])  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.p= y", line 196, in get_VIFs
    vms =3D XendDomain.instance= ().get_all_vms()
  File "/usr/local/lib/python2.6/dist-packages/xen= /xend/XendDomain.py", line 1736, in instance
    inst.ini= t()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDom= ain.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, lam= bda t: t.mkdir(*args))
  File "/usr/local/lib/python2.6/dist-packag= es/xen/xend/xenstore/xstransact.py", line 361, in complete
    t =3D xstransact(path)
  File "/usr= /local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 2= 9, in __init__
    self.transaction =3D xshandle().transa= ction_start()
  File "/usr/local/lib/python2.6/dist-packages/xen/xe= nd/xenstore/xsutil.py", line 18, in xshandle
    xs_handl= e =3D xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')
[2009-0= 9-12 17:57:49 3371] INFO (SrvDaemon:220) Xend exited with status 1.

= Boris.


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

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

Th= ere is no supported way, as we expect to have a sane bootloader that canparse 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 here= ";'
instead.

-- Keir

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

> =
>
>
>
> 



_________________= ______________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A=0A=0A --0-1075603912-1252764782=:61615-- --===============1800998475== 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 --===============1800998475==--