From nobody Wed Jan 24 00:23:06 2024 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 4TKPn63HXJz58SpS for ; Wed, 24 Jan 2024 00:23:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKPn60qDyz43VK for ; Wed, 24 Jan 2024 00:23:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706055786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BehUYGI32AMpFjSrl9oPaDWnDhfVH5MM7leLtIA2Qx0=; b=j8tw+/fSfn84axK35XzGkaOi+JNYvPtAwfXDEW1RIJbOkWdHxWWomhekim0eI4E/ZHaJVj iQ4XpSSztuqM0UsXN83kYXVC+k128CBOp/BtVoSMBB8s0yUYh1oo/WA2jMDb+K11q1ShVb gC5KZ2Vv9bPt0Oq9T/fXr4OAtBb+2G2kZTAh0aIHwgvH7hZHKv0Qa/idZa6P8rKLsakDMw tZbXZJe5rb7eU+ZUXa7GD9DFYdmBn/k9Z1ajAt/ZR/jHRS9fa9F3QtJAiz6oweGdVC9TPF imgOY/e1Lbn1rke7WyA9oDGi0vhCd6oBIwvL58aOmozU1iKQ46+OBZpCKKyz3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706055786; a=rsa-sha256; cv=none; b=gb3Jjf+UQbtSjASf3ttyWIbCKOblkoYDmDTvFonUw5hiKZDwvTtJDYfa7caYHc34aq+tdk bmRpXgRX8OPu78/fDDRXG7w0AaCC+TSXv2vV5Hw7LpIN9kKf4vjMGioSnnHUkKmeVgAH4J QHsKf0vSxuYT992kcCogaJ+uY5fC9x93cc9YnV384BbFcph8tvQDylhXLhk3TnME7UEzSY 3DTAMG5/cLTAUwWde4y2UTU8DtqbQlGZqiAa/+LyobwTIX/sLmSNWNGtx8teCod5JWlBP6 2ehbu3NSlJl+joA0gK9Ujv6LvSGX0pA/ZgAMBdhShdfd5UcnuEsLMjkII/KlWA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TKPn570CQzsTf for ; Wed, 24 Jan 2024 00:23:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40O0N5p1016236 for ; Wed, 24 Jan 2024 00:23:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40O0N5mA016234 for virtualization@FreeBSD.org; Wed, 24 Jan 2024 00:23:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 276575] Host can cause a crash in bhyve nvme emulation Date: Wed, 24 Jan 2024 00:23:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dpy@pobox.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276575 Bug ID: 276575 Summary: Host can cause a crash in bhyve nvme emulation Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: dpy@pobox.com Created attachment 247908 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247908&action= =3Dedit output of windows minidump analysis Hello, OS: 14.0-RELEASE-p4 I have windows-10 vms which will BSOD upon heavy disk load on the guest or host. 2 different cases. Both running 3 disks (all nvme emulated). 1 boot disk (c= :) and two data disks (3tb and 1 tb), backed as image files on zfs. sync is se= t to always and a small optane zil is used on the pool. I am using vm-bhyve to manage the vms. Pool setup: # zpool list -v data_pool NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG= =20=20=20 CAP DEDUP HEALTH ALTROOT data_pool 10.9T 3.95T 6.96T - - 1%= =20=20=20 36% 1.00x ONLINE - mirror-0 10.9T 3.95T 6.96T - - 1%= =20 36.2% - ONLINE gpt/data_pool_00 10.9T - - - - -= =20=20=20=20=20 - - ONLINE gpt/data_pool_01 10.9T - - - - -= =20=20=20=20=20 - - ONLINE logs - - - - - -= =20=20=20=20=20 - - - gpt/data_pool_zil 32G 3.17M 31.5G - - 0%= =20 0.00% - ONLINE cache - - - - - -= =20=20=20=20=20 - - - gpt/data_pool_cache_0_ssd 932G 55.9G 876G - - 0%= =20 6.00% - ONLINE gpt/data_pool_cache_1_ssd 932G 53.9G 878G - - 0%= =20 5.78% - ONLINE cache drives replace recently, so haven't filled up yet. First case could not complete a full backup of the 3tb data drive (a windows backup). The time of failure would occur after the machine had been running= the backup for a while (2-3 minutes +). These would run at 200+ MB/s (via a 10= gb network) to the backup machine. BSOD resulted and minidumps produced indica= ting NVME issues. I can supply details if required. Second case was a little worse, since the VM was fairly quiet, but I was testing an nfs connection (sending over a 10gb network), running at 400+ MB= .=20 In this case the 2nd drive on the windows VM just stopped working. Upon re= boot the disk image had been corrupted to the point of needing reformatting to function. (I rollbacked to a previous snapshot and reapplied the days transactions). The data set has sync=3Dalways (optane zil) and the vm dataset is on a zrai= d1 dataset (3+1). --=20 You are receiving this mail because: You are the assignee for the bug.=