From nobody Fri Jun 2 07:19:36 2023 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 4QXZBc4Lh5z4Ykk5 for ; Fri, 2 Jun 2023 07:19:36 +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 4QXZBc1BR0z4L8X for ; Fri, 2 Jun 2023 07:19:36 +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=1685690376; 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=glF5y9dtCzYN6UWZ1ler0Rv+I3sf6y6FGK72nbiwDDc=; b=TyNDYjHYjAS54YKBf30EQjg2n9VjphgVgAaviUu2h61oEGNVO90Bem7YMMSuala7D2yhms lDyCZrkhxZ0t5+mQwy+MZiWxkZ1bwTL3+i05gh1prD/tF1SI8lQ/VyqDohOW76ivj1t2u7 E23W57r7f2RZhc9rY5PPjMcDVoCtC4SKAMT3xTfoEjkEH+mhufnKwHav0HvOii/D9DsR/K 8+aXbf1eXX+1wpjwQyTKXjVCyTnyKh82MTpn91C96Q00o6J865AyQI+Eg+itbGIlN0Uptx OzRYHyE4L91vt2UJGkywG3aGlKAC3v6UNgh7uQu+raeNjxvaRye1Lbc1EaSjYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685690376; a=rsa-sha256; cv=none; b=CBeXhSKukFFKUXypDbrekDbFlx1CnQr4h2bo9Z0Ut7ObV/F6a+CqG4P7pXlYveedYXWyKr RVNYIT4QdU4GGPFGFxnWKS4mt4sdhLDPr1akUgQxZ5eGQsFeLLWyo4612LHvLJylm0+ehu 1SibXh3azaOK4fdcL3ZWmSVu/8HG5mBD2gSaaOZ/WLE+U+C3dcFjPjqZTD9yoWsBcY5qlW p7bjbI1S5dQ+0cnj/D8qiL/yeoSZ4qwI1C7HDF8gkz3N0F6W2VkVKEPj0RKjEgJM5lqMOu U7GqB2DoNUJpw8NxyNI7xMqUKX3L1Z5SvP127Zo+SO74xa0BhlK2aYLAlNPf4A== 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 4QXZBc06xJzqZ3 for ; Fri, 2 Jun 2023 07:19:36 +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 3527JZ31048338 for ; Fri, 2 Jun 2023 07:19:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3527JZni048337 for virtualization@FreeBSD.org; Fri, 2 Jun 2023 07:19:35 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 271782] VM crashes with: bhyve exited with status 0 Date: Fri, 02 Jun 2023 07:19:36 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: urtp5@yandex.by 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271782 Bug ID: 271782 Summary: VM crashes with: bhyve exited with status 0 Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: urtp5@yandex.by Good day! I have a machine AMD Ryzen 5 2600 Six-Core Processor + 32Gb RAM.=20 OS: 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-525ecfdad=20 In bhyve I have a Windows 2016 x64, and it has random crashes one time in 7= -9 days. Please help me find reason of problem. Windows 2016 VM eventlog has only "critical problem possibly power fault" message /var/log/messages has no any related messages. In bhyve log I see such messages:=20 -------------------------------------------------- Jun 02 10:12:10: bhyve exited with status 0 Jun 02 10:12:10: restarting Jun 02 10:12:10: [bhyve options: -c 4,sockets=3D1,cores=3D4 -m 12G -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -U 39387cd6-e074-11ed-9e3c-d8bbc11c8171] Jun 02 10:12:10: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/mySSD/BHyVe/Win2016/disk0.img -s 5:0,virtio-net,tap1,mac=3D58:9c:fc:0c:3a:c7 -s 6:0,fbuf,tcp=3D0.0.0.0:5900 = -s 7:0,xhci,tablet] Jun 02 10:12:10: [bhyve console: -l com1,/dev/nmdm-Win2016.1A] Jun 02 10:12:10: starting bhyve (run 9) There is config for that VM: ------------------------------------------------- loader=3D"uefi" graphics=3D"yes" xhci_mouse=3D"yes" cpu=3D4 cpu_sockets=3D1 cpu_cores=3D4 memory=3D12G ahci_device_limit=3D"8" network0_type=3D"virtio-net" network0_switch=3D"public" disk0_type=3D"nvme" disk0_name=3D"disk0.img" utctime=3D"no" uuid=3D"39387cd6-e074-11ed-9e3c-d8bbc11c8171" network0_mac=3D"58:9c:fc:0c:3a:c7" there is bhyve-related packages: -------------------------------------------------- pkg info | grep -e "bhyve|vm" bhyve-firmware-1.0_1 Collection of Firmware for bhyve edk2-bhyve-g202202_10 EDK2 Firmware for bhyve grub2-bhyve-0.40_10 Grub-emu loader for bhyve uefi-edk2-bhyve-csm-0.2_4,1 UEFI EDK2 firmware for bhyve with CSM (16-bit BIOS) vm-bhyve-1.5.0 Management system for bhyve virtual machines And kldstat ------------------------------------------------- Id Refs Address Size Name 1 38 0xffffffff80200000 d5ca28 kernel 2 1 0xffffffff80f5d000 576280 vmm.ko 3 1 0xffffffff814d4000 582850 zfs.ko 4 2 0xffffffff81a57000 5c50 xdr.ko 5 1 0xffffffff81ee5000 3378 acpi_wmi.ko 6 1 0xffffffff81ee9000 3218 intpm.ko 7 1 0xffffffff81eed000 2180 smbus.ko 8 1 0xffffffff81ef0000 7638 if_bridge.ko 9 1 0xffffffff81ef8000 50d8 bridgestp.ko 10 1 0xffffffff81efe000 21db8 ipfw.ko 11 1 0xffffffff81f20000 21cc nmdm.ko 12 1 0xffffffff81f23000 4700 nullfs.ko 13 1 0xffffffff81f28000 3530 fdescfs.ko Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=