linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] reproducible athlon mce fix
@ 2003-11-02  5:57 Geoffrey Lee
  2003-11-02  7:25 ` Willy Tarreau
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Geoffrey Lee @ 2003-11-02  5:57 UTC (permalink / raw)
  To: linux-kernel, davej

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Hi all,


After switching from 2.4.22 to 2.6.0-test9, I have received reproducible
MCE non-fatal error check messages in my kernel log.  (For example, one
shows up right after my first scsi card init).

>From Dave Jones' patch here:

http://lists.insecure.org/lists/linux-kernel/2003/Sep/7362.html

and another message here:

http://lkml.org/lkml/2003/10/7/214

would seem to imply that Athlons don't like having their Bank 0 poked at,
though that's what non-fatal.c does.  Would it be correct to make sure
that that non-fatal.c starts at bank 1, if it is an Athlon?

Dave, is the following patch correct?  Booted and tested, no ill effects
so far ...


	- g.

[-- Attachment #2: mce-fix.patch --]
[-- Type: text/plain, Size: 428 bytes --]

--- linux-2.6.0-test9/arch/i386/kernel/cpu/mcheck/non-fatal.c.orig	2003-11-02 13:31:43.000000000 +0800
+++ linux-2.6.0-test9/arch/i386/kernel/cpu/mcheck/non-fatal.c	2003-11-02 13:34:37.000000000 +0800
@@ -30,7 +30,11 @@
 	int i;
 
 	preempt_disable(); 
+#if CONFIG_MK7
+	for (i=1; i<nr_mce_banks; i++) {
+#else
 	for (i=0; i<nr_mce_banks; i++) {
+#endif
 		rdmsr (MSR_IA32_MC0_STATUS+i*4, low, high);
 
 		if (high & (1<<31)) {

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-11-11  0:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-02  5:57 [patch] reproducible athlon mce fix Geoffrey Lee
2003-11-02  7:25 ` Willy Tarreau
2003-11-02  7:28   ` Geoffrey Lee
2003-11-02  8:59   ` Zwane Mwaikambo
2003-11-10 23:55   ` bill davidsen
2003-11-02 12:52 ` Dave Jones
2003-11-02 13:52   ` Geoffrey Lee
2003-11-03  9:20   ` Geoffrey Lee
2003-11-03 13:24     ` Dave Jones
2003-11-02 18:25 ` Kronos
2003-11-02 23:44   ` Geoffrey Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).