Date: Tue, 1 Feb 2022 10:02:55 +0100 From: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org> To: Andriy Gapon <avg@freebsd.org> Cc: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, Eugene Grosbein <eugen@grosbein.net>, freebsd-stable@freebsd.org Subject: Re: gptzfsboot can't boot from 4TB SSD Message-ID: <CAJ9axoRt=U08zJeHJSZ5SGeTcGKr27B10Jny41qutVukizk-JA@mail.gmail.com> In-Reply-To: <275959c1-60e0-623b-6e95-f892d7ab8566@FreeBSD.org> References: <YfKkr%2BmC6rMrRlF9@acme.spoerlein.net> <212cfd90-056f-d294-ae9c-fd2b632ae679@FreeBSD.org> <CAJ9axoRneWhE61k-o0xTH04wyLQnoeNwD6Y2myR0vnvD1Q01Vg@mail.gmail.com> <f321250d-2d27-b1ea-9525-0b4aaf80d05d@grosbein.net> <CAJ9axoQPCxiAMRn4BxCfnVMj4ggbumwyGg3schKg78=fmK%2B8pQ@mail.gmail.com> <20220130030618.dd46cf514f98cdfa6caa1ad4@dec.sakura.ne.jp> <CAJ9axoQbCdOs8SvOn%2B2-QUtdpyE5moQuQk_CRBsdkar4yWY2dw@mail.gmail.com> <275959c1-60e0-623b-6e95-f892d7ab8566@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 29, 2022 at 11:43 PM Andriy Gapon <avg@freebsd.org> wrote: > > On 29/01/2022 23:49, Ulrich Sp=C3=B6rlein wrote: > > This output is from_before_ loader is loaded > > What gives you confidence in that? > Do you know exact moment where execution passes from gpt(zfs)boot to load= er? Huh, you are right. strings(1) confirmed that the messages could come from both gptzfsloader as well as from loader. My assumption was that the version string of the loader would be printed as early as possible, but now that I've opened stand/i386/loader/main.c, I see that bootprog_info gets printed very, very late in the process, after all the GPT and ZFS frobbing was already done, though I don't see an obvious, definitive call to probing ZFS there and then, it only sets up some stuff. Anyway, that mystery will have to wait for some other time Cheers Uli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ9axoRt=U08zJeHJSZ5SGeTcGKr27B10Jny41qutVukizk-JA>