| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Install blktap2 kernel module on CentOS 6
 Hi,  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'>   <name>test</name>   <uuid>fed10f30-077d-4d2a-87aa-ccc76c290426</uuid>   <memory unit='KiB'>524288</memory>   <currentMemory unit='KiB'>524288</currentMemory>   <vcpu placement='static'>1</vcpu>   <os>     <type>linux</type>     <kernel>/xen/boot/vmlinuz-3.9.9</kernel>     <initrd>/xen/boot/initramfs-3.9.9.img</initrd>     <cmdline>root=/dev/xvda selinux=0</cmdline>   </os>   <clock offset='utc' adjustment='reset'/>   <on_poweroff>destroy</on_poweroff>   <on_reboot>restart</on_reboot>   <on_crash>destroy</on_crash>   <devices>     <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'/>     </disk>     <interface type='bridge'>       <mac address='00:16:3e:24:bd:8d'/>       <source bridge='virbr0'/>       <ip address='10.0.1.123'/>       <script path='/etc/xen/scripts/vif-bridge'/>     </interface>     <console type='pty'>       <target type='xen' port='0'/>     </console>   </devices> </domain> 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.  Larry _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |