[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] rebased opensuse 2.6.31 xen patches
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |