From: Vivek Goyal <vgoyal@in.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Chris Newport <crn@netunix.com>, Ingo Molnar <mingo@elte.hu>,
Christoph Lameter <clameter@sgi.com>,
Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
"Cherwin R. Nooitmeer" <cherwin@gmail.com>,
linux-pcmcia@lists.infradead.org,
Robert de Rooy <robert.de.rooy@gmail.com>,
Alan Cox <alan@redhat.com>, Tejun Heo <htejun@gmail.com>,
sparclinux@vger.kernel.org, David Miller <davem@davemloft.net>,
Mikael Pettersson <mikpe@it.uu.se>,
linux1394-devel@lists.sourceforge.net,
Stefan Richter <stefanr@s5r6.in-berlin.de>,
Kristian H?gsberg <krh@bitplanet.net>,
linux-pm@lists.linux-foundation.org,
"Rafael J. Wysocki" <rjw@sisk.pl>, Pavel Machek <pavel@ucw.cz>,
Marcus Better <marcus@better.se>,
Andrey Borzenkov <arvidjaar@mail.ru>,
linux-usb-devel@lists.sourceforge.net,
Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [2/3] 2.6.22-rc2: known regressions v2
Date: Mon, 28 May 2007 04:39:48 +0000 [thread overview]
Message-ID: <20070528042747.GB6367@in.ibm.com> (raw)
In-Reply-To: <alpine.LFD.0.98.0705251039300.26602@woody.linux-foundation.org>
On Fri, May 25, 2007 at 10:50:38AM -0700, Linus Torvalds wrote:
>
>
> On Fri, 25 May 2007, Andrew Morton 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.
> >
> > We're uninterested in pagecache and user memory and they should be omitted
> > from the image (making it enormously smaller too).
>
> The people who would use crash-dumps (big sensitive firms) don't trust
> you.
>
> And they'd be right not to trust you. You end up having a _lot_ of
> sensitive data even if you avoid user memory and page cache. The network
> buffers, the dentries, and just stale data that hasn't been overwritten.
>
> So if you end up having secure data on that machine, you should *never*
> send a dump to somebody you don't trust. For the financial companies
> (which are practically the only ones that would use dumps) there can even
> be legal reasons why they cannot do that!
>
> > That leaves security keys and perhaps filenames, and these could probably
> > be addressed.
>
> It leaves almost every single kernel allocation, and no, it cannot be
> addressed.
>
> How are you going to clear out the network packets that you have in
> memory? They're just kmalloc'ed.
>
> > > 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.
> >
> > We've had a few more than that, but all the ones I recall actually came
> > from the kdump developers who were hitting other bugs and who just happened
> > to know how to drive the thing.
>
> Right, I don't dispute that some _developers_ might use dumping. I dispute
> that any user would practically ever use it.
>
> And even for developers, I suspect it's _so_ far down the list of things
> you do, that it's practically zero.
>
> > > 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.
> >
> > Often we don't even get that: "I was in X and it didn't hit the logs".
>
> Yes.
>
Isn't it reason enough for customers to use it? How will a customer
capture even an OOPS meesage? Lets say some web server crashed and OOPs
message did not make it to logs. I am not expecting a customer to setup
a console for each and every machine in the network. In this scenario
customer will have no choice but to reset the machine without any
information about why did machine crash.
If one can keep kdump configured, upon a crash there are high chances
that customer will have some debug information to look at. I agree that
security of data can be a concern. In that case probably one can extract
a small dump report, like OOPs message, messages in the kernel buffers
just before crash etc. and report it to service folks.
Without kdump, customer will most likely have no debug data except a
complain that system crashed and rebooted or it had to be reset by manual
intervention.
Thanks
Vivek
WARNING: multiple messages have this Message-ID (diff)
From: Vivek Goyal <vgoyal@in.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Chris Newport <crn@netunix.com>, Ingo Molnar <mingo@elte.hu>,
Christoph Lameter <clameter@sgi.com>,
Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
"Cherwin R. Nooitmeer" <cherwin@gmail.com>,
linux-pcmcia@lists.infradead.org,
Robert de Rooy <robert.de.rooy@gmail.com>,
Alan Cox <alan@redhat.com>, Tejun Heo <htejun@gmail.com>,
sparclinux@vger.kernel.org, David Miller <davem@davemloft.net>,
Mikael Pettersson <mikpe@it.uu.se>,
linux1394-devel@lists.sourceforge.net,
Stefan Richter <stefanr@s5r6.in-berlin.de>,
Kristian H?gsberg <krh@bitplanet.net>,
linux-pm@lists.linux-foundation.org,
"Rafael J. Wysocki" <rjw@sisk.pl>, Pavel Machek <pavel@ucw.cz>,
Marcus Better <marcus@better.se>,
Andrey Borzenkov <arvidjaar@mail.ru>,
linux-usb-devel@lists.sourceforge.net,
Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [2/3] 2.6.22-rc2: known regressions v2
Date: Mon, 28 May 2007 09:57:48 +0530 [thread overview]
Message-ID: <20070528042747.GB6367@in.ibm.com> (raw)
In-Reply-To: <alpine.LFD.0.98.0705251039300.26602@woody.linux-foundation.org>
On Fri, May 25, 2007 at 10:50:38AM -0700, Linus Torvalds wrote:
>
>
> On Fri, 25 May 2007, Andrew Morton 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.
> >
> > We're uninterested in pagecache and user memory and they should be omitted
> > from the image (making it enormously smaller too).
>
> The people who would use crash-dumps (big sensitive firms) don't trust
> you.
>
> And they'd be right not to trust you. You end up having a _lot_ of
> sensitive data even if you avoid user memory and page cache. The network
> buffers, the dentries, and just stale data that hasn't been overwritten.
>
> So if you end up having secure data on that machine, you should *never*
> send a dump to somebody you don't trust. For the financial companies
> (which are practically the only ones that would use dumps) there can even
> be legal reasons why they cannot do that!
>
> > That leaves security keys and perhaps filenames, and these could probably
> > be addressed.
>
> It leaves almost every single kernel allocation, and no, it cannot be
> addressed.
>
> How are you going to clear out the network packets that you have in
> memory? They're just kmalloc'ed.
>
> > > 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.
> >
> > We've had a few more than that, but all the ones I recall actually came
> > from the kdump developers who were hitting other bugs and who just happened
> > to know how to drive the thing.
>
> Right, I don't dispute that some _developers_ might use dumping. I dispute
> that any user would practically ever use it.
>
> And even for developers, I suspect it's _so_ far down the list of things
> you do, that it's practically zero.
>
> > > 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.
> >
> > Often we don't even get that: "I was in X and it didn't hit the logs".
>
> Yes.
>
Isn't it reason enough for customers to use it? How will a customer
capture even an OOPS meesage? Lets say some web server crashed and OOPs
message did not make it to logs. I am not expecting a customer to setup
a console for each and every machine in the network. In this scenario
customer will have no choice but to reset the machine without any
information about why did machine crash.
If one can keep kdump configured, upon a crash there are high chances
that customer will have some debug information to look at. I agree that
security of data can be a concern. In that case probably one can extract
a small dump report, like OOPs message, messages in the kernel buffers
just before crash etc. and report it to service folks.
Without kdump, customer will most likely have no debug data except a
complain that system crashed and rebooted or it had to be reset by manual
intervention.
Thanks
Vivek
next prev parent reply other threads:[~2007-05-28 4:39 UTC|newest]
Thread overview: 99+ 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
2007-05-24 14:04 ` Michal Piotrowski
2007-05-24 14:18 ` [linux-pm] " Alan Stern
2007-05-24 14:22 ` Michal Piotrowski
2007-05-24 14:18 ` Alan Stern
2007-05-24 17:01 ` Christoph Lameter
2007-05-24 17:01 ` Christoph Lameter
2007-05-24 17:12 ` Linus Torvalds
2007-05-24 17:12 ` Linus Torvalds
2007-05-24 17:12 ` Linus Torvalds
2007-05-24 17:18 ` Christoph Lameter
2007-05-24 17:18 ` Christoph Lameter
2007-05-24 17:18 ` Christoph Lameter
2007-05-24 18:49 ` Andrew Morton
2007-05-24 18:49 ` Andrew Morton
2007-05-24 18:49 ` Andrew Morton
2007-05-24 19:21 ` Linus Torvalds
2007-05-24 19:21 ` Linus Torvalds
2007-05-24 19:21 ` Linus Torvalds
2007-05-24 21:02 ` Jeff Garzik
2007-05-24 21:02 ` Jeff Garzik
2007-05-24 21:02 ` Jeff Garzik
2007-05-24 19:37 ` Ingo Molnar
2007-05-24 19:37 ` Ingo Molnar
2007-05-24 19:50 ` Linus Torvalds
2007-05-24 19:50 ` Linus Torvalds
2007-05-24 19:50 ` Linus Torvalds
2007-05-24 20:02 ` David Woodhouse
2007-05-24 20:02 ` David Woodhouse
2007-05-24 20:02 ` David Woodhouse
2007-05-25 10:11 ` Ingo Molnar
2007-05-25 10:11 ` Ingo Molnar
2007-05-25 10:11 ` Ingo Molnar
2007-05-25 10:18 ` Stefan Richter
2007-05-25 10:18 ` Stefan Richter
2007-05-25 10:18 ` Stefan Richter
2007-05-25 16:21 ` Linus Torvalds
2007-05-25 16:21 ` Linus Torvalds
2007-05-25 16:21 ` Linus Torvalds
2007-05-25 11:53 ` Chris Newport
2007-05-25 11:53 ` Chris Newport
2007-05-25 11:53 ` Chris Newport
2007-05-25 12:34 ` Ingo Molnar
2007-05-25 12:34 ` Ingo Molnar
2007-05-25 12:34 ` Ingo Molnar
2007-05-25 16:33 ` Andrew Morton
2007-05-25 16:33 ` Andrew Morton
2007-05-25 16:33 ` Andrew Morton
2007-05-25 16:45 ` Christoph Lameter
2007-05-25 16:45 ` Christoph Lameter
2007-05-25 16:45 ` Christoph Lameter
2007-05-28 3:46 ` Vivek Goyal
2007-05-28 3:58 ` Vivek Goyal
2007-05-28 3:46 ` Vivek Goyal
2007-05-25 12:40 ` Stefan Richter
2007-05-25 12:40 ` Stefan Richter
2007-05-25 12:40 ` Stefan Richter
2007-05-25 16:45 ` Linus Torvalds
2007-05-25 16:45 ` Linus Torvalds
2007-05-25 16:45 ` Linus Torvalds
2007-05-25 17:03 ` Alan Cox
2007-05-25 17:03 ` Alan Cox
2007-05-25 17:03 ` Alan Cox
2007-05-25 17:19 ` Linus Torvalds
2007-05-25 17:19 ` Linus Torvalds
2007-05-25 17:19 ` Linus Torvalds
2007-05-25 17:37 ` Andrew Morton
2007-05-25 17:37 ` Andrew Morton
2007-05-25 17:37 ` Andrew Morton
2007-05-25 17:48 ` Alan Cox
2007-05-25 17:48 ` Alan Cox
2007-05-25 17:48 ` Alan Cox
2007-05-25 17:50 ` Linus Torvalds
2007-05-25 17:50 ` Linus Torvalds
2007-05-25 17:50 ` Linus Torvalds
2007-05-28 4:27 ` Vivek Goyal
2007-05-28 4:27 ` Vivek Goyal [this message]
2007-05-28 4:39 ` Vivek Goyal
2007-05-25 17:07 ` Chuck Ebbert
2007-05-25 17:07 ` Chuck Ebbert
2007-05-25 17:07 ` Chuck Ebbert
2007-05-25 17:21 ` Linus Torvalds
2007-05-25 17:21 ` Linus Torvalds
2007-05-25 17:21 ` Linus Torvalds
2007-05-25 18:03 ` Chris Newport
2007-05-25 18:03 ` Chris Newport
2007-05-25 20:36 ` David Miller
2007-05-25 20:36 ` David Miller
2007-05-25 20:36 ` David Miller
2007-05-26 13:16 ` [linux-pm] " Matt Sealey
2007-05-26 13:16 ` Matt Sealey
2007-05-26 13:16 ` Matt Sealey
2007-05-25 18:03 ` Chris Newport
2007-05-24 19:37 ` Ingo Molnar
2007-05-24 17:01 ` Christoph Lameter
2007-06-03 6:47 ` Stefan Richter
2007-05-24 14:04 ` Michal Piotrowski
2007-05-24 14:04 ` [3/3] " Michal Piotrowski
2007-05-24 22:04 ` Greg KH
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=20070528042747.GB6367@in.ibm.com \
--to=vgoyal@in.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=alan@redhat.com \
--cc=arvidjaar@mail.ru \
--cc=cherwin@gmail.com \
--cc=clameter@sgi.com \
--cc=crn@netunix.com \
--cc=davem@davemloft.net \
--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=rjw@sisk.pl \
--cc=robert.de.rooy@gmail.com \
--cc=sparclinux@vger.kernel.org \
--cc=stefanr@s5r6.in-berlin.de \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.