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] Problem with blktap2

To: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: RE: [Xen-devel] Problem with blktap2
From: "Zhang, Yang" <yang.zhang@xxxxxxxxx>
Date: Fri, 19 Jun 2009 11:14:39 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 18 Jun 2009 20:16:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50906182003p4f7e7063n80b6eca780a626c@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: <fdaac4d50906181938x12e3be02g2fa16d4e570d0a6a@xxxxxxxxxxxxxx> <10C63FAD690C13458F0B32BCED571F14026DBC8CB3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <fdaac4d50906182003p4f7e7063n80b6eca780a626c@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnwipgQJLnbsmR5TTykVCrTEwFRxgAAWMWA
Thread-topic: [Xen-devel] Problem with blktap2
i'm not sure that since the blktap2 changes the config. I always uses the 
config "tap:tapdisk:qcow2:/root/xxx". This always fine to qcow2


Best Regards
--yang

-----Original Message-----
From: Jun Koi [mailto:junkoi2004@xxxxxxxxx] 
Sent: 2009年6月19日 11:04
To: Zhang, Yang
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Problem with blktap2

2009/6/19 Zhang, Yang <yang.zhang@xxxxxxxxx>:
>  I meet this issue before. You can reboot and have a try.
>  If still exist, stop xend and kill process blktapctrl and tapdisk, run make 
> install again to see this issue whether still exist.
>

hmm. then the problem will vanish for goods? i will try now, and let
you know the result.

Could you confirm that

disk = ['tap:aio:qcow:/home/xen/img.qcow2.ubuntu904,hda,w']

is a right configuration?

Thanks a lot,
J




> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jun Koi
> Sent: 2009年6月19日 10:38
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Problem with blktap2
>
> Hi,
>
> I am trying to use the unstable tree (changeset: 19738) to run some old 
> images.
>
> My old configuration file has:
>
> disk = ['tap:qcow2:/home/xen/img.qcow2.ubuntu904,hda,w']
>
> I got the error like:
>
> ----
> Using config file "./ubuntu904.cfg".
> Error: need more than 3 values to unpack
>
> I guess that I should modify the disk configuration for new blktap2,
> so I changed it to :
>
> disk = ['tap:aio:qcow:/home/xen/img.qcow2.ubuntu904,hda,w']
> ----
>
> but then i still got the error like below:
>
> ----
> Using config file "./ubuntu904.cfg".
> Error: Failed to create device.
>    stdout: vbd open failed: -1
>    stderr:
> Check that target "/home/xen/img.qcow2.ubuntu904" exists and that
> blktap2 driver installed in dom0.
> ----
>
> I can confirm that I have blktap2 installed, as in
> /boot/config-2.6.18.8-xen I have:
>
> CONFIG_XEN_BLKDEV_TAP=y
> CONFIG_XEN_BLKDEV_TAP2=y
>
> So how can I fix the problem now?
>
> Thanks,
> J
>
> _______________________________________________
> 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