Messages in this thread | | | Date | Wed, 31 Oct 2007 06:58:46 -0400 (EDT) | From | Steven Rostedt <> | Subject | Re: [PATCH] dump_stack on panic |
| |
-- On Wed, 31 Oct 2007, Andi Kleen wrote:
> On Wed, Oct 31, 2007 at 08:15:13AM +0000, Christoph Hellwig wrote: > > On Wed, Oct 31, 2007 at 01:14:04AM +0100, Andi Kleen wrote: > > > One (mostly psychological, but still serious) problem is that stack > > > dumps make panics always look like kernel bugs. But there are panics > > > which are definitely not kernel bugs: like the popular cannot mount > > > root or machine checks or a couple of others. > > > > But that one really shouldn't be a panic anyway. The panic alone > > is psycologically bad enough for users. I think it would be best to > > have a simple scanf loop asking for another root device.. > > Then you couldn't recover with panic=30 from it. > > Besides even if you fix that one there are others, like machine checks > where it is impossible to recover.
Thinking about this more. Of the Linux users I asked, they think a kernel panic is a bug in the kernel anyway (or at least something in the kernel went wrong). So if panics will point users to the kernel anyway, then why leave out possible vital information from those panics that were caused by an actual kernel bug.
-- Steve
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |