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: Custom DomU kernel

To: "BB Mailing list" <bb.mlist@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Re: Custom DomU kernel
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 24 Oct 2006 15:57:56 +0200
Delivery-date: Tue, 24 Oct 2006 07:00:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ae75590e0610240612v36a76310p6eefd99325a8b77d@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb3cZvBL28vWuxfRbSXpToTuHkQmQAAjjfA
Thread-topic: [Xen-users] Re: Custom DomU kernel
 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of BB Mailing list
Sent: 24 October 2006 14:12
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Custom DomU kernel

Hi Xen list,

I had Xen 3.0.2 (from the xensource.com binary packages) running on an Ubuntu 6.06 (with a 2.6 kernel).
I made an image of a Redhat Advanced Server 3 that I boot fine; my problem is that the RHAS DomU is booting on the Dom0 2.6 kernel where I would like it to boot on the 2.4 kernel shipped with RHAS3.

I understand I need to build a custom 2.4 kernel patched with Xen, but how do I do that? Do I build this from Dom0? Or DomU?
I guess that's a common operation, as a lot of people are running different kernels on their DomUs, but would anyone have pointers or advices on how to proceed?  
 
The only way to (without a lot of hard work) get a 2.4 kernel onto a Xen system is to use the HVM feature - but that means that you need a processor with hardware virtualization to do that...
 
--
Mats


Any help greatly appreciated.

Cheers,

Quentin.

Hi,

Thanks for the quick reply - what would a lot of hard work imply? Having this configuration and the RHAS image running was quite a lot of hard work as well, so I'm not scared :)  
 
Figuring out how to apply the patches developed by Xen for 2.6 onto a 2.4 kernel, and fix any problems that arise from the fact that the 2.4 kernel is different from 2.6, so you may need patches in different places than they are for 2.6. The xen 2.0 hypervisor has patches for Linux 2.4 kernels, so you may be able to get an idea of how it works from that - but the Xen 2.0 hypervisor is different from 3.0 in several aspects, which would mean that the patches need to be different - so if you compare the 3.0 patches for 2.6 and 2.0 patches for 2.6, you'd see how different (and I haven't done this) the patches are for the different Xen versions. Based on that, you should be able to determine what the work needed for 2.4 is... But since there hasn't been any announcement of such a patch being available, I suspect it's not trivial...
 
--
Mats 
 

Cheers,
Quentin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>