public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Georg Nikodym <georgn@somanetworks.com>
To: "Pinyowattayakorn, Naris" <np151003@exchange.SanDiegoCA.NCR.COM>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: Driver callback routine when panic() is called
Date: 17 Nov 2001 09:49:16 -0500	[thread overview]
Message-ID: <1006008556.1923.20.camel@keller> (raw)
In-Reply-To: <17427.1005997080@ocs3.intra.ocs.com.au>
In-Reply-To: <17427.1005997080@ocs3.intra.ocs.com.au>

On Sat, 2001-11-17 at 06:38, Keith Owens wrote:
> On Fri, 16 Nov 2001 20:30:23 -0500, 
> "Pinyowattayakorn, Naris" <np151003@exchange.SanDiegoCA.NCR.COM> wrote:
> >Is there any call that can be used for a driver to register system crash
> >callback routines. Thus, If panic( ) is called, such a callback can save
> >device-state information to be written into the system crash dump file. 
> 
> notifier_chain_register(&panic_notifier_list, ...)

Pat O'Rourke also posted a patch[1] that exposes this nicely
(panic_notifier_list is currently static in panic.c).

I've been using this on architectures for which I don't yet have kdb.

[1] http://www.uwsg.iu.edu/hypermail/linux/kernel/0106.1/0978.html


  reply	other threads:[~2001-11-17 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-17  1:30 Driver callback routine when panic() is called Pinyowattayakorn, Naris
2001-11-17 11:38 ` Keith Owens
2001-11-17 14:49   ` Georg Nikodym [this message]
2001-11-18 18:36     ` Georg Nikodym

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=1006008556.1923.20.camel@keller \
    --to=georgn@somanetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=np151003@exchange.SanDiegoCA.NCR.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