Richard Schaal wrote:
>
> Greetings,
> I've retrieved the patch and applied it to the Linux-2.4.9 kernel
> running on a RedHat 7.1 system.
> I've made some tweaks to startup scripts and the kernel patch in order
> to get a smooth operation as
> described in your documentation. Let me know if you need these to add
> to your collection.
>
> My question is this - I have been a fan of the kernel debugger for some
> time, and have had a bit of difficulty
> resolving how to configure both capabilities into my kernel. I guess
> what I'd like to have happen is to
> have the system enter the debugger on an oops, then have the option of
> dumping the system from the debugger, or
> to dump the system automatically after the debugger is exited.
There's no great way to do this right now. If in kdb you can set the
field of 'dump_okay' field to FALSE, then reset it after dropping back
from the debugger state, that'd be fine. I guess we could also add in
something for kdb, a one-time thing, so kdb can set dump_kdb to TRUE,
and when dump_execute() gets called, dump_kdb is checked, and if set
to TRUE, resets it to FALSE. Then add a kdb command that sets the
field for you ...
Would that work?
--Matt
> What is your thinking on this? Did I goof something up in applying the
> patches for the two features?
>
> Thanks,
> Richard
>
> --
> Richard.Schaal@xxxxxxxxx Intel Corporation
> Ph: (408)765-1579 Richard Schaal
> Mail Stop SC12-308
> 3600 Juliette Lane
> "I can type faster than I think!" Santa Clara, CA 95052
|