WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XEN building "make world" broken?

To: Yuvraj Agarwal <yuvraj@xxxxxxxxxxx>
Subject: Re: [Xen-devel] XEN building "make world" broken?
From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Date: Fri, 18 Feb 2011 06:51:53 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Feb 2011 14:52:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ohJhHaKQtP8CXnD2DMmoozfDVNuzB2g3i0XnULPCCkc=; b=eASp52+idL8emJ6NZL8iQLnE/BfJpR/SFVlhGOtF49Kjk19iNhv0AiBiiYB/2FlquV MFQRBujftl/uM6nN6+jT6wPSDYOk3SPoFISYRIWAD4g8qC0r3LIfyzRNf/L/gLvg4biu VmyLgjVQ1Uh8gb02++4v/w1lt3leDNK+SC4fU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=W8Zau57IDTX+6F0oR+ulOnTrpungYqkIesU5nSi/oGG0hmf/tdKScqtMbpwDaateCP unLMuoZgkFPA9Jz5S81fMo9MNB614LTF1fjV1OHTyzlHPB8ef2svnF4wu6OhppuQhthT Zg2G6TA3ReQ2XQaGS8Yki+Ih2eR3YW5NOUEbY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinyJsDp+DPq2aUYwcLj=5G5uC+u0QPDnnsMwKDs@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinyJsDp+DPq2aUYwcLj=5G5uC+u0QPDnnsMwKDs@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, Feb 17, 2011 at 12:38 PM, Yuvraj Agarwal <yuvraj@xxxxxxxxxxx> wrote:
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


The following make option will mostly work:

make XEN_LINUX_GIT_LOCALBRANCH=local/xen/stable-2.6.32.x world

Refer to http://lists.xensource.com/archives/html/xen-users/2010-12/msg00106.html

Thanks.

Kindest regards,
Giam Teck Choon
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>