[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>
  • From: Todd Deshane <todd.deshane@xxxxxxx>
  • Date: Tue, 7 Dec 2010 12:47:07 -0500
  • Cc: antonio.scalabrella@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 07 Dec 2010 09:48:54 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=KsquLpMJIdbsbBS3KTIuvMkNh05w0Nkctg03gjc6Il/LIDN1QwlHvG3T4skvkP6Qot No1uEslrDufWztJ6KzrhxYLKxJWnP8/V8aMvVLJ5AEXZ7OobHSIz9WOQ8n0mfA2+zW16 JPNvvYaGTMx/NvYYejYzSD9UnOd4v2O3I4UiY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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