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] Building Vanilla source 2.6.31.4 with XEN hypervisor

To: xen-users@xxxxxxxxxxxxxxxxxxx, Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: Re: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor
From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Date: Thu, 22 Oct 2009 16:39:17 +0530 (IST)
Cc:
Delivery-date: Thu, 22 Oct 2009 04:10:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1256209758; bh=Z0ZrIHTC8rUYVOvBrB3sZD/O9bwqQmsYQ9sEiMUbXko=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ytN3F2V7Dg5auyIglEggplnXknSetDKf8Tb0nQNUwGPC1KTpA8kNT/A6aspNI5sMJiB7qjhzciF3jViszXDIYrF9qA+inS2dHCiMIMuXxauH8kvi1wniftmNnKeNH9WYe4peybY+47kZVQZIo4uqYpgV2BQGBJugGahKrsNSJoc=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HNvXgQ/BR/s+75eI8Z/BV1RnZWDrBp1xAq/gCErkQyxkHX5u6o6TEX0hmu1QVaki/qkGjQwPkceNwCZLnKZktDut7jdtK4yJIXy6ZydG9m5LWz3w6nO1JXcqKOcW96lZpHg5aGJLw3FthTH7qI+3U28cuak2bdPZRAqiEzcjQjo=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d47704fc0910220322k212b7445r56fed94c73219210@xxxxxxxxxxxxxx>
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
Which platform are you using? Fedora or debian? which version? Below are some basic steps of building it with pv os kernel in a fedora11 platform:-
  1. Be certain you have dev tools installed: ‘yum install “Development Tools”‘
  2. You’ll also need: ‘yum install mercurial gitk dev86 vnc-server bridge-utils zlib-devel openssl-devel python-devel libX11-devel ncurses-devel’

Build / Install Xen

  1. cd /usr/src
  2. hg clone http://xenbits.xensource.com/xen-3.4-testing.hg
  3. cd xen-3.4-testing.hg
  4. make xen
  5. make install-xen
  6. make tools
  7. make install-tools

Build PV Ops Kernel

  1. cd /usr/src/kernels
  2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
  3. cd linux-2.6-xen
  4. git checkout origin/xen-tip/master -b xen-tip/master
  5. make menuconfig (Check the Xen options, I’m too tired to go over them all)
  6. make
  7. make modules_install install

Create a Grub Entry:

title Xen 3.4 / Fedora kernel 2.6.30-rc6-tip
kernel /boot/xen-3.4.gz
module /boot/vmlinuz-2.6.30-rc6-tip root=/dev/mapper/VolGroup01/vg_fedora11 ro
module /boot/initrd-2.6.30-rc6-tip.img

Add Entry to /etc/fstab

none /proc/xen xenfs defaults 0 0

Reboot and there ya go…

I still need to bring up the python tools like virt-install and virsh, maybe after I get a break.


Regards,
Fasiha Ashraf

--- On Thu, 22/10/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:

From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx>
Subject: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, 22 October, 2009, 3:22 PM

Hi,

I want to build fresh vanilla source 2.6.31.4 with XEN dom0 hypervisor. Can anyone please help me out on this.

Thanks.

--
Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The University of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos III, Madrid Spain


-----Inline Attachment Follows-----

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


Keep up with people you care about with Yahoo! India Mail. Learn how.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users