Re: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together

From: Naoya Horiguchi
Date: Mon Feb 23 2015 - 10:41:22 EST


On 02/23/2015 10:58 PM, Borislav Petkov wrote:
On Mon, Feb 23, 2015 at 10:01:50PM +0900, Naoya Horiguchi wrote:
userspace. What end users see is like these timeout messages:
- "Timeout: Not all CPUs entered broadcast exception handler",
- "Timeout: Subject CPUs unable to finish machine check processing",
- "Timeout: Monarch CPU unable to finish machine check processing", or
- "Timeout: Monarch CPU did not finish machine check processing".
These are informative for developers like us, but confusing for end users.

Those messages won't go out if tolerant level is > 1 AFAICT and from
looking at mce_timed_out() and the machine wouldn't panic, for that
matter.

Sorry, I misread the code, and you're right. Please ignore this part.


So what is the actual problem you're seeing?

Cores timeoutting when a machine check happens during entering kdump or
you not wanting cores to panic due to a machine check while the machine
enters kdump?

What I saw was that once in hundreds of kdump and reboot cycle we hit
kdump failure and panic with "Timeout synchronizing machine check over
CPUs" message.

Panic is OK if the MCE is severe enough, but I don't think panic due to
this synchronization timeout is good because it is not related to MCE's
nature (like victim component or type of error) or severity, so even
recoverable MCEs could trigger this panic. This timeout is just an artifact
of current kdump code, so I think we can/should avoid it.

Anyway your suggestion of raising tolerant to 3 should solve this problem,
so I'll take this approach in the next post.

Thanks,
Naoya Horiguchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/