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: "Zhang, Yang" <yang.zhang@xxxxxxxxx>
Subject: Re: [Xen-devel] Problem with blktap2
From: Jun Koi <junkoi2004@xxxxxxxxx>
Date: Fri, 19 Jun 2009 12:03:57 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Jun 2009 20:04:34 -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 :content-transfer-encoding; bh=Es9pM4RpYNDX/xXLy5VosvFipy5RQhbQNa1dGLjoq00=; b=oSEd2zIExJWSC0+kizZKUOLo9hiyP/rzUZHh/kUGAnMJuYk1MlBPwUJroO17reY3M/ Du2F0rHVZ+9AriB2pEX2lHbjY8aXklvMWZLjomClTXCQSJt49RoYTmEMW4/opydnGWkv GPp4o22V1g7bAHiHbVLlr2euC8dYb/DeeiXp4=
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:content-transfer-encoding; b=OUidFBkTjBkC+wEJUm/TJVOTFe9F0d3k/r0F9OnOmdg70jscWqgLJCtCbTh6fRl4B2 /i4CIcIOVhvKmIFdoMwqeIkfBrq8dT7xVHhdpHYOq+YJ/ej7V/AoIwEqMT6cP2wYC1IY Pw3PQcf2LjvccwTCVIuBQRYIXcnFu4DeFyzBA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <10C63FAD690C13458F0B32BCED571F14026DBC8CB3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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