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] 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:03:51 -0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 09 Jul 2009 12:04:51 -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=Z5RzbZiCVI+82aK29KW9ucsrwWr1fj1QlslNseiSPqs=; b=PWjaesheVOHWcXAZw34v5kSUibYFeTnQydd6JPfxbVy0dUv2BgEjrrCzq48e0bpzx9 1DdCitNL4AtB+6Jf6kLU6cM6jeTKzitwXqRIXwAMbgOWFf0b6yRX1+UgnEpLorqym6DF hlRQQHZoiBAgx6JXdDZ7QyjSsf6Pu8ofHMi78=
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=fwr6b464pRfVkwp44DeLwUUIUhv3VRhD0Y7vslTsQO62xkcp9Rxw8r4JQRCbwsId4O 6Q9eDxzJkeUwTgecKuzxiZOrafTXCaihZFslWPLbuKObzRo2R4f+y5za+3kV3xnT7cQC e0Q85KRAsZsTf0r1zaGaQE51cyOomTimhHF6c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.0907091223050.7582@kaball-desktop>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

[]'s

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=0.0.0.0, 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
informations.

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: log.tgz
Description: GNU Zip compressed data

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