* [patch] typo in i386 machine check code
@ 2002-01-29 18:25 Pete Wyckoff
2002-01-29 18:37 ` Dave Jones
0 siblings, 1 reply; 4+ messages in thread
From: Pete Wyckoff @ 2002-01-29 18:25 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Our old PIII Xeons are dying, as shown by more frequent panics
due to bad hardware:
kernel: CPU 3: Machine Check Exception: 0000000000000007
kernel: Bank 0: b678600022000800 at 3678600022000800
The part after the "at" is supposed to be the memory address which
was being accessed when the fault was detected. Instead the code
prints out the status field again (with the high bit removed for
no apparent reason).
Patch is against 2.5.2.
-- Pete
--- linux/arch/i386/kernel/bluesmoke.c.orig Tue Jan 29 12:04:46 2002
+++ linux/arch/i386/kernel/bluesmoke.c Tue Jan 29 12:04:48 2002
@@ -40,21 +40,21 @@ static void intel_machine_check(struct p
high&=~(1<<31);
if(high&(1<<27))
{
rdmsr(MSR_IA32_MC0_MISC+i*4, alow, ahigh);
printk("[%08x%08x]", alow, ahigh);
}
if(high&(1<<26))
{
rdmsr(MSR_IA32_MC0_ADDR+i*4, alow, ahigh);
printk(" at %08x%08x",
- high, low);
+ ahigh, alow);
}
printk("\n");
/* Clear it */
wrmsr(MSR_IA32_MC0_STATUS+i*4, 0UL, 0UL);
/* Serialize */
wmb();
}
}
if(recover&2)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] typo in i386 machine check code
2002-01-29 18:25 [patch] typo in i386 machine check code Pete Wyckoff
@ 2002-01-29 18:37 ` Dave Jones
2002-01-29 19:18 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2002-01-29 18:37 UTC (permalink / raw)
To: Pete Wyckoff; +Cc: Linus Torvalds, Linux Kernel Mailing List, Alan Cox
On Tue, 29 Jan 2002, Pete Wyckoff wrote:
> kernel: CPU 3: Machine Check Exception: 0000000000000007
> kernel: Bank 0: b678600022000800 at 3678600022000800
>
> The part after the "at" is supposed to be the memory address which
> was being accessed when the fault was detected. Instead the code
> prints out the status field again (with the high bit removed for
> no apparent reason).
> Patch is against 2.5.2.
Patch is correct. I pushed the same fix to Marcelo & Linus
about a month back. Alan, 2.2 also needs this. (Can't remember if
I told you, or you told me 8-)
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] typo in i386 machine check code
2002-01-29 18:37 ` Dave Jones
@ 2002-01-29 19:18 ` Alan Cox
2002-01-29 19:23 ` Dave Jones
0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2002-01-29 19:18 UTC (permalink / raw)
To: Dave Jones
Cc: Pete Wyckoff, Linus Torvalds, Linux Kernel Mailing List, Alan Cox
> Patch is correct. I pushed the same fix to Marcelo & Linus
> about a month back. Alan, 2.2 also needs this. (Can't remember if
> I told you, or you told me 8-)
You know where to send the diff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] typo in i386 machine check code
2002-01-29 19:18 ` Alan Cox
@ 2002-01-29 19:23 ` Dave Jones
0 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2002-01-29 19:23 UTC (permalink / raw)
To: Alan Cox; +Cc: Pete Wyckoff, Linus Torvalds, Linux Kernel Mailing List
On Tue, 29 Jan 2002, Alan Cox wrote:
> > Patch is correct. I pushed the same fix to Marcelo & Linus
> > about a month back. Alan, 2.2 also needs this. (Can't remember if
> > I told you, or you told me 8-)
> You know where to send the diff
It was previous message in this thread 8-)
Bounced it your way again just in case..
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-29 19:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-29 18:25 [patch] typo in i386 machine check code Pete Wyckoff
2002-01-29 18:37 ` Dave Jones
2002-01-29 19:18 ` Alan Cox
2002-01-29 19:23 ` Dave Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.