From: Giorgenes Gelatti Subject: Re: stubdomain conf error Date: Tue, 14 Jul 2009 16:30:07 -0300 Message-ID: <311d738a0907141230m5ce15980i44c4dba590c014ad@mail.gmail.com> References: <311d738a0907081135w77d387a9j8a7ed5aa7662c2ee@mail.gmail.com> <311d738a0907091206xfe6fb6fn38abca44ae4b5a61@mail.gmail.com> <311d738a0907100707r181d5090h35e3dfdfaaa2d83e@mail.gmail.com> <311d738a0907101020j445dc634m3907069e3927e415@mail.gmail.com> <311d738a0907130634v35b11f5ew225e0bcff47ee564@mail.gmail.com> <311d738a0907140930s1ac6fb5dj1a6f7efe86a4c6ca@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2109160387==" 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: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============2109160387== Content-Type: multipart/alternative; boundary=0015174c3e8851f9d4046eaf773c --0015174c3e8851f9d4046eaf773c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 > 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. > > --0015174c3e8851f9d4046eaf773c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.<= br>I rerunned it and this time it created the VM pair: the hvm and the stub= domain.
Connecting to the VNC interface works, but only shows a black sc= reen.
Running xm list shows the stubdomain isn't running at all:

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

the stubdomain status started with &= quot;p", then I unpaused it manually and it went into "b" fo= rever.

Any clue?
Thanks for your help.

20= 09/7/14 Stefano Stabellini <stefano.stabellini@eu.citrix.com>
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 yo= ur
previous failed attempts.


--0015174c3e8851f9d4046eaf773c-- --===============2109160387== 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 --===============2109160387==--