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

[Xen-users] Re: blktap limited to 100 devices?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Carl Jones" <carl.jones@xxxxxxxxx>
  • Date: Thu, 19 Jun 2008 12:59:50 +1200
  • Delivery-date: Wed, 18 Jun 2008 18:00:22 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=iigEcQ601J8lYQYa6C8M31VcWJoPBOSnnkYq67SlO3vPn96b4dR6cCuOEohV06Hqv9 vRjgTjpzqqvaa7BGR0gS0KrcgCWSbRwXZx5YyANNAJZpdJV5pgCmV5ADQC6ZAfWdtmP4 M3JgS8iXG1AQLn3mHW7E3D2CLUzwvEBTcdohk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Replying to myself here...

Actually setting these work just fine:

# grep 256 linux-2.6.18.8-xen/drivers/xen/blktap/blktap.c
#define MAX_TAP_DEV 256    /*the maximum number of tapdisk ring devices    */
#define MAX_DEV_NAME 256   /*the max tapdisk ring device name e.g. blktap0 */
# grep 256 tools/blktap/lib/blktaplib.h
#define MAX_TAP_DEV 256

Tested against 3.1.4.

Regards,
Carl

On Fri, Jun 13, 2008 at 1:03 PM, Carl Jones <carl.jones@xxxxxxxxx> wrote:
Hi,

Is blktap is limited to 100 devices? My simple test is to have 51 domUs, each with 2 disks attached using tap:aio.

All start up fine except #51:

XENBUS: Timeout connecting to device: device/vbd/51713 (state 3)
XENBUS: Timeout connecting to device: device/vbd/51721 (state 3)
XENBUS: Device with no driver: device/console/0
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "xvda1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

On the host I see: tapdisk /var/run/tap/tapctrlwrite1 /var/run/tap/tapctrlread1 to 100, but nothing further.

With 3.1.4 I see these set, but changing them and rebuilding does not help:
./linux-2.6.18.8-xen/drivers/xen/blktap/blktap.c:#define MAX_TAP_DEV 256     /*the maximum number of tapdisk ring devices    */
./linux-2.6.18.8-xen/drivers/xen/blktap/blktap.c:#define MAX_DEV_NAME 100    /*the max tapdisk ring device name e.g. blktap0 */

Is there an easy way around this limit?

Using Xen 3.0.4, 3.1.4 and 3.2.1 (from source) with the same results. Host OS is CentOS 5 64bit.

Regards,
Carl

_______________________________________________
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®.