Re: [2/3] 2.6.22-rc2: known regressions v2

From: Andrew Morton
Date: Fri May 25 2007 - 12:35:31 EST


On Fri, 25 May 2007 14:34:56 +0200 Ingo Molnar <mingo@xxxxxxx> wrote:

> * Chris Newport <crn@xxxxxxxxxxx> wrote:
>
> > There is a fundamental problem in getting a decent log to debug a
> > crashed kernel. Maybe we should take a hint from Solaris. If the
> > kernel crashes Solaris dumps core to swap and sets a flag. At the next
> > boot this image is copied to /var/adm/crashdump where it is preserved
> > for future debugging. Obviously swap needs to be larger than core, but
> > this is usually the case.
>
> we've got kdump, but it's not usually enabled by default by distros.

Isn't that awful?

By now we should be in the situation where if a tester is hitting a
kernel crash we can say to them "please turn on crashdumps and send me
the image". But we're not - kernel developers don't know how to turn the
thing on in $RANDOM_DISTRO, testers have no experience with the feature
and kernel developers don't have experience handling the crash images.

And I'm not sure that the (required) "don't dump user memory and pagecache"
feature has been implemented yet?

It'd be in our interests to push all this along a bit.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/