config(8) -x headscratcher

Wojciech A. Koszek wkoszek at freebsd.org
Tue May 7 19:19:30 UTC 2013


On Tue, May 07, 2013 at 07:16:39AM -0500, Eric van Gyzen wrote:
> 
> 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 <kpaasial at gmail.com> wrote:
> >>> On Sat, Apr 27, 2013 at 11:42 PM, Kimmo Paasiala <kpaasial at gmail.com> wrote:
> >>>> On Sat, Apr 27, 2013 at 10:05 PM, Wojciech A. Koszek
> >>>> <wkoszek at 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?
> 
> If I'm reading correctly, the patch puts a NUL byte at the beginning of
> the assertion message.

Eric,

I've noticed my initial bug too before checkin. Checked-in version uses \\0
instead.

-- 
Wojciech A. Koszek
wkoszek at FreeBSD.czest.pl
http://FreeBSD.czest.pl/~wkoszek/


More information about the freebsd-hackers mailing list