From nobody Thu Jul 07 12:51:53 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 B524012ADB3B; Thu, 7 Jul 2022 12:51:57 +0000 (UTC) (envelope-from gusev.vitaliy@gmail.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 4LdxBN74zjz3rtV; Thu, 7 Jul 2022 12:51:56 +0000 (UTC) (envelope-from gusev.vitaliy@gmail.com) Received: by mail-lj1-x22d.google.com with SMTP id w2so5771573ljj.7; Thu, 07 Jul 2022 05:51:56 -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=YOFCgAapD/0ugnZUHW100BRWWWMYqCGTCw/IIB5+Loc=; b=opxhYIsyE6IBC2IxT7bbcHauQtAwXZ1tE6gR128vi9491aylOUcokCEcWpM0g0Ic6Y CHX4423FqjKmEfoxZ0LPsaV2H5qdP1lqSpAeLzImiqUPsEuuyuDYOBrGPyZu1CKkzcIo Iu15rnkXYboeVnxuaDxNovlLEJ1fx62PTzj0KAgpw3x03UkRa6wBOyySTVTyexsL7WKW +jwGXTZVb/yt++VLVlKhkCPd2QbuSPYTmL6X34UGXrAJUExoePN88jG33sgx8ukPxbXH oErUF2tgx/g3KaNnXTIbaXCBFtcoOENI2JEPb/58FMoGUPoqZCdUpBJ4bBhMr/pbIscl 3XpA== 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=YOFCgAapD/0ugnZUHW100BRWWWMYqCGTCw/IIB5+Loc=; b=V2RfMAHY8bdycfJDsEFgDIMURdYD6oT/hh8Yn+usL94S4QsEMC8hqzq6OLV7G7RP2G sxK9w87E2/tvNkTRtgN7jVXWJyj/NbtEdmsUT13kvrDULVJ4U9yGSYlLYL2T+0k0P3xT GvwvQug2OYSgz4TVAniYPAq9qGq0VLg/1EkPTxrjUr7R2FmS5E+ceNeV4pbYF5+QGYEg j1P9Li5q2h4+v2ih4B+S6jkD17F517o/g+cj16ryfTEvwmy4hyt1VF5sXekVQrecD5sg jNlAocri8PsfNgZ90RA2Ry0TOmAF7Ac7u1kz4A+2PBB1qlXgKcrZhlLOyTp2SSeXYOiv C/Ww== X-Gm-Message-State: AJIora8u2DoB4nvqruXBsVDaLSwoHjtgsVDZbtK56FpCKW9D/ULORVO1 wQVUGL+Z9zNK+0I5l55t2U5QbkgtEVQ= X-Google-Smtp-Source: AGRyM1t9qAbfbjhSvQ4I28ftKP10TAnXHX+zm3FZ49VNY3I7ddZvgJxXfiLy1GGMsFBiS3cH2//LbQ== X-Received: by 2002:a2e:b8c7:0:b0:25d:30d3:2ad4 with SMTP id s7-20020a2eb8c7000000b0025d30d32ad4mr9054220ljp.317.1657198314927; Thu, 07 Jul 2022 05:51:54 -0700 (PDT) Received: from [10.42.0.5] ([188.187.60.230]) by smtp.gmail.com with ESMTPSA id p10-20020ac24eca000000b0048160c5e625sm3467388lfr.12.2022.07.07.05.51.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jul 2022 05:51:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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 (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:51:53 +0300 Cc: current@freebsd.org, virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <78730F62-51D1-4FE0-A68D-ABE80DA38F85@gmail.com> References: To: Andriy Gapon X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4LdxBN74zjz3rtV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=opxhYIsy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gusev.vitaliy@gmail.com designates 2a00:1450:4864:20::22d 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_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(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::22d: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 a 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