Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2023 07:19:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 271782] VM crashes with: bhyve exited with status 0
Message-ID:  <bug-271782-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271782-27103>