anyone able to bhyve openbsd 7.0 ?
- Reply: Dustin Marquess : "Re: anyone able to bhyve openbsd 7.0 ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Nov 2021 00:59:55 UTC
Hi, I seem unable to bhyve install OpenBSD 7.0. I'm running recent stable/13: stable/13-n247974-1da2deab7c2 The command I'm running is % sudo bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc \ -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,./obsd70.img \ -s 4:0,ahci-cd,/usr/home/REDACTED/isos/OpenBSD/amd64/cd70.iso -c 4 -m 4096M \ -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \ -s 30,xhci,tablet -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd \ openbsd70 in vncviewer it shows: Boot Failed. CDROM 0 Boot Failed. Harddisk 1 Boot Failed. EFI DVD/CDROM Boot Failed. EFI Misc Device At the console, I see: fbuf frame buffer base: 0x943800000 [sz 16777216] pci_fbuf: mmap_memseg failed pci_fbuf: munmap_memseg failed pci_fbuf: mmap_memseg failed pci_fbuf: munmap_memseg failed in order for the prompt to return, I have to first close vncviewer and then 'sudo bhyvectl --vm=openbsd70 --destroy' the console then shows 'vm_run error -1, errno 6' and my prompt returns. Similar results with BHYVE_UEFI.fd if I change ahci-cd to point to install70.iso, it first tries to load from the image then fails then tries to pxe boot, fails, then http boot, then drops to the uefi prompt. What's the right way to do this? I've been following https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-host-bhyve section 22.7.5. Graphical UEFI Framebuffer for bhyve Guests. If I follow the instructions for legacy non-graphical boot the prompt never returns. thanks, -- J.