public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anithra P Janakiraman <anithra@linux.vnet.ibm.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Srikar Dronamraju <srikar@linux.vnet.ibm.com>,
	vatsa@linux.vnet.ibm.com, Dave Hansen <dave@linux.vnet.ibm.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Subject: Re: [PATCH 0/0] Panic on softdog timeout
Date: Thu, 20 Jan 2011 14:39:53 +0530	[thread overview]
Message-ID: <4D37FBE1.7010704@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110118155212.GB17710@hack>

On 01/18/2011 09:22 PM, Américo Wang wrote:
> On Tue, Jan 18, 2011 at 06:14:36PM +0530, Anithra P Janakiraman wrote:
>>
>> Hi.
>>
>> We currently have no way of determining the reason for failure when a
>> softdog timeout occurs. At the minimum a snapshot of the system would
>> help to determine the cause.
>> The attached patch invokes panic on softdog timeout iff kdump is
>> configured, if kdump is not configured it works as usual.
>>
>
> We don't do it in this way, check softlockup_panic, we have
> a boot parameter, i.e. "softlockup_panic=". :)


Some softdog specific scenarios cannot be handled by a softlockup 
detector. We use softdog to watch for critical application failures, 
where it is possible that the application has failed but there isn't a 
softlockup as such.
For e.g. when doing high availability tests on applications, softdog is 
setup so that the timer is reset by an application thread. In case of 
the application failing the timer expires and causes a reboot. In such 
scenarios some information on what caused the  failure would be useful 
and i don't see how softlockup can be used. The patch i had sent would 
be useful in these cases. If I am missing something please do let me know.
I will make the modifications as suggested by Dave Hansen and post the 
patch shortly.

Anithra.



  reply	other threads:[~2011-01-20  9:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 12:44 [PATCH 0/0] Panic on softdog timeout Anithra P Janakiraman
2011-01-18 15:52 ` Américo Wang
2011-01-20  9:09   ` Anithra P Janakiraman [this message]
2011-01-18 16:35 ` Dave Hansen
2011-01-25 15:10   ` Anithra P Janakiraman

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=4D37FBE1.7010704@linux.vnet.ibm.com \
    --to=anithra@linux.vnet.ibm.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ananth@in.ibm.com \
    --cc=dave@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srikar@linux.vnet.ibm.com \
    --cc=vatsa@linux.vnet.ibm.com \
    --cc=xiyou.wangcong@gmail.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