Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2021 00:59:55 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-virtualization@freebsd.org
Subject:   anyone able to bhyve openbsd 7.0 ?
Message-ID:  <YY8OCw0GohfpbGQH@ceres.zyxst.net>

next in thread | raw e-mail | index | archive | help

--RGs1YF8YV7jbLgLw
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D0.0.0.0:5900,w=3D800,h=3D600,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:                                                     =
                  =20
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=3Dopenbsd70 --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
=66rom 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-h=
ost-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,
--=20
J.

--RGs1YF8YV7jbLgLw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmGPDgIACgkQs8o7QhFz
NAU6jxAAq3y+GuUBZI9117N6pBw8MU/BjZhgpJZDzgjd4go91hRyMr7u41uW17aw
PZwYPXEr4XqnZsLsc+S4RPJWgFq70VlZ2EHPXB7T7oYPNFhwJH5sjTCDpptBVDvT
SRlUqPwM1U9mP/BlJGrrShhLIVcgJBoxlFcZkZbCt+zygOtbyDlA/3m/wsYLIJkm
kmGmx/29CnpHh2RpXhA3dkYQZPp6pBCpAurS3HQDGxs+82PBspXwPoOBtANK8dOw
r6CmWW3YHiL3ixHWdDo+qDOgOmQA6DNq/8hlgKxCRX94Mlk5YLGwZ0dffw66Ps8Q
A8fbKM78g0r94sgdW4Llf9HZu+6WsXE1mp/joIDCiRlXIB4X7SlGqG9VI+ExIQru
8uk7CNAz0yk2bXIxzI1bviympj7SPelV4r0bzedcdQa5kCxAwiCOZZg/REa8y4Ny
D60Pa16u0uk2Y6Wi7Xn9fPj3UKvv+gWK7JboCire3/wvLf04IG0KUf3x815T7+/x
/uXqj+2tM60gjLzKbcOnt5iz6lrnEwZmPycTjd/KyV7NZIJ1NFUNkAGoKM2Fuxnl
4HT+X1IOa6/h9hwZF683JUQzhzTNQou56ymXLEf1wxViEnRz1WPmdc2nS1XCgrgr
juqp71oMIJDDUblnpsX2t/sEweAPwec3MG0gae91cTuAr3yaoF4=
=b6dW
-----END PGP SIGNATURE-----

--RGs1YF8YV7jbLgLw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YY8OCw0GohfpbGQH>