[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100103164414.GB21156@n2100.arm.linux.org.uk>
Date: Sun, 3 Jan 2010 16:44:14 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Hui Zhu <teawater@...il.com>
Cc: saeed bishara <saeed.bishara@...il.com>,
Catalin Marinas <catalin.marinas@....com>,
Nicolas Pitre <nico@...xnic.net>,
Ralf Baechle <ralf@...ux-mips.org>,
David Daney <ddaney@...iumnetworks.com>,
Tomaso Paoletti <tpaoletti@...iumnetworks.com>,
Chris Dearman <chris@...s.com>,
Paul Gortmaker <Paul.Gortmaker@...driver.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
Frederic Weisbecker <fweisbec@...il.com>,
Alexey Dobriyan <adobriyan@...il.com>,
Brian Gerst <brgerst@...il.com>, Tejun Heo <tj@...nel.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Greg Kroah-Hartman <gregkh@...e.de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mips@...ux-mips.org, Coly Li <coly.li@...e.de>
Subject: Re: [PATCH] stack2core: show stack message and convert it to core
file when kernel die
On Mon, Jan 04, 2010 at 12:30:20AM +0800, Hui Zhu wrote:
> This S2C: message just for program s2c.
> s2c can convert it to a core file. Then gdb can do a clear analyse
> with this file.
> Then you can get more message than current we can get.
I understand that. What I'm saying is that all the additional noise
you're causing the kernel to create is just a pure duplication of
what we already dump.
Oops dumps are already noisy enough - especially if they cause a panic
at the end (where you end up with two backtraces.) We do not need even
more noise caused by needless duplication.
You can get everything you need already from the kernel. On ARM, we
already dump out all the registers and the _full_ stack. There is no
need for you to implement your own register dumping code and full stack
dump on top of that again.
So, I'm not going to accept your patch for the ARM kernel. Please use
what's already provided - it's more than adequate. By doing so, you
don't penalise those of us who want to read the raw oopses.
Talking about noisy oopses, I'm getting one with 2.6.33-rc2 on 'poweroff'
shutdown. No idea what it is because most of it's scrolled off the top of
the screen and I can't scroll back. Not bothered about it at the moment.
What it does illustrate though is why making things too noisy when problems
occur makes it _more_ difficult to find out what went wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists