From nobody Thu Jul 07 12:47:07 2022 X-Original-To: virtualization@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 F3CF612ACE89; Thu, 7 Jul 2022 12:47:11 +0000 (UTC) (envelope-from gusev.vitaliy@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ldx4t6v02z3rCN; Thu, 7 Jul 2022 12:47:10 +0000 (UTC) (envelope-from gusev.vitaliy@gmail.com) Received: by mail-lf1-x133.google.com with SMTP id d12so7586533lfq.12; Thu, 07 Jul 2022 05:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CritPwLGD8R2Ur/TdySKxbqPdhFtOG+PCErVGEXZpUg=; b=n5qASW1a4vj+TX2lFZvgWOrMaF4BBHZhhXnQtw8l71hkyWbZ5LsHTKQLtu6bWQJzpo w0iLHE6MD2MVDXPvmKYJjWEjckcGES1GQM8osLm4rjnPJ8FNlyL3KU+15u9FVfwVHX1P U9cOeWrN7mWytUWkLP84i3GqT/kMerP/2pueSq3MiUxZddZ0mlVycrgk+MbkIGNS4ghK rgaAFsMzEpU/L2K2RDjGcFHskyKg/bQroOXKaIDQ1coD9ZBBgfqwgWGQDhlR0AvMa3lK x8LYPG7O2Ohf8qB1BDSPww6gIJttElNUmBnspwYsxsOzOU+UTNOc9DlazDKNt1Cyt0JZ XZYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CritPwLGD8R2Ur/TdySKxbqPdhFtOG+PCErVGEXZpUg=; b=axo6nOTPL5D+hx3RKeCdVW5KJuy/1RMDywtpRngYUnySH7ipGX3rsbvCmKyagpw6sB OfM67hGljeBJ1qg9kNtJ6haS+YLs/8qVmnjKVLP01QKUiKbmUH2QIVAjaE4JdPp/Yvd8 bu2FdRzlG80N1jEwAGyBsH2ab7dfpzcPHDXQKHYXzdWAEPgyVAzV3lD0UnWsAgxyzb2i ljQQF9b95rzuOR4j43UbDmjoJLJyO+1MzX48/Gz9LnafOyyg8vnEGmOmen/UN+kdEuVM pYs4/Y4OPX+49zA77nUFjSql4MlPIXto52nxL2j8myP3VGYOGqJK1a2M9OlAbCw0OEjY WpDA== X-Gm-Message-State: AJIora//A8z6CxgugtRRxeR94OLnOEaCC6nTVfHrr72Opvv3sdD5ElrV BIHyJlSzZKqavoYix6g/D3dEKblp82g= X-Google-Smtp-Source: AGRyM1tLLDPwzxXm/JtU1DV0WeYnIN0glaEIxB1l15h4sxVr0ZnBKBSAwCOil1pjxi36qizc7/aetQ== X-Received: by 2002:a05:6512:3e07:b0:482:ba6c:64ae with SMTP id i7-20020a0565123e0700b00482ba6c64aemr12258679lfv.512.1657198028955; Thu, 07 Jul 2022 05:47:08 -0700 (PDT) Received: from [10.42.0.5] ([188.187.60.230]) by smtp.gmail.com with ESMTPSA id a27-20020ac25e7b000000b004786d37229csm539309lfr.155.2022.07.07.05.47.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2022 05:47:08 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: problem with bhyve, ryzen 5800x, freebsd guest From: Vitaliy Gusev In-Reply-To: Date: Thu, 7 Jul 2022 15:47:07 +0300 Cc: current@freebsd.org, virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9381393E-F14F-4EA9-AB66-4896912C7C1D@gmail.com> References: To: Andriy Gapon X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4Ldx4t6v02z3rCN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=n5qASW1a; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gusev.vitaliy@gmail.com designates 2a00:1450:4864:20::133 as permitted sender) smtp.mailfrom=gusev.vitaliy@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::133:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.187.60.230:received]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[current,virtualization] X-ThisMailContainsUnwantedMimeParts: N You probably should set up dump device to get crash info, stack, etc. =E2=80=94=E2=80=94 Vitaliy Gusev > On 7 Jul 2022, at 15:29, Andriy Gapon wrote: >=20 >=20 > I have a strange issue with running an 'appliance' image based on = FreeBSD 12 in bhyve on a machine with Ryzen 5800x processor. >=20 > 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. >=20 > The time may be from a few dozens of minutes to many hours. >=20 > 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. >=20 > Does anyone have an idea what the problem could be? > What workaround or diagnostics to try? > Anybody else seen something like this? >=20 > Since it's the host that resets it would be hard to capture any = traces. > Thank you. > --=20 > Andriy Gapon >=20 >=20 > https://standforukraine.com > https://razomforukraine.org >=20