[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: Wed, 2 Oct 2019 16:20:18 -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=yipiZRJ5tdE4vqJoaO6lQ/6ji3rs5NCToE0a3wXfnKc=; b=Don4+WVERRPxbrtoCW7CY5ygdr6FvneOmu9RnHhA84MRtC1dVlhWc2db6HmXDFFO58jbf4C2frHize+pnqLUdt6vpfaKxFuE9ZkTAAr3XVC9TVF5VwLlPgaAD14VrdDyd6QqEk5ETXgKTk5x9zhGN50S7A6+7ePosyu3jTa41MhvmMZ4S8H6dJeRqA6jpr+8iAWSa3eLLVpj0XyIsMsLNZU/3Phv2bJEXosVnX4GUpjM+gNjzxXd1QD9g0hKmNmOGh2uKxGPlmnESIAk+3b1MmFSfJziTzZ6Z0o9HwzOgmdsqoT/km/TWp3yIlJtNN/x6KyfE2/EOmd5ioWsYbMydQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d74wuksHzydgP5J9SIXwkq3MHfh4H6urFONjTivJiP6+yYU2VyMSPPct/47GrxV6/3+cg3UumhQXYYSlD4bH2Zk9Gimiga3MfergSaht7hPDKCwUl9tY8flWa8WAOJoCgG9HEnqjTnMzj0xpl6e4CXFwAOPFuuElItzyMIPsSCXRgkxBPTMBt0J6akQBeHtzb9Wdu4smGs2YUZaBPZlvlDHd+ksxZK/ouh6wjN+T808XUpprgtrQk9MSaHmI5XFVe7h42wzyXcS6U1Hl3Je56sI4sJ4xCgv+X3DtQIfUaseLGzrmnndRbAh5Di7z+U0YuLXQBLSt3SnPwEXvtp8iuQ==
  • 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>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 02 Oct 2019 23:21:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Oct 02, 2019 at 02:22:49PM -0700, Brian Woods wrote:
> On Wed, Oct 02, 2019 at 08:59:28PM +0100, Julien Grall wrote:
> > Hi,
> > 
> > On 10/2/19 7:56 PM, Brian Woods wrote:
> > 
> > Hmmm, the first e-mail didn't land in my inbox directly (I have a filter
> > send to a separate directory any e-mail I not CCed on). Did you BCC me by
> > any change?
> That's odd.  I know I copied your and Stefano's email addresses from the
> MAINTAINERS file but under my sent emails it shows it has having no
> CCs...  PEBCAK I guess.  My apologies.
> > 
> > Let see try to troubleshoot it first :).
> > 
> > Well, any attachment you send on the ML will store to each subscribers
> > mailbox. I let you do the math here ;)
> > 
> > So yeah, pastebin is always the preferred way when you have to send the full
> > log.
> > 
> > Thank you for the log. So that's probably not a double-init then.
> > 
> > Looking back at the log, the values look quite sane. So I am not entirely
> > sure what is happening.
> > 
> > I would check that the frametable is correctly zeroed. You could add a print
> > at the end of setup_frametable_mappings(...) to dump the count_info for the
> > page. Something like:
> >      mfn_to_page(_mfn(0x01533))->count_info;
> > 
> > If it is correctly initialized, it should be zero.
> > 
> > The next step would be to add a similar print in start_xen()
> > (xen/arch/arm/setup.c) and see where the value is not 0 anymore.
> > 
> > Cheers,
> > 
> > -- 
> > Julien Grall
> 
> I'll go ahead add those and see if that leads to anything.
> 
> -- 
> Brian Woods

Ok, I added:
        printk("BW_DEBUG: 01 count_info=0x%016lx\n",
            mfn_to_page(_mfn(0x01533))->count_info);
In some places.  I'm not sure about some of the earlier ones (the ones
before the UART is set up),  but all of the ones afterwards that
actually get output are:
        BW_DEBUG: 11 count_info=0x0180000000000000

Is it worth trying to figure out where the printk buffer is and reading
it really early on?

-- 
Brian Woods

_______________________________________________
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®.