From: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" Subject: Re: upstream xen-ified kernel building challenge Date: Wed, 24 Jun 2009 12:04:02 +0200 Message-ID: <1245837842.16606.32.camel@marc> References: <367a3ab1-321a-47ae-9c64-507b8e52180a@default> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <367a3ab1-321a-47ae-9c64-507b8e52180a@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org Hello Dan, it could look like this: cat > .config << "EOF" CONFIG_PARAVIRT_GUEST=y CONFIG_XEN=y CONFIG_PARAVIRT=y CONFIG_PARAVIRT_SPINLOCKS=y CONFIG_PARAVIRT_CLOCK=y CONFIG_X86_CMPXCHG64=y CONFIG_HIGHMEM64G=y CONFIG_X86_PAE=y CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_PHYS_ADDR_T_64BIT=y CONFIG_XEN_NETDEV_FRONTEND=y CONFIG_XEN_KBDDEV_FRONTEND=y CONFIG_FB_SYS_FILLRECT=y CONFIG_FB_SYS_COPYAREA=y CONFIG_FB_SYS_IMAGEBLIT=y CONFIG_FB_SYS_FOPS=y CONFIG_FB_DEFERRED_IO=y CONFIG_XEN_FBDEV_FRONTEND=y EOF yes '' | make oldconfig (the options could be shortened with a for loop but it would make it unreadable...) I think the oldconfig run will get and set your arch and shift options if needed for x86_64 but i haven't testet that but it should work on 32bit PAE systems... have fun, Marc Am Dienstag, den 23.06.2009, 16:06 -0700 schrieb Dan Magenheimer: > A fun challenge for those of you who eat raw upstream kernels > for lunch: > > 1) Untar an upstream (say 2.6.30) kernel.org kernel > 2) From the bash command line ONLY, execute one or more > commands to configure the kernel so "make" will build > a fully xen-ified kernel. (Everything else can > use the defconfig default.) > > For extra credit: > 3) Determine the shortest sequence of commands to do > the above. > > After many tries, I have not been able to do (2) at all. > I always have to fall back to an existing .config file > that was created using menuconfig. (I *suspect* this is > because PARAVIRT_GUEST is defined in Kconfig using a > menuconfig line rather than a config line, but am unsure.) > > Dan > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel