From owner-freebsd-virtualization@freebsd.org Tue Sep 17 21:54:20 2019 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 B29F2E803B for ; Tue, 17 Sep 2019 21:54:20 +0000 (UTC) (envelope-from jason@tubnor.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46Xxhr356jz4kTY for ; Tue, 17 Sep 2019 21:54:20 +0000 (UTC) (envelope-from jason@tubnor.net) Received: by mailman.nyi.freebsd.org (Postfix) id 69EB4E803A; Tue, 17 Sep 2019 21:54:20 +0000 (UTC) Delivered-To: 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 69B24E8039 for ; Tue, 17 Sep 2019 21:54:20 +0000 (UTC) (envelope-from jason@tubnor.net) Received: from mail.tubnor.net (mail.tubnor.net [103.236.162.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.tubnor.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Xxhp38YWz4kTX for ; Tue, 17 Sep 2019 21:54:14 +0000 (UTC) (envelope-from jason@tubnor.net) Received: from THEMASTER (180-150-121-71.b49679.mel.nbn.aussiebb.net [180.150.121.71]) by mel01.ar18.net (OpenSMTPD) with ESMTPSA id 1916adb4 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 18 Sep 2019 07:47:30 +1000 (AEST) From: To: References: In-Reply-To: Subject: RE: [Bug 240647] bhyve cannot properly use Windows (system restarts infinitely) Date: Wed, 18 Sep 2019 07:47:29 +1000 Message-ID: <77f201d56da1$80d7db90$828792b0$@tubnor.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-au Thread-Index: AQH1V4GFReqq1to2wCbCEKy1t+uZOabwkvoQ X-Rspamd-Queue-Id: 46Xxhp38YWz4kTX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jason@tubnor.net designates 103.236.162.16 as permitted sender) smtp.mailfrom=jason@tubnor.net X-Spamd-Result: default: False [-3.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; IP_SCORE(-0.76)[asn: 133159(-3.82), country: AU(0.01)]; R_SPF_ALLOW(-0.20)[+ip4:103.236.162.16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[tubnor.net]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:133159, ipnet:103.236.162.0/23, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Sep 2019 21:54:20 -0000 I am using the same build as you: # freebsd-version 12.0-RELEASE-p10 And my Windows 10 guest has no issues booting and staying up. You bhyve command looks fine so there is probably something else happening. What happens if you include the -w switch? Cheers, Jason. -----Original Message----- From: owner-freebsd-virtualization@freebsd.org On Behalf Of bugzilla-noreply@freebsd.org Sent: Wednesday, 18 September 2019 2:14 AM To: virtualization@FreeBSD.org Subject: [Bug 240647] bhyve cannot properly use Windows (system restarts infinitely) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240647 Bug ID: 240647 Summary: bhyve cannot properly use Windows (system restarts infinitely) Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: arkadiusz.majewski@iptrace.pl Hello! I've got an issue with using Windows (7/10 or even Server version) as a client due to auto-restart of the system. I cannot even log in because system restarts infinitely, seen at console on 5900 port. Generally, I'm able to boot from CD/DVD (iso file). I can install Windows. But after installation, the system loads and I can see logon screen. After half a minute or minute system shuts down and that's all. I was trying to run ready and working system from the another machine and it's the same. I tried this solution (Windows option change) https://www.drivereasy.com/knowledge/windows-10-keeps-restarting-try-these-s teps/ without success. In this case I can change logon type to Safe mode, but after restart and loading the system, the issue keeps the same. I was trying on diffrent partitions with different hard drives. I was changing number of CPU nad RAM (on bhyve). I disconnected virtual network card network from bhyve command as well. FreeBSD 12.0-RELEASE-p10 amd64 Command: # bhyve -c 4 -m 8G -H \ -s 0,hostbridge \ -s 3,ahci-hd,/data/vm12.img,sectorsize=512 \ -s 10,virtio-net,tap1 \ -s 29,fbuf,tcp=0.0.0.0:5900,wait \ -s 30,xhci,tablet \ -s 31,lpc -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -w vm12 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ 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"