From owner-freebsd-virtualization@freebsd.org Tue Jun 7 06:31:39 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 566EBB6D25F for ; Tue, 7 Jun 2016 06:31:39 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id DF50F1FF1 for ; Tue, 7 Jun 2016 06:31:38 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 983A7209C02B for ; Tue, 7 Jun 2016 16:31:26 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 922DD280F66 for ; Tue, 7 Jun 2016 16:31:26 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id a2satCYGUZn2 for ; Tue, 7 Jun 2016 16:31:26 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 6C546280901; Tue, 7 Jun 2016 16:31:24 +1000 (AEST) Subject: Re: a bhyve and Windows Server 2012R2 story To: Evan Rowley References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <9147c070-f7ff-796f-e30c-7015f53b83c7@freebsd.org> Date: Mon, 6 Jun 2016 23:31:26 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=LvDQ8TVc c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=pD_ry4oyNxEA:10 a=6I5d2MoRAAAA:8 a=qO7QXkQiik0QAVnzuj8A:9 a=PDNR5vPgHKEA:10 a=c43ZT4pwriIA:10 a=IjZwj45LgO3ly-622nXo:22 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 07 Jun 2016 06:31:39 -0000 Hi Evan, Thanks for persevering :) > [root@true11] /mnt/vm0/ds0/iso# pkg info | grep 7z > p7zip-15.14 File archiver with high compression ratio > > Unfortunately, it seems this version of 7z was not able to extract the > UDF ISO correctly. I don't have that exact version of 2k12 but I was able to extract a 2k15 tp5 ISO and verify that it was the same with 7z 15.14 and the older 9.38 version. I'll try with some others and see how it goes. > I also added NetKVM drivers from this version virtio-win-0.1.102.iso, > not virtio-win-0.1.96.iso as was specified in the guide. Glad to hear the newer version worked. The 0.96 version should also be fine. > My VM had a problem. It did boot and the SAC channels did start - but > somewhere after WIMApplyImage message was displayed in the SACSetupAct > - the VM would hang and top would show the bhyve process at 99% WCPU. > I destroyed the VM after it hanged like this for 1 hour. It took some > guessing, but eventually I recalled reading somewhere - possibly on a > KVM/QEMU/Xen wiki page - that IOMMU is needed for more than 1 core. Shouldn't be anything to do with the IOMMU. I have noticed that Windows installs on AMD machines require 2 or more vCPUs. Still working that one out. > I had difficulty at first with the network configuration. TrueOS has > ipfw enabled and I suspect it was originally blocking my RDP traffic. > Also, I did not have any successful network connections before I set > and loaded what's described in 21.7.7 Persistent Configuration: > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html > > At first, I attempted to RDP to an IP I had assigned from the SAC > channel using the i <#> command. This never > worked and I am not sure why. Eventually, I created a CMD channel, > then used ipconfig to determine that Windows had leased a different IP > via DHCP. Using RDP to reach the DHCP IP worked! Oddly, I did not see > the static IP I had set in SAC updated with the DHCP one - but I > checked later, and it was updated. I'm new to SAC and maybe this is > just one of it's quirks. Not a FreeBSD problem in any case, but > perhaps a stumbling block others on freebsd-virtualization may > encounter. The AutoUnattend installation file specifies DHCP for config. If you want a fixed address, you should be able to get it either by modifying the AutoUnatted file prior to repack, or removing the DHCP config lines and configuring via SAC. later, Peter.