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-users

[Xen-users] BLKTAP under Debian Lenny - not working

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] BLKTAP under Debian Lenny - not working
From: Darko Petrović <darko.b.petrovic@xxxxxxxxx>
Date: Tue, 23 Feb 2010 11:48:20 +0100
Delivery-date: Tue, 23 Feb 2010 02:49:52 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=Jx2DYhLmyawPJOyfpkdVqi//Hdr5zz3JeWrYedAqcmc=; b=VsnNld4A/G27L6rLpn27Am3Se5XBTC4TtrgJAuUckJTPzCtY8tUxb+xVX6rYWwwBmi ZGFJrif3woT/B5nPJx38Z5mqFV94RmeFX5Le5RNuarr7zTuTl3hFh2lYVAt9nOmhZ3kP HL36yLJeWqN8FZfKcfkFvZVesJV06fUV5w/OE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=tuo0TGxS7r9GQymUgCneBAWFVIVaDMgFGyY1ktaxEQxBMwNqhXJJmQ09YtUhxiwXZH 1U1VDJUzQjnXqSG3K0x4C0+VZV3c4UNN/ahIMqsTSrfOPuU/jHgDRijWhlcfh9xy6uDl TY98/U6XIiDzkHZF95PhGlcznjMe2t6dK3wAI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

When I try to use tap:aio configuration I get the following error message upon executing xm create:
Error: Failed to create device.
    stdout: unrecognized child response
    stderr:
Check that target "/dev/vg0/lvol0" exists and that blktap2 driver installed in dom0.


This is what I find in /var/log/syslog:
Feb 23 11:37:38 xen-1 tapdisk2[3523]: Created /dev/xen/blktap-2/blktap2 device
Feb 23 11:37:38 xen-1 tapdisk2[3523]: Created /dev/xen/blktap-2/tapdev2 device
Feb 23 11:37:38 xen-1 tapdisk2[3523]: new interface: ring: 252, device: 254, minor: 2
Feb 23 11:37:38 xen-1 tapdisk2[3523]: I/O queue driver: lio
Feb 23 11:37:38 xen-1 tapdisk2[3523]: Incorrect magic in shared info.
Feb 23 11:37:38 xen-1 tapdisk2[3523]: Failed to open shared info.
Feb 23 11:37:38 xen-1 kernel: [ 1002.545721] blktap_sysfs_create: adding attributes for dev ec6f00c0
Feb 23 11:37:38 xen-1 kernel: [ 1002.545728] blktap_control_allocate_tap: allocated tap c1ef8800
Feb 23 11:37:38 xen-1 kernel: [ 1002.547589] tapdisk2[3523]: segfault at 10 ip b758aa00 sp bfd07dd4 error 4 in libpthread-2.7.so[b7583000+15000]
Feb 23 11:37:38 xen-1 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vkbd/4/0
Feb 23 11:37:38 xen-1 logger: /etc/xen/scripts/xen-hotplug-cleanup: XENBUS_PATH=backend/vfb/4/0


Here is also the corresponding part of my DomU configuration file:
disk = ['tap:aio:/dev/vg0/lvol0,xvda,w','tap:aio:/dev/vg0/swap,xvdb,w']

The pv_ops dom0 kernel is compiled with CONFIG_XEN_BLKDEV_TAP=y. Both lvol0 and swap do exist, I've double-checked it (namely, they work with phy: instead of tap:aio).
What could be wrong?

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