[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Errors with Loading Xen at a Certain Address


  • To: Julien Grall <Julien.Grall@xxxxxxx>
  • From: Brian Woods <brian.woods@xxxxxxxxxx>
  • Date: Thu, 3 Oct 2019 13:24:58 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=epam.com smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ATtUfIhqmu3R7IH+6hwzoRjyfmkxWE2noHpgEOZ8CYM=; b=flR01q57b27Xh8NWfg+dtr9/P90Isf+x1sTPaHzWkdwDBK7WVWEpvc5QGq3dxYGkr5X3SgZy3CEJdqTf8fOHOt2EBeXmJfq640X0N/In2/Zt7ZaedqYaPwQi5WNDiMUkAMU5VLEXnS1SNlDMdJeS6JPcWRGfpQvzIe1i0BfmQdLhLPlfJneawO+gWpyzZ1Ik9TKjNv+/OyHYGuBNtq8oDLmhi404Vtp94jUZ8YCxqyCuSeHHZav9ANcYSVSqzLvU+5BDYolL6nhHaxyIv21Eb2imruWcsdySoCjYU2SesnpkMPdOCxUIYs5TeNwWmTi/ebPZSXFGv56PZJ9M3bzSFQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d7ofAK+oEpBPoT8YIMutQOX8tas7sIsSOoECFdR3NNoGWACmdtmx1Crygk5Ue5havOjTD3GY08r7Xv4i57ZuZnGAxfNbjLwrNJrs2mRJvMUKy+AoZnKqOo2ihO2bHo9JXiitWdOPg3RJWtN7rz8gAs68YAcCGaEd8oNY39cjFJw8Up7lTW0IfHHoO3XYtw2FE2jzaW9bCbA9JBWW0IkFvAnzvILpOPRhuqch8xkSORqGfo2bqZyXyFhw7m0PIvKOWQ0fN+bniKN8R58CJuhSFUFgFrJmy2/lonUQ4TUfRgWP3B5EHnsbUKhPyCmanpBQXZgH0xn2G6D4S8Zja8j3wg==
  • Authentication-results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; epam.com; dkim=none (message not signed) header.d=none;epam.com; dmarc=bestguesspass action=none header.from=xilinx.com;
  • Cc: Brian Woods <brian.woods@xxxxxxxxxx>, nd <nd@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 03 Oct 2019 20:25:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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

Attachment: xen-git_52633db2c5ed-p8-bad_addr.log
Description: Text document

Attachment: debug.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.