From owner-freebsd-current@FreeBSD.ORG Thu Apr 29 23:10:56 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E14C106564A for ; Thu, 29 Apr 2010 23:10:56 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id F1D7D8FC16 for ; Thu, 29 Apr 2010 23:10:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o3TN6lcY013041; Thu, 29 Apr 2010 17:06:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 29 Apr 2010 17:07:00 -0600 (MDT) Message-Id: <20100429.170700.752311254921725854.imp@bsdimp.com> To: kvedulv@kvedulv.de From: "M. Warner Losh" In-Reply-To: <20100429224938.GI90938@darkthrone.kvedulv.de> References: <201004292330.06455.bruce@cran.org.uk> <20100429224938.GI90938@darkthrone.kvedulv.de> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: bruce@cran.org.uk, freebsd-current@FreeBSD.org Subject: Re: config(8) dumps core X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 23:10:56 -0000 In message: <20100429224938.GI90938@darkthrone.kvedulv.de> Michael Moll writes: : Hi, : : On Thu, Apr 29, 2010 at 11:30:06PM +0100, Bruce Cran wrote: : > /boot/kernel/kernel". It looks like it thinks there's more data available : > than there is. : > : > config/main.c gets the size of the configuration by running elfdump: : > : > > elfdump -c /boot/kernel/kernel | grep -A 5 kern_conf | tail -2 | cut -d ' ' : > -f 2 | paste - - - : > : > 10053368 2656 : > : > The first column is the offset, and the second is the number of bytes, but the : > embedded configuration only has 2649 bytes. : : OK, that explains that with all the related commits backup out : (207265-206664) the resulting config-binary still fails. I don't have : time today to build the kernel with the different revisions to hunt the : problem down to one commit... : : imp@: The last commits to usr.sbin/config/* might have raised this : problem, could you have a look at it? Do you have a small, reproducible sequence of events that will recreate this problem? I've seen no problems at all in my testing. I assume this is in -current? Warner