Weird loader behavior

Juraj Lutter juraj at lutter.sk
Sun Jan 31 22:15:21 UTC 2021


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,0x28,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,0x28,0x64000)
Setting currdev to disk0p1:
Trying: PciRoot(0x0)/Pci(0x3,0x0)/HD(2,GPT,A7C612E0-6F85-11EA-8A55-00A09858FAF5,0x64028,0x400)
Setting currdev to disk0p2:
Trying: PciRoot(0x0)/Pci(0x3,0x0)/HD(3,GPT,A7D27D9F-6F85-11EA-8A55-00A09858FAF5,0x64800,0x800000)
Setting currdev to disk0p3:
Trying: PciRoot(0x0)/Pci(0x3,0x0)/HD(4,GPT,A7D7E55E-6F85-11EA-8A55-00A09858FAF5,0x864800,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

—
Juraj Lutter
XMPP: juraj (at) lutter.sk
GSM: +421907986576



More information about the freebsd-stable mailing list