On Thu, Oct 03, 2019 at 07:23:23PM +0000, Julien Grall wrote: > Hi, > > On 03/10/2019 19:15, Brian Woods wrote: > > On Thu, Oct 03, 2019 at 06:08:45PM +0100, Julien Grall wrote: > > (XEN) BW_DEBUG: .6 count_info=0x0000000000000000 > > (XEN) Domain heap initialised > > (XEN) BW_DEBUG: 01 count_info=0x0180000000000000 > > > > Those debug messages sandwich end_boot_allocator() in start_xen(). > > hmmm, looking back at the thread, the WARN_ON() I suggested is actually > incorrect. :/ Sorry for that. It should be: > > WARN_ON(mfn_x(page_to_mfn(pg + i)) == 0x01533); > > Note the "i" instead of "1". > > If the WARN_ON() is triggered between the two calls, then it would mean > we are giving page to the boot allocator. > > This would imply that next_modules() or dt_unreserved_regions() is not > working as expected (i.e. carving out any modules). > > Also, could you send your log with early printk enabled? > > Cheers, > > -- > Julien Grall Attached are the log and diff. There's a WARN_ON() between the two debug printks calls I shared above. -- Brian Woods