Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 08:25:10 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        "Wojciech A. Koszek" <wkoszek@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: config(8) -x headscratcher
Message-ID:  <CA%2B7WWSe7cOst47nAPowgn0nDcJY3_8Ls8SEhF8FG2a09cnQXGw@mail.gmail.com>
In-Reply-To: <20130501051625.GF11713@FreeBSD.org>
References:  <CA%2B7WWSeZ=Mg=-duGY-RHZ=n8vrJtDRM28jwCr1Szv4t_4Cdh%2Bw@mail.gmail.com> <20130427190514.GA85673@FreeBSD.org> <CA%2B7WWScWuFCOMXSU3LogrGOGt1FF6z-HZSAAsz_Bvkkxoc7t2Q@mail.gmail.com> <CA%2B7WWSdCw2yfU-D%2BQ3ymZnor%2BUAp98mbGK577%2BumrQGhZOvKkA@mail.gmail.com> <CA%2B7WWSc=9YGJtVHbKF8gukiREoFyHfWNVwVBjzRhJ%2BXgdJdNpw@mail.gmail.com> <20130428170913.GF85673@FreeBSD.org> <CA%2B7WWSf5bBhrpsXa%2Bg3jBcWD4%2BNO64CbVMfkJWrmoagNQS9Bgg@mail.gmail.com> <20130501051625.GF11713@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 1, 2013 at 8:16 AM, Wojciech A. Koszek <wkoszek@freebsd.org> 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 <wkoszek@freebsd.org> 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 <kpaasial@gmail.com> wrote:
>> >> > On Sat, Apr 27, 2013 at 11:42 PM, Kimmo Paasiala <kpaasial@gmail.com> wrote:
>> >> >> On Sat, Apr 27, 2013 at 10:05 PM, Wojciech A. Koszek
>> >> >> <wkoszek@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSe7cOst47nAPowgn0nDcJY3_8Ls8SEhF8FG2a09cnQXGw>