public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Cherwin R. Nooitmeer" <cherwin@gmail.com>,
	Kristian H?gsberg <krh@bitplanet.net>,
	Mikael Pettersson <mikpe@it.uu.se>, Pavel Machek <pavel@ucw.cz>,
	sparclinux@vger.kernel.org,
	linux1394-devel@lists.sourceforge.net,
	linux-usb-devel@lists.sourceforge.net, Alan Cox <alan@redhat.com>,
	linux-pm@lists.linux-foundation.org,
	Christoph Lameter <clameter@sgi.com>,
	Robert de Rooy <robert.de.rooy@gmail.com>,
	Tejun Heo <htejun@gmail.com>,
	Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
	linux-pcmcia@lists.infradead.org,
	Marcus Better <marcus@better.se>, Ingo Molnar <mingo@elte.hu>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	LKML <linux-kernel@vger.kernel.org>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>,
	Chris Newport <crn@netunix.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [2/3] 2.6.22-rc2: known regressions v2
Date: Fri, 25 May 2007 10:19:52 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.0.98.0705251012200.26602@woody.linux-foundation.org> (raw)
In-Reply-To: <20070525180304.2cc4dae0@the-village.bc.nu>



On Fri, 25 May 2007, Alan Cox wrote:
> 
> There is an additional factor - dumps contain data which variously is -
> copyright third parties, protected by privacy laws, just personally
> private, security sensitive (eg browser history) and so on.

Yes. 

I'm sure we've had one or two crashdumps over the years that have actually 
clarified a bug.

But I seriously doubt it is more than a handful. 

> Diskdump (and even more so netdump) are useful in the hands of a
> developer crashing their own box just like kgdb, but not in the the
> normal and rational end user response of  "its broken, hit reset"

Amen, brother.

Even for developers, I suspect a _lot_ of people end up doing "ok, let's 
bisect this" or some other method to narrow it down to a specific case, 
and then staring at the source code once they get to that point.

At least I hope so. Even in user space, you should generally use gdb to 
get a traceback and perhaps variable information, and then go look at the 
source code.

Yes, dumps can (in theory) be useful for one-off issues, but I doubt many 
people have ever been able to get anything much more out of them than from 
a kernel "oops" message. 

For developers, I can heartily recommend the firewire-based remote debug 
facilities that the PowerPC people use. I've used it once or twice, and it 
is fairly simple and much better than a full dump (adn it works even when 
the CPU is totally locked up, which is the best reason for using it).

But 99% of the time, the problem doesn't happen on a developer machine, 
and even if it does, 90% of the time you really just want the traceback 
and register info that you get out of an oops.

			Linus

  reply	other threads:[~2007-05-25 17:19 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46558708.2040803@googlemail.com>
2007-05-24 14:04 ` [2/3] 2.6.22-rc2: known regressions v2 Michal Piotrowski
     [not found] ` <46559B54.80106@googlemail.com>
2007-05-24 14:18   ` Alan Stern
     [not found]   ` <Pine.LNX.4.44L0.0705241013590.5935-100000@netrider.rowland.org>
2007-05-24 14:22     ` Michal Piotrowski
2007-05-24 17:01   ` Christoph Lameter
     [not found]   ` <Pine.LNX.4.64.0705241001040.28086@schroedinger.engr.sgi.com>
2007-05-24 17:12     ` Linus Torvalds
2007-05-24 17:18       ` Christoph Lameter
2007-05-24 18:49       ` Andrew Morton
2007-05-24 19:21         ` Linus Torvalds
     [not found]         ` <alpine.LFD.0.98.0705241220070.26602@woody.linux-foundation.org>
2007-05-24 21:02           ` Jeff Garzik
2007-05-24 19:37       ` Ingo Molnar
     [not found]       ` <20070524193740.GA6787@elte.hu>
2007-05-24 19:50         ` Linus Torvalds
2007-05-24 20:02           ` David Woodhouse
2007-05-25 10:11           ` Ingo Molnar
     [not found]           ` <20070525101105.GA9268@elte.hu>
2007-05-25 10:18             ` Stefan Richter
2007-05-25 16:21               ` Linus Torvalds
2007-05-25 11:53             ` Chris Newport
2007-05-25 12:34               ` Ingo Molnar
2007-05-25 12:40               ` Stefan Richter
     [not found]               ` <20070525123456.GA17238@elte.hu>
2007-05-25 16:33                 ` Andrew Morton
2007-05-25 16:45                   ` Christoph Lameter
2007-05-28  3:46                   ` Vivek Goyal
2007-05-25 16:45               ` Linus Torvalds
2007-05-25 17:03                 ` Alan Cox
2007-05-25 17:19                   ` Linus Torvalds [this message]
2007-05-25 17:37                     ` Andrew Morton
     [not found]                     ` <20070525103714.092ad631.akpm@linux-foundation.org>
2007-05-25 17:48                       ` Alan Cox
2007-05-25 17:50                       ` Linus Torvalds
2007-05-28  4:27                         ` Vivek Goyal
2007-05-25 17:07                 ` Chuck Ebbert
2007-05-25 17:21                   ` Linus Torvalds
2007-05-25 18:03                 ` Chris Newport
     [not found]                 ` <46572507.6010800@netunix.com>
2007-05-25 20:36                   ` David Miller
2007-05-26 13:16                   ` Matt Sealey

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=alpine.LFD.0.98.0705251012200.26602@woody.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alan@redhat.com \
    --cc=cherwin@gmail.com \
    --cc=clameter@sgi.com \
    --cc=crn@netunix.com \
    --cc=gregkh@suse.de \
    --cc=htejun@gmail.com \
    --cc=krh@bitplanet.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pcmcia@lists.infradead.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=marcus@better.se \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=mikpe@it.uu.se \
    --cc=mingo@elte.hu \
    --cc=pavel@ucw.cz \
    --cc=robert.de.rooy@gmail.com \
    --cc=sparclinux@vger.kernel.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /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