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-users

Re: [Xen-users] Problem when building Xen 4.0.1

To: "Joshua L. Warren" <jwarren@xxxxxxxxxx>, Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] Problem when building Xen 4.0.1
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 7 Dec 2010 11:18:20 -0800 (PST)
Cc: antonio.scalabrella@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Dec 2010 11:19:56 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1291749500; bh=aRDEs4Ya95dVM2k0uT7FJGYGN3gbL3HOU+njx9O3rFk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=cgwNnydldyR8GewNOT+Yg9dlwVhOs7MMhJV+DsoDq25gvZ07EmIXfq46QdVSznPJBB4SR3AbYY2G2eUZMUjLFs1JqKfDScSEkkhxknMdv72E6l++RgrpsI6sfOo5o/9G+cj2KXKK+xIKvrGmKxIMigJN5O33yrK0qHdi/c0v7XQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=AcpR3JlE3b0gYgZyw7VRCERv2cDlQ0NP/Wiytc3KMyJuf9+nT6PdjT981qcBr0yAE+EiTX0G9CeyzKtH0qRzsciGTQKlToTPJjXSAcnCqeOnv/zP1jj/8LpLxUjK/yapwKMt8dCUltaYCPUWd2f6OvbyeJuETJgHKtT4otJJE24=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=VyegKhOA5hHnEny2Xn_BZzin8w8TARZA0-rxR@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-xen
$ cd linux-2.6-xen
that will automatically check out the 'xen/master' default branch.
Note that you need at least 256 MB of free memory, otherwise the "git
clone" will fail.

Changing the branch: You most probably want to use the
"xen/stable-2.6.32.x" branch, so do this:


$ cd linux-2.6-xen
$ git reset --hard
$ git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
Branch xen/stable-2.6.32.x set up to track remote branch
refs/remotes/origin/xen/stable-2.6.32.x.
> Switched to a new branch "xen/stable-2.6.32.x"

It default branch in meantime (.25,.26 at least).

Boris.


--- On Tue, 12/7/10, Todd Deshane <todd.deshane@xxxxxxx> wrote:

From: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] Problem when building Xen 4.0.1
To: "Joshua L. Warren" <jwarren@xxxxxxxxxx>
Cc: antonio.scalabrella@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, December 7, 2010, 12:47 PM

On Fri, Dec 3, 2010 at 9:33 PM, Joshua L. Warren <jwarren@xxxxxxxxxx> wrote:
> Hello, I am trying to build Xen 4.0.1 from the sources.  When I do “make
> install” it fails when building the kernel files with the error message:
>
>
>
> fatal:git checkout: branch xen/stable-2.6.32.x already exists
>
>
>
> I’ve tried poking it a bit, trying to checkout other branches etc. but I
> have no clue how to get past this problem.
>
>
>
> Any help would be appreciated!
>
>


Maybe these instructions from the xen wiki will help

from: http://wiki.xensource.com/xenwiki/XenParavirtOps

Downloading the git tree


$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
linux-2.6-xen
$ cd linux-2.6-xen
that will automatically check out the 'xen/master' default branch.
Note that you need at least 256 MB of free memory, otherwise the "git
clone" will fail.

Changing the branch: You most probably want to use the
"xen/stable-2.6.32.x" branch, so do this:


$ cd linux-2.6-xen
$ git reset --hard
$ git checkout -b xen/stable-2.6.32.x origin/xen/stable-2.6.32.x
Branch xen/stable-2.6.32.x set up to track remote branch
refs/remotes/origin/xen/stable-2.6.32.x.
Switched to a new branch "xen/stable-2.6.32.x"
$ git pull
$ git log | less
Later when you want to update the tree use:


$ cd linux-2.6-xen
$ make clean
$ git pull
Configuring the kernel:


make menuconfig

Hope that helps.

Thanks,
Todd


--
Todd Deshane
http://todddeshane.net
http://runningxen.com

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>