Date: Fri, 06 Jul 2018 12:51:19 +0200 From: Dave Cottlehuber <dch@skunkwerks.at> To: freebsd-virtualization@freebsd.org Subject: Re: bhyve server 2016 lockup Message-ID: <1530874279.512578.1431934576.27AF56F1@webmail.messagingengine.com> In-Reply-To: <1595599bd62b43b2842b9a652c6d1773@SERVER.ad.usd-group.com> References: <1595599bd62b43b2842b9a652c6d1773@SERVER.ad.usd-group.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Jul 2018, at 10:22, Matt Churchyard wrote: > Hello, >=20 > I have a server 2016 virtual machine which I only created for testing=20 > and don't use much. Booting it up recently I've found that it locks up=20 > consistently within a few minutes of booting. What can I do to try and=20 > figure out what's causing the problem? >=20 > Host was recently updated to 11.2 > # uname -a > FreeBSD dev.--- 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22= =20 > 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/ > GENERIC amd64 >=20 > Bhyve command is as follows > # bhyve -c 2 -m 2G -Huwl bootrom,/usr/local/share/uefi-firmware/ > BHYVE_UEFI.fd > -U 841e8764-75f4-11e8-b2e3-50e549369bc6 -l com1,stdio > -s 0,hostbridge -s 31,lpc -s 3:0,ahci-cd,/vm/.config/null.iso -s=20 > 4:0,ahci-hd,/vm/w2016/disk0.img -s 5:0,e1000,tap1,mac=3D58:9c:fc:08:8e:70 > -s 6:0,fbuf,tcp=3D0.0.0.0:5900 -s 7:0,xhci,tablet w2016 Hi Matt, try using virtio for nic & storage to start with. I've used specifically th= ese drivers https://fedorapeople.org/groups/virt/virtio-win/direct-download= s/archive-virtio/virtio-win-0.1.96/virtio-win-0.1.96.iso and had trouble wi= th both later and earlier drivers, YMMV, and I sadly forget where I got thi= s advice. Also, it=E2=80=99s possible to install virtio drivers directly from the CD = without pointy-clicky stupidness. Just add the CD to your bhyve command, in= a later "PCI slot" than the existing =E2=80=9Chard disk=E2=80=9D, as the l= owest numbered slot is what=E2=80=99s used to boot from AFAICT.=20 - open an elevated command prompt - run for /d %i in (d:\*) do @pnputil -a %i\w7\amd64\*.inf (you may need a = different driver than w7 here) - some of those will fail but just carry on - reboot FTW more notes here on my bhyve setup https://hackmd.io/s/rJvJuE-CW# A+ Dave
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1530874279.512578.1431934576.27AF56F1>