Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 23:42:53 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r326809 - head/sys/dev/cardbus
Message-ID:  <CANCZdfpxZsFTSst9m7gO5A5%2BnRKy_ikzY-Er=s%2B=yjE3TPHvYg@mail.gmail.com>
In-Reply-To: <5A33655A.8030502@grosbein.net>
References:  <201712131338.vBDDcHCM091865@pdx.rh.CN85.dnsmgr.net> <5A3167E1.2000201@grosbein.net> <20171213180801.GA28514@FreeBSD.org> <5A316E7B.8030504@grosbein.net> <20171213182452.GA51526@FreeBSD.org> <5A318150.1000601@grosbein.net> <20171214133854.GB51526@FreeBSD.org> <5A328C81.4040501@grosbein.net> <CANCZdfoYTL1h_eDbWqjR16jqLxiwmmRAjrxz3_o3XHkPK6BZrw@mail.gmail.com> <5A32AE29.9090300@grosbein.net> <CANCZdfov6tq-7NGZSA32GVuXFcsM4Bo5W=xohSQm=cG8WWy8BQ@mail.gmail.com> <5A33655A.8030502@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 14, 2017 at 11:02 PM, Eugene Grosbein <eugen@grosbein.net>
wrote:

> 15.12.2017 6:50, Warner Losh wrote:
> >
> >
> > On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein <eugen@grosbein.net
> <mailto:eugen@grosbein.net>> wrote:
> >
> >     14.12.2017 23:27, Warner Losh wrote:
> >
> >     >     - zfsloader(8) failing to find any ZFS pool after zfsboot(8)
> successfully
> >     >     loaded and started zfsload(8) from zpool (PR pending, need to
> collect more info)
> >     >
> >     >
> >     > GPT or MBR?
> >
> >     MBR, no GELI used.
> > when you update, you're updating both halves of the loader, right?
>
> I do not get it, what are "halves of the loader"?
> I know zfsboot should be installed in parts but it finds boot pool just
> fine
> and I do not update it. As for zfsloader, I install it with to
> /boot/zfsloader
> with simple "make install" command.


So you are using the old zfsboot then?

And if you didn't do something like:

    dd if=${dst}/boot/zfsboot of=/tmp/zfsboot1 count=1
    gpart bootcode -b /tmp/zfsboo1 ${dev}s${s}
    sysctl kern.geom.debugflags=0x10
    dd if=${dst}/boot/zfsboot iseek=1 seek=1024 of=/dev/${dev}s${s}
    sysctl kern.geom.debugflags=0x0

then you're using the new zfsloader with old zfsboot blocks. Which should
work just fine, but is apparently failing.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpxZsFTSst9m7gO5A5%2BnRKy_ikzY-Er=s%2B=yjE3TPHvYg>