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

[Xen-API] blktap2 xcp


  • To: xen-api@xxxxxxxxxxxxx
  • From: Donald van der Wurf <d.vander.wurf@xxxxxxxxx>
  • Date: Fri, 9 Nov 2012 20:34:20 +0100
  • Delivery-date: Sat, 10 Nov 2012 12:01:13 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>


Goal: trying to get xencenter running to manage my vm's. 

- ubuntu 12.04
- custom  kernel 3.4.9 built from sources. (folllowing this guide: http://wiki.xen.org/wiki/Comprehensive_Xen_Debian_Wheezy_PCI_Passthrough_Tutorial#Compiling_a_Custom_Linux_Kernel)
- after that I installed xcp and changed default  toolstack (xapi) has  been selected, and works.

now when i start a vm (from xe command, or xencenter the VM won't start. 

root@ubuntu:~/src/linux/linux-3.2.32# xe vm-start vm=windows
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
  File "/usr/lib/xcp/sm/ISOSR", line 470, in <module>
    SRCommand.run(ISOSR, DRIVER_INFO)
  File "/usr/lib/xcp/sm/SRCommand.py", line 263, in run
    ret = cmd.run(sr)
  File "/usr/lib/xcp/sm/SRCommand.py", line 94, in run
    return self._run_locked(sr)
  File "/usr/lib/xcp/sm/SRCommand.py", line 131, in _run_locked
    return self._run(sr, target)
  File "/usr/lib/xcp/sm/SRCommand.py", line 174, in _run
    return target.attach(self.params['sr_uuid'], self.vdi_uuid, writable)
  File "/usr/lib/xcp/sm/blktap2.py", line 1293, in attach
    dev_path = self._activate(sr_uuid, vdi_uuid, writable, {})
  File "/usr/lib/xcp/sm/blktap2.py", line 1357, in _activate
    dev_path = self._tap_activate(phy_path, vdi_type, sr_uuid, writable)
  File "/usr/lib/xcp/sm/blktap2.py", line 1149, in _tap_activate
    tapdisk = Tapdisk.find_by_path(phy_path)
  File "/usr/lib/xcp/sm/blktap2.py", line 616, in find_by_path
    return cls.find(path=path)
  File "/usr/lib/xcp/sm/blktap2.py", line 604, in find
    found = list(cls.list(**args))
  File "/usr/lib/xcp/sm/blktap2.py", line 579, in list
    for row in TapCtl.list(**args):
  File "/usr/lib/xcp/sm/blktap2.py", line 81, in loop
    return f(*__t, **__d)
  File "/usr/lib/xcp/sm/blktap2.py", line 293, in list
    return list(cls.__list(**args))
  File "/usr/lib/xcp/sm/blktap2.py", line 262, in __list
    raise Exception, "blktap kernel module not installed: try 'modprobe blktap'"
Exception: blktap kernel module not installed: try 'modprobe blktap'

next i tried: 

modprobe blktap2
FATAL: Module blktap2 not found

modprobe blktap
FATAL: Module blktap not found.


So, where can i get the kernel module from? i installed the following on my system, but no luck until now. Searched a lot on the Internet, but no luck...
Any ideas? 


installed packages:

root@ubuntu:~/src/linux/linux-3.2.32# dpkg -l |grep xen
ii  libxen-4.1                         4.1.2-2ubuntu2.2                                                Public libs for Xen
ii  libxenstore3.0                     4.1.2-2ubuntu2.2                                                Xenstore communications library for Xen
ii  python-xenapi                      1.3.2-5ubuntu0.1                                                Xen Cloud Platform - XenAPI Python libraries
ii  xen-hypervisor-4.1-amd64           4.1.2-2ubuntu2.2                                                Xen Hypervisor on AMD64
ii  xen-utils-4.1                      4.1.2-2ubuntu2.2                                                XEN administrative tools
ii  xen-utils-common                   4.1.2-1ubuntu1                                                  XEN administrative tools - common files
ii  xenstore-utils                     4.1.2-2ubuntu2.2                                                Xenstore utilities for Xen

root@ubuntu:~/src/linux/linux-3.2.32# dpkg -l |grep xcp
ii  xcp-eliloader                      0.1-4                                                           XenAPI's bootloader for EL-based guests
ii  xcp-fe                             0.5.2-3                                                         Fork-and-exec daemon for xapi
ii  xcp-guest-templates                0.1-3                                                           Guest template generator for XCP
ii  xcp-networkd                       1.3.2-5ubuntu0.1                                                Xen Cloud Platform - network configuration daemon
ii  xcp-squeezed                       1.3.2-5ubuntu0.1                                                Xen Cloud Platform - memory ballooning daemon
ii  xcp-storage-managers               0.1.1-2ubuntu1                                                  storage backends for XCP
ii  xcp-v6d                            1.3.2-5ubuntu0.1                                                Xen Cloud Platform - feature daemon
ii  xcp-vncterm                        0.1-2                                                           Provides VNC service for XCP guest VMs
ii  xcp-xapi                           1.3.2-5ubuntu0.1                                                Xen Cloud Platform - XenAPI server
ii  xcp-xe                             1.3.2-5ubuntu0.1                                                Xen Cloud Platform - command-line utilities

root@ubuntu:~/src/linux/linux-3.2.32# dpkg -l |grep blk
ii  blktap-dev                         2.0.90-1                                                        Xen API blktap shared library (development files)
ii  blktap-dkms                        2.0.91-1                                                        Xen API blktap kernel component DKMS package
ii  blktap-utils                       2.0.90-1                                                        utilities to work with VHD disk images files
ii  libblkid1                          2.20.1-1ubuntu3                                                 block device id library
ii  libblktapctl0                      2.0.90-1                                                        Xen API blktapctl shared library (shared library)
ii  libvhdio-2.0.90                    2.0.90-1                                                        Xen API blktap shared library (shared library)

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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