Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install Xen 4.0.1 from Source on Ubuntu 10.10 Server Edition. I started with a clean machine and followed the instructions from

So I installed the packages mentioned there with: sudo apt-get install gettext bin86 bcc libc6-dev-i386 iasl texinfo git

When making the source with make world I get this error:

+ git clone -o xen -n git:// linux-2.6-pvops.git.tmp
Initialized empty Git repository in /home/homer/xen/linux-2.6-pvops.git.tmp/.git/
remote: Counting objects: 1855434, done.
remote: Compressing objects: 100% (291939/291939), done.
Receiving objects: 100% (1855434/1855434), 368.49 MiB | 11.00 MiB/s, done.
remote: Total 1855434 (delta 1553214), reused 1847760 (delta 1546656)
Resolving deltas: 100% (1553214/1553214), 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
make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 128

Does anybody have an idea what i can do?

share|improve this question
up vote 2 down vote accepted

edit the following file: ./buildconfigs/src.git-clone (under xen folder)

edit the following line (line 29 in my config)

(cd $(LINUX_SRCDIR).tmp; git checkout -b $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \

to look like

(cd $(LINUX_SRCDIR).tmp; git checkout ); \
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.