Re: Signal 12 on make update (or any target in /usrc/src)

From: Matteo Riondato <matteo_at_FreeBSD.org>
Date: Wed, 10 Aug 2016 10:49:40 -0400
> On Aug 10, 2016, at 10:41 AM, Konstantin Belousov <kostikbel_at_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_at_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?

Thanks for the help!

Matteo


Received on Wed Aug 10 2016 - 12:49:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC