[BUG] x86 kenel won't boot under Virtual PC

From: David Sanders
Date: Sun Aug 31 2008 - 14:22:26 EST


I recently discovered that x86 kernels won't boot under Virtual PC. In this
case paravirt was not built into the kernel. The kernel just "hangs" on
attempted boot with no error messages. Git-bisect pinpointed the following
commit as the problem:

commit 32c464f5d9701db45bc1673288594e664065388e
Author: Jan Beulich <jbeulich@xxxxxxxxxx>
Date: Wed Oct 17 18:04:41 2007 +0200

x86: multi-byte single instruction NOPs

Add support for and use the multi-byte NOPs recently documented to be
available on all PentiumPro and later processors.

This patch only applies cleanly on top of the "x86: misc.
constifications" patch sent earlier.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

arch/x86/kernel/alternative.c | 23 ++++++++++++++++++++++-
include/asm-x86/processor_32.h | 22 ++++++++++++++++++++++
include/asm-x86/processor_64.h | 22 ++++++++++++++++++++++
3 files changed, 66 insertions(+), 1 deletion(-)

:040000 040000 9226efb160ea180e8c419134b82e0a6938868c1a
12daabe81d9cda0d574815c0957a24c1028c8fb0 M arch
:040000 040000 7ab3918741abcb203bd25289d2c6e789bed64fc1
eb662fea6ed7904074c87dd004b9f6d23964c844 M include

Any suggestion on where to go from here would be appreciated.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/