Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 18:03:51 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Matteo Riondato <matteo@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Signal 12 on make update (or any target in /usrc/src)
Message-ID:  <20160810150351.GT83214@kib.kiev.ua>
In-Reply-To: <07F8C5E5-3768-4848-A0EE-7963C8657286@FreeBSD.org>
References:  <72EC5BF8-C383-4F75-B47F-213613584BA7@FreeBSD.org> <20160810144139.GR83214@kib.kiev.ua> <07F8C5E5-3768-4848-A0EE-7963C8657286@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 10, 2016 at 10:49:40AM -0400, Matteo Riondato wrote:
> 
> > On Aug 10, 2016, at 10:41 AM, Konstantin Belousov <kostikbel@gmail.com> wrote:
> > On Wed, Aug 10, 2016 at 10:33:23AM -0400, Matteo Riondato wrote:
> >> Hi all,
> >> 
> >> I recently upgraded from a late June (pre 11-branch, as far as I can tell) revision to r303771.
> >> 
> >> Now, running ???make update??? (or buildworld, ???) in /usr/src fails with a signal 12:
> >> 
> >> matteo@triton:/usr/src$ sudo make update
> >> Password:
> >> *** Signal 12
> > 
> > You did not updated, I think.  You, most likely, inly updated the kernel,
> > but left the old userspace in place, at least libc.
> 
> That would be surprising but it may have happened, as I don???t remember without doubts to have run installworld :/
> 
> > Signal 12 is SIGSYS, which means that the program tries to use a syscall
> > not implemented by the kernel.  My guess is that your kernel lacks option
> > COMPAT_FREEBSD10, and the failing syscall is pipe(2).
> 
> Indeed I do not have COMPAT_FREEBSD10, because I believed my previous world revision was >302092, as noted by the entry about pipe(2) in UPDATING.
> 
> Any suggestion on how to fix this?
> Boot the old kernel, add COMPAT_FREEBSD10 to kernel config, and rebuild/install world and kernel perhaps?
> 

If old kernel works, then this would allow you to recover.

Take libc.so.7 from the BETA-4, and put it into /lib, taking backup of
your current libc first.  I suspect this is the easiest route if old
kernel does not match with your world.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160810150351.GT83214>