2bbionic wrote:Hi,
ich just tried the new patchset on a 32bit-system with i686-pc-linux-gnu-3.4.6. The following error occurs:
Deactivating the microcode update helped to compile successfully. It seem's there's missed something....Code: Select all
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: Fehler: »totalram_pages« nicht deklariert (erste Benutzung in dieser Funktion) arch/x86/kernel/microcode_core-xen.c:100: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt arch/x86/kernel/microcode_core-xen.c:100: Fehler: für jede Funktion in der er auftritt.) make[2]: *** [arch/x86/kernel/microcode_core.o] Fehler 1 make[1]: *** [arch/x86/kernel] Fehler 2 make: *** [arch/x86] Fehler 2
2bbionic
EDIT: Booting the kernel end to a kernel panic in smp-related stuff...
The microcode problem is easily fixed (Thanks to Bruce Edge), the following patch fixes the compile error and looks correct so it will be included in my next release or merged upstream.
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>
EDIT: microcode problem caused by me including the Xen part of a suse patch which is not required, next release will not have the patch so this problem will not happen.
I have tested 32 bit domU with two vcpu's and had no problems at all, I will try to test 32 bit dom0 but I don't actually have a 32 bit xen box here, only my laptop runs 32 bit linux and I've left it at home.
Andy



