From: Toshi Kani <toshi.kani@hp.com>
To: "Mingarelli, Thomas" <Thomas.Mingarelli@hp.com>
Cc: Lars Marowsky-Bree <lmb@suse.com>,
"wim@iguana.be" <wim@iguana.be>,
"linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: RE: [PATCH] hpwdt: Fix kdump issue in hpwdt
Date: Mon, 27 Aug 2012 14:44:57 -0600 [thread overview]
Message-ID: <1346100297.4732.115.camel@misato.fc.hp.com> (raw)
In-Reply-To: <9774516974AF5F4C8A2C3C69CD3412332335313E@G1W3651.americas.hpqcorp.net>
On Mon, 2012-08-27 at 19:57 +0000, Mingarelli, Thomas wrote:
> The main issue here is when an NMI comes in (which is hpwdt's main
> focus...to source NMIs and then panic the box) and the system is
> configured for kdump. We want the kdump to succeed and if the iLO
> watchdog timer is left alone to keep running, the kdump will not
> succeed. It will be interrupted by an ASR. This change ensures that
> the iLO Watchdog timer is always stopped in the booting case (of any
> kernel) or when an NMI arrives and we are in the process of taking a
> kdump.
And this change does not prevent running the watchdog daemon on the
crash kernel, if we want to detect a hang condition on the crash kernel.
The timer is re-enabled when /dev/watchdog is opened. The change only
assures the timer is enabled when the daemon starts up. The timer
running on the crash kernel without starting the daemon is a problem as
it leads kdump to be interrupted.
Thanks,
-Toshi
>
> Tom
>
> -----Original Message-----
> From: Lars Marowsky-Bree [mailto:lmb@suse.com]
> Sent: Monday, August 27, 2012 2:22 PM
> To: Kani, Toshimitsu; wim@iguana.be; linux-watchdog@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org; Mingarelli, Thomas; stable@vger.kernel.org
> Subject: Re: [PATCH] hpwdt: Fix kdump issue in hpwdt
>
> On 2012-08-27T12:52:24, Toshi Kani <toshi.kani@hp.com> wrote:
>
> > kdump can be interrupted by watchdog timer when the timer is left
> > activated on the crash kernel. Changed the hpwdt driver to disable
> > watchdog timer at boot-time. This assures that watchdog timer is
> > disabled until /dev/watchdog is opened, and prevents watchdog timer
> > to be left running on the crash kernel.
>
> How does this protect against the system hanging again in the crash
> kernel, or possibly hardware caches to flush more data to shared
> storage?
>
> (I'm asking from the perspective of the hpwdt being used as a fencing
> mechanism in a cluster setting.)
>
> Or is the argument that it's "very unlikely" that a system in such a
> state would not make it far enough into the crash kernel?
>
>
> Regards,
> Lars
>
next prev parent reply other threads:[~2012-08-27 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 18:52 Toshi Kani
2012-08-27 18:59 ` Mingarelli, Thomas
2012-08-27 19:22 ` Lars Marowsky-Bree
2012-08-27 19:57 ` Mingarelli, Thomas
2012-08-27 20:44 ` Toshi Kani [this message]
2012-09-10 18:48 ` Wim Van Sebroeck
2012-09-10 18:48 ` Toshi Kani
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=1346100297.4732.115.camel@misato.fc.hp.com \
--to=toshi.kani@hp.com \
--cc=Thomas.Mingarelli@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=lmb@suse.com \
--cc=stable@vger.kernel.org \
--cc=wim@iguana.be \
/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
Powered by JetHome