Re: How to build XEN dom0 and domU kernels based on 2.6.25?
> On Tue, May 06, 2008 at 11:37:44PM +0200, email@example.com wrote:
>> Hi all,
>> I've been trying (with absolutely no success) to build XEN kernels using
>> the 2.6.25 kernel source tree. I've got 10 domU's and 2 dom0 that I want
>> to upgrade.
>> I've done
>> $ apt-get install linux-tree-2.5.26
>> $ tar xjz linux-source-2.5.6.bz2
>> and then numerous variations of
>> $ make-kpkg --arch xxx --subarch yyy kernel_image
>> $ make menuconfig
>> etc etc...
>> Can someone please help me?
>> Do I need to install some other "kernel-patch"?
> Linux 2.6.25 contains Xen pv_ops domU support only.
> There is currently no dom0 functionality in 2.6.25 kernel.
> Redhat/Fedora is working on writing dom0 support for 2.6.25+ kernels, but
> it's still a work in progress.
> Currently you have to use either the xensource 2.6.18 based dom0 kernel,
> then some of the forward-ported 2.6.2x xen kernels, but those are less
> than xensource 2.6.18 version.
> I think ubuntu 8.04 has some forward port from xensource 2.6.18 to
> 2.6.24 with dom0 support.
> Doing this "forward porting" is a pain in the ass for distro/kernel
> developers, so noone is wanting to do it.
> That's why Redhat/Fedora decided to step up and continue the pv_ops work
> 2.6.25+ and try to get it integrated into vanilla/linus kernel, so no
> patching or forward porting would be needed in the future.
> Hopefully that helps.
Ok, so dropping back a step. Let's assume that I build the 3.2.0 XEN
hypervisor and dom0 kernel using 2.6.18 as base. I should then be able to
build domU kernel(s) using the linux-source-2.6.25 files? How?
I can't seem to get CONFIG_XEN set in my .config file. Running "make
menuconfig" does not show any xen-specific options.