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

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


  • To: "Joshua L. Warren" <jwarren@xxxxxxxxxx>, Todd Deshane <todd.deshane@xxxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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