Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] Some help for a newbie

To: Andrew Thompson <andrewkt@xxxxxxxxxxx>
Subject: Re: [Xen-users] Some help for a newbie
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Tue, 31 May 2005 21:41:19 +0100
Cc: Steven.Hand@xxxxxxxxxxxx, rob@xxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 May 2005 20:40:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: Message from Andrew Thompson <andrewkt@xxxxxxxxxxx> of "Tue, 31 May 2005 16:25:06 EDT." <429CC822.2080406@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>Robert Hulme wrote:
>> It hung during boot though, so I thought I'd make some
>> changes to the kernel config...

Which you must do using 'ARCH=xen', i.e. one of 

# make ARCH=xen menuconfig
# make ARCH=xen xconfig
# make ARCH=xen gconfig

I believe you failed to add the 'ARCH=xen' when building the config. 


>> I've done that and now it won't compile the kernel, e.g. :

Yes, indeed - your .config file is a 'vanilla linux' config file
rather than a Xen one; you should always see

CONFIG_XEN=y
CONFIG_ARCH_XEN=y 

at the start of a XenLinux .config file. 

Andrew Thomson wrote: 
>My understanding is, after tweaking a kernel's .config file, you should 
>run make dist.

This is correct, but not the problem in this case; Robert's issue 
was biting him much earlier. 

>See: http://article.gmane.org/gmane.comp.emulators.xen.user/1044
>
>Quote Steven Hand:
>
>Anyway: once you've built everything at least once (either with "make
>world" for the first time or with "make dist" for the first or any
>subsequent time), then to build a 'custom' kernel do:
>
># cd linux-2.6.11-xen0
># make ARCH=xen menuconfig      # or xconfig or whatever
        ^^^^^^^^             

This is the important bit! 


cheers,

S.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>