From: Borislav Petkov <bp@alien8.de>
To: rui wang <ruiv.wang@gmail.com>
Cc: linux-kernel@vger.kernel.org, tony.luck@intel.com,
aris@redhat.com, rui.y.wang@intel.com
Subject: Re: Bug: Fatal errors result in infinite stream of error messages
Date: Wed, 3 Dec 2014 21:52:37 +0100 [thread overview]
Message-ID: <20141203205237.GE31246@pd.tnic> (raw)
In-Reply-To: <CANVTcTaChssJEU48iS6a1WwFf59Tqz2T9VrnsSM9ZLwnRC+SWw@mail.gmail.com>
On Wed, Dec 03, 2014 at 05:11:49PM +0800, rui wang wrote:
> The problem is because kdump fails to load a new kernel, and we're
> executing past crash_kexec() in panic(). And it calls
> bust_spinlocks(0) which calls into the GPU driver trying to unblank
> the screen, which eventually calls __schedule() while waiting for a
> mutex to be released. But we're still in the machine check context.
> The infinite stream of errors is because there's a for(;;) loop in
> __mutex_lock_common(), so we enter __schedule() again and again.
Hmm, there's a bust_spinlocks(1) call in mce_panic() for which I have no
idea what it is for? To stop us from scheduling?
If so, why doesn't it stop us...?
There's also this:
void console_unblank(void)
{
struct console *c;
/*
* console_unblank can no longer be called in interrupt context unless
====> * oops_in_progress is set to 1..
*/
if (oops_in_progress) {
if (down_trylock_console_sem() != 0)
return;
} else
console_lock();
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
next prev parent reply other threads:[~2014-12-03 20:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 9:11 Bug: Fatal errors result in infinite stream of error messages rui wang
2014-12-03 20:52 ` Borislav Petkov [this message]
2014-12-04 12:51 ` rui wang
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=20141203205237.GE31246@pd.tnic \
--to=bp@alien8.de \
--cc=aris@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rui.y.wang@intel.com \
--cc=ruiv.wang@gmail.com \
--cc=tony.luck@intel.com \
/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