Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 19:13:53 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Conrad Meyer <cem@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r359950 - head/usr.sbin/bhyve
Message-ID:  <20200419231353.fkx5uwtqq7h7yolh@mutt-hbsd>
In-Reply-To: <CAG6CVpUkVPFJLE_4KsQ1-AUG2OATQY45WNu5Fq%2BJDhem0Gd2jQ@mail.gmail.com>
References:  <202004150200.03F20I3H001953@repo.freebsd.org> <20200419224713.xaxvnuo334v6bhtj@mutt-hbsd> <CAG6CVpUkVPFJLE_4KsQ1-AUG2OATQY45WNu5Fq%2BJDhem0Gd2jQ@mail.gmail.com>

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

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

This is the full output from bhyve:

fbuf frame buffer base: 0x69191a00000 [sz 16777216]
bhyve: bootrom_alloc: vm_mmap_mapseg: No space left on device
bhyve: vmgenc_init: bootrom_alloc

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha=
wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

On Sun, Apr 19, 2020 at 04:04:16PM -0700, Conrad Meyer wrote:
> Hey Shawn,
>=20
> I will take a look. Thanks for the report and especially the repro exampl=
e.
> What sort of bad symptoms are you observing (or will it be super obvious
> when I try this)?
>=20
> Thanks,
> Conrad
>=20
> On Sun, Apr 19, 2020 at 15:53 Shawn Webb <shawn.webb@hardenedbsd.org> wro=
te:
>=20
> > On Wed, Apr 15, 2020 at 02:00:18AM +0000, Conrad Meyer wrote:
> > > Author: cem
> > > Date: Wed Apr 15 02:00:17 2020
> > > New Revision: 359950
> > > URL: https://svnweb.freebsd.org/changeset/base/359950
> > >
> > > Log:
> > >   bhyve(8): Add VM Generation Counter ACPI device
> > >
> > >   Add an implementatation of the 'Virtual Machine Generation ID' spec=
 to
> > >   Bhyve.  The spec provides a randomly generated GUID (at bhyve start=
) in
> > >   device memory, along with an ACPI device with _CID VM_Gen_Counter a=
nd
> > ADDR
> > >   evaluating to a Package pointing at that GUID.
> > >
> > >   A GPE is defined which Notifies the ACPI Device when the generation
> > changes
> > >   (such as when a snapshot is rolled back).  At this time, Bhyve does=
 not
> > >   support snapshotting, so the GPE is never actually raised.
> > >
> > >   Suggested by:       rpokala
> > >   Discussed with:     grehan
> > >   Differential Revision:      https://reviews.freebsd.org/D23165
> > >
> > > Added:
> > >   head/usr.sbin/bhyve/vmgenc.c   (contents, props changed)
> > >   head/usr.sbin/bhyve/vmgenc.h   (contents, props changed)
> > > Modified:
> > >   head/usr.sbin/bhyve/Makefile
> > >   head/usr.sbin/bhyve/acpi.c
> > >   head/usr.sbin/bhyve/acpi.h
> > >   head/usr.sbin/bhyve/bhyverun.c
> > >   head/usr.sbin/bhyve/pm.c
> >
> > Hey Conrad,
> >
> > Something about this commit broke bhyve in UEFI mode. Reverting this
> > specific change caused bhyve to work again. Here's a sample command:
> >
> > /usr/obj/usr/src/amd64.amd64/usr.sbin/bhyve/bhyve \
> >     -c 4 \
> >     -m 16g \
> >     -H \
> >     -A \
> >     -P \
> >     -S \
> >     -g 0 \
> >     -s 0:0,hostbridge \
> >     -s 1:0,lpc \
> >     -s 29,fbuf,tcp=3D127.0.0.1:5910,w=3D1024,h=3D768,wait \
> >     -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> >     -s 2:0,virtio-net,tap1 \
> >     -s 3:0,virtio-blk,/dev/zvol/rpool/bhyve/hbsd-cross-dso-cfi-01/disk-=
01 \
> >     -l com1,/dev/nmdm-hbsd-cross-dso-cfi-01-A \
> >     -s 31:0,ahci-cd,/ISO/HardenedBSD/12-stable_amd64/2020-04-19_disc1.i=
so \
> >     hbsd-cdcfi-01
> >
> > Thanks,
> >
> > --
> > Shawn Webb
> > Cofounder / Security Engineer
> > HardenedBSD
> >
> > GPG Key ID:          0xFF2E67A277F8E1FA
> > GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
> >
> > https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master=
/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
> >

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

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

iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl6c2ysACgkQ/y5nonf4
4fooag//bE9CS3aqjys+LM6sk2WhMnE/6kNi12zVup+LcJWSOMOz+ij2Omm0O3Ft
ZsVdJa/z0MMvdJwfkHIR+mIy/HX7Rl2u0dGVedg9aUxbS3C4YnvJMOGnZo0vTRuB
XSWw1lqESt2KKHcG9MuYTc038UZeY3h88vSKObq74ZphtVZBYky0HSbbJdzq8bUY
xh9rBcSabc72N/GkzTgBVBR4UwrteQ2qImWWYzbqbTXQa7xem5+af8p71n7ibzvz
5yjey9Fi1rTW9HkeFu16um9ZfSbA/guuXpdIjWRjL6fYpNcijo8vjbntmXmpXoIr
HwAZO7HxS2UHmblOTNnE1gDEtyJ/2Ax84h2WXtLyfB69WHM9R7+BOfhQqywPZGKu
7Z8LqXYdtYzFGgMSDAvZufyM3dFZzu5PRQCnGDiGWVwVICZpJJT5g2GGZB7HhExK
gDI/1g0l67duLpF/hVpdJvMxoU21Xdx39BwhTjXOgC7VnGYaufnz6MxMu8vb1LOh
/WNBAJTuBfnAXjXXS8Cn77BEV6CQRI8FdkzyDAC0ydHcv0NNvnIRw5HopZZLc8ox
YFYnT5m3hnuITh2Pno/ur6NxNprxmtsfUainem5qwAYt4EcmfkPolqu5r4CTou2u
/Sj0kL2hnTDqcbyHR0einAxxzpJO2Z6LObDcrMt/hVIckIE/H7Q=
=9F0l
-----END PGP SIGNATURE-----

--n4scb7s6isw3txja--



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