NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nvmm woes: won't load



I am trying to run qemu/nvmm because of zfs memory problems.  But I'd
like nvmm to work anyway, so zfs is irrelevant here.

I have a Dell Inspiron 560 from around 2010 (my computers were free to
good home, so I'm not really sure).  This is a netbsd-10 system that's
up to date as of June 28.  (Will update, but I have not seen anything
related.)

Intel says this supports VT-X:nnn
 https://ark.intel.com/content/www/us/en/ark/products/42801/intel-pentium-processor-e5700-2m-cache-3-00-ghz-800-mhz-fsb.html

cpuctl says:

  cpu0: "Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz"
  cpu0: Intel Xeon 31xx, 33xx, 52xx, 54xx, Core 2 Quad 8xxx and 9xxx (686-class), 2992.50 MHz
  cpu0: family 0x6 model 0x17 stepping 0xa (id 0x1067a)
  cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
  cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
  cpu0: features 0xbfebfbff<SS,HTT,TM,PBE>
  cpu0: features1 0xc00e3bd<SSE3,DTES64,MONITOR,DS-CPL,VMX,EST,TM2,SSSE3,CX16>
  cpu0: features1 0xc00e3bd<xTPR,PDCM,XSAVE,OSXSAVE>
  cpu0: features2 0x20100800<SYSCALL/SYSRET,XD,EM64T>
  cpu0: features3 0x1<LAHF>

In the BIOS there is an option to enable virtualization and it was
enabled.  Apparently "VT-X" from the marketing people is "VMX" in more
nerdy contexts.

I have a dim memory of running nvmm before on this machine, but it's
dim; would have been with anita.  Probably under 9.

Trying to load nvmm:

  # modload nvmm
  modload: nvmm: Not supported

and in the log

  NVMM: proc-based-ctls requirements not satisfied
  autoconfiguration error: nvmm: cpu not supported
  WARNING: module error: modcmd(CMD_INIT) failed for `nvmm', error 86


On a 2014 system:

  cpu0: "Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz"
  cpu0: Intel Core i7, Xeon 34xx, 35xx and 55xx (Nehalem) (686-class), 2800.15 MHz
  cpu0: family 0x6 model 0x1a stepping 0x5 (id 0x106a5)
  cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
  cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
  cpu0: features 0xbfebfbff<SS,HTT,TM,PBE>
  cpu0: features1 0x98e3bd<SSE3,DTES64,MONITOR,DS-CPL,VMX,EST,TM2,SSSE3,CX16>
  cpu0: features1 0x98e3bd<xTPR,PDCM,SSE41,SSE42,POPCNT>
  cpu0: features2 0x28100800<SYSCALL/SYSRET,XD,RDTSCP,EM64T>
  cpu0: features3 0x1<LAHF>
  cpu0: features7 0x9c000000<IBRS,STIBP,L1D_FLUSH,SSBD>

trying to modload gets me:

  NVMM: proc-based-ctls2 requirements not satisfied

So, is there something wrong here, or is it that nvmm needs a pretty
recent CPU?  nvmm(4) implies "VMX is enough" and if that's not mostly
true it would be nice to fix it.

(The 2010 machine runs xen just fine.)


Home | Main Index | Thread Index | Old Index