From nobody Thu Jul 07 12:29:04 2022 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AC8A110FBEA9; Thu, 7 Jul 2022 12:29:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LdwhF31wjz3dxV; Thu, 7 Jul 2022 12:29:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: (Authenticated sender: andriy.gapon@uabsd.com) by mail.gandi.net (Postfix) with ESMTPSA id 70A05FF805; Thu, 7 Jul 2022 12:29:06 +0000 (UTC) Message-ID: Date: Thu, 7 Jul 2022 15:29:04 +0300 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Content-Language: en-US To: current@freebsd.org, virtualization@freebsd.org From: Andriy Gapon Subject: problem with bhyve, ryzen 5800x, freebsd guest Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LdwhF31wjz3dxV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 2001:4b98:dc4:8::229 is neither permitted nor denied by domain of avg@FreeBSD.org) smtp.mailfrom=avg@FreeBSD.org X-Spamd-Result: default: False [-1.20 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[2001:4b98:dc4:8::229:from]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[current,virtualization]; ASN(0.00)[asn:203476, ipnet:2001:4b98:dc4::/48, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[avg]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I have a strange issue with running an 'appliance' image based on FreeBSD 12 in bhyve on a machine with Ryzen 5800x processor. The problem is that the guest would run for a while and then the host would suddenly reset itself. It appears like a triple fault or something with similar consequences. The time may be from a few dozens of minutes to many hours. Just to be clear, no such thing occurs if I do not run the guest. Also, I have an older AMD system (pre-Zen), the problem does not happen there. A vanilla FreeBSD 12.3 installation that just sits idle also does not cause the problem. Does anyone have an idea what the problem could be? What workaround or diagnostics to try? Anybody else seen something like this? Since it's the host that resets it would be hard to capture any traces. Thank you. -- Andriy Gapon https://standforukraine.com https://razomforukraine.org