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] Recompile Ubuntu Xen 2.6.24 Kernel

To: Jett <jett1014@xxxxxxxxx>
Subject: Re: [Xen-users] Recompile Ubuntu Xen 2.6.24 Kernel
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Mon, 21 Jul 2008 15:03:03 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Jul 2008 00:03:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48836E60.5050401@xxxxxxxxx>
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>
Organization: echoreply.us
References: <48836E60.5050401@xxxxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2008-07-21 at 00:57 +0800, Jett wrote:
> Hi all,
> 
>     I want to recompile the 2.6.24.19-xen kernelprovided by Ubuntu
> hardy. I have install the linux-source linux-header deb but don't know
> how to include the "xen patch" to the 2.6.24 source (I know 2.6.24
> have Xen forward-ported) and compile the kernel. I am sorry this is
> quite a newbie question.. Could anyone help me?
> 
>     Basically I want to compile a 2.6.24 Xen kernel with some
> customized kernel settings.

Your going to need the 'debhelper' package. Once you have it, go to the
source tree and type:

debian/rules custom-prepare-xen

This will (very likely) prompt you to install more packages or suggest
commands to automagically install all dependencies needed to use the
Debian build system.

Once successful, you will find your source in
debian/build/custom-source-xen, which can be copied anywhere that you
like. That's your Xen patched kernel.

So you could cp -R debian/build/custom-source-xen /usr/src/linux-2.6-xen

Unless you plan on making new .debs , there is really no need to further
explore the rest of the stuff that you'll see in debian/.

The same method is used to generate builds for desktop / server /
openvz, rtlinux, etc.

HTH
--Tim


> 
>     Thanks!
> 
> Jett
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
-- 
Monkey + Typewriter = Echoreply ( http://echoreply.us )


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