From owner-freebsd-i386@FreeBSD.ORG Thu Jun 30 00:41:50 2005 Return-Path: X-Original-To: i386@freebsd.org Delivered-To: freebsd-i386@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6755216A41C; Thu, 30 Jun 2005 00:41:50 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C56A43D55; Thu, 30 Jun 2005 00:41:50 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 093752A8F8; Wed, 29 Jun 2005 17:41:50 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id B254BE2B3; Wed, 29 Jun 2005 17:41:49 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j5U0fnkq089020; Wed, 29 Jun 2005 17:41:49 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j5U0fmWe089019; Wed, 29 Jun 2005 17:41:48 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: current@freebsd.org Date: Wed, 29 Jun 2005 17:41:48 -0700 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506291741.48817.peter@wemm.org> Cc: amd64@freebsd.org, i386@freebsd.org Subject: HEADS UP: crashdumps on -current! Format change for i386 and amd64! X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 00:41:50 -0000 Crash dumps on -current for i386 and amd64 are now in ELF format, just like in IA64. There are several reasons for this, including being able to do crashdumps on machines with >4GB ram, or machines with 4GB of ram where some has been relocated above the 4GB mark due to the PCI hole. Anyway, there is a libkvm update that understands the new crash dump format. If you have a new dump, you'll need the updated libkvm. And likewise, old crash dumps will need the old libkvm. My advice is to stash a copy of the old libkvm somewhere safe if you want to be able to examine old crash dumps. gdb6 doesn't care either way, the changes are entirely in libkvm. You should be able to use your saved libkvm by the use of $LD_PRELOAD or $LD_LIBRARY_PATH with an otherwise unmodified gdb6. Building an old libkvm by using a cvs update -D'20050628' and a quick compile is also fairly painless. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5