Actions
Bug #2797
openvkernels with & without machdep.pmap_mmu_optimize
Start date:
02/27/2015
Due date:
% Done:
0%
Estimated time:
Description
Hello,
I tried vkernel64 according to vkernel(7) with & without machdep.pmap_mmu_optimize.
With machdep.pmap_mmu_optimize=0 vkernel boots with many ept_copyout: could not fault in vm map, gpa: 804928000
(addresses are changing)
With machdep.pmap_mmu_optimize=1 box paniced (no dump, keyboard hangs --- I can't type anything)
panic: assertion "origpte == 0 || (origpte & pmap->pmap_bit[PG_MANAGED_IDX]) failed in pmap_enter at /usr/src/sys/platform/pc64/x86_64/pmap.c:4122 trace beginning at frame panic() at panic+0x21f panic() at panic+0x21f pmap_enter() at pmap_enter+0x297 vm_fault() at vm_fault+0x5ab vmx_vmrun() at vmx_vm_run+0xebe vmx_vmrun() at vmx_vm_run+0x1f CPU0 stopping CPUs: 0x0000000e Stopped Stopped at Debugger+0x38: movb $0,0x125d681(%rip) db> panic: kqueue: checkloop failed i=0 cpuid = 0
===================DragonFly fly.home.net 4.1-DEVELOPMENT DragonFly v4.1.0.876.g2deaaa-DEVELOPMENT
===================
CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz (3400.03-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x77bae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,AVX,F16C,RDRND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x1<LAHF> Structured Extended Features=0x281<GSFSBASE,SMEP,ENHMOVSB> Thermal and PM Features=0x77<SENSOR,TURBO,ARAT,PLN,ECMD,PTM> MONITOR/MWAIT Features=0x3<CST,INTBRK> real memory = 7995148288 (7624 MB) avail memory = 7503593472 (7155 MB)
Files
Updated by tuxillo almost 10 years ago
- Status changed from New to In Progress
- Target version set to 4.2
Hi,
Yes, there is a known issue with EPT for vkernel.
To workaround it, boot the vkernel with -d option which disables it.
Ideally we'd track it down and fix it.
Cheers,
Antonio Huete
Actions