Date: Fri, 23 Oct 2020 07:23:01 +0300 From: Toomas Soome <tsoome@me.com> To: Jan Beich <jbeich@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: uefi(8) fails to boot from ZFS with compression=zstd Message-ID: <986E5318-5253-4CDD-ADEB-1DD009CCE759@me.com> In-Reply-To: <o8kt-wvgo-wny@FreeBSD.org> References: <o8kt-wvgo-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Does it boot when you copy loader.efi to bootx64.efi? Toomas=20 > On 23. Oct 2020, at 05:02, Jan Beich <jbeich@freebsd.org> wrote: >=20 > =EF=BB=BFAfter r366657 (currently, on r366953) I've tried to boot from a > compression=3Dzstd dataset but it failed to reach loader(8), see below. > However, switching to CSM path (boot1.efi -> gptzfsboot) makes it work. >=20 > Am I missing something? >=20 > $ strings /boot/boot1.efi | fgrep zstd > org.freebsd:zstd_compress >=20 > $ strings /boot/gptzfsboot | fgrep zstd > zstd > /usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c > org.freebsd:zstd_compress >=20 > $ zpool set bootfs=3Dtank/ROOT/freebsd-zstd tank > $ sh /usr/share/examples/bhyve/vmrun.sh -ATE -d /dev/nda0 -d /dev/nda1 hos= t-freebsd > Launching virtual machine "host-freebsd" ... > fbuf frame buffer base: 0x827800000 [sz 16777216] >=20 >>> FreeBSD EFI boot block > Loader path: /boot/loader.efi >=20 > Initializing modules: ZFS UFS > Load Path: \EFI\BOOT\BOOTX64.EFI > Load Device: PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0x0,0x0)/HD(2,GPT,<REDAC= TED>,0x250,0x5B0) > BootCurrent: 0000 > BootOrder: 0000[*] 0001 0002 0003 > Probing 8 block devices...not supported > not supported > not supported > better > not supported > not supported > not supported > good > done > ZFS found the following pools: tank > UFS found no partitions > ZFS: unsupported compression algorithm (null) > ZFS: i/o error - all block copies unavailable > Failed to read node from tank (5) > ZFS: unsupported compression algorithm (null) > ZFS: i/o error - all block copies unavailable > Failed to read node from tank (5) > Failed to load '/boot/loader.efi' > panic: No bootable partitions found! > Boot Failed. EFI Hard Drive > ... > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?986E5318-5253-4CDD-ADEB-1DD009CCE759>