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/
Home Products Support Community News


Re: [Xen-devel] stubdomain conf error

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] stubdomain conf error
From: Giorgenes Gelatti <giorgenes@xxxxxxxxx>
Date: Thu, 9 Jul 2009 16:06:37 -0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 09 Jul 2009 12:07:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+i4Pb03tfVi/pJ8OHPqDUard4bxOVm8NEjnuvHTuXbY=; b=SwRGnPghfTKhWHKAmGetbqvrZihO9lZDndKJjpeFlzUT67Jdym3OwbOTaIDLOVbbVL SZO3jzpE5WRlKfsDKDT5dqmUNAK+Gk00U/AiVCOsNdNlrH1/YBi6oDCH+KDSG6sq1+OU tcjd1s7UwjRuKakCG//ERSMYsJHEEKv83MEkE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dUbVhbAYI0FANjy+7c1ah2N+zjnC9PvwoG8+VOK20llMrkvMHrU2VVTBV8wZ/j19pH VvtJcrXmTGufiH2wi9WlvGYjvlpCrNLuLSe9LYU0HjzcD/SWC+STzKG2LfRTMQnHvX6u IWMwwOo+/Cm3oGazD1mZh5fIahBkAxqgBzdP4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <311d738a0907091203h1751d322p4c67d876349dd524@xxxxxxxxxxxxxx>
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>
References: <311d738a0907081135w77d387a9j8a7ed5aa7662c2ee@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907091223050.7582@kaball-desktop> <311d738a0907091203h1751d322p4c67d876349dd524@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Ops, forgot the xm dmesg. attached.

2009/7/9 Giorgenes Gelatti <giorgenes@xxxxxxxxx>
I've recompiled and rerunned it with debug, the results are attached.
For the sake of reference, the domain id in question was 5.

Thanks in advance.


2009/7/9 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

On Wed, 8 Jul 2009, Giorgenes Gelatti wrote:
> Hi there,
> i've isntalled xen 3.4 from source on debian lenny and got the following error when running hvm + stubdomain (hvm only
> works fine):
> + /bin/sh -c 'xm create -c /etc/xen/stubdoms/xmexample.hvm-dm target=15 memory=32 extra=" -d 15"'
> Using config file "/etc/xen/stubdoms/xmexample.hvm-dm".
> Started domain xmexample.hvm-dm (id=16)
> Using config file "/etc/xen/stubdoms/xmexample.hvm-dm".
> Unexpected error: <type 'exceptions.OSError'>
> Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
> Traceback (most recent call last):
>   File "/usr/sbin/xm", line 7, in <module>
>     main.main(sys.argv)
>   File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2979, in main
>     _, rc = _run_cmd(cmd, cmd_name, args)
>   File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 3003, in _run_cmd
>     return True, cmd(args)
>   File "<string>", line 1, in <lambda>
>   File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1360, in xm_importcommand
>     cmd.main([command] + args)
>   File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1371, in main
>     do_console(sxp.child_value(config, 'name', -1))
>   File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1398, in do_console
>     (p, rv) = os.waitpid(cpid, os.WNOHANG)
> OSError: [Errno 10] No child processes
> This is the content of /etc/xen/stubdoms/xmexample.hvm-dm:
> #This file is autogenerated, edit xmexample.hvm instead!
> kernel = '/usr/lib/xen/boot/ioemu-stubdom.gz'
> vfb = ['sdl=0, opengl=1, xauthority=/root/.Xauthority, vnc=1, vncdisplay=0, vnclisten=, vncunused=1']
> disk = [ 'tap:aio:/home/ggelatti/disk.img,hda:disk,w','tap:aio:/home/ggelatti/debian-501-i386-CD-1.iso,hdc:cdrom,r' ]
> vif = [ 'mac=00:16:3e:50:a5:ad' ]
> It looks like something is wrong with the generated stub domain file.
> Any help?
> Thank you.
> PS: I've posted on xen-devel cse the log file told me so :P

Unfortunately the error message is just the generic error message you
get when the stubdom fails to start; also the generated config file
looks fine.
It is difficult to understand what the problem is with these

If you want to track down this bug you need to recompile xen and
stubdoms with "debug = y" in Config.mk, then try to start a stubdom
again and send me the output of "xm dmesg".

Attachment: dmesg
Description: Binary data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>