Subject: Re: Kernel is crashing with ftpd tranfers.
To: Alex Pelts <alexp@broadcom.com>
From: Hubert Feyrer <feyrer@cs.stevens.edu>
List: port-cobalt
Date: 11/28/2005 08:23:45
On Sun, 27 Nov 2005, Alex Pelts wrote:
> FAQ states that I need to do "target kcore" command in the gdb but gdb does 
> not have a kcore target and "target core" complains about the file format.

What version of NetBSD, and what error do you get?
For me this works fine on 2.1/i386 (actually, I don't know from what OS 
version the crashdumps are, might be old):

 	noon# cd /var/crash/
 	noon# ls
 	bounds              netbsd.0            netbsd.1.core.gz    netbsd.3.core.gz
 	minfree             netbsd.0.core       netbsd.2.core.gz
===>	noon# gdb netbsd.0
 	GNU gdb 5.3nb1
 	Copyright 2002 Free Software Foundation, Inc.
 	GDB is free software, covered by the GNU General Public License, and you are
 	welcome to change it and/or distribute copies of it under certain conditions.
 	Type "show copying" to see the conditions.
 	There is absolutely no warranty for GDB.  Type "show warranty" for details.
 	This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)...
===>	(gdb) target kcore netbsd.0.core
 	#0  0x07ee0000 in ?? ()
===>	(gdb) bt
 	#0  0x07ee0000 in ?? ()
 	#1  0xc02f9133 in cpu_reboot ()
 	#2  0xc0241278 in db_sync_cmd ()
 	...

> I compiled somewhat reduced kernel but why should it crash during ftp 
> transfer?

No idea - I guess there's a panic message that tells you.
Or what do you mean by "crash"? Normal ftpd.core?


  - Hubert