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

AW: [Xen-users] compiling Xen 3.3.1 on Lenny

To: Peter <vmail@xxxxxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: AW: [Xen-users] compiling Xen 3.3.1 on Lenny
From: Carsten Schiers <carsten@xxxxxxxxxx>
Date: Mon, 23 Mar 2009 15:37:42 +0100
Cc:
Delivery-date: Mon, 23 Mar 2009 07:39:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49C76F42.70804@xxxxxxxxxxxxx>
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
I think by this you will not be able to compile hvm support. When I remember
right, you need bcc and bin86 installed and it's not part of build-essential. 
But I might be wrong...check whether hvmloader is built.

BR,
Carsten.

You wrote:

Hi

Thanks very much for your help.

In fact, I wanted to compile myself to better understand xen and also
because I will ultimately want to build a custom kernel with xen.



I also think it could benefit to other users if installation
instructions were consolidated in the different places where they
appear. For example, the README of the latest 3.3.1 tarball suggest ,
that you call 



make world KERNELS="linux-2.6-xen0 linux-2.6-xenU"



however the Installation
instructions on the web reads as follows:



... Many
users will be better off using the "-xen" kernel instead of "-xen0" and
"-xenU" kernels. ....



In fact, the usage of the make world command is not suggested !



I did the following to successfully install xen 3.3.1 on debian lenny.
This is adapted from 
thoandswelt.blogspot.com/2008/10/xen-33-installation-auf-debian-etch.html 
( in german ) and maybe it would be useful for people new to xen to
have something clear and straigthforward on the xen website ( maybe its
already there but I missed it ... )



(my) Installation Instructions for xen 3.3.1  on a pristine debian
lenny 5.0.0  ( please notify if this is incorrect ) :




aptitude update && aptitude dist-upgrade 

aptitude install build-essential mercurial gawk libx11-dev libssl-dev 
zlib1g-dev gettext ncurses-dev python-dev iproute
bridge-utils texinfo pciutils-dev

wget
http://bits.xensource.com/oss-xen/release/3.3.1/xen-3.3.1.tar.gz

tar xvzpf xen-3.3.1.tar.gz

cd xen-3.3.1

make world && make dist

./install.sh

aptitude install linux-image-xen-686
add this to /boot/grub/menu.lst

  title Debian GNU/Linux,
kernel vmlinuz-2.6.26-1-xen-686

root (hd0,0)

kernel /boot/xen-3.3.1.gz

module /boot/vmlinuz-2.6.26-1-xen-686 root=/dev/hda1 ro

module /boot/initrd.img-2.6.26-1-xen-686

savedefault






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

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

<Prev in Thread] Current Thread [Next in Thread>