From nobody Wed Jan 24 00:45:57 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 4TKQHT57SXz58Vgj for ; Wed, 24 Jan 2024 00:45:57 +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 4TKQHT2mDdz456x for ; Wed, 24 Jan 2024 00:45:57 +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=1706057157; 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: in-reply-to:in-reply-to:references:references; bh=Ir2OwdtWBwA1v5lQ/hmLEkKdf2zXOPN7gkENFO+0Al8=; b=qxTgl65zhBN3T2GKA7OPPoNU1LOjackJE0NyhvrydVrU0T+079JrNoAM0x4qw+9Fq2/1Q5 YNezEC3vmlhcrE0QBWqobETZZ4KNctPDB7UhdGRX6gj6iYHXIe+cuFX6YQ7VOquErxU9Tv mV6e8utLG8668WJzEqs/nc5/UJHxrhqjIN065av6DsteanBDNs+hhebFcqeeYE2FlhtFhK ndVBYs9rk4zzr+KPiCg2WPu3nYwF+xHqwtjWfwDkwCOMwehCQReEviHcpZT8XDc9UQm6zV sY3axi1fbfF2z3SGfvJjvgISSt2+S/GzuvmwYvuCVat322Ch+/Fot+j7UIL+Qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706057157; a=rsa-sha256; cv=none; b=v2vaHJ8I/D9FVjRoieuIbvUn+YR/WCEnp7iKF7Cs6GfgOQy0MLME18fd0NfVBRifRRWvjt qJYagLu/e81BM+HnQvJ/LaqQUbPGQO7jogEAiFQ2ejQPcgK5rTjPgh2xsXLWJP6a94VDwm wVprgx85ut5Xl6s0sECciE548Pxy53A+IqBueSXYOt+rcjmfumMWP4S4x9l4jIJXgteDia c/ZTR0LTA0Sz9T3khUzWyqH4OGbrru0Q8YhgBD6BkoTH5CvPiJhAr/AQ1xy8lti5jpJKrt NChnyu2PrxhewEvsp8CR5AgjE3SopzAOW6nTHjkzqLvtU/hXtTJSyYkjihhIDQ== 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 4TKQHT1r9pzsZd for ; Wed, 24 Jan 2024 00:45:57 +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 40O0jvHn029153 for ; Wed, 24 Jan 2024 00:45:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40O0jviu029150 for virtualization@FreeBSD.org; Wed, 24 Jan 2024 00:45:57 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:45:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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 --- Comment #1 from Duncan --- Apologies, adding the attachment posted the first comment. I can't seem to = be able to edit it, so this is an addition. Host is 128GB Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (6 core). I have attached the minidump from the windows vm crashing itself due to continuous high diskIO. As I mentioned the case of a high disk load (reads) on the host resulting i= n a corrupted disk image (due to the disk unexpectedly disappearing from window= s) is more worrying for me. I have reverted all my VMs back to virtIO-blk. On the weekend I will shutdown the vm, snapshot, change back to nvme, turn = on debug and try some more scenarios. Any suggestions would be welcome. The vm-bhyve config file is as follows (both guests have the same setup): #--------------------------------------------- loader=3D"uefi" bhyve_options=3D"-A" graphics=3D"yes" graphics_res=3D"1600x900" graphics_port=3D"5915" vnc_password=3D"########" xhci_mouse=3D"yes" cpu_sockets=3D1 cpu_cores=3D5 cpu=3D5 wired_memory=3D"yes" memory=3D20G #debug=3D"yes" # put up to 8 disks on a single ahci controller. # without this, adding a disk pushes the following network devices onto hig= her slot numbers, # which causes windows to see them as a new interface ahci_device_limit=3D"8" # ideally this should be changed to virtio-net and drivers installed in the guest # e1000 works out-of-the-box #network0_type=3D"e1000" network0_type=3D"virtio-net" network0_switch=3D"lan" #disk0_type=3D"nvme" disk0_type=3D"virtio-blk" disk0_name=3D"disk0.img" #disk1_type=3D"nvme" disk1_type=3D"virtio-blk" disk1_name=3D"disk1.img" #disk2_type=3D"nvme" disk2_type=3D"virtio-blk" disk2_name=3D"disk2.img" disk3_type=3D"ahci-cd" disk3_dev=3D"custom" disk3_name=3D"/vm/.iso/virtio-win.iso # windows expects the host to expose localtime by default, not UTC utctime=3D"no" uuid=3D"291ee834-f125-11ec-8580-d05099d1a548" network0_mac=3D"#################" #---------------------------------------------- Regards Duncan --=20 You are receiving this mail because: You are the assignee for the bug.=