|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] XEN building "make world" broken?
Hi All,
I am having some trouble with blktap2 domUs (very high CPU utilization
and orphan blktap2 processes when the first domU is started) and for
that I wanted to checkout and build the latest pvops kernel to see if
that has the necessary fixes. I saw some messages about this in August
2010.
I am doing the standard:
# hg clone http://xenbits.xen.org/xen-4.0-testing.hg
# hg pull; hg update (version is 4.0.2-rc3)
and then "make"world" which fails to build the kernel. "make xen; make
tools and make stubdom" works.
Note, I was able to build the pvops kernel (2.6.32.27) a few days ago
successfully.
.
.
<SNIP>
make -f buildconfigs/mk.linux-2.6-pvops build
make[3]: Entering directory `/home/yuvraj/XEN-Build/xen-4.0-testing.hg'
set -ex; \
if ! [ -d linux-2.6-pvops.git ]; then \
rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp; \
mkdir linux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.git.tmp; \
git clone -o xen -n
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-pvops.git.tmp; \
(cd linux-2.6-pvops.git.tmp; git checkout -b
xen/stable-2.6.32.x xen/xen/stable-2.6.32.x ); \
mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git; \
fi
+ [ -d linux-2.6-pvops.git ]
+ rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp
+ mkdir linux-2.6-pvops.git.tmp
+ rmdir linux-2.6-pvops.git.tmp
+ git clone -o xen -n
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-pvops.git.tmp
Initialized empty Git repository in
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/
remote: Counting objects: 1941611, done.
remote: Compressing objects: 100% (318945/318945), done.
remote: Total 1941611 (delta 1614307), reused 1930825 (delta 1604777)
Receiving objects: 100% (1941611/1941611), 397.88 MiB | 1.33 MiB/s, done.
Resolving deltas: 100% (1614307/1614307), done.
+ cd linux-2.6-pvops.git.tmp
+ git checkout -b xen/stable-2.6.32.x xen/xen/stable-2.6.32.x
fatal: git checkout: branch xen/stable-2.6.32.x already exists
+ mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git
touch linux-2.6-pvops.git/.valid-src
rm -rf build-linux-2.6-pvops_x86_64
mkdir -p build-linux-2.6-pvops_x86_64
# Re-use config from install dir if one exists. Next try to use
# buildconfigs/create_config.sh is one is provided by the source
# tree. Finally attempt to use make defconfig.
set -e ; \
CONFIG_VERSION=$(sed -ne 's/$(XENGUEST)//; s/^EXTRAVERSION =
//p' linux-2.6-pvops.git/Makefile); \
if [ ! -z "" -a -r "" ]; then \
cp
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/build-linux-2.6-pvops_x86_64/.config;
\
elif [ -r
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/dist/install/boot/config-2.6.$CONFIG_VERSION
] ; then \
cp
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/dist/install/boot/config-2.6.$CONFIG_VERSION
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/build-linux-2.6-pvops_x86_64/.config
; \
elif [ -e linux-2.6-pvops.git/buildconfigs/create_config.sh ] ; then \
cd linux-2.6-pvops.git && sh buildconfigs/create_config.sh \
/home/yuvraj/XEN-Build/xen-4.0-testing.hg/build-linux-2.6-pvops_x86_64/.config
x86_64 ; \
echo "Configured build-linux-2.6-pvops_x86_64 using
create_config.sh" ; \
elif make -C linux-2.6-pvops.git ARCH=$(sh
buildconfigs/select-linux-arch linux-2.6-pvops.git) defconfig
O=$(/bin/pwd)/build-linux-2.6-pvops_x86_64 ; then \
echo "Configured build-linux-2.6-pvops_x86_64 using defconfig" ; \
else \
echo "No configuration method found for this kernel" ; \
fi
sed: can't read linux-2.6-pvops.git/Makefile: No such file or directory
make[3]: *** [build-linux-2.6-pvops_x86_64/include/linux/autoconf.h] Error 2
make[3]: Leaving directory `/home/yuvraj/XEN-Build/xen-4.0-testing.hg'
make[2]: *** [linux-2.6-pvops-install] Error 2
make[2]: Leaving directory `/home/yuvraj/XEN-Build/xen-4.0-testing.hg'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/home/yuvraj/XEN-Build/xen-4.0-testing.hg'
make: *** [world] Error 2
thanks!
Yuvraj
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|