Martinx - ジェームズ
2011-Apr-06 15:47 UTC
[Xen-users] Command "make prep-kernels" not cloning Linux - xen-4.1.0 sources.
Hi! I compiled the xen-4.0.1 in Linux (Ubuntu 10.04), but as usually, the xen-4.1.0 is not behaving in a manner similar to the previous version. Am I required from version xen-4.1.0, transfer the kernel via the command "git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen" from now? I mean, the "make prep-kernels" command of the xen-4.1.0 no longer does this to us? My examples: administrativo@xen01:~/*xen-4.0.1*$ *make prep-kernels* *for i in linux-2.6-pvops ; do make $i-prep || exit 1; done* make[1]: Entering directory `/home/administrativo/xen-4.0.1'' make -f buildconfigs/mk.linux-2.6-pvops prep make[2]: Entering directory `/home/administrativo/xen-4.0.1'' set -ex; \ if ! [ -d linux-2.6-pvops.git ]; then \ rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp; \ mkdir linux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.git.tmp; \ git clone -o xen -n git:// git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-pvops.git.tmp; \ (cd linux-2.6-pvops.git.tmp; git checkout -b xen/stable-2.6.32.x xen/xen/stable-2.6.32.x ); \ mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git; \ fi + [ -d linux-2.6-pvops.git ] + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp + mkdir linux-2.6-pvops.git.tmp + rmdir linux-2.6-pvops.git.tmp + git clone -o xen -n git:// git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-pvops.git.tmp Initialized empty Git repository in /home/administrativo/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/ OKAY! ----- administrativo@xen01:~/*xen-4.1.0*$ *make prep-kernels* *for i in ; do make $i-prep || exit 1; done* NOT OKAY... Right?! ----- Best Regards, Thiago _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martinx - ジェームズ
2011-Apr-06 15:53 UTC
[Xen-users] Re: Command "make prep-kernels" not cloning Linux - xen-4.1.0 sources.
Sorry, english is not my native language. :%s/but as usually/but not as usually/ I meant that the new version is not behaving as usual, from my point of view. - Thiago 2011/4/6 Martinx - ジェА璽爛 <thiagocmartinsc@gmail.com>> Hi! > > I compiled the xen-4.0.1 in Linux (Ubuntu 10.04), but as usually, the > xen-4.1.0 is not behaving in a manner similar to the previous version. > > Am I required from version xen-4.1.0, transfer the kernel via the command > "git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-xen" from now? I mean, the "make prep-kernels" command of the > xen-4.1.0 no longer does this to us? > > My examples: > > administrativo@xen01:~/*xen-4.0.1*$ *make prep-kernels* > *for i in linux-2.6-pvops ; do make $i-prep || exit 1; done* > make[1]: Entering directory `/home/administrativo/xen-4.0.1'' > make -f buildconfigs/mk.linux-2.6-pvops prep > make[2]: Entering directory `/home/administrativo/xen-4.0.1'' > set -ex; \ > if ! [ -d linux-2.6-pvops.git ]; then \ > rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp; \ > mkdir linux-2.6-pvops.git.tmp; rmdir linux-2.6-pvops.git.tmp; \ > git clone -o xen -n git:// > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-pvops.git.tmp; \ > (cd linux-2.6-pvops.git.tmp; git checkout -b xen/stable-2.6.32.x > xen/xen/stable-2.6.32.x ); \ > mv linux-2.6-pvops.git.tmp linux-2.6-pvops.git; \ > fi > + [ -d linux-2.6-pvops.git ] > + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp > + mkdir linux-2.6-pvops.git.tmp > + rmdir linux-2.6-pvops.git.tmp > + git clone -o xen -n git:// > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gitlinux-2.6-pvops.git.tmp > Initialized empty Git repository in > /home/administrativo/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/ > > OKAY! > > ----- > > administrativo@xen01:~/*xen-4.1.0*$ *make prep-kernels* > *for i in ; do make $i-prep || exit 1; done* > > NOT OKAY... Right?! > > ----- > > Best Regards, > Thiago >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Eduardo Bragatto
2011-Apr-06 16:06 UTC
Re: [Xen-users] Command "make prep-kernels" not cloning Linux - xen-4.1.0 sources.
On Apr 6, 2011, at 12:47 PM, Martinx - ジェームズ wrote:> administrativo@xen01:~/xen-4.0.1$ make prep-kernels > for i in linux-2.6-pvops ; do make $i-prep || exit 1; done(..)> OKAY!(..)> administrativo@xen01:~/xen-4.1.0$ make prep-kernels > for i in ; do make $i-prep || exit 1; done > > NOT OKAY... Right?!Did you notice the "for" loop is not iterating through anything in the second case? First you have: "for i in linux-2.6-pvops; do..." -- so it cycles through the "for" loop only once, assigning "linux-2.6-pvops" to the variable "i". In the second case, however: "for i in ; do..." -- there''s no elements on the list, so the loop is never executed. I have not used Xen 4 yet, but you''re probably not passing a parameter somewhere with the name of the Linux kernel you want to use. Abraços e boa sorte ;) Eduardo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martinx - ジェームズ
2011-Apr-06 16:42 UTC
Re: [Xen-users] Command "make prep-kernels" not cloning Linux - xen-4.1.0 sources.
Yep! I noted that but... I did what I supposed to do... unpack the source, cd into it and make prep-kernels. One work and the other no. BTW, I''m reading the differences between xen-4.0.1/README and xen-4.1.0/README files and, the new version now say: "you need to acquire a suitable kernel for use in domain 0". So, I''ll do the git clone and test... You want a Linux with Xen dom0 support? Go to kernel.org! :-D The Xen source code is only for the Xen itself! Great! Finally!! The Xen development is awesome!!! I''ll try right now the Linux 2.6.39-rc2 as dom0 on top of xen-4.1.0! It will work?! I''m sure it will! hehehe... Thanks! (Valeu amigo!!) Thiago 2011/4/6 Eduardo Bragatto <eduardo@bragatto.com>> On Apr 6, 2011, at 12:47 PM, Martinx - ジェームズ wrote: > > administrativo@xen01:~/*xen-4.0.1*$ *make prep-kernels* > *for i in linux-2.6-pvops ; do make $i-prep || exit 1; done* > > (..) > > OKAY! > > (..) > > administrativo@xen01:~/*xen-4.1.0*$ *make prep-kernels* > *for i in ; do make $i-prep || exit 1; done* > > NOT OKAY... Right?! > > > > Did you notice the "for" loop is not iterating through anything in the > second case? First you have: > > "for i in linux-2.6-pvops; do..." -- so it cycles through the "for" loop > only once, assigning "linux-2.6-pvops" to the variable "i". > > In the second case, however: > > "for i in ; do..." -- there''s no elements on the list, so the loop is > never executed. > > I have not used Xen 4 yet, but you''re probably not passing a parameter > somewhere with the name of the Linux kernel you want to use. > > > Abraços e boa sorte ;) > Eduardo >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users