Re: 2.6.{26.2,27-rc} oops on virtualbox

From: H. Peter Anvin
Date: Thu Aug 21 2008 - 17:34:59 EST



Does this look like a kernel bug?


No, it looks like a very common virtualizer bug. Does the attached patch work for you?

-hpa

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 2763cb3..33193fe 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -157,8 +157,6 @@ static const struct nop {
} noptypes[] = {
{ X86_FEATURE_K8, k8_nops },
{ X86_FEATURE_K7, k7_nops },
- { X86_FEATURE_P4, p6_nops },
- { X86_FEATURE_P3, p6_nops },
{ -1, NULL }
};