Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2021 23:15:10 +0100
From:      Juraj Lutter <juraj@lutter.sk>
To:        freebsd-stable@freebsd.org
Subject:   Weird loader behavior
Message-ID:  <6059C0E7-20CC-4B43-86DF-5EE2DD66818C@lutter.sk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6059C0E7-20CC-4B43-86DF-5EE2DD66818C>