[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Darko Petrović <darko.b.petrovic@xxxxxxxxx>
  • Date: Tue, 23 Feb 2010 15:51:42 +0100
  • Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 23 Feb 2010 06:53:19 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=GPNfub75NTh1jKNMVxgqrsRf9qVxmaWYDqls8odDyfsNJZTv1U2hUPoMzwBgf8p8qQ VoJu6A/nFyoCKHvb7j2AVNegMA/nX3yTVuyLxwzsebO3xOR1kiyIdiiI6wRtUcjEriRi VLLqCW0P6pGjJiHNlXSMiLtGrycZkZn5ejkIA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

It works now. Updating the hypervisor and the tools solved the problem.

Darko

2010/2/23 Darko PetroviÄ <darko.b.petrovic@xxxxxxxxx>
Thanks for your reply. I've updated the sources today (using git pull), and then I compiled the kernel again... so it should be the most recent 2.6.31.6 from the Jeremy's repository. Now I tried to pull again, but it says "Already up-to-date." Meanwhile, I have also tried to compile with CONFIG_XEN_BLKDEV_TAP2=y (and CONFIG_XEN_BLKDEV_TAP=y remained), but still no result.

Any ideas?

Darko

2010/2/23 Pasi KÃrkkÃinen <pasik@xxxxxx>
On Tue, Feb 23, 2010 at 11:48:20AM +0100, Darko Petrovi? wrote:

> Â Â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 [1]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?
>

What's your pv_ops dom0 version? when did you check it out?
Only the very recent (as of a couple of days ago) pv_ops dom0
kernels have working blktap2.

-- Pasi



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.