[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



>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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.