NetBSD-Users archive

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

Re: nvmm doesn't work on "Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz"?



Did you 'modload nvmm' ? It doesn't get loaded automatically.

On Sun, 25 Apr 2021 at 16:55, Rhialto <rhialto%falu.nl@localhost> wrote:
>
> Hi all,
>
> I've just bought a new computer with a "Intel(R) Core(TM) i5-9600K CPU @
> 3.70GHz" cpu. I have enabled VMX and VT-d in the "BIOS", but nvmm
> doesn't seem to work on it. It's not reported in the kernel boot
> messages; on my old computer it is.
>
> $ qemu-system-x86_64 -accel nvmm
> qemu-system-x86_64: -accel nvmm: NVMM: Initialization failed, error=6
> qemu-system-x86_64: -accel nvmm: failed to initialize nvmm: Device not
> configured
>
> This is what cpuctl says about the CPU; which details should I look at?
>
> bash-5.1$ cpuctl identify 0
> Cannot bind to target CPU.  Output may not accurately describe the target.
> Run as root to allow binding.
>
> cpu0: highest basic info 00000016
> cpu0: highest extended info 80000008
> cpu0: "Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz"
> cpu0: Intel 7th or 8th gen Core (Kaby Lake, Coffee Lake) or Xeon E (Coffee Lake) (686-class), 3696.00 MHz
> cpu0: CPU base freq 3700000000 Hz
> cpu0: CPU max freq 4600000000 Hz
> cpu0: TSC freq CPUID 3696000000 Hz
> cpu0: family 0x6 model 0x9e stepping 0xd (id 0x906ed)
> cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
> cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
> cpu0: features 0xbfebfbff<SS,HTT,TM,SBF>
> cpu0: features1 0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MONITOR,DS-CPL,VMX,SMX,EST>
> cpu0: features1 0x7ffafbff<TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE41,SSE42>
> cpu0: features1 0x7ffafbff<X2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,OSXSAVE,AVX>
> cpu0: features1 0x7ffafbff<F16C,RDRAND>
> cpu0: features2 0x2c100800<SYSCALL/SYSRET,XD,P1GB,RDTSCP,EM64T>
> cpu0: features3 0x121<LAHF,LZCNT,PREFETCHW>
> cpu0: features5 0x29c6fbf<FSGSBASE,TSCADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS>
> cpu0: features5 0x29c6fbf<INVPCID,RTM,FPUCSDS,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT>
> cpu0: features5 0x29c6fbf<PT>
> cpu0: features6 0x40000000<MAWAU=0x0,SGXLC>
> cpu0: features7 0xbc000600<SRBDS_CTRL,MD_CLEAR,IBRS,STIBP,L1D_FLUSH,ARCH_CAP>
> cpu0: features7 0xbc000600<SSBD>
> cpu0: xsave features 0x1f<x87,SSE,AVX,BNDREGS,BNDCSR>
> cpu0: xsave instructions 0xf<XSAVEOPT,XSAVEC,XGETBV,XSAVES>
> cpu0: xsave area size: current 832, maximum 1088, xgetbv enabled
> cpu0: enabled xsave 0x7<x87,SSE,AVX>
> cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
> cpu0: L2 cache 256KB 64B/line 4-way
> cpu0: L3 cache 9MB 64B/line 12-way
> cpu0: 64B prefetching
> cpu0: ITLB 128 4KB entries 8-way, 2M/4M: 8 entries
> cpu0: DTLB 64 4KB entries 4-way
> cpu0: L2 STLB 1536 4KB entries 6-way
> cpu0: L1 1GB page DTLB 4 1GB entries 4-way
> cpu0: Initial APIC ID 6
> cpu0: Cluster/Package ID 0
> cpu0: Core ID 3
> cpu0: SMT ID 0
> cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
> cpu0: monitor-line size 64
> cpu0: C1 substates 2
> cpu0: C2 substates 1
> cpu0: C3 substates 2
> cpu0: C4 substates 4
> cpu0: C5 substates 1
> cpu0: C6 substates 1
> cpu0: C7 substates 1
> cpu0: DSPM-eax 0x27f7<DTS,IDA,ARAT,PLN,ECMD,PTM,HWP,HWP_NOTIFY,HWP_ACTWIN>
> cpu0: DSPM-eax 0x27f7<HWP_EPP,HDC>
> cpu0: DSPM-ecx 0x1<HWF>
> cpu0: SEF highest subleaf 00000000
> cpu0: Power Management features: 0x100<ITSC>
> cpu0: Perfmon-eax 0x7300804<VERSION=0x4,GPCounter=0x8,GPBitwidth=0x30>
> cpu0: Perfmon-eax 0x7300804<Vectorlen=0x7>
> cpu0: Perfmon-edx 0x603<FixedFunc=0x3,FFBitwidth=0x30>
> cpu0: microcode version 0xd6, platform ID 1
>
>
> On my old computer, it is loke this, and the features with VM in them
> look the same (VME, VMX).
>
> $ cpuctl identify 0
> Cannot bind to target CPU.  Output may not accurately describe the target.
> Run as root to allow binding.
>
> cpu0: highest basic info 0000000d
> cpu0: highest extended info 80000008
> cpu0: "Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz"
> cpu0: Intel Xeon E3-12xx, 2nd gen i7, i5, i3 2xxx (686-class), 3292.74 MHz
> cpu0: family 0x6 model 0x2a stepping 0x7 (id 0x206a7)
> cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
> cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
> cpu0: features 0xbfebfbff<SS,HTT,TM,SBF>
> cpu0: features1 0x1d9ae3bf<SSE3,PCLMULQDQ,DTES64,MONITOR,DS-CPL,VMX,EST,TM2>
> cpu0: features1 0x1d9ae3bf<SSSE3,CX16,xTPR,PDCM,PCID,SSE41,SSE42,POPCNT>
> cpu0: features1 0x1d9ae3bf<DEADLINE,XSAVE,OSXSAVE,AVX>
> cpu0: features2 0x28100800<SYSCALL/SYSRET,XD,RDTSCP,EM64T>
> cpu0: features3 0x1<LAHF>
> cpu0: xsave features 0x7<x87,SSE,AVX>
> cpu0: xsave instructions 0x1<XSAVEOPT>
> cpu0: xsave area size: current 832, maximum 832, xgetbv enabled
> cpu0: enabled xsave 0x7<x87,SSE,AVX>
> cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
> cpu0: L2 cache 256KB 64B/line 8-way
> cpu0: L3 cache 3MB 64B/line 12-way
> cpu0: 64B prefetching
> cpu0: ITLB 64 4KB entries 4-way, 2M/4M: 8 entries
> cpu0: DTLB 64 4KB entries 4-way, 2M/4M: 32 entries (L0)
> cpu0: L2 STLB 512 4KB entries 4-way
> cpu0: Initial APIC ID 3
> cpu0: Cluster/Package ID 0
> cpu0: Core ID 1
> cpu0: SMT ID 1
> cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
> cpu0: monitor-line size 64
> cpu0: C1 substates 2
> cpu0: C2 substates 1
> cpu0: C3 substates 1
> cpu0: DSPM-eax 0x75<DTS,ARAT,PLN,ECMD,PTM>
> cpu0: DSPM-ecx 0x9<HWF,EPB>
> cpu0: SEF highest subleaf 00000000
> cpu0: Power Management features: 0x100<ITSC>
> cpu0: Perfmon-eax 0x7300403<VERSION=0x3,GPCounter=0x4,GPBitwidth=0x30>
> cpu0: Perfmon-eax 0x7300403<Vectorlen=0x7>
> cpu0: Perfmon-edx 0x603<FixedFunc=0x3,FFBitwidth=0x30>
> cpu0: microcode version 0x26, platform ID 1
>
> -Olaf.
> --
> ___ Q: "What's an anagram of Banach-Tarski?"  -- Olaf "Rhialto" Seibert
> \X/ A: "Banach-Tarski Banach-Tarski."         -- rhialto at falu dot nl



-- 
----


Home | Main Index | Thread Index | Old Index