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

Re: [BUG] Linux kernel crash in amd_smn_init during PVH Dom0 boot on AMD EPYC


  • To: Arthur Borsboom <arthurborsboom@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Fri, 21 Aug 2026 16:42:29 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WfLPMpH8LtRG8qnXzF/foDvebuOFDGtRC45knZK6XFQ=; b=yl5qqf0BCM8ByovaDWP5fG6IbsCihBOTiE09sA3hm4XT4Q0rPYfczVJBrh3iJEggcJpjOO7ixitQhpeFoyGa1uJZcY/ul2WCg53IRnBgoVz5IKUzIeL8DlFmrBsBmPYWUA6bDGgYCy0UmgPyMlc+nYdYnqZXUtPOohDmCg7h3GSWwKHW/6SGgGg6RoccEPgSdI9xZZGiM4krjstB70TyVzByu9hTjhXmbkMt2lUpLRfXBOySwmcvkqZshDFkSLXVrT2dK5D+AdleHHvoeOqde9YOu1FmD9vgzQh4bceedaZQrDCSGB7Anuyp+RolnR/ECOdDOa1Y2dkJuB3ujIWB6Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ivpANpnQ6k8Kwa/TyT0ks+0uMxtZkzWlVKhYtul0bSnO5lYRmRpvu45uPqlFitiBNPPHCsl6o8flVUMG+4RqOzs1zmgG/Jn1iuzGr9cwj2lhMgsi8hdoSnpOcwPFOFy+mKPjqCJPth6B1k3jDQy1TB8JQldwcPjmUk6nE2dOc0JePNPGbfyFVOAooHcdH5qvdOYQRFAUNbRYNAInM1t8eHtClK9lNQD2ZsJLjWq6yADtsZbIG3/gLNJdpVF+TRagpgPs8ei4OnqUCoNFXgenXIh4wBnCDCDbJDPkvQ7qCME861Eos5BSHifuSsULGgNBxy2SSQtCwNGZyEyu/2jj/w==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 21 Aug 2026 20:42:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2026-08-19 03:09, Arthur Borsboom wrote:
It has taken me about 1,5 day of work to find out why the screen
remained black, to determine where the problem was, how to retrieve
potential info by a serial-over-LAN console, subscribe to the mailing
list, and create this bug report to help.

Yes, this is annoying :/

On Wed, 19 Aug 2026 at 08:50, Jan Beulich <jbeulich@xxxxxxxx> wrote:

On 18.08.2026 23:47, Arthur Borsboom wrote:
Hi,

I am encountering an early Linux kernel crash when booting a PVH
Dom0 on an AMD EPYC system (Family 19h Model 97). PV boot on the
same system works fine. The crash occurs during amd_smn_init due
to a divide-by-zero exception.

That looks like the same issue I am trying to fix.

There is a potentially related bug report discussing a Linux patch
addressing AMD SMN initialization under Xen PVH:

https://patchew.org/linux/20260623211904.3674-1-jason.andryuk@xxxxxxx/

It seems there was an ongoing discussion between Linux devs who
seem to have the need to align with Xen devs for a proper/future-proof fix.
I am submitting this report to share raw hardware trace data and
help move this forward.

Yes, there was some discussion, but we have agreed on an approach.
[1] 
https://patchew.org/linux/20260814214255.83127-1-jason.andryuk@xxxxxxx/20260814214255.83127-2-jason.andryuk@xxxxxxx/
This v2 is basically what was suggested by a maintainer, so it should be picked up - hopefully soon.

Regards,
Jason



 


Rackspace

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