From owner-freebsd-virtualization@freebsd.org Fri Jul 6 11:56:25 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 012511042B10 for ; Fri, 6 Jul 2018 11:56:25 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from hel.cgi.cz (hel.cgi.cz [178.238.36.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6984C7C266 for ; Fri, 6 Jul 2018 11:56:23 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from hel.cgi.cz (localhost [127.0.0.1]) by hel.cgi.cz (Postfix) with ESMTP id 7800211728D for ; Fri, 6 Jul 2018 13:56:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at cgi.cz Received: from hel.cgi.cz ([127.0.0.1]) by hel.cgi.cz (hel.cgi.cz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WIv4JY64Qkt6 for ; Fri, 6 Jul 2018 13:56:13 +0200 (CEST) Received: from mail2.cgi.cz (hermes [172.17.174.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by hel.cgi.cz (Postfix) with ESMTPS id AADE3117265 for ; Fri, 6 Jul 2018 13:56:12 +0200 (CEST) Received: from [192.168.8.106] (unknown [82.100.31.11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail2.cgi.cz (Postfix) with ESMTPSA id 9EB70460F3 for ; Fri, 6 Jul 2018 13:56:12 +0200 (CEST) Subject: Re: bhyve server 2016 lockup To: freebsd-virtualization@freebsd.org References: <1595599bd62b43b2842b9a652c6d1773@SERVER.ad.usd-group.com> <1530874279.512578.1431934576.27AF56F1@webmail.messagingengine.com> From: Jakub Chromy Message-ID: <1dbba8ac-eca4-bb09-9d3b-ec26ed1452e5@cgi.cz> Date: Fri, 6 Jul 2018 13:56:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1530874279.512578.1431934576.27AF56F1@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 11:56:25 -0000 Dave, you got working Windows guest with virtio-blk? I thought it was still unstable. I've tested virtio storage (on bhyve) + virtio storage drivers on several windows guest  ~ 2 months ago and they were crashing all the time. So I use ahci-hd with every windows guest we run (from 7 to Win Server 2012). -- regards Jakub Chromy CGI Systems div. ---------------- CGI CZ s.r.o. sales@cgi.cz 775 144 257 234 697 102 www.cgi.cz On 6.7.2018 12:51, Dave Cottlehuber wrote: > On Fri, 6 Jul 2018, at 10:22, Matt Churchyard wrote: >> Hello, >> >> I have a server 2016 virtual machine which I only created for testing >> and don't use much. Booting it up recently I've found that it locks up >> consistently within a few minutes of booting. What can I do to try and >> figure out what's causing the problem? >> >> Host was recently updated to 11.2 >> # uname -a >> FreeBSD dev.--- 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 >> 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/ >> GENERIC amd64 >> >> 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 >> 4:0,ahci-hd,/vm/w2016/disk0.img -s 5:0,e1000,tap1,mac=58:9c:fc:08:8e:70 >> -s 6:0,fbuf,tcp=0.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 these drivers https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.96/virtio-win-0.1.96.iso and had trouble with both later and earlier drivers, YMMV, and I sadly forget where I got this advice. > > Also, it’s 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 “hard disk”, as the lowest numbered slot is what’s used to boot from AFAICT. > > - 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 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"