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

Petersson, Mats
Mon, 05 Dec 2005 11:31:07 -0000

> -----Original Message-----
> From: xen-users-bounces@lists.xensource.com
> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of
> Michael Best
> Sent: 05 December 2005 05:39
> To: xen-users@lists.xensource.com
> Subject: Re: [Xen-users] compiling custom kernel on 2.0 testing
>
> 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
> >
> > 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
>
> Make world doesn''t build the kernels (in the xen-unstable
> src), it simply downloads the kernel source, patches it,
> configures it and compiles the xen userland utilities.

Are you sure? That must mean that the tooth-fairy came and compiled my
kernels while I wasn''t looking... ;-) In fact, I just did a "make
clean"
in the linux*xen0 directory, followed by a "make world" in the xen
directory, and from what I could see, it was building the Dom0 kernel...

--
Mats
>
> > have to modify the default configuration(s) in
> >   xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs
> >
> > Good luck.
> > Andrew
>
> -Mike