From owner-freebsd-virtualization@freebsd.org Mon Feb 15 05:09:23 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 483B254897E for ; Mon, 15 Feb 2021 05:09:23 +0000 (UTC) (envelope-from SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (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 4DfBwf0PNzz3Kt5 for ; Mon, 15 Feb 2021 05:09:21 +0000 (UTC) (envelope-from SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 5941620B4AB8 for ; Mon, 15 Feb 2021 15:09:10 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 43523209E421 for ; Mon, 15 Feb 2021 15:09:10 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 3CF8620D0529 for ; Mon, 15 Feb 2021 15:09:10 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KxitrJ7T17XN for ; Mon, 15 Feb 2021 15:09:10 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [120.29.37.188]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 1831020D051A; Mon, 15 Feb 2021 15:09:10 +1000 (AEST) Subject: Re: bhyve on 14-CURRENT crashes trying to boot Windows 10 20H2 DVD To: Rebecca Cran References: <14c3a1fd-c197-a911-70be-e22f62bcc8da@bsdio.com> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: Date: Mon, 15 Feb 2021 15:09:09 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <14c3a1fd-c197-a911-70be-e22f62bcc8da@bsdio.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BZdDLol2 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=+SPUcXn12Sc3IyO0jEiHFg==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=86ba83bVKDqQRpC63gQA:9 a=QEXdDO2ut3YA:10 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=B/4iLNlM c=1 sm=1 tr=0 a=mJOSnoNX3k71adV6TmU0eQ==:117 a=+SPUcXn12Sc3IyO0jEiHFg==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=86ba83bVKDqQRpC63gQA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4DfBwf0PNzz3Kt5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au has no SPF policy when checking 203.13.68.24) smtp.mailfrom=SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au X-Spamd-Result: default: False [0.20 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[203.13.68.24:from]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=52tc=HR=freebsd.org=grehan@iredmail.onthenet.com.au]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[203.13.68.24:from:127.0.2.255]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 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: Mon, 15 Feb 2021 05:09:23 -0000 > I've been testing some UEFI firmware changes, but even with the 0.2 > (2014.SP1) port version, I can't boot from the Windows 10 20H2 DVD > without causing bhyve to crash. The console output is: > The command line I'm using is: > > bhyve -AH -s 0:0,hostbridge -s 31:0,lpc -c 1 -m 8G -l No need for the 'A' option: ACPI tables are generated from UEFI. However, that should be harmless. > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -l com1,stdio -s > 3:0,ahci-hd,bhyve-windows-10-20h2.img -s > 29,fbuf,tcp=0.0.0.0:5900,w=1024,h=768,wait -s > 7,ahci-cd,en_windows_10_business_editions_version_20h2_updated_jan_2021_x64_dvd_533a330d.iso > guest You likely need a '-w' option to ignore unimplemented MSRs. later, Peter.