Re: anyone able to bhyve openbsd 7.0 ?

From: tech-lists <tech-lists_at_zyxst.net>
Date: Sat, 13 Nov 2021 02:18:42 UTC
Hi,

On Fri, Nov 12, 2021 at 07:25:12PM -0600, Dustin Marquess wrote:
>
>set com tty0
>
>At the boot prompt manually. After install, however, I don't seem to have to.

I don't seem to be able to get to the boot prompt. 

Following the instructions on https://wiki.freebsd.org/bhyve/OpenBSD like so:

% sudo bhyve -c 2 -m 4G -w -u -H \
-s 0,amd_hostbridge \
-s 3,ahci-hd,/usr/home/REDACTED/isos/OpenBSD/amd64/install70.img \
-s 4,virtio-blk,./obsd70.img \
-s 5,virtio-net,tap0 \
-s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,vga=off,wait \
-s 30,xhci,tablet \
-s 31,lpc -l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
openbsd70

[console output]
fbuf frame buffer base: 0x943800000 [sz 16777216]

[in another terminal, do vncviewer 127.0.0.1:5900]

BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK
BHYVE-A09F-F442-FB09" from
PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from
PciRoot(0x0)/Pci(0x4,0x0): Not Found

>>Start PXE over IPv4.
   PXE-E16: No valid offer received.
   BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:00A098D26B6B)" from
   PciRoot(0x0)/Pci(0x5,0x0)/MAC(00A098D26B6B,0x1)/IPv4
   (0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found

   >>Start HTTP Boot over IPv4.....
     Error: Could not retrieve NBP file size from HTTP server.

       Error: Server response timeout.
       BdsDxe: failed to load Boot0004 "UEFI HTTPv4 (MAC:00A098D26B6B)"
       from
       PciRoot(0x0)/Pci(0x5,0x0)/MAC(00A098D26B6B,0x1)/IPv4(0.0.0.0,0x0,
       DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri():
       Not Found
       BdsDxe: loading Boot0005 "EFI Internal Shell" from
       Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
       BdsDxe: starting Boot0005 "EFI Internal Shell" from
       Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)

then

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (BHYVE, 0x00010000)
Mapping table
      BLK0: Alias(s):
           PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0)
      BLK1: Alias(s):
           PciRoot(0x0)/Pci(0x4,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> 

At the Shell prompt I tried entering 'set com tty0' which it accepted.
Then to get out of the shell, I typed exit but it went off trying PXE
boot etc again. Where am I going wrong?

thanks,
-- 
J.