[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Re: Custom DomU kernel


  • To: "BB Mailing list" <bb.mlist@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.