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

[Xen-users] XAPI on debian installation issue



Hi,

I'm currently trying to install xapi on debian (unstable), following the following wiki page:
http://wiki.xensource.com/xenwiki/XAPI_on_debian

1. Install squeeze 32-bits (it's not specified on the wiki, but I guess it wont work with 64-bit as the xapi *.deb files are for 32).

    note: you must leave an unused 1mb partition somewhere when
             creating your partitions or grub2 used in sid will complain
             during the dist-upgrade. This will result into an unbootable
             system. (at least it happened to me)

2. Edit sources.list to use unstable instead of squeeze

box# apt-get update
box# apt-get dist-upgrade

3. Add experimental sources, like in the following sources.list

----8<----------
deb http://mirror.switch.ch/ftp/mirror/debian/ unstable main non-free contrib deb-src http://mirror.switch.ch/ftp/mirror/debian/ unstable main non-free contrib

deb http://mirror.switch.ch/ftp/mirror/debian/ experimental main non-free contrib deb-src http://mirror.switch.ch/ftp/mirror/debian/ experimental main non-free contrib
----------->8---

4. apt-get install xen-hypervisor-4.1-amd64 linux-image-3.0.0-rc6-686-pae
5. apt-get install dkms linux-headers-3.0.0-rc6-686-pae stunnel hwdata uuid-runtime

6. Download the debs from http://downloads.xen.org/XCP/debian/

box# wget http://downloads.xen.org/XCP/debian/blktap-dkms_0.1_all.deb
box# wget http://downloads.xen.org/XCP/debian/blktap_0.1-1_i386.deb
box# wget http://downloads.xen.org/XCP/debian/fe_0.1-1_i386.deb
box# wget http://downloads.xen.org/XCP/debian/squeezed_0.1-1_i386.deb
box# wget http://downloads.xen.org/XCP/debian/v6d_0.1-1_i386.deb
box# wget http://downloads.xen.org/XCP/debian/xapi_0.1-1_i386.deb
box# wget http://downloads.xen.org/XCP/debian/xen-sm_0.1-1_i386.deb

6b. Install the packages (that's where it fails at the moment)

box# dpkg -i *deb

----8<----------
Selecting previously deselected package blktap.
(Reading database ... 37780 files and directories currently installed.)
Unpacking blktap (from blktap_0.1-1_i386.deb) ...
Selecting previously deselected package blktap-dkms.
Unpacking blktap-dkms (from blktap-dkms_0.1_all.deb) ...
Selecting previously deselected package fe.
Unpacking fe (from fe_0.1-1_i386.deb) ...
Selecting previously deselected package squeezed.
Unpacking squeezed (from squeezed_0.1-1_i386.deb) ...
Selecting previously deselected package v6d.
Unpacking v6d (from v6d_0.1-1_i386.deb) ...
Selecting previously deselected package xapi.
Unpacking xapi (from xapi_0.1-1_i386.deb) ...
Selecting previously deselected package xen-sm.
Unpacking xen-sm (from xen-sm_0.1-1_i386.deb) ...
Setting up blktap (0.1-1) ...
Setting up blktap-dkms (0.1) ...
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File: /tmp/dkms.rTkg1a/dkms_binaries_only/dkms.conf
does not represent a valid dkms.conf file.


Unable to load DKMS tarball /usr/share/blktap-dkms/blktap-0.1.dkms.tar.gz.
Common causes include:
 - You must be using DKMS 2.1.0.0 or later to support binaries only
   distribution specific archives.
 - Corrupt distribution specific archive


dpkg: error processing blktap-dkms (--install):
 subprocess installed post-installation script returned error exit status 2
Setting up fe (0.1-1) ...
Setting up squeezed (0.1-1) ...
Setting up v6d (0.1-1) ...
Setting up xapi (0.1-1) ...
Setting up xen-sm (0.1-1) ...
Processing triggers for python-support ...
Errors were encountered while processing:
 blktap-dkms
----------->8---


Seems to be a version mismatch thing occuring here. I manually unpacked the
/usr/share/blktap-dkms/blktap-0.1.dkms.tar.gz to check it was not corrupt:

----8<----------
./dkms_binaries_only/
./dkms_binaries_only/PACKAGE_NAME
./dkms_binaries_only/PACKAGE_VERSION
./dkms_binaries_only/dkms.conf
./dkms_main_tree/
./dkms_main_tree/dkms_dbversion
./dkms_main_tree/2.6.39-2-686-pae/
./dkms_main_tree/2.6.39-2-686-pae/i686/
./dkms_main_tree/2.6.39-2-686-pae/i686/module/
./dkms_main_tree/2.6.39-2-686-pae/i686/module/blktap.ko
./dkms_main_tree/2.6.39-2-686-pae/i686/log/
./dkms_main_tree/2.6.39-2-686-pae/i686/log/make.log
----------->8---

I'm noticing it's talking about 2.6.39-2-686-pae kernel, but here we use 3.0.0-rc6-686-pae.
Is the package outdated ?

Thanks in advance for your help.

Sébastien




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