Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Call for testing: Xen 4.0
Hi,
On Jan,Monday 18 2010, at 3:36 PM, Christoph Egger wrote:
>
> Hi!
>
> Xen 4.0 is coming soon.
> You can make sure it will work on NetBSD by helping with testing it.
>
> First compile the sources. For this, install devel/mercurial, devel/scmgit
> and devel/gmake
>
> Then check out the sources:
>
> hg clone http://xenbits.xensource.com/xen-unstable.hg/
>
> Enter the directory:
>
> cd xen-unstable.hg
>
> Then apply this patch which applies stuff that is not upstream but needed
> to make it basically working on NetBSD:
> http://www.netbsd.org/~cegger/xen40_netbsd.diff
>
> patch -p1 < xen40_netbsd.diff
>
> Then apply this patch. This disables stuff that is missing in NetBSD
> (shm and pthread) and would break build, otherwise:
> http://www.netbsd.org/~cegger/xen40_netbsd_workaround.diff
>
> patch -p1 < xen40_netbsd_workaround.diff
>
> Next, define some environment variables:
>
> Set the PYTHON environment variable to the version you installed
> as a dependency of mercurial:
>
> PYTHON=python2.5 (if you have python 2.5)
> export PYTHON
>
> Define PREFIX where you want to install it:
>
> PREFIX="/usr/xen40"
> export PREFIX
>
> Compile and install the xen kernel:
>
> gmake xen && cp xen/xen.gz /xen40.gz
>
> Compile and install the xen tools:
>
> gmake dist-tools && cp -Rp dist/install/${PREFIX}/* ${PREFIX}/
I tried to compile xen4 today and I have foudn two problems
1) There is a problem during xen kernel link
rc/xen-unstable.hg/xen/Rules.mk -C arch/x86 /root/src/xen-unstable.hg/xen/xen
gmake[3]: Entering directory `/root/src/xen-unstable.hg/xen/arch/x86'
gmake -f /root/src/xen-unstable.hg/xen/Rules.mk -C
/root/src/xen-unstable.hg/xen/arch/x86/boot built_in.o
gmake[4]: Entering directory `/root/src/xen-unstable.hg/xen/arch/x86/boot'
RELOC= gmake -f build32.mk reloc.S
gmake[5]: Entering directory `/root/src/xen-unstable.hg/xen/arch/x86/boot'
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32 -march=i686
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -fno-stack-protector -Werror -fno-builtin
-msoft-float -c reloc.c -o reloc.o
ld -melf_i386 -N -Ttext -o reloc.lnk reloc.o
ld: invalid hex number `-o'
gmake[5]: *** [reloc.lnk] Error 1
gmake[5]: Leaving directory `/root/src/xen-unstable.hg/xen/arch/x86/boot'
gmake[4]: *** [reloc.S] Error 2
gmake[4]: Leaving directory `/root/src/xen-unstable.hg/xen/arch/x86/boot'
gmake[3]: *** [/root/src/xen-unstable.hg/xen/arch/x86/boot/built_in.o] Error 2
gmake[3]: Leaving directory `/root/src/xen-unstable.hg/xen/arch/x86'
gmake[2]: *** [/root/src/xen-unstable.hg/xen/xen] Error 2
gmake[2]: Leaving directory `/root/src/xen-unstable.hg/xen'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/root/src/xen-unstable.hg/xen'
2) xen wants to have git installed during build, to fetch qemu sources. Can I
suppress this behavior somehow ?
Regards
Adam.
Home |
Main Index |
Thread Index |
Old Index