Re: NVMM and NetBSD 9.0

2019-10-02 Thread Martin Husemann
On Wed, Oct 02, 2019 at 07:34:07AM -0500, Robert Nestor wrote:
> Confused about mvmm and NetBSD 9.0 BETA.   I did build and install the 
> version of qemu-nvmm from pkgsrc-wip, then tried running it and it gives:
> 
> qemu-system-x86_64: NVMM: No accelerator found, error=6
> qemu-system-x86_64: failed to initialize NVMM: No space left on device
> 
> I thought mvmm was in 9.0, but when I do a modstat I don?t see it listed and 
> there?s no mvmm.kmod file in the modules folder under /stand.  So I tried 
> building the module in /usr/src/sys/modules/nvmm and get this:

The module is installed by default for amd64 (if you install the modules set).
No need to build it by source.

Please check if you have /stand/amd64/9.0/modules/nvmm/nvmm.kmod
and /dev/nvmm.

Martin


NVMM and NetBSD 9.0

2019-10-02 Thread Robert Nestor
Confused about mvmm and NetBSD 9.0 BETA.   I did build and install the version 
of qemu-nvmm from pkgsrc-wip, then tried running it and it gives:

qemu-system-x86_64: NVMM: No accelerator found, error=6
qemu-system-x86_64: failed to initialize NVMM: No space left on device

I thought mvmm was in 9.0, but when I do a modstat I don’t see it listed and 
there’s no mvmm.kmod file in the modules folder under /stand.  So I tried 
building the module in /usr/src/sys/modules/nvmm and get this:

make: "/etc/mk.conf" line 298: Malformed conditional ((${OPSYS} == "OpenBSD" || 
${OPSYS} == "Bitrig"))
make: "/etc/mk.conf" line 626: Malformed conditional (${OPSYS} == "IRIX")
make[1]: "/etc/mk.conf" line 298: Malformed conditional ((${OPSYS} == "OpenBSD" 
|| ${OPSYS} == "Bitrig"))
make[1]: "/etc/mk.conf" line 626: Malformed conditional (${OPSYS} == "IRIX")
make[1]: Fatal errors encountered -- cannot continuemake: 
"/usr/share/mk/bsd.own.mk" line 208: warning: "cd "/usr/src" && make -V 
.OBJDIR" returned non-zero status
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/src/sys/modules/nvmm

This is with the standard /etc/mk,conf file that comes with 9.0_BETA 
installation.  The kernel, installation files and sources are from the Release 
Engineering Sept 29 build.

Obviously I’m doing something wrong or don’t understand something.  Can anybody 
enlighten me here?