Hi all, sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and the kernel but when i do "make world", according to http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-pvops.git.tmp Initialized empty Git repository in /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ remote: Counting objects: 1567030, done. remote: Compressing objects: 100% (262707/262707), done. Indexing 1567030 objects... remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) 100% (1567030/1567030) done Resolving 1304249 deltas... 100% (1304249/1304249) done Checking 29214 files out... 100% (29214/29214) done + cd linux-2.6-pvops.git.tmp + git checkout xen/master error: pathspec ''xen/master'' did not match any file(s) known to git. Did you forget to ''git add''? make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make[2]: *** [linux-2.6-pvops-install] Error 2 make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make: *** [world] Error 2 [root@xenhost1 xen-4.0-testing.hg]# My os is CentOS 5.4 and it is the first time i compile xen from the source. Thanks in advantage for any help. Best regards, Francesco Gallo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Did you forget to ''git add''?Boris. --- On Mon, 4/12/10, cluster@xinet.it <cluster@xinet.it> wrote: From: cluster@xinet.it <cluster@xinet.it> Subject: [Xen-users] make world troubles To: xen-users@lists.xensource.com Date: Monday, April 12, 2010, 4:43 AM Hi all, sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and the kernel but when i do "make world", according to http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-pvops.git.tmp Initialized empty Git repository in /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ remote: Counting objects: 1567030, done. remote: Compressing objects: 100% (262707/262707), done. Indexing 1567030 objects... remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) 100% (1567030/1567030) done Resolving 1304249 deltas... 100% (1304249/1304249) done Checking 29214 files out... 100% (29214/29214) done + cd linux-2.6-pvops.git.tmp + git checkout xen/master error: pathspec ''xen/master'' did not match any file(s) known to git. Did you forget to ''git add''? make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make[2]: *** [linux-2.6-pvops-install] Error 2 make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' make: *** [world] Error 2 [root@xenhost1 xen-4.0-testing.hg]# My os is CentOS 5.4 and it is the first time i compile xen from the source. Thanks in advantage for any help. Best regards, Francesco Gallo _______________________________________________ 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 Mon, Apr 12, 2010 at 10:43:53AM +0200, cluster@xinet.it wrote:> > Hi all, > > sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and > the kernel but when i do "make world", according to > http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: > > + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmp > Initialized empty Git repository in > /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ > remote: Counting objects: 1567030, done. > remote: Compressing objects: 100% (262707/262707), done. > Indexing 1567030 objects... > remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) > 100% (1567030/1567030) done > Resolving 1304249 deltas... > 100% (1304249/1304249) done > Checking 29214 files out... > 100% (29214/29214) done > + cd linux-2.6-pvops.git.tmp > + git checkout xen/master > error: pathspec ''xen/master'' did not match any file(s) known to git. > Did you forget to ''git add''?This is more a git-related issue that not a compiler-related one. I haven''t tested XEN-4.0 yet but check if your repository is clean> make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 > make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[2]: *** [linux-2.6-pvops-install] Error 2 > make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make: *** [world] Error 2 > [root@xenhost1 xen-4.0-testing.hg]# > > My os is CentOS 5.4 and it is the first time i compile xen from the > source. > > Thanks in advantage for any help. > > Best regards, > Francesco Gallo > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Fabiano Francesconi [GPG key: 0x81E53461] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Apr 12, 2010 at 10:43:53AM +0200, cluster@xinet.it wrote:> > Hi all, > > sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and > the kernel but when i do "make world", according to > http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: > > + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmp > Initialized empty Git repository in > /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ > remote: Counting objects: 1567030, done. > remote: Compressing objects: 100% (262707/262707), done. > Indexing 1567030 objects... > remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) > 100% (1567030/1567030) done > Resolving 1304249 deltas... > 100% (1304249/1304249) done > Checking 29214 files out... > 100% (29214/29214) done > + cd linux-2.6-pvops.git.tmp > + git checkout xen/master > error: pathspec ''xen/master'' did not match any file(s) known to git. > Did you forget to ''git add''? > make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 > make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[2]: *** [linux-2.6-pvops-install] Error 2 > make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make: *** [world] Error 2 > [root@xenhost1 xen-4.0-testing.hg]# > > My os is CentOS 5.4 and it is the first time i compile xen from the > source. > > Thanks in advantage for any help. >http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/master changelog for xen/master seems to work.. What version of git you are using? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Pasi, Thanks a lot for your answer. My git version is: 1.5.2.1 I''m new to git. Should I do something before executing "make world"? Am I missing something? Thanks in advantage. Best regards, FG -----Messaggio originale----- Da: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di Pasi Kärkkäinen Inviato: lunedì 12 aprile 2010 11:06 A: cluster@xinet.it Cc: xen-users@lists.xensource.com Oggetto: Re: [Xen-users] make world troubles On Mon, Apr 12, 2010 at 10:43:53AM +0200, cluster@xinet.it wrote:> > Hi all, > > sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and > the kernel but when i do "make world", according to > http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: > > + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmp > Initialized empty Git repository in > /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ > remote: Counting objects: 1567030, done. > remote: Compressing objects: 100% (262707/262707), done. > Indexing 1567030 objects... > remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) > 100% (1567030/1567030) done > Resolving 1304249 deltas... > 100% (1304249/1304249) done > Checking 29214 files out... > 100% (29214/29214) done > + cd linux-2.6-pvops.git.tmp > + git checkout xen/master > error: pathspec ''xen/master'' did not match any file(s) known to git. > Did you forget to ''git add''? > make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 > make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[2]: *** [linux-2.6-pvops-install] Error 2 > make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make: *** [world] Error 2 > [root@xenhost1 xen-4.0-testing.hg]# > > My os is CentOS 5.4 and it is the first time i compile xen from the > source. > > Thanks in advantage for any help. >http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/ma ster changelog for xen/master seems to work.. What version of git you are using? -- Pasi _______________________________________________ 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
Hi all, finally i solved the problem by manually executing the download of the source and patching the script xen-4.0-testing.hg/buildconfigs/src.git-clone: [...] $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) set -ex; \ if ! [ -d $(LINUX_SRCDIR) ]; then \ cd $(LINUX_SRCDIR).tmp; \ mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ fi [...] Thanks and regards, FG -----Messaggio originale----- Da: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di cluster@xinet.it Inviato: lunedì 12 aprile 2010 12:00 A: ''Pasi Kärkkäinen'' Cc: xen-users@lists.xensource.com Oggetto: R: [Xen-users] make world troubles Hi Pasi, Thanks a lot for your answer. My git version is: 1.5.2.1 I''m new to git. Should I do something before executing "make world"? Am I missing something? Thanks in advantage. Best regards, FG -----Messaggio originale----- Da: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di Pasi Kärkkäinen Inviato: lunedì 12 aprile 2010 11:06 A: cluster@xinet.it Cc: xen-users@lists.xensource.com Oggetto: Re: [Xen-users] make world troubles On Mon, Apr 12, 2010 at 10:43:53AM +0200, cluster@xinet.it wrote:> > Hi all, > > sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and > the kernel but when i do "make world", according to > http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: > > + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmp > Initialized empty Git repository in > /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ > remote: Counting objects: 1567030, done. > remote: Compressing objects: 100% (262707/262707), done. > Indexing 1567030 objects... > remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) > 100% (1567030/1567030) done > Resolving 1304249 deltas... > 100% (1304249/1304249) done > Checking 29214 files out... > 100% (29214/29214) done > + cd linux-2.6-pvops.git.tmp > + git checkout xen/master > error: pathspec ''xen/master'' did not match any file(s) known to git. > Did you forget to ''git add''? > make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 > make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[2]: *** [linux-2.6-pvops-install] Error 2 > make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make: *** [world] Error 2 > [root@xenhost1 xen-4.0-testing.hg]# > > My os is CentOS 5.4 and it is the first time i compile xen from the > source. > > Thanks in advantage for any help. >http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/ma ster changelog for xen/master seems to work.. What version of git you are using? -- Pasi _______________________________________________ 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ERRATA CORRIGE: [...] $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) set -ex; \ if ! [ -d $(LINUX_SRCDIR) ]; then \ cd $(LINUX_SRCDIR).tmp; \ cd ..; mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ fi [...] FG _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
There is different way to manage. 1. Extract official 4.0 tarball. Compile & install xen,tools.stubdom make install-xen make install-tools make install-stubdom Git clone JF''s repo:- # git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen # cd linux-2.6-xen # git branch -r And checkout for instance : # git checkout -b xen/stable origin/xen/stable Running "make world" you would probably have to checkout xen/master, either you want this branch or don''t. Boris. --- On Mon, 4/12/10, cluster@xinet.it <cluster@xinet.it> wrote: From: cluster@xinet.it <cluster@xinet.it> Subject: R: [Xen-users] make world troubles To: cluster@xinet.it, "''Pasi Kärkkäinen''" <pasik@iki.fi> Cc: xen-users@lists.xensource.com Date: Monday, April 12, 2010, 7:26 AM Hi all, finally i solved the problem by manually executing the download of the source and patching the script xen-4.0-testing.hg/buildconfigs/src.git-clone: [...] $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE) set -ex; \ if ! [ -d $(LINUX_SRCDIR) ]; then \ cd $(LINUX_SRCDIR).tmp; \ mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ fi [...] Thanks and regards, FG -----Messaggio originale----- Da: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di cluster@xinet.it Inviato: lunedì 12 aprile 2010 12:00 A: ''Pasi Kärkkäinen'' Cc: xen-users@lists.xensource.com Oggetto: R: [Xen-users] make world troubles Hi Pasi, Thanks a lot for your answer. My git version is: 1.5.2.1 I''m new to git. Should I do something before executing "make world"? Am I missing something? Thanks in advantage. Best regards, FG -----Messaggio originale----- Da: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Per conto di Pasi Kärkkäinen Inviato: lunedì 12 aprile 2010 11:06 A: cluster@xinet.it Cc: xen-users@lists.xensource.com Oggetto: Re: [Xen-users] make world troubles On Mon, Apr 12, 2010 at 10:43:53AM +0200, cluster@xinet.it wrote:> > Hi all, > > sorry if my question is too stupid, i''m trying to compile both XEN 4.0 and > the kernel but when i do "make world", according to > http://wiki.xensource.com/xenwiki/Xen4.0, i always receive this error: > > + git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > linux-2.6-pvops.git.tmp > Initialized empty Git repository in > /root/4.0/xen-4.0-testing.hg/linux-2.6-pvops.git.tmp/.git/ > remote: Counting objects: 1567030, done. > remote: Compressing objects: 100% (262707/262707), done. > Indexing 1567030 objects... > remote: Total 1567030 (delta 1304249), reused 1552846 (delta 1291260) > 100% (1567030/1567030) done > Resolving 1304249 deltas... > 100% (1304249/1304249) done > Checking 29214 files out... > 100% (29214/29214) done > + cd linux-2.6-pvops.git.tmp > + git checkout xen/master > error: pathspec ''xen/master'' did not match any file(s) known to git. > Did you forget to ''git add''? > make[3]: *** [linux-2.6-pvops.git/.valid-src] Error 1 > make[3]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[2]: *** [linux-2.6-pvops-install] Error 2 > make[2]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/root/4.0/xen-4.0-testing.hg'' > make: *** [world] Error 2 > [root@xenhost1 xen-4.0-testing.hg]# > > My os is CentOS 5.4 and it is the first time i compile xen from the > source. > > Thanks in advantage for any help. >http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=xen/ma ster changelog for xen/master seems to work.. What version of git you are using? -- Pasi _______________________________________________ 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 _______________________________________________ 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