Re: viomb0 unable to allocate256 physmem pages, error 12

2024-05-15 Thread Philip Guenther
viomb is a driver that tries to support OpenBSD, as a VM guest, responding to a request from the VM host to stop using so much physical memory. That log message indicates that the kernel couldn't easily free up that much physical memory, sorry! The VM host is, of course, free to decide to just pa

Re: viomb0 unable to allocate256 physmem pages, error 12

2024-05-14 Thread F Bax
I'm not a coder; but I found source for viomb; which calls uvm_pglistalloc; which calls uvm_pmr_getpages which mentions ENOMEM: https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/uvm/uvm_pmemrange.c?rev=1.66&content-type=text/plain There I found this comment: * fail if any of these condit

Re: viomb0 unable to allocate256 physmem pages, error 12

2024-05-14 Thread Peter J. Philipp
On Tue, May 14, 2024 at 01:58:18PM -0400, F Bax wrote: > Recently installed 7.5 amd64 in qemu VM (8G RAM) under proxmox. See this > message many times on console and dmesg. > > viomb0 unable to allocate 256 physmem pages, error 12 > > What does this mean? How to resolve this issue? Hi, When you