summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/mce.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-11 22:44:48 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 04:04:55 +0100
commit4855170f9876c8b4a16f115f32cf6851bac1ffcc (patch)
tree163b0c5118421c290f52ec4ae638084b9224fa02 /arch/x86_64/kernel/mce.c
parent[PATCH] x86_64: Clean up copy_*_user (diff)
downloadlinux-4855170f9876c8b4a16f115f32cf6851bac1ffcc.tar.xz
linux-4855170f9876c8b4a16f115f32cf6851bac1ffcc.zip
[PATCH] x86_64: Make it clear in machine checks that it's an hardware problem
Hopefully the users will take the hint. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/mce.c')
-rw-r--r--arch/x86_64/kernel/mce.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/mce.c b/arch/x86_64/kernel/mce.c
index 281ad5f1f86a..b8f28ebdce26 100644
--- a/arch/x86_64/kernel/mce.c
+++ b/arch/x86_64/kernel/mce.c
@@ -92,6 +92,7 @@ void mce_log(struct mce *mce)
static void print_mce(struct mce *m)
{
printk(KERN_EMERG "\n"
+ KERN_EMERG "HARDWARE ERROR\n"
KERN_EMERG
"CPU %d: Machine Check Exception: %16Lx Bank %d: %016Lx\n",
m->cpu, m->mcgstatus, m->bank, m->status);
@@ -110,6 +111,9 @@ static void print_mce(struct mce *m)
if (m->misc)
printk("MISC %Lx ", m->misc);
printk("\n");
+ printk(KERN_EMERG "This is not a software problem!\n");
+ printk(KERN_EMERG
+ "Run through mcelog --ascii to decode and contact your hardware vendor\n");
}
static void mce_panic(char *msg, struct mce *backup, unsigned long start)