lkcd
[Top] [All Lists]

Re: LKCD + KDB ?

To: richard.schaal@xxxxxxxxx
Subject: Re: LKCD + KDB ?
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Fri, 31 Aug 2001 19:05:12 -0700
Cc: lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <3B8FCD73.12E1015B@xxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • LKCD + KDB ?, Richard Schaal
    • Re: LKCD + KDB ?, Matt D. Robinson <=