From owner-freebsd-stable@freebsd.org Sun Jan 31 22:15:21 2021 Return-Path: Delivered-To: freebsd-stable@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 BC1EE4EA119 for ; Sun, 31 Jan 2021 22:15:21 +0000 (UTC) (envelope-from juraj@lutter.sk) Received: from ns2.wilbury.net (ns2.wilbury.net [92.60.51.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DTQPN1qK3z4mR2 for ; Sun, 31 Jan 2021 22:15:19 +0000 (UTC) (envelope-from juraj@lutter.sk) Received: from chemex.owhome.lan (gw-upc.owhome.net [188.167.168.254]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id 0850B45D0B3 for ; Sun, 31 Jan 2021 23:15:12 +0100 (CET) From: Juraj Lutter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Weird loader behavior Message-Id: <6059C0E7-20CC-4B43-86DF-5EE2DD66818C@lutter.sk> Date: Sun, 31 Jan 2021 23:15:10 +0100 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DTQPN1qK3z4mR2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of juraj@lutter.sk designates 92.60.51.55 as permitted sender) smtp.mailfrom=juraj@lutter.sk X-Spamd-Result: default: False [-2.79 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[92.60.51.55:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[92.60.51.55:from:127.0.2.255]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:92.60.51.55]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_NA(0.00)[lutter.sk]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:44185, ipnet:92.60.48.0/22, country:SK]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2021 22:15:21 -0000 Hi, after a routine buildworld/kernel/installworld/kernel/etcupdate on a = stable/12 bhyve guest, loader started to spit: Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/amd64 EFI loader, Revision 1.1 Command line arguments: loader.efi EFI version: 2.40 EFI Firmware: BHYVE (rev 1.00) Console: efi (0x20001000) Load Path: \EFI\BOOT\BOOTX64.EFI Load Device: = PciRoot(0x0)/Pci(0x3,0x0)/HD(1,GPT,A7A0422F-6F85-11EA-8A55-00A09858FAF5,0x= 28,0x64000) BootCurrent: 0000 BootOrder: 0000[*] 0001 0002 0003 BootInfo Path: PciRoot(0x0)/Pci(0x3,0x0) Ignoring Boot0000: Only one DP found Trying ESP: = PciRoot(0x0)/Pci(0x3,0x0)/HD(1,GPT,A7A0422F-6F85-11EA-8A55-00A09858FAF5,0x= 28,0x64000) Setting currdev to disk0p1: Trying: = PciRoot(0x0)/Pci(0x3,0x0)/HD(2,GPT,A7C612E0-6F85-11EA-8A55-00A09858FAF5,0x= 64028,0x400) Setting currdev to disk0p2: Trying: = PciRoot(0x0)/Pci(0x3,0x0)/HD(3,GPT,A7D27D9F-6F85-11EA-8A55-00A09858FAF5,0x= 64800,0x800000) Setting currdev to disk0p3: Trying: = PciRoot(0x0)/Pci(0x3,0x0)/HD(4,GPT,A7D7E55E-6F85-11EA-8A55-00A09858FAF5,0x= 864800,0x479B000) Setting currdev to zfs:zroot/ROOT/default: ZFS: i/o error - all block copies unavailable ZFS: i/o error - all block copies unavailable ERROR: /boot/lua/loader.lua:1: unexpected symbol near '`'. Type '?' for a list of commands, 'help' for more detailed help. OK - KERNCONF is stock GENERIC - problematic version is stable/12-c243335-ge817c8f77fe - Booting off 12.2-STABLE snapshot ISO 20210128-r369150 and using -a = flag to ask for a root mount and specifying zfs:zroot/ROOT/default makes the system = run normally (apropriate modules have to be loaded from within the loadet, = ofc). - using in-tree zfs - zpool scrub did not show any anomalies - gpart bootcode has already been run (after first unsusccessful boot). - Another bhyve guest (13.0-ALPHA3) on the same host works OK Any suggestions what to check, please? Thanks otis =E2=80=94 Juraj Lutter XMPP: juraj (at) lutter.sk GSM: +421907986576