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

Re: [Xen-devel] Having a DOM-U guest with 1:1 mapping in the second stage MMU.

  • To: Julien Grall <julien@xxxxxxx>
  • From: Andrei Cherechesu <andrei.cherechesu@xxxxxxx>
  • Date: Thu, 13 Feb 2020 17:27:25 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; 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=Ofd9BWOdU8OWCPit82X2UObkHS3FcONLtOGln9FM/dk=; b=Kk6vcuPZbo3svGn650O9K9KGiXZtVH0aKFJM2zbCf5BWpPgJEWmOJvfAhoXI7hl59ngv8tsfxmAP9RR595VdO3ICi0DBH9CgZE7ItJ56iENfiPZjA7ek2c4hcSHnSuh4FWA1DgKWKZ5xR/6TaLRbl6YxstMIiz+Tt/ZjXiotWNKqZhcAlM3CvUKiKHfFfr1f+3olob65KzgdzL4PCk1MVEPko1M7zrps+9PC1P/zCE+7/QRWEA941fkGSPAwGH58m9aOaUl0Go/mSkgYbh9J/dUdVxmqUs1R75pDMhJE+vMjCsZPPClf7z80hIKBpzO/IAuQbL2BavoFJ8j/uZ0VVg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fCapZG4BrpYcWa66kDhwaayg5LIv8+bKJ0ZIoWo9OCBNsB9c2wGDTR+p2oBIALIqIrzepMP1WZdq+UPbawYqNU2+CCQBSyvUXG5Eo9qtybDEie5JpAwv2CcMzF4qCAFuLTetHeuZLhzecmN8g7ZgSp2I5eAwrcmF8U0mGTaHEdEHacn3y0rOKvdV0nrbKhBx4V3heNS6kubLOGS0LHSH+3NTLs7PI283VlO/2FIQEoU6DS9O0KEYRbXFPjXG9+UgCE9utoG6YVZEfFo1Hm/O5ZaJ0i3vvKMF8EdgfwtfzNH8meh2ZWQB6a0xgexdkXYLpniPzHUtds/hAdHtLe78Tg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=andrei.cherechesu@xxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 13 Feb 2020 17:27:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdXij/4YfVU1SidNS1iBhGFKGrknqQ==
  • Thread-topic: [Xen-devel] Having a DOM-U guest with 1:1 mapping in the second stage MMU.

-----Original Message-----
From: Julien Grall <julien@xxxxxxx> 
Sent: Thursday, February 13, 2020 00:03
To: Stefano Stabellini <sstabellini@xxxxxxxxxx>; Andrei Cherechesu 
Cc: Jorge Pereira <jorge.pereira@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Having a DOM-U guest with 1:1 mapping in the second 
stage MMU.


I used the Xen from Stefano's tree and made the updates to the partial
dtb that he specified.

> This is mostly likely because Linux is trying to access a region
> that is not mapped in stage-2. You can rebuild Xen with debug enabled
> and you should see a message "traps.c:..." telling the exact physical
> address accessed.
> In general I would recommend to build Xen with debug enabled during 
> development as the hypervisor will give you more information of what's going 
> on.
> Cheers,
> --
> Julien Grall

I enabled debug config and gave it another try. But I'm still
getting the same unhandled fault error, that seems to match what
Julien described above.

It is indeed a stage-2 abort caused by the guest.

I attached the DomU1 crash log at [0].

[0] https://pastebin.com/BSHVFQiK

How should I proceed in this case?

Thank you again for your support,
Xen-devel mailing list



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