From owner-freebsd-current@freebsd.org Fri Oct 23 04:23:06 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62F3F43C908 for ; Fri, 23 Oct 2020 04:23:06 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-tydg10021701.me.com (pv50p00im-tydg10021701.me.com [17.58.6.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CHWLK4S8mz4rf6 for ; Fri, 23 Oct 2020 04:23:05 +0000 (UTC) (envelope-from tsoome@me.com) Received: from [192.168.150.140] (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id 46DEF84071B; Fri, 23 Oct 2020 04:23:03 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Toomas Soome Mime-Version: 1.0 (1.0) Subject: Re: uefi(8) fails to boot from ZFS with compression=zstd Date: Fri, 23 Oct 2020 07:23:01 +0300 Message-Id: <986E5318-5253-4CDD-ADEB-1DD009CCE759@me.com> References: Cc: freebsd-current@freebsd.org In-Reply-To: To: Jan Beich X-Mailer: iPhone Mail (18A8395) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-23_01:2020-10-20, 2020-10-23 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2010230032 X-Rspamd-Queue-Id: 4CHWLK4S8mz4rf6 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.54:from]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-0.25)[-0.253]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.953]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994]; MIME_GOOD(-0.10)[text/plain]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[17.58.6.54:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2020 04:23:06 -0000 Does it boot when you copy loader.efi to bootx64.efi? Toomas=20 > On 23. Oct 2020, at 05:02, Jan Beich 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,,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"=