Re: Kernel debugging, 5.4-RELEASE

2005-08-02 Thread dpk
On Tue, 2 Aug 2005, Frank McConnell wrote: > I've been using plain bog-standard /usr/bin/gdb, not out of lack > of knowledge of kgdb but because I also find that kgdb fails with > a segmentation fault after connecting. Ah, OK. That solves part of the problem. > If I'm getting more stuff out of m

Re: Kernel debugging, 5.4-RELEASE

2005-08-02 Thread Frank McConnell
dpk wrote: > Is there anything else I can try, to get some debugging information? The > steps outlined in the handbook don't seem to be working. I've been at this > for a couple days, so I apologize if I am curt, I'm just trying to get a > useful backtrace to submit as a PR. I've been using plain

Re: Kernel debugging, 5.4-RELEASE

2005-08-02 Thread dpk
On Tue, 2 Aug 2005, dpk wrote: > On Tue, 2 Aug 2005, Mitch Parks wrote: > > > man kgdb > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html > > Thank you. I'm using kgdb now, and I get the following error: > > $ kgdb -r /dev/cuaa0 kernel.debug > [GDB will n

Re: Kernel debugging, 5.4-RELEASE

2005-08-02 Thread dpk
On Tue, 2 Aug 2005, Mitch Parks wrote: > man kgdb > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html Thank you. I'm using kgdb now, and I get the following error: $ kgdb -r /dev/cuaa0 kernel.debug [GDB will not be able to debug user-mode threads: /usr/lib

Re: Kernel debugging, 5.4-RELEASE

2005-08-02 Thread Mitch Parks
man kgdb http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html On Tue, 2 Aug 2005, dpk wrote: What method do kernel developers employ to debug kernel panics? The gdb that comes with 5.4-RELEASE does not have kernel debugging support and the handbook appears t

Kernel debugging, 5.4-RELEASE

2005-08-02 Thread dpk
What method do kernel developers employ to debug kernel panics? The gdb that comes with 5.4-RELEASE does not have kernel debugging support and the handbook appears to be out of date with regards to KDB. I'm trying to use another gdb, out of ports, that has kernel debugging support but I'm getting