Messages in this thread Patch in this message |  | | Subject | [PATCH] x86: print out buggy mptable | Date | Mon, 7 Apr 2008 11:36:39 -0700 | From | Yinghai Lu <> |
| |
print out buggy mptable, instead of skipping it quietly
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Index: linux-2.6/arch/x86/kernel/mpparse.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/mpparse.c +++ linux-2.6/arch/x86/kernel/mpparse.c @@ -391,6 +391,10 @@ static int __init smp_read_mpc(struct mp } default: { + /* wrong mptable */ + printk(KERN_ERR "type %x\n", *mpt); + printk(KERN_ERR "Your mptable is wrong, contact your HW vendor!\n"); + print_hex_dump(KERN_ERR, " ", DUMP_PREFIX_ADDRESS, 16, 1, mpc, mpc->mpc_length, 1); count = mpc->mpc_length; break; }
|  |