From owner-freebsd-hackers@FreeBSD.ORG Tue May 7 05:25:12 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 C58BAFBB; Tue, 7 May 2013 05:25:12 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by mx1.freebsd.org (Postfix) with ESMTP id DFFBFF6A; Tue, 7 May 2013 05:25:11 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id j13so3437674wgh.1 for ; Mon, 06 May 2013 22:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=p0QipB1vlpFnQFIG9+kHXE/75VsSnsCxWT47MUgilnU=; b=YgP8a21wJotDf2jYyFw3PIHmpttAEjkeGHRRSEbVoJTqBOVLjMWNjSrwjG/hhUBW8+ bIz9hGH2/q5ONL0fUjZ/f0sssRj0Hrzw76mPKzOFVwiUTn/eMQSzA0zZ0EEgMvht+zjH jS0J5vXSNz8UdJXLgYyjLmDUI8wgrzVZt7SRRv/qESCCC/kfevnvRQS1tyf/mbPJMLSS faDDyJ/jJBBCNyp9+0qEsooVJX87T+UJS7bTHJqCwGQi1J/yCVVTQ24QVwpSbeiY3lNV S6WupsiuBcKFXEVOzuQCI8FoOJ/Yw3UbnvFtswXPldWpwI7l2J5S3UBKSxLSZjt4yh5s GIbg== MIME-Version: 1.0 X-Received: by 10.180.74.172 with SMTP id u12mr16434437wiv.0.1367904310630; Mon, 06 May 2013 22:25:10 -0700 (PDT) Received: by 10.216.112.10 with HTTP; Mon, 6 May 2013 22:25:10 -0700 (PDT) In-Reply-To: <20130501051625.GF11713@FreeBSD.org> References: <20130427190514.GA85673@FreeBSD.org> <20130428170913.GF85673@FreeBSD.org> <20130501051625.GF11713@FreeBSD.org> Date: Tue, 7 May 2013 08:25:10 +0300 Message-ID: Subject: Re: config(8) -x headscratcher From: Kimmo Paasiala To: "Wojciech A. Koszek" Content-Type: text/plain; charset=UTF-8 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: Tue, 07 May 2013 05:25:12 -0000 On Wed, May 1, 2013 at 8:16 AM, Wojciech A. Koszek wrote: > 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. > > -- Anyone else who could comment on this? In this case the alignment is for a text file and I don't think it's going to matter but I can imagine misalignment somewhere else could cause big problems. -Kimmo