WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] XAPI on debian installation issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XAPI on debian installation issue
From: Sébastien RICCIO <sr@xxxxxxxxxxxxxxx>
Date: Sun, 17 Jul 2011 21:33:08 +0200
Cc: todd.deshane@xxxxxxx, mike.mcclurg@xxxxxxxxxx, jon.ludlam@xxxxxxxxxx
Delivery-date: Sun, 17 Jul 2011 12:34:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10
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