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! Thanks Josh Warren _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I''ve seen the same error message obtained trough compiling 4.0.1 from sources on Slackware 13.1. The very same sources (i.e. the sorce tarball of xen 4.0.1 retrieved from the xen.org download page) show a different behavior under the previous slackware version, 13.0, where "make world" does indeed succeed. Has something changed in git default behaviour, causing it to now halt when driven by the sources'' Makefile? (The same problem has surfaced in another thread of the list, http://lists.xensource.com/archives/html/xen-users/2010-12/msg00069.html) Thanks A. 2010/12/4 Joshua L. Warren <jwarren@chrims.com>:> 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! > > > > Thanks > > > > Josh Warren > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 3, 2010 at 9:33 PM, Joshua L. Warren <jwarren@chrims.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-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@xen.org> wrote: From: Todd Deshane <todd.deshane@xen.org> Subject: Re: [Xen-users] Problem when building Xen 4.0.1 To: "Joshua L. Warren" <jwarren@chrims.com> Cc: antonio.scalabrella@gmail.com, xen-users@lists.xensource.com Date: Tuesday, December 7, 2010, 12:47 PM On Fri, Dec 3, 2010 at 9:33 PM, Joshua L. Warren <jwarren@chrims.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users