diff options
author | Andi Kleen <ak@suse.de> | 2006-01-11 16:44:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:04:55 -0500 |
commit | 4855170f9876c8b4a16f115f32cf6851bac1ffcc (patch) | |
tree | 163b0c5118421c290f52ec4ae638084b9224fa02 /arch/x86_64/kernel | |
parent | 2cbc9ee35c992f88fb2558a4f13920e3df4ef3bb (diff) |
[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')
-rw-r--r-- | arch/x86_64/kernel/mce.c | 4 |
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) | |||
92 | static void print_mce(struct mce *m) | 92 | static void print_mce(struct mce *m) |
93 | { | 93 | { |
94 | printk(KERN_EMERG "\n" | 94 | printk(KERN_EMERG "\n" |
95 | KERN_EMERG "HARDWARE ERROR\n" | ||
95 | KERN_EMERG | 96 | KERN_EMERG |
96 | "CPU %d: Machine Check Exception: %16Lx Bank %d: %016Lx\n", | 97 | "CPU %d: Machine Check Exception: %16Lx Bank %d: %016Lx\n", |
97 | m->cpu, m->mcgstatus, m->bank, m->status); | 98 | m->cpu, m->mcgstatus, m->bank, m->status); |
@@ -110,6 +111,9 @@ static void print_mce(struct mce *m) | |||
110 | if (m->misc) | 111 | if (m->misc) |
111 | printk("MISC %Lx ", m->misc); | 112 | printk("MISC %Lx ", m->misc); |
112 | printk("\n"); | 113 | printk("\n"); |
114 | printk(KERN_EMERG "This is not a software problem!\n"); | ||
115 | printk(KERN_EMERG | ||
116 | "Run through mcelog --ascii to decode and contact your hardware vendor\n"); | ||
113 | } | 117 | } |
114 | 118 | ||
115 | static void mce_panic(char *msg, struct mce *backup, unsigned long start) | 119 | static void mce_panic(char *msg, struct mce *backup, unsigned long start) |