From owner-freebsd-hackers@FreeBSD.ORG Wed May 1 05:17:12 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C6700BA9 for ; Wed, 1 May 2013 05:17:12 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 407CA193B for ; Wed, 1 May 2013 05:17:12 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id r415GPtG017277; Wed, 1 May 2013 05:16:25 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id r415GPfS017276; Wed, 1 May 2013 05:16:25 GMT (envelope-from wkoszek) Date: Wed, 1 May 2013 05:16:25 +0000 From: "Wojciech A. Koszek" To: Kimmo Paasiala Subject: Re: config(8) -x headscratcher Message-ID: <20130501051625.GF11713@FreeBSD.org> References: <20130427190514.GA85673@FreeBSD.org> <20130428170913.GF85673@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-0.4 required=5.0 tests=RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on freebsd.czest.pl X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Wed, 01 May 2013 05:16:29 +0000 (UTC) Cc: 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: Wed, 01 May 2013 05:17:12 -0000 On Mon, Apr 29, 2013 at 12:21:06AM +0300, Kimmo Paasiala wrote: > On Sun, Apr 28, 2013 at 8:09 PM, 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? > > > > -- > > Thanks. That patch does fix the problem with config -x. However, is > the alignment of 1 an error that needs to be addressed as well? Kimmo, Thanks for this report. I fixed it in HEAD as of revision 250133. I'll MFC it after 10 days. I can't comment about alignment differences--I don't know. -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/