Skip to contentSkip to conversation

Hardware reports non-fatal error

2.6.1 MCE falseness? Pedro Larroy 3 participants 3 messages Jan 18, 2004

lore
Share & tools
lore
#0 lore raw

I also have been getting apparently false MCEs since 2.5.xx I even had kernel panics in early 2.5 with MCE enabled. Now in 2.6.0-xx and in 2.6.1 I just get them from time to time but none fatal. most of the time in CPU 0

request_module: failed /sbin/modprobe -- char-major-6-0. error = 256
MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0. Bank 0: e606200000000833
request_module: failed /sbin/modprobe --

the box is dual athlon mp with AMD 760MP chipset.

nebula:/home/piotr# ./parsemce b 1 -a 0 -e e606200000000833
Status: (e606200000000833) Error IP valid
Restart IP valid.
nebula:/home/piotr#
Signature · 4 lines
  Pedro Larroy Tovar  |  piotr%member.fsf.org 

Software patents are a threat to innovation in Europe please check: 
	http://www.eurolinux.org/     
#1 lore raw
Quoted 5 lines · Pedro Larroy

I also have been getting apparently false MCEs since 2.5.xx I even had kernel panics in early 2.5 with MCE enabled. Now in 2.6.0-xx and in 2.6.1 I just get them from time to time but none fatal. most of the time in CPU 0

I get them too, so I applied this patch.

- g.

arch/i386/kernel/cpu/mcheck/non-fatal.c renamed from arch/i386/kernel/cpu/mcheck/non-fatal.c.orig +15 -1
@@ -21,6 +21,7 @@
 
 static struct timer_list mce_timer;
 static int timerset;
+static int startbank;
 
 #define MCE_RATE	15*HZ	/* timer rate is 15s */
 
@@ -30,7 +31,7 @@
 	int i;
 
 	preempt_disable(); 
-	for (i=0; i<nr_mce_banks; i++) {
+	for (i=startbank; i<nr_mce_banks; i++) {
 		rdmsr (MSR_IA32_MC0_STATUS+i*4, low, high);
 
 		if (high & (1<<31)) {
@@ -68,6 +69,19 @@
 
 static int __init init_nonfatal_mce_checker(void)
 {
+	/*
+	   Certain Athlons would cause spurious MCE non-fatal
+	   exception check to be reported, if we poke at bank 0.
+	   Avoid this if the running machine is an Athlon.
+
+	   -- geoff.
+	*/
+	if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD && 
+	    boot_cpu_data.x86 == 6)
+		startbank = 1;
+	else
+		startbank = 0;
+
 	if (timerset == 0) {
 		/* Set the timer to check for non-fatal
 		   errors every MCE_RATE seconds */
#2 lore raw
Quoted 2 lines · On Sun, Jan 18, 2004 at 10:23:38PM +0800, [email protected] wrote:

I get them too, so I applied this patch.

gah, that still didn't get applied?

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk