mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Suparna Bhattacharya <suparna@in.ibm.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Richard J Moore <richardj_moore@uk.ibm.com>,
	Oliver Xymoron <oxymoron@waste.org>,
	Dave Anderson <anderson@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	lkcd-general@lists.sourceforge.net,
	lkcd-general-admin@lists.sourceforge.net,
	Rusty Russell <rusty@rustcorp.com.au>,
	"Matt D. Robinson" <yakker@aparity.com>
Subject: Re: [lkcd-general] Re: What's left over.
Date: Tue, 5 Nov 2002 14:35:53 +0530	[thread overview]
Message-ID: <20021105143553.A11120@in.ibm.com> (raw)
In-Reply-To: <1036429035.1718.99.camel@irongate.swansea.linux.org.uk>; from alan@lxorguk.ukuu.org.uk on Mon, Nov 04, 2002 at 04:40:11PM +0000

On Mon, Nov 04, 2002 at 04:40:11PM +0000, Alan Cox wrote:
> Let me ask another question here
> 
> Other than "register_reboot_notifier()" and adding a 
> "register_exception_notifier()" chain what else does a dump tool need.
> Register_exception_notifier seems to solve about 90% of the insmod gdb 
> problem space as well ?
> 
> 

I had tried to list these in an earlier mail, added a few more
comments now marked by ">>"

1.Enabling IPI to collect CPU state on all processors in the
  system right when dump is triggered (may not be a normal
  situation, so NMIs where supported are the best option)

  >> set/register_nmi_callback could also help in part (though 
  >> synchronization issues need to be thought through so that
  >> the effect on regular system operation is as low as possible), 
  >> but we also need an interface to generate the NMI ipi when
  >> required, and something that generalises on all architectures.

2.Ability to quiesce (silence) the system before dumping 
  (and if in non-disruptive mode, then restore it back)
 >> smp_call_function may not the ideal option for many situations
 >> - in general we would like to have a separate "force" path
 >> available for some troublesome situations, and it would be 
 >> nice to be able to tackle non-disruptive (but accurate) dumping
 >> as well.

 >> maybe 1 & 2 can be combined in some form
 >> Dump should preferably not overlap with a regularly used IPI.
 
3. Calls into dump from kernel paths (panic, oops, sysrq
   etc). 

   >> This is where your register_xxx_notifier(s) fit in

4. Exports of symbols to help with physical memory 
   traversal and verification

   >> Covers what Andi Kleen referred to as 
   >> iterate_over_memmap_and_give_me_type()
   >> (a way to figure out the type of memory - true ram or other)

Regards
Suparna


-- 
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Labs, India


  reply	other threads:[~2002-11-05  8:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04 11:59 Richard J Moore
2002-11-04 12:27 ` Lars Marowsky-Bree
2002-11-04 12:30 ` [lkcd-devel] " P.A.M. van Dam 
2002-11-04 16:16 ` John Alvord
2002-11-04 16:22 ` Linus Torvalds
2002-11-04 16:57   ` Alan Cox
2002-11-05  9:05     ` Suparna Bhattacharya [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-05 20:37 Dr. Greg Wettstein
     [not found] <Pine.LNX.4.44.0211040727330.771-100000@home.transmeta.com.suse.lists.linux.kernel>
     [not found] ` <1036429035.1718.99.camel@irongate.swansea.linux.org.uk.suse.lists.linux.kernel>
2002-11-04 16:53   ` Andi Kleen
2002-11-04 12:34 Richard J Moore
     [not found] <551170412@toto.iv>
2002-11-04  3:03 ` Peter Chubb
2002-11-04 13:08   ` Alan Cox
2002-11-03 17:08 linux
2002-11-03 19:14 ` jw schultz
2002-11-03 13:48 Bill Davidsen
2002-11-04  2:44 ` [lkcd-general] " Jennie Haywood
2002-11-04 14:45   ` Henning P. Schmiedehausen
2002-11-04 15:29     ` Alan Cox
2002-11-04 15:27       ` Henning P. Schmiedehausen
2002-11-04 15:38         ` Patrick Finnegan
2002-11-04 16:51           ` Henning P. Schmiedehausen
2002-11-05  4:57     ` Werner Almesberger
2002-11-02 15:29 Alan Cox
2002-11-03  1:24 ` [lkcd-general] " Matt D. Robinson
2002-11-03  1:49   ` Alan Cox
2002-11-03 14:33     ` Bill Davidsen
2002-11-03 15:34       ` Bernd Eckenfels
2002-11-03 16:32       ` Alan Cox
2002-11-05 18:07         ` Bill Davidsen
2002-11-03  3:10   ` Christoph Hellwig
2002-10-31 22:47 Perez-Gonzalez, Inaky
2002-11-01 13:06 ` [lkcd-general] " Jan Iven
2002-10-31 22:20 Shawn
2002-10-31 23:14 ` [lkcd-general] " Bernhard Kaindl
2002-10-31 21:58 Richard J Moore
2002-10-31 15:46 Linus Torvalds
2002-10-31 17:55 ` [lkcd-general] " Dave Craft
2002-10-31 18:45   ` Patrick Mochel
2002-10-31 19:16     ` Stephen Hemminger
2002-10-31 19:57       ` george anzinger
2002-10-31 20:48         ` Stephen Hemminger

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=20021105143553.A11120@in.ibm.com \
    --to=suparna@in.ibm.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=anderson@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkcd-general-admin@lists.sourceforge.net \
    --cc=lkcd-general@lists.sourceforge.net \
    --cc=oxymoron@waste.org \
    --cc=richardj_moore@uk.ibm.com \
    --cc=rusty@rustcorp.com.au \
    --cc=torvalds@transmeta.com \
    --cc=yakker@aparity.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

Powered by JetHome