Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2022 18:16:52 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        current@freebsd.org
Subject:   Re: init (/rescue/sh) died
Message-ID:  <YwOd5CeXTZ9p7jRh@kib.kiev.ua>
In-Reply-To: <pp3n1s2s-s5os-pp6-67sp-736soo193n6n@mnoonqbm.arg>
References:  <pp3n1s2s-s5os-pp6-67sp-736soo193n6n@mnoonqbm.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 22, 2022 at 02:56:47PM +0000, Bjoern A. Zeeb wrote:
> Hi,
> 
> I am trying to get some arm64 up and running a bit but cannot use
> loader. I have an MD_ROOT embedded in the kernel with /rescue on it.
> I set INIT_PATH=/rescue/sh .
> 
> However that doesn't seem to work:
> 
> start_init: trying /rescue/sh
> init died (signal 0, exit 0)
> panic: Going nowhere without my init!
> 
> Anyone any ideas?

Kernel does not set up the standard file descriptors for stdin/out/err
for init.  When you try to directly exec /rescue/sh (or /bin/sh), it cannot
perform any io.



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