home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Finding a Linux Kernel Panic

* Damian Gerow <dgerow [ at ] afflictions [ dot ] org> [090812 21:03]:
> : Finally there is kgdb.  This allows you to connect a debugger to a
> : running kernel.  kgdb can work over serial (kgdboc) or ethernet
> : (module kgdboe).  Unfortunately, the kgdboe is not available in mainline
> : kernels, and I don't know if SuSE ships it.
> 
> That's good to know as well, though I'm surprised the panic doesn't give you
> the option to drop into a kgdb prompt directly.  I'm not sure if kgdb will
> pan out for us, but we rarely need to diagnose a crash as soon as it
> happened -- so long as we have a vmcore to analyze later, that's sufficient.

Amongst other things, kgdb gives you breakpoints, and allows you to step
through the code.  Not all bugs result in a crash :)

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/