linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: Jeffrin Thalakkottoor <jeffrin@rajagiritech.edu.in>
Cc: Borislav Petkov <bp@alien8.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	mingo@redhat.com, hpa@zytor.com, x86@kernel.org,
	linux-edac@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: PROBLEM: mce: [Hardware Error] from dmesg -l emerg
Date: Mon, 21 May 2018 09:58:03 -0700	[thread overview]
Message-ID: <20180521165803.GA15717@agluck-desk> (raw)
In-Reply-To: <CAG=yYw=bdgsTSW80R1Wt9uUTtXeMwX5macbjrPBNzVLihk-Ufw@mail.gmail.com>

On Mon, May 21, 2018 at 05:31:52PM +0530, Jeffrin Thalakkottoor wrote:
> > Ok, but please do not top-post.
> 
> Ok
> 
> > Looks like mcelog has trouble decoding this. Have you updated mcelog to
> > the latest version in your distro?
> .
> mcelog                               153+dfsg-1

So this is looking like another case where an error is
logged during BIOS bringup, and Linux finds the error
when it scans all machine check banks during boot.

The earlier logs you sent showed a value of ee0000000040110b
in the machine check bank status register. Not sure why
mcelog had trouble with this(*).

Upper bits say: VALID OVER UC MISCV ADDRV

Low 16 (MCACOD) bits say: FILTER CACHE ERR GENERIC LEVEL=3

So BIOS did something to trigger some issues in the L3
cache (more than once since the overflow and filter bits
are both set).

I think (but am not 100% sure because I don't have an
internal decoder that knows about this specific CPU model)
that the error was a write-back to MMIO (this matches other
cases where we've seen BIOS trigger some error and left the
logs for Linux to find at boot).  It's not quite the same
because the address logged for you is 160000080, where the
previous cases has addresses below 4GB. But some platforms
include MMIO above 4GB, so this is still plausible.

Advice we have given before is to attempt to log a bug
against the BIOS with the vendor of your system. But the
last person to try this reported no success.

Or, you could ignore it. It appears to not have any
side effects.

-Tony

(*) Can you send a snip from the raw dmesg output that starts
a couple of lines before:


	... [Hardware Error]: CPU 0: Machine Check: 0 Bank: 5 ...

and continues a couple of lines past

	... [Hardware Error]: PROCESSOR 0:306d4 ...

and I'll take a look at why mcelog choked.

  reply	other threads:[~2018-05-21 16:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14 15:49 PROBLEM: mce: [Hardware Error] from dmesg -l emerg Jeffrin Thalakkottoor
2018-05-14 16:27 ` Borislav Petkov
2018-05-14 16:50   ` Luck, Tony
2018-05-20 11:00     ` Jeffrin Thalakkottoor
2018-05-20 11:57   ` Jeffrin Thalakkottoor
2018-05-20 20:40     ` Borislav Petkov
2018-05-21 12:01       ` Jeffrin Thalakkottoor
2018-05-21 16:58         ` Luck, Tony [this message]
2018-05-21 20:11           ` Jeffrin Thalakkottoor
2018-05-21 20:57             ` Luck, Tony
2018-05-21 21:13               ` Jeffrin Thalakkottoor
2018-05-22  0:06                 ` Luck, Tony
2018-05-22  8:34                   ` Borislav Petkov
2018-05-22 13:16                   ` Jeffrin Thalakkottoor
2018-05-21 20:19           ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180521165803.GA15717@agluck-desk \
    --to=tony.luck@intel.com \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=jeffrin@rajagiritech.edu.in \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).