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

[Xen-users] Install blktap2 kernel module on CentOS 6

  • To: xen-users@xxxxxxxxxxxxx
  • From: Kim Larry <relip@xxxxxx>
  • Date: Fri, 25 Oct 2013 16:21:57 +0000 (GMT)
  • Delivery-date: Fri, 25 Oct 2013 16:26:19 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>


I'm currently stuck with creating VM which cannot boot with disk using blktap2 driver. I've been searching nearly a whole week and I couldn't get a answer. When creating vm with blktap2, it keep shows a error: 

 libxl: debug: libxl_device.c:200:disk_try_backend: Disk vdev=xvda, backend tap unsuitable because blktap not available. 

VM configuration (XML):

<domain type='xen'>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>1</vcpu>
    <cmdline>root=/dev/xvda selinux=0</cmdline>
  <clock offset='utc' adjustment='reset'/>
    <disk type='file' device='disk'>
      <source file='/xen/data/fed10f30-077d-4d2a-87aa-ccc76c290426/fed10f30-077d-4d2a-87aa-ccc76c290426.img'/>
      <driver name="tap2" type="raw" />
      <target dev='xvda' bus='xen'/>
    <interface type='bridge'>
      <mac address='00:16:3e:24:bd:8d'/>
      <source bridge='virbr0'/>
      <ip address=''/>
      <script path='/etc/xen/scripts/vif-bridge'/>
    <console type='pty'>
      <target type='xen' port='0'/>
I believe loading blktap2 kernel module can solve this problem which I can't find it from major repository(CentOS repo, epel, etc..). Ubuntu and Debian have blktap-dkms package, is there no such package like blktap-dkms for CentOS? Already looked into xen source and found out tools/blktap2 directory but it doesn't contain kernel module. 

Xen version is 4.2.3 which is provided by http://xen.crc.id.au/ on CentOS 6.4. 

Xen-users mailing list



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