[DragonFlyBSD - Bug #2797] (In Progress) vkernels with & without machdep.pmap_mmu_optimize

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Feb 27 16:39:49 PST 2015

Issue #2797 has been updated by tuxillo.

Status changed from New to In Progress
Target version set to 4.2.x


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.

Antonio Huete

Bug #2797: vkernels with & without machdep.pmap_mmu_optimize

* Author: yellowrabbit2010
* Status: In Progress
* Priority: Low
* Assignee: 
* Category: VM subsystem
* Target version: 4.2.x

I tryed 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 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
  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>
real memory  = 7995148288 (7624 MB)
avail memory = 7503593472 (7155 MB)

IMG_20150228_091958.jpg (582 KB)
IMG_20150228_091943.jpg (593 KB)
IMG_20150228_093325.jpg (399 KB)
IMG_20150228_093317.jpg (559 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list