All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nick Couchman" <Nick.Couchman@seakr.com>
To: Sylvain Munaut <s.munaut@whatever-company.com>
Cc: Wido den Hollander <wido@42on.com>,
	pasik@iki.fi, Bernard Grymonpon <bernard@openminds.be>,
	ceph-devel@vger.kernel.org
Subject: Re: Xen blktap driver for Ceph RBD : Anybody wants to test ? :p
Date: Tue, 23 Apr 2013 14:09:35 -0600	[thread overview]
Message-ID: <5176961F02000099000F6C70@collaborate.seakr.com> (raw)
In-Reply-To: <CAF6-1L4HPK0A_T-PmsonFCFUmA5ugT8Y_CXmwdG7-erRnfEhSA@mail.gmail.com>

>>> On 2013/04/23 at 12:51, Sylvain Munaut <s.munaut@whatever-company.com> wrote: 
> Hi,
> 
>> My distro (openSuSE 12.1) has /usr/sbin/tapdisk for original tapdisk v1, and 
> /usr/sbin/tapdisk2 for version 2 stuff.  I'm replacing /usr/sbin/tapdisk2.
> 
> Mm, do you know where I could find the source for those tapdisk binaries ?

It looks to me like openSuSE is just using the blktap stuff included with the Xen source code.  If I grab the xen 4.1.4 tarball from xen.org and unpack it, go to tools, there are two directories "blktap" and "blktap2" under that directory that generate the tapdisk and tapdisk2 binaries, along with several other tapdisk-related binaries.  openSuSE uses this with a few minor patches.

> 
> 
>> This is attempting to just use "tap2:aio" for the image format 
> ("tap2:tapdisk:aio" fails identically, as does "tap2:rbd:rbd/test").  In my 
> /var/log/messages file, I see the following:
>> Apr 23 10:34:51 se004922 kernel: [ 6328.409708] blktap_control_allocate_tap: 
> allocated tap ffff8807a4898800
>> Apr 23 10:34:51 se004922 tapdisk[32464]: tapdisk-control: init, 10 x 4k 
> buffers
>> Apr 23 10:34:51 se004922 tapdisk[32464]: I/O queue driver: lio
>> Apr 23 10:34:51 se004922 tapdisk[32464]: tapdisk-log: started, level 0
>> Apr 23 10:34:51 se004922 tapdisk[32464]: nbd: Set up local unix domain 
> socket on path '/var/run/blktap-control/nbdclient32464'
>> Apr 23 10:34:53 se004922 tapdisk[32464]: ERROR: errno -5 at 
> tapdisk_control_read_message: failure reading message at offset 280/536
>> Apr 23 10:34:53 se004922 tap-ctl: tap-err:tap_ctl_read_message: failure 
> reading message
>> Apr 23 10:34:53 se004922 tap-ctl: tap-err:tap_ctl_send_and_receive: failed to 
> receive 'unknown' message
>>
>> That "nbd" portion is particularly puzzling - why would it try to start nbd 
> when I've specified a simple tap2:aio image?
> 
> The tree I used seem to init some of the NBD logic in all cases (nbd
> is integrated in the core rather than purely in the driver).

Okay, makes sense.

> 
> My guess is that the tree I used is close enough to the debian source
> for it to work with just switching tapdisk, but different from
> opensuse package.
> Can you try to ./configure --prefix=/usr  and then make install ?
> This will replace all the binaries including tap-ctl. If they're in a
> distinct package, you can pre-uninstall the blktap-utils from your
> distro.
> '
> 

I tried doing the --prefix=/usr, but did not do a make install...I'll have to give that a shot and see what happens.  I need to get a test system set up here, since the one I was working on is someone else's workstation and I don't want to completely destroy it :-).

-Nick



--------

