On 9/27/05, John A. Sullivan III <jsullivan@xxxxxxxxxxxxxxxxxxx> wrote:
On Mon, 2005-09-26 at 23:18 -0700, Shavian Shakes wrote: > Hello, > > I am trying to compile xen with either Suse sles9 or RH rhel4 kernels
> ( to make xen0 and xenU kernels from the sles9 or rhel4 sources). I > have downloaded the xen sources but not sure how to proceed. Do I need > a special xen patch for sles9 or rhel4? I did find a patch for debian
> referred to at http://www.xmlvalidation.com/xen_howto_sarge.0.html. > But I cant find a similar patch for rhel/sles. I apologize if this is
> common information but I cannot easily find it. Or if someone can > point me to instructions for doing the same it will be great ! <snip> You can pretty much find all the information you need in the
documentation and readme. Go ahead and install xen. Find the kernel you want to customize (e.g., 2.4 or 2.6, xen0 or xenU) in the xen directory. Customize it as with any kernel but adding the setting ARCH=xen,
e.g.,
make ARCH=xen menuconfig make ARCH=xen make ARCH=xen modules etc.
Hope this helps. If you need more help, I do have a step by step instruction sheet on how we set it up in our test lab. It is very
specific to us. I sent it to some others on this list at their request. Perhaps they could comment if they found it helpful; I won't be the least bit offended if they say it was not -- it was very specific and
based upon our first, ignorant attempt!
When I untar the xen sources, I get a top level dir "xen-2.0" under which there is a directory called "xen". Per your instruction "Find the kernel you want to customize (e.g., 2.4 or 2.6, xen0 or xenU) in the xen directory. " , I did the following:
cd xen-2.0
mv xen xen_orig
ln -s /usr/src/linux xen (since I want to customize the sles9 kernel residing in /usr/src/linux) Then I try to configure the kernel but this failed (as expected, since it does not know anything about xen):
# cd /xen/xen-2.0/xen
# make ARCH=xen menuconfig scripts/kconfig/mconf arch/xen/Kconfig can't find file arch/xen/Kconfig make[1]: *** [menuconfig] Error 1 make: *** [menuconfig] Error 2
I guess I need to apply some patch to the sles kernel. The only patch I find in the xen sources is :
# cd /xen/xen-2.0/patches/linux-2.6.11
# ls . .. .makedep agpgart.patch iomap.patch linux-2.6.11.10.patch nettel.patch
which seem to be for the 2.6.11 kernel, but the sles9 kernel I have is 2.6.5-7.97-smp.
John, If you can send me your instructions from your test lab, that will be really helpful.
thanks
Shavian.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|