[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: kernel crash log

Arun, i have a small question.

How is kdb different from running gdb on an 'active' kernel ?
I know kdb is an SGI addition (i think), but i havent ever used it,
being content with gdb. What does it provide, that gdb'ing doesnt.


On Mon, 16 Apr 2001, Arun Sharma wrote:

> On Mon, Apr 16, 2001 at 08:24:05PM +0530, Pankaj Kr Rathore wrote:
> > Hi,
> > While loading a kernel module, my linux mc crashes.
> > But after rebooting, /var/log/messages doesnot contain the crash
> > info. Could somebody help here please...
> If you can, always run with the kernel debugger compiled into the
> kernel. In Linux land, this means patching the kernel (though I
> suspect that some distros would be shipping with kdb enabled kernel).
> In the FreeBSD land, whenever there is a panic, it drops into the
> debugger (provided the kernel was compile d with the DDB option on)
> and I can look at the back trace and report a bug.
> 	-Arun

                  Amit Kucheria
          EECS Grad. Research Assistant
           Team Niehaus || Room # 245E
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774