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

Re: [Xen-devel] Latest xen-unstable does not compile



Nice complete set of instructions. One change added below.

On Tue, Oct 20, 2009 at 9:19 AM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@xxxxxxxxx> wrote:
> Hi Andreas,
>
> Why don't you do compilation of xen-unstable and pvops kernel separately?
>
> E.g.
>
> Compiling xen-unstable
> ====================
>
> prerequisites: install pciutils and pciutils-devel first
>
> >From Boris' instructions (adapted to your case):
>
> # hg clone http://xenbits.xensource.com/xen-unstable.hg
> # cd xen-unstable.hg

I would add one modification to the Xen build here. Since you're
building the 2.6.31.1 kernel separately there's no need to build the
default xen kernels, so you can disable that part of the build with:
export KERNELS=""

I also like to build the xen deliverables in a location that is easily
installable to other targets:
export DISTDIR=/install-from-location (some shared filesystem)
# make dist

Then from each target:
cd /install-from-location
install.sh

> # make xen
> # make install-xen
> # make tools
> # make install-tools
>
> Compiling pvops kernel 2.6.31.1
> ===========================
>
> Also from Boris' instructions:
>
> # git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
> linux-2.6-xen
> # cd linux-2.6-xen
>
> No need to do a checkout at all as the default is xen/master and at
> the moment it is pvops 2.6.31.1 if I am not wrong.
>
> Then my own steps:
>
> # make mrproper
> # vi Makefile # change the extraversion string
>
> Try my 2.6.31.1 xen pvops kernel config as attached in this email and
> rename it to .config in linux-2.6-xen/ source directory
>
> Then
>
> # make oldconfig
>
> For any NEW kernel features, just accept the defaults by pressing ENTER
>
> # make
> # make modules_install
> # make install
>
> Then edit your grub configuration to reflect your newly installed Xen
> pvops dom0 kernel. You need to use a kernel and two modules statement
> instead of the conventional kernel and initrd statements.
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@xxxxxxxxx
> MSN: teoenming@xxxxxxxxxxx
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
>
>
> On Tue, Oct 20, 2009 at 11:35 PM, Andreas Florath <xen@xxxxxxxxxxxx> wrote:
>> Hu - I like to answer my own mails...
>>
>> After 'make world' stops and after sending the bug report - I did a 'make
>> dist'. And: it compiled - and boots - and xm-tests are running.
>>
>> I'll start all over tomorrow and check the build problem again.
>>
>> Kind regards - Andreas
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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