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

RE: [Xen-users] Re: tap:aio VBD Support.


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Dan Kendall" <Dan.Kendall@xxxxxxxxxx>
  • Date: Tue, 17 Oct 2006 11:13:54 +0100
  • Delivery-date: Tue, 17 Oct 2006 03:12:50 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbxfQja+98lCEJlQoyeR+WcVoqO8wAV0cOQ
  • Thread-topic: [Xen-users] Re: tap:aio VBD Support.

I've just repeated the install using xen-unstable distro and the disk images 
now appear to be working using tap:aio.  Will v3.0.3 support the blktap method? 
 Using an unstable branch for serious work does not seem especially inviting.

cheers,
Dan

-----Original Message-----
From: Shaun [mailto:mailinglists@xxxxxxxxxxxxxxxx]
Sent: 17 October 2006 00:42
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: tap:aio VBD Support.


I'm having the same problem, decided i would test it out.  I built my 
xen/tools/dom0/domU from source using 
http://tx.downloads.xensource.com/xen-3.0-testing.hg changeset 9763.

I have backend block drive set as a module and it's loaded..

[root@localhost /]# lsmod
Module                  Size  Used by
xenblk                 20816  0


but when trying to start a domU i get the following error..

[root@localhost vps1]# xm create -c vpsconfig
Using config file "vpsconfig".
Error: Device 2049 (vbd) could not be connected. Hotplug scripts not 
working.

I've been reading around and this blktap code sounds fairly new?  Does 
testing not have working code for it?  When trying to build blktap in tools 
i get the following

[root@localhost tools]# cd blktap/
[root@localhost blktap]# make
mkdir -p xen
( cd xen && ln -sf ../../../xen/include/public/*.h . )
mkdir -p xen/hvm
( cd xen/hvm && ln -sf ../../../../xen/include/public/hvm/*.h . )
mkdir -p xen/io
( cd xen/io && ln -sf ../../../../xen/include/public/io/*.h . )
mkdir -p xen/linux
( cd xen/linux && \
  ln -sf ../../../../linux-2.6-xen-sparse/include/xen/public/*.h . )
gcc  -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall 
-Wstrict-prototypes 
 -Wdeclaration-after-statement  -D__XEN_INTERFACE_VERSION__=0x00030101 -Werror 
 -Wno-unused -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
 -D_LARGEFILE64_SOURCE -D _GNU_SOURCE -Wp,-MD,.blktaplib.o.d -I. -I 
../../tools/libxc -I ../../tools/xenstore  -c -o blktaplib.o blktaplib.c
In file included from blktaplib.c:30:
blktaplib.h:18:38: xen/io/domain_controller.h: No such file or directory
blktaplib.c:44: warning: function declaration isn't a prototype
blktaplib.c:45: warning: function declaration isn't a prototype
blktaplib.c: In function `blktap_listen':
blktaplib.c:251: warning: ISO C90 forbids mixed declarations and code
blktaplib.c: At top level:
blktaplib.c:442: warning: function declaration isn't a prototype
blktaplib.c:447: warning: function declaration isn't a prototype
make: *** [blktaplib.o] Error 1



-- 

~Shaun 


**************************************************************** 
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. If you are not the intended recipient 
of this email and have received it in error you should delete 
it and notify Centrinet Ltd immediately at email@xxxxxxxxxx 
This email has been scanned for viruses, but no responsibility 
is accepted by Centrinet for any loss or damage arising in any 
way from its receipt or use thereof. 
 
The views expressed in this email may not necessarily reflect 
the views of Centrinet Ltd or any associated company. 
**************************************************************** 


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