lkml.org 
[lkml]   [2003]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fix Athlon MCA
Hi,
on boot I'm seeing a lot of messages like this:

MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0.
Bank 0: d47fa0000000bfee

This messages go away if I revert cset 1.1119.9.1. AFAIK you were trying
to decrease the logging level. After reading IA32 Architecture Software
Developers Manual, vol3 - chapter 14.5 "Machine-Check Initialization" I
think that the right way to do it is this:

--- linux-2.6/arch/i386/kernel/cpu/mcheck/k7.c~ Sat Aug 9 06:37:27 2003
+++ linux-2.6/arch/i386/kernel/cpu/mcheck/k7.c Sun Sep 21 00:36:39 2003
@@ -81,8 +81,9 @@
wrmsr (MSR_IA32_MCG_CTL, 0xffffffff, 0xffffffff);
nr_mce_banks = l & 0xff;

- for (i=1; i<nr_mce_banks; i++) {
- wrmsr (MSR_IA32_MC0_CTL+4*i, 0xffffffff, 0xffffffff);
+ for (i=0; i<nr_mce_banks; i++) {
+ if (i)
+ wrmsr (MSR_IA32_MC0_CTL+4*i, 0xffffffff, 0xffffffff);
wrmsr (MSR_IA32_MC0_STATUS+4*i, 0x0, 0x0);
}

We really want to clean all MC*_STATUS. I'm currently running linux 2.6.0-t5
+ this patch and I don't see the MCE messages on boot anymore.

Luca
--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"L'abilita` politica e` l'abilita` di prevedere quello che
accadra` domani, la prossima settimana, il prossimo mese e
l'anno prossimo. E di essere cosi` abili, piu` tardi,
da spiegare perche' non e` accaduto."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.096 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site