Subject: Re: Kernel is crashing with ftpd tranfers.
To: Alex Pelts <alexp@broadcom.com>
From: Simon Burge <simonb@wasabisystems.com>
List: port-mips
Date: 11/29/2005 13:14:36
"Alex Pelts" wrote:

> (gdb) target kcore /tmp/netbsd.3.core
> Undefined target command: "kcore /tmp/netbsd.3.core".  Try "help target".

It doesn't appear that MIPS has kcore support, unlike most other
architectures.

> So it is from the correct version of netbsd. Somehow kcore target is 
> missing from that version. I wonder how other people debug mips kernel?

I usually use ddb (with help from gdb and a netbsd.gdb to work out
source code line numbers) and good ol' fashioned printf debugging.  I
keep meaning to look at kgdb but never seem to get around to it...

Back to the original problem - when you get the panic what do you see
on the console, and does "bt" from the ddb prompt show a useful stack
trace?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/