lkml.org 
[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] x86: print out buggy mptable
Date
From
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;
}

\
 
 \ /
  Last update: 2008-04-07 20:35    [W:0.305 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site