kdump with /proc/oldproc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello-

Has anyone tried reconstituting a portion of the old kernel's /proc while
in the capture kernel?

I had the idea while digging through the kexec/kdump code and it seemed
intriguing.

It might be a means by which user-space dump applications running under the
capture kernel could interrogate the old system, and identify bad processes
that instigated the panic.  In particular, I'm thinking of Out Of Memory
scenarios.   We've modified our kernel to panic instead of invoking the
kernel's OOM killer, but we still have the problem of identifying the "bad"
process while running in the capture kernel.

Perhaps everything could be accomplished using some sort of FUSE
file-system around /proc/oldmem and /proc/vmcore.  Not all the proc/<pid>/
files would need to be implemented, of course.  In addition, each old
process could have its own 'vmcore' file for getting a core dump of the
original process.

What do you think?  Am I tilting at windmills here?

Nate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20110517/4f893512/attachment.html>


[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux