From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 29 21:17:13 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAC111065672 for ; Thu, 29 Jul 2010 21:17:13 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from mail1.sandvine.com (Mail1.sandvine.com [64.7.137.162]) by mx1.freebsd.org (Postfix) with ESMTP id 51F878FC18 for ; Thu, 29 Jul 2010 21:17:13 +0000 (UTC) Received: from labgw2.phaedrus.sandvine.com (192.168.222.22) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server id 14.0.694.0; Thu, 29 Jul 2010 17:06:10 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 10332) id D6E0A33C00; Thu, 29 Jul 2010 17:06:22 -0400 (EDT) Date: Thu, 29 Jul 2010 17:06:22 -0400 From: Ed Maste To: Message-ID: <20100729210622.GA84094@sandvine.com> References: <201007281510.o6SFAV5J052045@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201007281510.o6SFAV5J052045@svn.freebsd.org> User-Agent: Mutt/1.4.2.1i Subject: Re: svn commit: r210561 - projects/sv/sys/net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 21:17:13 -0000 On Wed, Jul 28, 2010 at 03:10:31PM +0000, Attilio Rao wrote: > Log: > Initial import of the netdump files. > They still need a lot of polishing and cleanup so they might not be > considered definitive at all. This code is a port to recent FreeBSD of Darrell Anderson's network crashdump support, which was done in the 4.x days. I can't find a current website with the original versions but archive.org has a cache of course: http://web.archive.org/web/20041204223729/http://www.cs.duke.edu/~anderson/freebsd/netdump/ Quoting from the old readme: Netdump provides FreeBSD kernel crash dumping over the network. Netdump is a FreeBSD kernel module client and user-level server. A normal kernel crash writes a raw dump of memory to a dedicated partition (usually the swap partition) using a low-level disk routine, and then copies that raw dump into a file (via savecore) during the following boot process. Netdump replaces the standard dump routine. During a crash, a netdump client broadcasts to locate a netdump server, then sends the dump as UDP/IP packets (with retransmission after loss). The netdump server creates a dump file suitable for gdb. If netdump fails (for example, no netdump server is located), a normal disk dump is performed. There is cleanup work to be done still, but we plan to have this in shape for 9.0. -Ed