WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Command "make prep-kernels" not cloning Linux - xen-4.1.

To: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Command "make prep-kernels" not cloning Linux - xen-4.1.0 sources.
From: Eduardo Bragatto <eduardo@xxxxxxxxxxxx>
Date: Wed, 6 Apr 2011 13:06:47 -0300
Cc:
Delivery-date: Wed, 06 Apr 2011 09:08:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTi=jb0GATn44DoMnO5mAkpWavMHeCw@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTi=jb0GATn44DoMnO5mAkpWavMHeCw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>