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: Tue, 14 Jul 2009 16:30:07 -0300
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Jul 2009 12:30:35 -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=R/C6qijGSKOZYTcviIsWpJxj35Y5tfwDRKbNC2c+wgY=; b=CeBzcMZvAUj8qjjjypNfrC2rJiTKopDIh5dQX+F56X0ckgwPu63XOI2NfAAS9YJhru IX64+VlG1iz68vQSGBqd3el0RiW7tqMoXQXkKANyqSy14/WnCiQ2prgSxzGkA873aljP GGO99xf6XG2DQLfSAu8DKvLdGmjUzdGz7moKQ=
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=iNkrrGcUjuC5WeBThN578FYPKfPKRsKLAbUrRizlGn5551jfpti8sgyUNEmQsPwEHO 6tLFLzNn4m8INqHpNMp1czbF/dDDOkeHdAQ0ceHpBqaZdqlJRykOaW466qRlCI3K5tnL mpEsJTIhy8WHsh/KMIQiSOuytt7XVGq0cyuS4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.0907141735480.3934@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> <311d738a0907091206xfe6fb6fn38abca44ae4b5a61@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907101248270.17512@kaball-desktop> <311d738a0907100707r181d5090h35e3dfdfaaa2d83e@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907101757290.17512@kaball-desktop> <311d738a0907101020j445dc634m3907069e3927e415@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907101913250.17512@kaball-desktop> <311d738a0907130634v35b11f5ew225e0bcff47ee564@xxxxxxxxxxxxxx> <311d738a0907140930s1ac6fb5dj1a6f7efe86a4c6ca@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907141735480.3934@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I think it isn't the case. mount and losetup don't show anything.
I looks like it just happens the first time I run xm create.
If I try it again it "works".
Well, the first time it "worked" it freezed the whole system actually.
After reboot, I issued xm create again, which caused the same error again.
I rerunned it and this time it created the VM pair: the hvm and the stubdomain.
Connecting to the VNC interface works, but only shows a black screen.
Running xm list shows the stubdomain isn't running at all:

# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0   252     2     r-----    204.0
debstubhvm                                   3   128     1     r-----   9356.5
debstubhvm-dm                                4    32     1     -b----      0.0

the stubdomain status started with "p", then I unpaused it manually and it went into "b" forever.

Any clue?
Thanks for your help.

2009/7/14 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
On Tue, 14 Jul 2009, Giorgenes Gelatti wrote:
> Well, I've just find out that I was missing a basic step: running fs-backend.
> I couldn't run the stubdomain running it either.
> Now i'm trying with xen-unstable and I'm getting this error:
>
> # xm create xmexample.hvm-stubdom
> Using config file "./xmexample.hvm-stubdom".
> Error: Device 768 (vbd) could not be connected.
> File /home/ggelatti/disk.img is loopback-mounted through /dev/loop2,
> which is mounted in a guest domain,
> and so cannot be mounted now.
>
> Any thoughts on that?
> Tks again.
>

Try unmouting /dev/loop2, it probably remained mounted from one of your
previous failed attempts.


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