lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54EB4A17.6020800@gmail.com>
Date:	Tue, 24 Feb 2015 00:41:11 +0900
From:	Naoya Horiguchi <nao.horiguchi@...il.com>
To:	Borislav Petkov <bp@...en8.de>
CC:	Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
	Tony Luck <tony.luck@...el.com>,
	Vivek Goyal <vgoyal@...hat.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Junichi Nomura <j-nomura@...jp.nec.com>,
	Kiyoshi Ueda <k-ueda@...jp.nec.com>
Subject: Re: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off
 MCE in all CPUs together

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