Re: [Xen-users] compiling custom kernel on 2.0 testing

Andrew D. Ball
Mon, 05 Dec 2005 12:36:52 -0000

On Sun, 2005-12-04 at 23:20 -0500, Andrew D. Ball wrote:
> Those instructions have never worked for me.  I have found a way that
> works though:
>
> cd linux-2.6.12-xen0
> make ARCH=xen menuconfig # or oldconfig if you want to edit .config or
> # reuse one
> make ARCH=xen
> make ARCH=xen modules_install install

I forgot a wrinkle here.  In order to get the kernels to install
in /boot instead of /boot/boot , I need to do something like

make ARCH=xen INSTALL_PATH=/ modules_install install

instead.  This appears to be due to a design choice where the default
value of INSTALL_PATH for XenoLinux is /boot to make installing the base
xen stack in xen-unstable.hg/dist easier.  I would prefer to not have to
remember this -- perhaps the makefiles could be modified to specify the
somewhat modified INSTALL_PATH for use with xen-unstable.hg/dist
explicitly, so that users who wish to recompile XenoLinux kernels don''t
have added pain.

Thanks.
Andrew

>
> Hopefully that will work for you.  I''d like to know a way to use a
> custom dom0 or domU kernel configuration that doesn''t cause the
kernels
> to be built twice (first time from ''make world'' with the
default
> configurations, second time manually with the commands above) or make me
> have to modify the default configuration(s) in
>   xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs
>
> Good luck.
> Andrew
>
> On Thu, 2005-12-01 at 16:36 -0500, John S Little wrote:
> > All,
> >
> > I downloaded and installed xen 2.0 testing using make world.  Make
world
> > installed kernel 2.6.12.  Following the instructions in the manual I
cd''d
> > to linux-2.6.12-xen0 and setup my .config file.  I then cd .. back to
> > xen-2.0-testing and issued make.   Rather than using the  2.6.12
kernel
> > installed with make world make started downloading the 2.6.11 kernel.
What
> > am I missing here?
> >
> > Thanks.
> >
> > Regards,
> >
> > John Little
> > Hendricks Regional Health IS Department
> > 317-718-4752
> > jslittl@hendricks.org
> > http://www.hendrickshospital.org
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users