From owner-freebsd-hackers@FreeBSD.ORG Tue May 7 12:16:47 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B54D87B; Tue, 7 May 2013 12:16:47 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from aussmtpmrkpc120.us.dell.com (aussmtpmrkpc120.us.dell.com [143.166.82.159]) by mx1.freebsd.org (Postfix) with ESMTP id E7E9E2B4; Tue, 7 May 2013 12:16:46 +0000 (UTC) X-Loopcount0: from 64.238.244.148 X-IronPort-AV: E=Sophos;i="4.87,628,1363150800"; d="scan'208";a="29934002" Message-ID: <5188F0A7.6060206@vangyzen.net> Date: Tue, 7 May 2013 07:16:39 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130413 Thunderbird/17.0.5 MIME-Version: 1.0 To: "Wojciech A. Koszek" Subject: Re: config(8) -x headscratcher References: <20130427190514.GA85673@FreeBSD.org> <20130428170913.GF85673@FreeBSD.org> In-Reply-To: <20130428170913.GF85673@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Kimmo Paasiala , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 12:16:47 -0000 On 04/28/2013 12:09, Wojciech A. Koszek wrote: > On Sun, Apr 28, 2013 at 04:40:58AM +0300, Kimmo Paasiala wrote: >> On Sat, Apr 27, 2013 at 11:53 PM, Kimmo Paasiala wrote: >>> On Sat, Apr 27, 2013 at 11:42 PM, Kimmo Paasiala wrote: >>>> On Sat, Apr 27, 2013 at 10:05 PM, Wojciech A. Koszek >>>> wrote: >>>>> On Sat, Apr 27, 2013 at 06:54:11PM +0300, Kimmo Paasiala wrote: >>>>>> I'm getting a core dump on 'config -x /boot/kernel/kernel' on 9.1-RELEASE i386. >>>>>> > > [..] > >>>> The kernel config file: >>>> >>>> http://pastebin.com/j0J9NPCi >>>> >>>> My /etc/make.conf: >>>> >>>> http://pastebin.com/HYudWCA9 >>>> >>>> And /etc/src.conf: >>>> >>>> http://pastebin.com/ZAKq6ABT >>>> >>>> I'll see how I can make the kernel image available. >>>> >>>> -Kimmo >>> The kernel file: >>> >>> https://www.dropbox.com/s/07mjk6j4ditbl9r/kernel >>> >>> -Kimmo >> dmesg(8) output of the system: >> >> http://pastebin.com/hqjsak2n > Kimmo, > > Thanks for the information. Can you try following patch: > > cd /usr/src/usr.sbin/config > fetch http://people.freebsd.org/~wkoszek/patches/config-align.patch > patch -p0 < config-align.patch > make > > and see if it fixes your problem for all kernel images you're building? If I'm reading correctly, the patch puts a NUL byte at the beginning of the assertion message. Eric