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

Re: xen/evtchn: Dom0 boot hangs using preempt_rt kernel 5.10


  • To: Jason Andryuk <jandryuk@xxxxxxxxx>
  • From: Luca Fancellu <luca.fancellu@xxxxxxx>
  • Date: Tue, 23 Mar 2021 15:39:07 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=cA+dwOzGZZMSncEvtsR8v1wR30ZJazGZNB8d4LHiXYU=; b=jX+qzQxGn4M7G2M/ubQix1bDp7/7aHGY7HSnoWXD8Vy/IQ2h8QM6D4eQnji7e//at2T9Ugrz38MvB7oYfLnoVarF9NKwuJKzVMXGuPP/h/87fw2b7HIa4U7Qf9LE2wWfjWLgf+WVJB8w7LK5jMC0DWboMRkJJJGpE1aKaHPxa2Vv48Vc3d39uifOXdqpZnuvnCeab80pAKcZhMVDuklDeej2z5PP1s2vpJvhmyJk0o4pGvO7GMj0MhKFNjCrjUAP6SzfJUb1TY1nLVBfv8BIGetwHjiK7YykAki67iE5eFjvspdLU1gCKWaGVVTq7f1xkxBEcWNd5D5GBZtDJts+6w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VpSal36fpqDkeA/+IbJSiCwWTPVsdbZrpeEqwIlfaQNH+IwALzGtzXhnjko8BS3ruRBtEsQca4rS/yus9IiO49cxr5kkG+hNWizmig39wxGX4lHg3JaiMxDmIMJHCfnp/vBQzrPkauTb6qRcs4aJYGt/Opdyf9M9XZ6jGL2nfq6xALZTYQF6JVQW5N24wGR9lDTJToVX0LwXnFsLTU1bNWVQsaVMeNioBT9XNfz+wwYwq0F45f5bow/KxKdVP7B4Ku4b2oyMvLgmpHbmibq6P0cCUYfI1wjRNmkyD0Io9bWmWKAM1orBwcbqxpFBR/3+/Gxd/v/Fmn/bmgDrHw6vAA==
  • Authentication-results-original: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 23 Mar 2021 15:39:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com;

Hi Jason,

Thanks for your hints, unfortunately seems not an init problem because in the 
same init configuration I tried the 5.10.23 (preempt_rt) without the Juergen 
patch but with the BUG_ON removed and it boots without problem. So seems that 
applying the serie does something (on a preempt_rt kernel) and we are trying to 
figure out what.


> On 23 Mar 2021, at 12:36, Jason Andryuk <jandryuk@xxxxxxxxx> wrote:
> 
> On Mon, Mar 22, 2021 at 3:09 PM Luca Fancellu <luca.fancellu@xxxxxxx> wrote:
>> 
>> Hi Juergen,
>> 
>> Yes you are right it was my mistake, as you said to remove the BUG_ON(…) 
>> this serie 
>> (https://patchwork.kernel.org/project/xen-devel/cover/20210306161833.4552-1-jgross@xxxxxxxx/)
>>  is needed, since I’m using yocto I’m able to build a preempt_rt kernel up 
>> to the 5.10.23 and for this reason I’m applying that serie on top of this 
>> version, then I’m removing the BUG_ON(…).
>> 
>> A thing that was not expected is that now the Dom0 kernel is stuck on 
>> “Setting domain 0 name, domid and JSON config…” step and the system seems 
>> unresponsive. Seems like a deadlock issue but looking into the serie we 
>> can’t spot anything and that serie was also tested by others from the 
>> community.
>> Do you have any idea on that?
> 
> I think this can happen if xenstored isn't running.  Client access to
> xenstore blocks until xenstored becomes available.  So check your init
> scripts ordering.
> 
> Regards,
> Jason

Cheers,
Luca


 


Rackspace

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