On Mon, 2015-11-30 at 16:25 +0000, Ian Campbell wrote: > (d54) Pinning the boot page table pfn 4be3 / mfn 1bfd71/1bfd71 > (d54) pin_table: MFN 1bfd71 > (XEN) mm.c:2417:d54v0 Bad type (saw 1400000000000001 != exp 7000000000000000) > for mfn 165b81 (pfn 4d81)
I added a "BUG_ON(*pt_pfn == 0x4d81);" to mini-os's new_pt_frame, which after some messing with gdb to decode produced this stack trace: 716e7: arch_do_exit + 9 in section .text 66176: do_exit + 28 in section .text 6ff68: new_pt_frame + 134 in section .text 70401: need_pgt + 410 in section .text 706ec: do_map_frames + 284 in section .text 66e72: sbrk + 130 in section .text 7768e: _sbrk_r + 30 in section .text 74fa3: _malloc_r + 1219 in section .text 76f3f: _realloc_r + 511 in section .text 31035: unsafe_flush + 46 in section .text 38bc7: unxz + 480 in section .text 310fa: xc_dom_decompress_unsafe + 110 in section .text 38cec: xc_try_xz_decode + 45 in section .text 286ff: xc_dom_probe_bzimage_kernel + 891 in section .text 24613: xc_dom_find_loader + 89 in section .text 24d83: xc_dom_parse_image + 58 in section .text 19d06: kexec + 1012 in section .text 03c27: pv_boot + 97 in section .text 08e4b: boot_func + 52 in section .text 0ab16: run_script + 294 in section .text 10848: run_menu + 3133 in section .text 10fb2: cmain + 1444 in section .text 04447: main + 303 in section .text 66991: call_main + 581 in section .text 03423: thread_starter + 9 in section .text I'm not quite sure what to make of this, in particular I don't see anything in kexec.c which obviously looks after unmapping the heap or brk areas. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel