Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 19:52:23 +0400
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        freebsd-virtualization@freebsd.org
Subject:   BHyVe: vm_setup_memory(highmem): Cannot allocate memory
Message-ID:  <20120815155222.GA46502@kloomba>

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

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

Hi,

I'm running into a problem. I did a fresh checkout of 'bhyve' branch
=66rom svn and followed the instruction here:

http://people.freebsd.org/~neel/bhyve/bhyve_instructions.txt

In my /boot/loader.conf I have:

debug.witness.watch=3D"0"
hw.physmem=3D"0x180000000"

and dmesg says:

real memory  =3D 8589934592 (8192 MB)
avail memory =3D 5643694080 (5382 MB)

When I try to start a VM I get this error:

(19:46) novel@kloomba:~/bhyve/vm1 %> sudo ./vmrun.sh -m 256 vm1
Launching virtual machine "vm1" with 256MB memory below 4GB and 2048MB memo=
ry above 4GB ...
vm_setup_memory(highmem): Cannot allocate memory
(19:46) novel@kloomba:~/bhyve/vm1 %>=20

This page:

http://callfortesting.org/bhyve/

describes that reloading 'vmm' would help, but doing it changes nothing.

Any ideas what's wrong with that? Also, I am curious, what do these
numbers mean:

"256MB memory below 4GB and 2048MB memory above 4GB". I get that 256 is
the amount of mem to give to VM, but what do 4GB and 2048MB stand for?

Thanks

Roman Bogorodskiy

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iQEcBAEBAgAGBQJQK8W2AAoJEMltX/4IwiJqR7kIAJrpp9sQWkypuM/h6Z71pXBs
orj84CToo2yTE/uapdTvkjXugudIYnzSCloTnx8CGLQW6QLcEA2+hyopA4W4woyb
wW38u6MkYyX9BsgTAiMsDL5PcuXrFB9iBzAgbRq11iiILCDcBqLGl1mrzK9KXxLl
UDTnHfy8P58vIto9xlACP9UwZ36asEfsubPLSRi6jIfPS4RFbYsuTWEGm8kpyE0w
9dkon0S547Fi+wtSXjO/FrlAzVUVmoag+ERTIERE15Qn+atpy6scUR+5MAc+41K8
SqdK9XkC2iPAcqrjU24fbvMj88B4XfyyGBC1GUW2iuBcoKSYQdN65hOhsp43qTg=
=WVIb
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--



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