From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 18 03:13:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F66E16A4DA for ; Fri, 18 Aug 2006 03:13:13 +0000 (UTC) (envelope-from devon.odell@coyotepoint.com) Received: from host50a.simplicato.com (www.ultinet.net [207.99.47.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3077D43D45 for ; Fri, 18 Aug 2006 03:13:12 +0000 (GMT) (envelope-from devon.odell@coyotepoint.com) Received: from localhost (localhost.simplicato.com [127.0.0.1]) by host50a.simplicato.com (Postfix) with ESMTP id 957006AE830 for ; Thu, 17 Aug 2006 23:13:05 -0400 (EDT) Received: from host50a.simplicato.com ([127.0.0.1]) by localhost (host50a.simplicato.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16201-05 for ; Thu, 17 Aug 2006 23:13:05 -0400 (EDT) Received: from mail.simplicato.com (localhost.simplicato.com [127.0.0.1]) by host50a.simplicato.com (Postfix) with SMTP id 58CBA6AE80F for ; Thu, 17 Aug 2006 23:13:05 -0400 (EDT) Received: from 24.239.186.61 (SquirrelMail authenticated user devon.odell@coyotepoint.com) by mail50a.simplicato.com with HTTP; Thu, 17 Aug 2006 23:13:05 -0400 (EDT) Message-ID: <2169.24.239.186.61.1155870785.squirrel@mail50a.simplicato.com> Date: Thu, 17 Aug 2006 23:13:05 -0400 (EDT) From: devon.odell@coyotepoint.com To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at simplicato.com X-Mailman-Approved-At: Fri, 18 Aug 2006 03:37:17 +0000 Subject: Minidumps in FreeBSD 4 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: Fri, 18 Aug 2006 03:13:13 -0000 Hi all, I'm sort of curious as to how many people might be interested in this. I'm aware that there are still other companies who also have embedded products / appliances based on FreeBSD 4, and I suppose that's probably the only interest for such a patch. It's available at: http://databits.net/~dho/minidumps.patch.bz2 It's ~100KB uncompressed; 26KB otherwise. There are some dump-related changes that were made to e.g. disk drivers -- so there may be some bugs. Please let me know if you're able to use it successfully, if there are other things you'd like to see it do, and whatnot. It's pretty much a straight backport from Peter Wemm's minidumps which were recently MFCed to FreeBSD 6. I only had to make a couple changes to a few things, and figure out how to get gdb to read things correctly (which was basically a couple lines of obvious code and bringing some extra bits from the libkvm changes over, since gdb in 4.x doesn't use libkvm for kernel debugging). If there's any significant interest, maybe somebody can be convinced to commit it to RELENG_4 (ha ha ha). Huge thanks to Peter who helped me out with understanding some of the more hairy things towards the end. --Devon