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

RE: [Xen-users] Re: Xen 4.1.0 compiled from source on Debian Squeeze 6.0

To: "Wouter van Eekelen" <me@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Re: Xen 4.1.0 compiled from source on Debian Squeeze 6.0
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Thu, 2 Jun 2011 11:02:53 +0100
Cc:
Delivery-date: Thu, 02 Jun 2011 03:06:13 -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>
References: <BANLkTimE6HWXs5mgwWOXfGcCC9MRsaRZgQ@xxxxxxxxxxxxxx> <BANLkTim5RWMxo6q+siWOg5oRx6AOF90MLw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwhC13bAG39JD3xTS+1P9toJSoW6wAAKxvw
Thread-topic: [Xen-users] Re: Xen 4.1.0 compiled from source on Debian Squeeze 6.0

Statically compile the XEN stuff rather than using it as modules, I had the same grief as you but went away after doing that.

 

Also xm commands do not work for some reason but xl works fine.

 

Ian

 

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Wouter van Eekelen
Sent: 02 June 2011 09:42
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Xen 4.1.0 compiled from source on Debian Squeeze 6.0

 

Seems like part of my e-mail was lost, here is the rest...

--

 

At first, when running "xm list", I received this error:

"ImportError: No module named xen.xm"

 

I saw that /usr/lib/python2.6/site-packages/xen wasn't in sys.path of Python, so I symlinked it to /usr/lib/python2.6/xen - problem solved

 

Then I received this error:

Error: Unable to connect to xend: No such file or directory. Is xend running?

 

So I try starting xend:

xencommons should be started first.

 

So I try starting xencommons:

grep: /proc/xen/capabilities: No such file or directory

 

A thread on this mailing list suggested I added "none /proc/xen xenfs defaults 0 0" to /etc/fstab

I've done so, rebooted, but the issue persisted.

 

Another thread suggested I ran 'insmod xen-evtchn' and 'modprobe xen-evtchn', which gave me this error:

FATAL: Error inserting xen_evtchn (/lib/modules/2.6.32-5-xen-amd64/kernel/drivers/xen/xen-evtchn.ko): No such device

 

And now I'm rather stuck. What am I doing wrong?

 

On Thu, Jun 2, 2011 at 10:39 AM, Wouter van Eekelen <me@xxxxxxx> wrote:

I installed Debian Squeeze 6.0 on a server and am now trying to install Xen 4.1.0 on it (compiled from source, since the packages don't include Remus support).

Here are the steps I did to install it and get around several errors.

 

1) Installed Debian Squeeze 6.0 with default options and software RAID 1

2) Installed the dom0 kernel for Debian as shown at http://wiki.xensource.com/xenwiki/XenDom0Kernels

3) Rebooted into the kernel and made sure it was running:

Linux node1 2.6.32-5-xen-amd64 #1 SMP Thu May 19 01:16:47 UTC 2011 x86_64 GNU/Linux

 

4) Installed the requirements for compiling:

apt-get install zlib1g-dev python-dev libncurses-dev uuid-dev python-dev libncurses-dev libssl-dev xorg-dev uuid-dev build-essential gcc g++ gettext bcc iasl latex2rtf-doc gcc g++ build-essential 

 

5) Downloaded the 4.1.0 source, untarred it and ran "make world"

6) No errors except a warning about latex for documentation, so I ran "make install"

7) Rebooted again

 

At first, when running "xm list", I received this error:

 

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users