This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

  reply	other threads:[~2013-04-23 20:09 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 15:05 Xen blktap driver for Ceph RBD : Anybody wants to test ? :p Sylvain Munaut
2013-04-18 19:35 ` Wido den Hollander
2013-04-19 14:37   ` Sylvain Munaut
2013-04-19 14:40     ` Bernard Grymonpon
2013-04-23 10:02       ` Sylvain Munaut
2013-04-23 14:56         ` Bernard Grymonpon
2013-04-23 15:06           ` Sylvain Munaut
2013-04-23 19:13             ` Bernard Grymonpon
2013-04-23 16:38         ` Nick Couchman
2013-04-23 18:51           ` Sylvain Munaut
2013-04-23 20:09             ` Nick Couchman [this message]
2013-04-26 13:07               ` Sylvain Munaut
2013-04-26 15:51                 ` Sage Weil
2013-04-26 17:10                   ` Sylvain Munaut
2013-04-19  6:45 ` Pasi Kärkkäinen
2013-04-19 14:41   ` [Xen-devel] " Sylvain Munaut
2013-11-29 11:05     ` James Harper
2013-11-29 15:11       ` Sylvain Munaut
2013-12-01  4:08         ` James Harper
2013-12-03 15:46           ` Sylvain Munaut
2013-04-19 14:41   ` Sylvain Munaut
2013-08-01  2:12   ` James Harper
2013-08-05  9:41     ` Sylvain Munaut
2013-08-05  9:41     ` [Xen-devel] " Sylvain Munaut
2013-08-05  9:45       ` James Harper
2013-08-05  9:45       ` [Xen-devel] " James Harper
2013-08-05 11:01         ` Sylvain Munaut
2013-08-05 11:01         ` [Xen-devel] " Sylvain Munaut
2013-08-05 11:03           ` James Harper
2013-08-05 11:03           ` James Harper
2013-08-05 11:12           ` Pasi Kärkkäinen
2013-08-05 12:03             ` [Xen-devel] " Sylvain Munaut
2013-08-05 13:35               ` George Dunlap
2013-08-05 13:55                 ` Sylvain Munaut
2013-08-05 14:04                   ` George Dunlap
2013-08-05 15:18                     ` Wei Liu
2013-08-05 15:20                       ` George Dunlap
2013-08-05 15:32                         ` Wei Liu
2013-08-05 15:32                         ` [Xen-devel] " Wei Liu
2013-08-05 15:20                       ` George Dunlap
2013-08-05 15:18                     ` Wei Liu
2013-08-05 14:04                   ` George Dunlap
2013-08-05 13:55                 ` Sylvain Munaut
2013-08-05 13:35               ` George Dunlap
2013-08-05 12:03             ` Sylvain Munaut
2013-08-09  0:12       ` [Xen-devel] " James Harper
2013-08-09  9:21         ` Sylvain Munaut
2013-08-09  9:21         ` [Xen-devel] " Sylvain Munaut
2013-08-11  0:51           ` James Harper
2013-08-11  1:02             ` James Harper
2013-08-11  1:02             ` [Xen-devel] " James Harper
2013-08-12 14:13               ` Sylvain Munaut
2013-08-12 23:26                 ` James Harper
2013-08-12 23:26                 ` [Xen-devel] " James Harper
2013-08-13  0:39                 ` James Harper
2013-08-13  8:32                   ` Sylvain Munaut
2013-08-13  8:32                   ` [Xen-devel] " Sylvain Munaut
2013-08-13  9:12                     ` James Harper
2013-08-13  9:20                       ` Sylvain Munaut
2013-08-13 14:59                         ` Frederik Thuysbaert
2013-08-13 14:59                         ` [Xen-devel] " Frederik Thuysbaert
     [not found]                         ` <520A4945.1030907@gmail.com>
2013-08-13 15:39                           ` Sylvain Munaut
2013-08-13 23:39                             ` James Harper
2013-08-13 23:43                               ` Sylvain Munaut
2013-08-13 23:43                               ` [Xen-devel] " Sylvain Munaut
2013-08-13 23:51                                 ` James Harper
2013-08-13 23:59                                   ` James Harper
2013-08-13 23:59                                   ` [Xen-devel] " James Harper
2013-08-14 13:13                                     ` Sylvain Munaut
2013-08-14 13:13                                     ` [Xen-devel] " Sylvain Munaut
2013-08-14 13:16                                       ` James Harper
2013-08-14 13:16                                       ` [Xen-devel] " James Harper
2013-08-15  7:20                                       ` James Harper
2013-08-15  7:20                                       ` [Xen-devel] " James Harper
2013-08-16  1:02                                       ` James Harper
2013-08-16  1:02                                       ` [Xen-devel] " James Harper
2013-08-13 23:51                                 ` James Harper
2013-08-13 23:39                             ` James Harper
2013-08-14  8:43                             ` Frederik Thuysbaert
2013-08-14  8:43                             ` [Xen-devel] " Frederik Thuysbaert
2013-08-14 15:03                               ` Sylvain Munaut
2013-08-14 15:03                               ` [Xen-devel] " Sylvain Munaut
2013-08-16  8:27                                 ` Frederik Thuysbaert
2013-08-16  8:27                                 ` Frederik Thuysbaert
2013-08-14  8:47                             ` Frederik Thuysbaert
2013-08-14  8:47                             ` [Xen-devel] " Frederik Thuysbaert
2013-08-13 15:39                           ` Sylvain Munaut
2013-08-13 21:47                         ` James Harper
2013-08-13 21:47                         ` [Xen-devel] " James Harper
2013-08-13  9:20                       ` Sylvain Munaut
2013-08-13  9:12                     ` James Harper
2013-08-13  0:39                 ` James Harper
2013-08-12 14:13               ` Sylvain Munaut
2013-08-11  0:51           ` James Harper
2013-08-09  0:12       ` James Harper
  -- strict thread matches above, loose matches on Subject: below --
2013-04-18 15:05 Sylvain Munaut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5176961F02000099000F6C70@collaborate.seakr.com \
    --to=nick.couchman@seakr.com \
    --cc=bernard@openminds.be \
    --cc=ceph-devel@vger.kernel.org \
    --cc=pasik@iki.fi \
    --cc=s.munaut@whatever-company.com \
    --cc=wido@42on.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.