From: Keith Owens <kaos@ocs.com.au>
To: "Pinyowattayakorn, Naris" <np151003@exchange.SanDiegoCA.NCR.COM>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Driver callback routine when panic() is called
Date: Sat, 17 Nov 2001 22:38:00 +1100 [thread overview]
Message-ID: <17427.1005997080@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Fri, 16 Nov 2001 20:30:23 CDT." <61A60D883863D411A36600D0B785B50C06D5FEA4@susdayte51.daytonoh.ncr.com>
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, ...)
See the kdb patch[1] for example code. Remember that all but one cpus
are dead by the time you are called, I hope all your IRQs go to the
single live cpu.
[1] ftp://oss.sgi.com/projects/kdb/download/ix86
next prev parent reply other threads:[~2001-11-17 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-17 1:30 Pinyowattayakorn, Naris
2001-11-17 11:38 ` Keith Owens [this message]
2001-11-17 14:49 ` Georg Nikodym
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=17427.1005997080@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--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
all inboxes | Powered by JetHome®