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

Re: [Xen-users] rebased opensuse 2.6.31 xen patches


  • To: Bruce Edge <bruce.edge@xxxxxxxxx>
  • From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
  • Date: Thu, 15 Oct 2009 09:22:00 +0100
  • Cc: xen-users List <xen-users@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
  • Delivery-date: Thu, 15 Oct 2009 01:22:44 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PLEqB246JG5wTviqg3wpcPbDWERRTKzaPsF3xVseYnAyZg3iqIULMdksYRvcU/FbW9 csGbxAlOzl3R5Kj/SCA+Xb/Kdgw+6dq6ZTWEiBQmqvwMUVL64erLflFGADH9wLU4nBcv dDSwKgAt2jH/+NwDpp6KfnfDBm4fiMk8I+HMk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Oct 14, 2009 at 7:15 PM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
> On Wed, Oct 14, 2009 at 8:36 AM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
>> I have rebased the latest opensuse 2.6.31 xen dom0 patches so that
>> they apply to the vanilla kernel cleanly, you can get the patches and
>> a gentoo ebuild from
>> http://code.google.com/p/gentoo-xen-kernel/downloads/list , non gentoo
>> users simply apply them in numeric order.
>>
>> Note that the ebuild also uses genpatches-2.6.31-4 to patch the kernel
>> to 2.6.31.4 so you should update to that revision before applying
>> them.
>>
>> I believe opensuse will be using 2.6.31 as a release kernel so they
>> will be supporting it for some time, I will update the patches
>> whenever they release a new kernel source rpm.
>>
>> This is NOT pv_ops, these are "classic" Xen patches.
>>
>> Andy
>>
>
> It might be .config dependent, but I needed this patch before it would build:
>
> diff -Naur arch/x86/kernel/microcode_core-xen.c.orig
> arch/x86/kernel/microcode_core-xen.c
>
> --- arch/x86/kernel/microcode_core-xen.c.orig   2009-10-14
> 10:45:42.000000000 -0700
> +++ arch/x86/kernel/microcode_core-xen.c        2009-10-14
> 10:44:30.000000000 -0700
> @@ -34,7 +34,7 @@
>  #include <linux/firmware.h>
>  #include <linux/uaccess.h>
>  #include <linux/vmalloc.h>
> -
> +#include <linux/swap.h>
>  #include <asm/microcode.h>
>  #include <asm/processor.h>
>
> The error was:
>
> make -l12 deb-pkg
>
> make KBUILD_SRC=
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>  SYMLINK include/asm -> include/asm-x86
>  CALL    scripts/checksyscalls.sh
>  CHK     include/linux/compile.h
>  CC [M]  arch/x86/kernel/microcode_core.o
> arch/x86/kernel/microcode_core-xen.c: In function ‘microcode_write’:
> arch/x86/kernel/microcode_core-xen.c:100: error: ‘totalram_pages’
> undeclared (first use in this function)
> arch/x86/kernel/microcode_core-xen.c:100: error: (Each undeclared
> identifier is reported only once
> arch/x86/kernel/microcode_core-xen.c:100: error: for each function it
> appears in.)
> make[4]: *** [arch/x86/kernel/microcode_core.o] Error 1
> make[3]: *** [arch/x86/kernel] Error 2
> make[2]: *** [arch/x86] Error 2
> make[1]: *** [deb-pkg] Error 2
> make: *** [deb-pkg] Error 2
>
>
>
> -Bruce
>

Thanks Bruce, I've CC'ed Jan in case he wants to merge this fix into his tree.

Andy

_______________________________________________
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®.