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-devel

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

To: "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] building 32bit domU kernel on 64bit dom0
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Sat, 24 Jan 2009 08:28:49 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 24 Jan 2009 00:29:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <gldb7s$dku$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <gldb7s$dku$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

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