BHyVe: vm_setup_memory(highmem): Cannot allocate memory

Roman Bogorodskiy novel at FreeBSD.org
Wed Aug 15 15:52:59 UTC 2012


Hi,

I'm running into a problem. I did a fresh checkout of 'bhyve' branch
from 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="0"
hw.physmem="0x180000000"

and dmesg says:

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

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

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

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20120815/d2c80aa4/attachment.pgp


More information about the freebsd-virtualization mailing list