Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 10:02:38 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   Re: stable/11 regression: SIGSYS in the /bin/sh
Message-ID:  <597AA94E.4060004@grosbein.net>
In-Reply-To: <20170727162856.GH1700@kib.kiev.ua>
References:  <597A018D.4040601@grosbein.net> <20170727162856.GH1700@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27.07.2017 23:28, Konstantin Belousov wrote:

>> Trying to mount root from ufs:/dev/ada0s1a [ro]...
>> start_init: trying /sbin/init
>> ppid 21 (sh), uid 0: exited on signal 12
>> id 21 comm sh: nosys 42
>> Jul 27 14:30:23 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
> Take your /bin/sh, libraries and rtld to some other machine and try to
> catch where the pipe(2) call come from.  I do not see any other way
> forward, assuming your build env is not contaminated somehow.

Nevermind, I've just resolved this: this NanoBSD installation by default
has two partitions ad0s1a (old 8.4-STABLE) and ad0s2a (new 11.1-STABLE)
with "BootEasy" boot0 to choose from and for unknown reason
it mounts root from ad0s1a with old binaries if booted from ad0s2a.

That is, it runs /boot/loader from ad0s2a and it loads 11.1 kernel
using ad0s2a but mounts root from ad0s1a.

Sorry for noise.




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