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

Re: [Xen-devel] building 32bit domU kernel on 64bit dom0



On Fri, 2009-01-23 at 13:01 -0800, Shaun R. wrote:
> I'm attempting to build a 32bit DomU on a 64bit server.  i run `make
> menuconfig` and then attempt to load
> `./buildconfigs/linux-defconfig_xenU_x86_32`.  When doing this i see a bunch
> of errors and then the config screen pops back up with all the xen stuff
> missing.  If i load the linux-defconfig_xenU_x86_64 config instead i dont
> see the errors and the xen options are still there.  Am i doing somthing
> wrong here?
> 
> [root@devhost linux-2.6.18-xen.hg]# cp
> buildconfigs/linux-defconfig_xenU_x86_32 .config
> [root@devhost linux-2.6.18-xen.hg]# make oldconfig
> [...]
> scripts/kconfig/conf -o arch/x86_64/Kconfig

The 2.6.18 kernel doesn't store the arch in the .config like more modern
kernels do so you need to say explicitly if you want to build
non-native. Add "ARCH=i386" to all your make command lines, e.g.

        # cp buildconfigs/linux-defconfig_xenU_x86_32 .config
        # make ARCH=i386 oldconfig

Ian.


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


 


Rackspace

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