Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 00:45:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 276575] Host can cause a crash in bhyve nvme emulation
Message-ID:  <bug-276575-27103-Vc5HtgLC0u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276575-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276575-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276575

--- Comment #1 from Duncan <dpy@pobox.com> ---
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.=



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