panic: pmap_demote_pde: a wired mapping is missing PG_A cpuid = 0 time = 3 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe005773b430 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe005773b590 vpanic() at vpanic+0x257/frame 0xfffffe005773b750 panic() at panic+0xb5/frame 0xfffffe005773b810 pmap_demote_pde_locked() at pmap_demote_pde_locked+0x233a/frame 0xfffffe005773b9f0 pmap_advise() at pmap_advise+0x865/frame 0xfffffe005773bb10 vm_map_madvise() at vm_map_madvise+0x875/frame 0xfffffe005773bc50 sys_madvise() at sys_madvise+0x1d8/frame 0xfffffe005773bd10 amd64_syscall() at amd64_syscall+0x4e2/frame 0xfffffe005773bf30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe005773bf30 --- syscall (198, FreeBSD ELF64, __syscall), rip = 0x3a197a, rsp = 0x8260f3f08, rbp = 0x8260f3f80 --- KDB: enter: panic [ thread pid 1169 tid 100649 ] Stopped at kdb_enter+0x6e: movq $0,0x25be9d7(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0x28 rax 0x12 rcx 0xfffffe00033eee30 rdx 0 rbx 0xffffffff827b0760 .str.27 rsp 0xfffffe005773b570 rbp 0xfffffe005773b590 rsi 0 rdi 0xffffffff81614619 printf+0x149 r8 0 r9 0xffffffff r10 0x1 r11 0 r12 0xfffffe0054952780 r13 0xfffffffffffffffe r14 0xffffffff827b0760 .str.27 r15 0 rip 0xffffffff815fe7be kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x25be9d7(%rip) db>