lkml.org 
[lkml]   [2014]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] x86/mce: Try printing all machine check banks known before panic
On Fri, Nov 21, 2014 at 09:31:56PM +0000, Luck, Tony wrote:
> >
> > /*
> > * No machine check event found. Must be some external
> > * source or one CPU is hung. Panic.
> > */
> > if (global_worst <= MCE_KEEP_SEVERITY && mca_cfg.tolerant < 3)
> > mce_panic("Machine check from unknown source", NULL, NULL);
> >
> > Provided this comment is correct, it doesn't sound like any MCE record
> > will ever tell us what causes the error as an external source or a hung
> > CPU doesn't generate an MCE record in any bank, does it?
>
> That means there were no VALID=1, EN=1, S=1 errors anywhere. But there
> might be some other things logged that would help us understand.

By "other things" you mean other MCEs?

> We are into cpu errata territory here though ... we aren't supposed to get
> machine checks that don't have a logged cause. We panic for spurious
> machine checks because we know something has gone horribly wrong,
> even if we don't know what that something was.

Oh, cpu errata. So this would mean that we can't even rely on the
contents of the MCA banks, can we?

In any case, is any of the information in the MCA banks in such cases
even usable then? Because if not, we're definitely barking up the wrong
tree...

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--


\
 
 \ /
  Last update: 2014-11-21 23:01    [W:0.823 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site