help

Scott Lurndal slurn at nanobiz.com
Mon Jul 17 10:09:24 PDT 2000


> 
> On Mon, 17 Jul 2000 11:14:10 +0800, 
> "Hung-Chang Lai" <hclai at falconstor.com.tw> wrote:
> >How can I enter kdb after I recompile kernel and set up serial console?
> 
> Control-A on the serial console.

Note that Control-A will only cause entry to the kernel debugger
after the serial port has been opened for the first time (e.g. by getty); 
prior to that, you must use the 'kdb' flag on the LILO line and set
breakpoints at appropriate points in the startup code.

> 
> >And I want to use kdb to trace some modules.
> 
> See the ss (singlestep) command.  Note that kdb v0.6 and 2.2 kernels is
> not being supported at the moment, all our efforts are directed at kdb
> v1.3 and 2.[34] kernels.

Note also that many module symbols will not be available to kdb as they
aren't exported by the module loader commands.

scott

> 




More information about the kdb mailing list