svn commit: r326809 - head/sys/dev/cardbus

Eugene Grosbein eugen at grosbein.net
Fri Dec 15 12:30:37 UTC 2017


On 15.12.2017 13:42, Warner Losh wrote:
> 
> 
> On Thu, Dec 14, 2017 at 11:02 PM, Eugene Grosbein <eugen at grosbein.net <mailto:eugen at grosbein.net>> wrote:
> 
>     15.12.2017 6:50, Warner Losh wrote:
>     >
>     >
>     > On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein <eugen at grosbein.net <mailto:eugen at grosbein.net> <mailto:eugen at grosbein.net <mailto:eugen at 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.

In fact, I'v just started using ZFS recently and I've not updates my working tree since then,
so zfsboot and zfsloader were built using same sources, amd64 stable/11 r322531.

My previous debugging (using added printf's) shows that's zio_checksum_verify()
from src/sys/cddl/boot/zfs/zfssubr.c always fails when zfsloader reads ZFS.
Meantime, zpool scrub finds no errors on this pool when I boot using USB flash/UFS.

I've just added LOADER_NO_GELI_SUPPORT= to my /etc/src.conf, reverted all local
(debugging) changes to /usr/src/sys/boot, did "make clean all install" there
and tried to boot using rebuilt zfsloader again (it it 44KB less now than zfsloader.old).
No changes, still fails same way. And I do not have r326583.



More information about the svn-src-head mailing list