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/
Home Products Support Community News


[Xen-users] Still un-answered: How-To build Xen (3.2) to override XenSou

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Still un-answered: How-To build Xen (3.2) to override XenSource's linux-kernel (2.6.18) with a xenified kernel (your own or distribution)
From: Jithendra Bethur <bcj01@xxxxxxxxx>
Date: Sun, 6 Jul 2008 15:22:30 -0700 (PDT)
Delivery-date: Sun, 06 Jul 2008 15:23:11 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=aEoaBmOsyjVxaCxiJAx0f0audlGgSQ/9RkozQOBk05VWm4KuagXVMyt+mhpWAKczauwPCztg+AJWNMTOwmEi/x4XzTY4kNuj3NQpijL0Aw4xHY9gdN0e5xmAgNfLMqjTfkzVzVjv2qy1zmmvu/WSK9daMM6TZIRz+4ErL6i9Qko=;
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



I can say that I have searched the entire 'world wide web' and still haven't found 'complete  and clear answers' to the often asked question of:

Given a Xen (release) build (say 3.2.0), which by default tries to get and build and assume Linux kernel-xen 2.6.18 from the mercurial repository, HOW TO override the build and make it work with a 'different' xenified Linux source tree (kernel-xen) say Fedora Core 8 kernel-xen


I have seen all the discussions on this topic but there are no complete and clear answers (many of them even digress from the main point and asnwer partial question!).

Some past threads are:

Re: [Xen-devel] building xen without mercury repository access

Re: [Xen-users] Howto compiling Xen 3.2 on Debian/Ubuntu (was: Compiling Xen-3.2.0)

I am able to build with the default XenSource' xenified Linux kernel 2.6.18 (although there are some booting issues and xend fails).

What I (and many) want to know is, how to build the same Xen 3.2.x from source, but make it use (or point to) a different xenified Linux kernel-xen, say with the Fedora Core 8's xenified Linux kernel-xen-2.6-, instead of using the default tarball (XenSource' xenified Linux kernel 2.6.18).

Note: Now I don't know how to make a tarball from this FC8 rpm though; appriciate any help on that too).


Here is what I have tied:

Method #1: (and a few variations of this)

- Get Xen 3.2.x source tarball and get it to build properly first with default linux-2.6.18 (from mercurial).

- Parallel to Xen-3.2.x (same parent) create linux- source tree from Fedora Core 8 repository.

- Now either edit Makefile or export to set variable KERNELS=linux-

- make clean

- make world

RESULT: It still builds the same old linux-2.6.18 stuff.


Method #2:

- In addition to the KERNELS=linux-, I also tried re-creating the symbolic link in the Xen-3.2.0 directory 'linux-2.6.18' to (wrongly) point to the linux- source tree.

RESULT: the link got re-created back to point at the original linux-2.6.18 during 'make world'.


Any clear and complete instructions would be highly appriciated.  (The README in the Xen source tarball is also not sufficient or complete).


PS: I am not a expert but an intermediate level user in linux/kernel builds, etc.  Prefer instructions spelled out step-by-step.


-Thanks and regards,

Jithendra B


Xen-users mailing list