[lug] kgdb/panic question {no filter}

Wilson, Rodger Rodger.Wilson at Emulex.com
Thu Aug 29 07:38:58 MDT 2002


Actually I am already using kgdb.  However one of my co-workers pointed me
to the web sight for core files.

http://lkcd.sourceforge.net/


Rodger Wilson
Rodger.Wilson at emulex.com
Work: 720-494-2488
Cell: 303-910-3073

-----Original Message-----
From: D. Stimits [mailto:stimits at attbi.com]
Sent: Wednesday, August 28, 2002 4:57 PM
To: lug at lug.boulder.co.us
Subject: Re: [lug] kgdb/panic question {no filter}

Wilson, Rodger wrote:
> Recently I have been having a problem where my driver has been crashing
> occasionally.  When I worked at Sun, we used to collect the core files
from
> the machine.  Is there some way to turn on core dumping in Linux?
>
> For some reason I seem to remember that SGI had added this feature to the
> Linux kernel.
>
> Thanks in advance

I'm not sure if the kernel from Redhat is patched with kdb by default or
not...kdb is definitely not in a stock kernel though. If you have kdb
ability, then this file will exist:
  /proc/sys/kernel/kdb

If that file contains "0", it is inactive, even with the ability present
(but it can be enabled).

Before you use kdb, or enable it, you should be aware of the basic
commands, and *especially* aware that kdb does not work with X11. You
must either use a serial console or a physical console...should it
trigger while you are in X11, and if you do not have a serial port for
debugger access, you will be in worse shape than if kdb were not used.
If you satisfy those requirements, you can get a stack frame, process
list, so on. Check http://oss.sgi.com, as well as:
  http://kgdb.sourceforge.net/

D. Stimits, stimits AT attbi.com

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us port=6667 channel=#colug



More information about the LUG mailing list