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

[Xen-devel] RE: xl create fail with qcow2 image sometimes

To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Subject: [Xen-devel] RE: xl create fail with qcow2 image sometimes
From: "Zhang, Yang Z" <yang.z.zhang@xxxxxxxxx>
Date: Tue, 30 Nov 2010 10:08:19 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Mon, 29 Nov 2010 18:09:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1289963319.11102.1126.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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: <749B9D3DBF0F054390025D9EAFF47F222FAED1EE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <749B9D3DBF0F054390025D9EAFF47F223017530E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1289963319.11102.1126.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuGBMGOMKipa2PiSzGv/Bdn0JdwKgKLgS/g
Thread-topic: xl create fail with qcow2 image sometimes
Sorry for the late reply :-). 
Here is the log from /var/log/message:
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: I/O queue driver: lio
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: received 'attach' message (uuid = 0)
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: sending 'attach response' message (uuid 
= 0)
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: received 'open' message (uuid = 0)
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: QCOW: Opening 
/share/xvs/var/img.vmxCPL_MEM_29
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: Unable to open 
/share/xvs/var/img.vmxCPL_MEM_29 (-2)
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: sending 'error' message (uuid = 0)
Nov 30 05:04:07 vt-nhm7 xl: tap-err:tap_ctl_open: open failed, err -1
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: received 'detach' message (uuid = 0)
Nov 30 05:04:07 vt-nhm7 tapdisk2[8397]: sending 'detach response' message (uuid 
= 0)

best regards
yang


> -----Original Message-----
> From: Daniel Stodden [mailto:daniel.stodden@xxxxxxxxxx]
> Sent: Wednesday, November 17, 2010 11:09 AM
> To: Zhang, Yang Z
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Stefano Stabellini
> Subject: RE: xl create fail with qcow2 image sometimes
> 
> On Tue, 2010-11-16 at 21:54 -0500, Zhang, Yang Z wrote:
> > Hi Daniel, here the original mail.
> 
> Do you have syslog notice from tapdisk in /var/log around the time that
> happens?
> 
> -2 indicates ENOENT (no such file..)..
> 
> Daniel
> 
> > best regards
> > yang
> >
> >
> > > -----Original Message-----
> > > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhang, Yang
> Z
> > > Sent: Wednesday, October 13, 2010 4:01 PM
> > > To: xen-devel@xxxxxxxxxxxxxxxxxxx
> > > Subject: [Xen-devel] xl create fail with qcow2 image sometimes
> > >
> > > Hi all
> > > I find use "xl create" to create guest with qcow2 image fails sometimes. 
> > > It
> > > shows the error:
> > > cannot add disk 0 to domain: -2
> > > libxl: error: libxl.c:896:libxl_destroy_device_model Couldn't find device
> model's
> > > pid: No such file or directory
> > > libxl: error: libxl.c:956:libxl_domain_destroy libxl_destroy_device_model
> failed
> > > for 21
> > >
> > > I use follow command to create qcow2 image.
> > > qemu-img-xen create -f qcow2 test.img -b
> /share/xvs/img/app/ia32e_SMP.img
> > >
> > > But sometimes it is successful to create guest.
> > > For example:
> > > I use qemu-img-xen to create two same images: test.qcow2 and
> test1.qcow2.
> > > Using same config file to create guest, it is successful with test.qcow2 
> > > but
> fail
> > > with test1.qcow2.
> > >
> > > The changeset i used is 22155. Anyone meet this issue? Or any suggestion?
> > >
> > >
> > >
> > >
> > > best regards
> > > yang
> > >
> > >
> > >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel
> 

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