From owner-freebsd-virtualization@freebsd.org Sun Apr 30 17:03:02 2017 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 C17D1D570CE for ; Sun, 30 Apr 2017 17:03:02 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87198B1D for ; Sun, 30 Apr 2017 17:03:02 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: by mail-io0-x232.google.com with SMTP id a103so93092670ioj.1 for ; Sun, 30 Apr 2017 10:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=SAuIIQmYY2F2cOhKf5aOv+kOGHn3dccHWBkdCi9rxX4=; b=Usf6bPPEGnnkREQuBusX4EUs/8EOWP5GThICh0H7KsvZr5m3+lyI2OyEgECCNIitn7 8Lom5wryPMF5rGJr9sbDjmmFCdIovn1lpMWdpI/xJXi62fASpKL6a0vjqIfrjWORUqEc ZWiLj9gdV5CaXefixDa0MlDVYj2O/xIoeH/Xte7qeGgqItKAIyU88sBT0QJfTAGGe5BA /VSNH0Tn1Sq4cgztrNcsmpybi7vV7GxIdthoRLXyzQaLln8Dl/BtUWmx2bt8uk3pzTWM zjsm7tGN8bbj6EsA3YVdJs3RYdYlYwu/rU5/UkyagoQ7UciIFO9Z+R5gOEjKAjZCMQMx kGGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SAuIIQmYY2F2cOhKf5aOv+kOGHn3dccHWBkdCi9rxX4=; b=c1Ob2bR7UgTgyYV3ZQBTYdQ5stFoS4bN8mWIfRU1ZtGssIPyyD8rnVtKpXLtN7zqa+ fBAeP1ffMvD3GlAiIdHtfWpCV08YUZfeGZSsgcvdvhb+QIEZSAwiqPeHwedan7LDoe83 Ez7pbFwiLFYF2S9kksGO80QqkQK7OawqZtnah/83q7bLB+En7eWEQ/q4WdvJFtFFc9tF JvuCpOEOYbsPTmSUcNgu1oQP4z37R2MRZbkg26r915vY3LqlMADKVPjG6i2MlIGjHPkM QMdgPtjK2rcTWMpT/22AJxl4YXwioDMjqU5NFpnA6oSky4ffBXW4OLfOd1KMkbFCVpun HYhg== X-Gm-Message-State: AN3rC/7uk49IgMmu7Je3qFzKVbJ2L4oVZ27zZ7OmhMX84uGuFFAlDC7e 0ZH1WqTEnaBJPMsOwxs= X-Received: by 10.107.14.8 with SMTP id 8mr18793738ioo.46.1493571781834; Sun, 30 Apr 2017 10:03:01 -0700 (PDT) Received: from [192.168.1.101] (dhcp-108-168-18-21.cable.user.start.ca. [108.168.18.21]) by smtp.gmail.com with ESMTPSA id 75sm5291890ioi.44.2017.04.30.10.03.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Apr 2017 10:03:01 -0700 (PDT) Subject: Re: Boot Physical Windows in bhyve To: freebsd-virtualization@freebsd.org References: <4A64A893-3534-4C50-B18E-24AAD1CB6648@gmx.net> From: Jeremy Faulkner Message-ID: Date: Sun, 30 Apr 2017 13:03:07 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <4A64A893-3534-4C50-B18E-24AAD1CB6648@gmx.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 30 Apr 2017 17:03:02 -0000 On 2017-04-29 11:21 AM, Will haben wrote: > Is it possible to load a physical Windows partition within bhyve? The windows installation is on a separate hard drive that’s using MBR. > I found the possibility of transforming the drive to a VMware virtual drive and then to bhyve img. > > Thanks in Advance > PM Create a Windows install in bhyve, doesn't need to be a full install, stopping after the first restart will do. Then you can image the C: partition of your hardware install into the C: partition of bhyve install. Then boot the install media again and do a boot repair which will make the necessary changes to the Windows installation for efi. Jeremy Faulkner From owner-freebsd-virtualization@freebsd.org Sun Apr 30 18:17:42 2017 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 B15ACD57805 for ; Sun, 30 Apr 2017 18:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 861BC10CB for ; Sun, 30 Apr 2017 18:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3UIHgrZ042729 for ; Sun, 30 Apr 2017 18:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 203994] bhyve kernel module may need to relax some checks when running nested under KVM Date: Sun, 30 Apr 2017 18:17:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 30 Apr 2017 18:17:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203994 --- Comment #17 from Peter Grehan --- Just an update on this. I used Ubuntu since it was easy to get a range of L= inux kernel versions to test with. - Ubuntu 17.04 (kernel 4.10) works without any changes to bhyve - Ubuntu 15.10 doesn't advertize INVVPID capability. While it would be possible to modify bhyve to work in this mode, I'm loathe to do it since it= 's such a niche case - Ubuntu 16.04 seems to have the capabilities that most folk have reported. After modifying bhyve to ignore the unused INVVPID capabilities and to fall-back to the all-context INVEPT if single-context wasn't available, the next issue was that Linux/KVM wasn't setting the GLA on EPT faults. This is used by bhyve to verify the GLA that is also obtained through the instructi= on emulation path for guest MMIO operations. This verification path hasn't thr= own any errors for a few years now, so I relaxed this test when in this mode. (Of note, this bug was reported here https://lkml.org/lkml/2016/9/4/156, and the author has submitted a diff review to relax some of the INVVPID/INVEPT checks at https://reviews.freebsd.org/D10049) However, after doing all this, bhyve would still eventually panic with a ke= rnel trap-9 fault when issuing a vmread instruction, so there may still be some additional KVM bugs that are being hit on this kernel rev :( I'll do some more experimentation and then post the patch that I have. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Apr 30 18:57:26 2017 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 B7F9BD573FD for ; Sun, 30 Apr 2017 18:57:26 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DB147C8 for ; Sun, 30 Apr 2017 18:57:26 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id v3UIvKfV074339 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 30 Apr 2017 11:57:20 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id v3UIvKmO074338; Sun, 30 Apr 2017 11:57:20 -0700 (PDT) (envelope-from jmg) Date: Sun, 30 Apr 2017 11:57:20 -0700 From: John-Mark Gurney To: Will haben Cc: freebsd-virtualization@freebsd.org Subject: Re: Boot Physical Windows in bhyve Message-ID: <20170430185720.GO2042@funkthat.com> Mail-Followup-To: Will haben , freebsd-virtualization@freebsd.org References: <4A64A893-3534-4C50-B18E-24AAD1CB6648@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A64A893-3534-4C50-B18E-24AAD1CB6648@gmx.net> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Sun, 30 Apr 2017 11:57:20 -0700 (PDT) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 30 Apr 2017 18:57:26 -0000 Will haben wrote this message on Sat, Apr 29, 2017 at 17:21 +0200: > Is it possible to load a physical Windows partition within bhyve? The windows installation is on a separate hard drive that???s using MBR. > I found the possibility of transforming the drive to a VMware virtual drive and then to bhyve img. Have you just tried to point the disk image at your HD? This should "just work" as zvol (which is one way to run a VM) works, and a disk isn't any different... bhyve doesn't have a format, it's just raw disk images.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-virtualization@freebsd.org Sun Apr 30 21:00:23 2017 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 2FD1BD57B88 for ; Sun, 30 Apr 2017 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 0B24F63A for ; Sun, 30 Apr 2017 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3UL01PS070104 for ; Sun, 30 Apr 2017 21:00:22 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201704302100.v3UL01PS070104@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 30 Apr 2017 21:00:22 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 30 Apr 2017 21:00:23 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 212820 | FreeBSD 10-STABLE from latest HEAD and 11-RELEASE 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon May 1 16:43:36 2017 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 B5406D58E69 for ; Mon, 1 May 2017 16:43:36 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id 92F2B8CF for ; Mon, 1 May 2017 16:43:36 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 1149A3E2CE; Mon, 1 May 2017 16:43:36 +0000 (UTC) Date: Mon, 1 May 2017 16:43:36 +0000 To: freebsd-virtualization@freebsd.org From: "grehan (Peter Grehan)" Reply-to: D10540+333+fe0ed9f74c7f580f@reviews.freebsd.org Subject: [Differential] D10540: vmx: explicit checking for necessary invvpid/invept types Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D10540: vmx: explicit checking for necessary invvpid/invept types X-Herald-Rules: <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: YjY0ZWFiMDI2NWUxNjY5MmQ0ZjE0MzUxZjJkIFkHZbg= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2017 16:43:36 -0000 Z3JlaGFuIGFkZGVkIGlubGluZSBjb21tZW50cy4KCklOTElORSBDT01NRU5UUwoKPiBlcHQuYzo2 OAo+ICsJKCgoY2FwKSAmIElOVkVQVF9SRVFVSVJFRF9UWVBFU19NQVNLKSA9PSBJTlZFUFRfUkVR VUlSRURfVFlQRVNfTUFTSykKPiAgCj4gICNkZWZpbmUJRVBUX1BXTEVWRUxTCQk0CQkvKiBwYWdl IHdhbGsgbGV2ZWxzICovCgpNaWdodCBiZSB3b3J0aCBzcGxpdHRpbmcgdGhlc2Ugb3V0IGludG8g aW5kaXZpZHVhbCB0ZXN0cywgc2luY2UgSSBoYXZlIGEgY2hhbmdlIHRoYXQgd2lsbCBsb29rIGF0 IHRoZSBFUFQgY2FwYWJpbGl0aWVzIGluZGl2aWR1YWxseSAoZm9yIFBSIDIwMzk5NCwgYmh5dmUg YXMgYSBLVk0gZ3Vlc3QuIEphbiAtIGp1ZGdpbmcgZnJvbSB5b3VyIHdvcmsgaW4gaHR0cHM6Ly9w YXRjaHdvcmsua2VybmVsLm9yZy9wcm9qZWN0L2t2bS9saXN0Lz9zdWJtaXR0ZXI9MTcwMDUzIHlv dSBhcmUgaW50aW1hdGVseSBmYW1pbGlhciB3aXRoIHRoaXMgaXNzdWUgOikKClJFUE9TSVRPUlkK ICByUyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jl dmlld3MuZnJlZWJzZC5vcmcvRDEwNTQwCgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2 aWV3cy5mcmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IGph bi5kYWtpbmV2aWNoX2dtYWlsLmNvbSwgZ3JlaGFuLCBuZWVsCkNjOiBub3ZlbCwgYW5pc2gsIGlt cCwgZnJlZWJzZC12aXJ0dWFsaXphdGlvbi1saXN0Cg== From owner-freebsd-virtualization@freebsd.org Tue May 2 14:06:29 2017 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 E2EE6D5ADAF for ; Tue, 2 May 2017 14:06:29 +0000 (UTC) (envelope-from digunit24@gmail.com) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A114B996 for ; Tue, 2 May 2017 14:06:29 +0000 (UTC) (envelope-from digunit24@gmail.com) Received: by mail-qk0-x22f.google.com with SMTP id u75so117412971qka.3 for ; Tue, 02 May 2017 07:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vblq1axSHTwEojO9/Zn4JDFutum08RdYuLrh43z3Rhg=; b=itNda7xIVPqoGXFmLLRCgbUwCzK+EGzvPK+GCGxPRMAZyhlQ1YnXHvDqhgXBVRK9A1 tx7SwH27DaTTV5Kno7R2WrUH5r5E9H3CoJ060oJ40byETwarnhw6F6aV1LMXtdnWiZOj RqZjcbyLxAkqXL+4QnSxqFVIaP6pOEJ/xxow57XwMpw0bfLNQJlIhZ0fYC/gCHZAWGYr 5zoauhiUERdRUdFdf5zvTGVINnehoiacniiCiqsK41E7kYXMGAipnSgwWQVJuljcytlG 9Y5kZSIdpPqHwljrzjtzyZb2uN3eIfKjT0i779NolqjCflhk/95XvzY2rW3fuPFH5Fl8 DBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vblq1axSHTwEojO9/Zn4JDFutum08RdYuLrh43z3Rhg=; b=AfnTWV30BEkkUaEb7WXnfyaXZ/RUxDZlo6G1lKikdnXDOJ5OF34ySmoa3Lkga1VDBf AqXomji/y1FpxnAx4QYeOhmyJJpmZe0JtVB+uTZ5UFXQ1BZACSYBQ9r5UfPoDzQPgGBL l8e6t/2cVFsc4/2hrnMIsuuG5jhTOAZAk0XVo50OBUkDX+IhblxaLjx0QQAL7uS7ONZi iZHVOX9Tg/abVYO0o3BYiMk5eJODgWHOFVPLWybJxujo5V5zfunRkLtybFgtUSdGRSpD /hHbnLGGmWMlwgnXycEad2PvxoAKddyX6zfNmjQCyErmAm/2iEsZ28flbB0+UQ0bSs0k U/2A== X-Gm-Message-State: AN3rC/4niJWHOA1A6NmlqwEBGH94tcI3Ni95mP0IEAppcxabWhQUTQEO uf2Q6h7aLOLSHFQsrZTdCAvJ79aJ2caj X-Received: by 10.55.180.197 with SMTP id d188mr28319943qkf.70.1493733988585; Tue, 02 May 2017 07:06:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.176.50 with HTTP; Tue, 2 May 2017 07:06:28 -0700 (PDT) From: Artur Moor Date: Tue, 2 May 2017 16:06:28 +0200 Message-ID: Subject: Windows Server 2016 as guest on bhyve 4k emulated drive To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 02 May 2017 14:06:30 -0000 Hello, if the option 'sectorsize=4096/4096' for the emulated drive specified, the installation process of "Windows Server 2016" completes the first stage ('Copying Windows files', 'Getting files ready for installation', 'Installing features' etc.) and fails after rebooting to the second stage. The second stage ends with the following message: Boot Failed. Windows Boot Manager Boot Failed. EFI DVD/CDROM Boot Failed. EFI DVD/CDROM 1 Boot Failed. EFI Hard Drive I suppose that Windows Boot Manager has problems when booting the 4k emulated drive. Does anyone have any idea what can be the cause of this? Thanks in advance for any hints! Artur From owner-freebsd-virtualization@freebsd.org Wed May 3 07:00:17 2017 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 531FAD5B738 for ; Wed, 3 May 2017 07:00:17 +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 14033C74 for ; Wed, 3 May 2017 07:00:17 +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 068A1202D62D for ; Wed, 3 May 2017 17:00:15 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id F28A02809E2 for ; Wed, 3 May 2017 17:00:14 +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 m7U1_6Z5X8Cq for ; Wed, 3 May 2017 17:00:14 +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 A6B222809CD; Wed, 3 May 2017 17:00:12 +1000 (AEST) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: Artur Moor References: Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> Date: Wed, 3 May 2017 00:00:09 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=tJ8p9aeEuA8A:10 a=-goNIgqANLlWp11eBCcA:9 a=pILNOxqGKmIA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 03 May 2017 07:00:17 -0000 Hi Artur, > if the option 'sectorsize=4096/4096' for the emulated drive specified, the > installation process of "Windows Server 2016" completes the first stage > ('Copying Windows files', 'Getting files ready for installation', > 'Installing features' etc.) and fails after rebooting to the second stage. > > The second stage ends with the following message: > Boot Failed. Windows Boot Manager > Boot Failed. EFI DVD/CDROM > Boot Failed. EFI DVD/CDROM 1 > Boot Failed. EFI Hard Drive > > I suppose that Windows Boot Manager has problems when booting the 4k > emulated drive. > > Does anyone have any idea what can be the cause of this? I think it may be an issue with the AHCI driver in UEFI not returning the correct block size - will look into it further. I did verify that setting 'sectorsize=512/4096' works fine with 2k16. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed May 3 09:56:27 2017 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 0722AD5B410 for ; Wed, 3 May 2017 09:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 EA4CDA01 for ; Wed, 3 May 2017 09:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v439uQtW013347 for ; Wed, 3 May 2017 09:56:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209385] [hyperv] negative group permissions Date: Wed, 03 May 2017 09:56:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rudolphfroger@dreamsolution.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 03 May 2017 09:56:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209385 Rudolph changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rudolphfroger@dreamsolution | |.nl --- Comment #1 from Rudolph --- I can confirm this is still an issue on FreeBSD 11.0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed May 3 11:39:41 2017 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 95463D5B21F for ; Wed, 3 May 2017 11:39:41 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 5DC0C828 for ; Wed, 3 May 2017 11:39:40 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 38372208AE for ; Wed, 3 May 2017 07:39:39 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 03 May 2017 07:39:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=borderworlds.dk; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=yLMkLlxikj6lIxGpJy/KRwSniF2EYrvlUnuKSXtl9 OI=; b=jyZ+0oe4PxyLcTgzJ9mvbFwxbqV69R8U/NtIFNe6f9E4IyOraEO+IxWUO KULSWBTiLLXlRUV7tzGC/hM2FV5n/cBtHgUiFA9crK+4CWaT1+numL5GxowUhI2u mBgKT8odfQKf1osgSz6bR3C3gWQHzozOTJ+JAYsKSy76QqT2BTXxs1d+kbNH4a1+ P4jzZfDuwXjdWvogzaTnzp5ScPUA2i74GgyNWSnKB4f84bqO65eYi5CRMu83eLJO V3oV9JJypOaekqQlMue/+Cy+iNCbN06d4HjmJiVg049roM835Cwk1CaoL/mZfQB5 S9YXyWBg/U+A7PSeIjSBhBup4cu1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=yLMkLlxikj6lIxGpJy /KRwSniF2EYrvlUnuKSXtl9OI=; b=QSDt5A5g59667I83Fe1TGaa4lADi87mwJ2 TkQhfkKlM0rf8kWkhxLmBgy+n1xxLyJQ2OYEJ90T2X+OBJ5bp4ZyL5Kl1gZAN08W pZM797/CWL++3F8gpFYDuXKXfxG2GEp7gGlno0eSZJDuIQ0gGvuxImkubH8FM6x9 Q45aU588BL9HbwMw5TE7P1V7aXwGf/Z5W7BhyEefvagC17igzqO7DEvQweJfBnLT OuQFgH+259vfuuepNPBBDbl7JH6ikCoGpR6yBkIsjMsq99fVOWuI5+PmGkmh4cnl fZFZlVoydvFUQi/MWeYS9lS49/nH29nhcIDjTLQQM+QU0z6neRHA== X-ME-Sender: X-Sasl-enc: pSPlyGCyjCqVg5vy8F0KMhANQX7riPImsovQxI+eUwFj 1493811578 Received: from borg.borderworlds.dk (unknown [85.191.122.210]) by mail.messagingengine.com (Postfix) with ESMTPA id C794D244DA for ; Wed, 3 May 2017 07:39:38 -0400 (EDT) To: freebsd-virtualization@freebsd.org From: =?UTF-8?Q?Christian_St=c3=a6rk?= Subject: bhyve - save UEFI nvram between reboots Organization: The Border Worlds Message-ID: <4bd02b52-514f-7ed7-10a0-a6969173540f@borderworlds.dk> Date: Wed, 3 May 2017 13:39:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: da X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 03 May 2017 11:39:41 -0000 Hello, First of all, thank you very much for all the bhyve work. Having this in FreeBSD base is truly awesome. Is there any progress on the nvram preservation code? I'm curious if it would be possible to have it go into 11.1-RELEASE. Thanks. /Christian From owner-freebsd-virtualization@freebsd.org Thu May 4 01:46:34 2017 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 31E5BD5A17B for ; Thu, 4 May 2017 01:46:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 217A214A1 for ; Thu, 4 May 2017 01:46:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v441kY0d008985 for ; Thu, 4 May 2017 01:46:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209385] [hyperv] negative group permissions Date: Thu, 04 May 2017 01:46:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 04 May 2017 01:46:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209385 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: sephe Date: Thu May 4 01:46:05 UTC 2017 New revision: 317783 URL: https://svnweb.freebsd.org/changeset/base/317783 Log: hyperv/kvp: Fix pool direcrory and file permission PR: 209385 MFC after: 2 weeks Sponsored by: Microsoft Changes: head/contrib/hyperv/tools/hv_kvp_daemon.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 5 12:05:15 2017 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 058A8D5FD0C for ; Fri, 5 May 2017 12:05:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E59E4124C for ; Fri, 5 May 2017 12:05:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v45C5E6i001848 for ; Fri, 5 May 2017 12:05:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216493] [Hyper-V] Mellanox ConnectX-3 VF driver can't work when FreeBSD runs on Hyper-V 2016 Date: Fri, 05 May 2017 12:05:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 12:05:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216493 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org Status|New |In Progress --- Comment #6 from Hans Petter Selasky --- Ping - any news on this issue? Have you ported more patches from Linux to FreeBSD? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 5 12:46:14 2017 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 01C63D5DA6C for ; Fri, 5 May 2017 12:46:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E481EA55 for ; Fri, 5 May 2017 12:46:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v45CkDCR041045 for ; Fri, 5 May 2017 12:46:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216493] [Hyper-V] Mellanox ConnectX-3 VF driver can't work when FreeBSD runs on Hyper-V 2016 Date: Fri, 05 May 2017 12:46:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 12:46:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216493 --- Comment #7 from Dexuan Cui --- (In reply to Hans Petter Selasky from comment #6) There are a bunch of Linux patches needed to be ported to FreeBSD, and a fu= lly testing is required. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 5 12:59:26 2017 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 A0916D5DC40 for ; Fri, 5 May 2017 12:59:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 8FAB5F8E for ; Fri, 5 May 2017 12:59:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v45CxQdZ069300 for ; Fri, 5 May 2017 12:59:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216493] [Hyper-V] Mellanox ConnectX-3 VF driver can't work when FreeBSD runs on Hyper-V 2016 Date: Fri, 05 May 2017 12:59:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 12:59:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216493 --- Comment #8 from Hans Petter Selasky --- Do you know which release of Linux has all the needed MLX patches? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 5 13:02:12 2017 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 7FAEAD5DDF7 for ; Fri, 5 May 2017 13:02:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 6ECC112DD for ; Fri, 5 May 2017 13:02:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v45D2Cnl098293 for ; Fri, 5 May 2017 13:02:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 216493] [Hyper-V] Mellanox ConnectX-3 VF driver can't work when FreeBSD runs on Hyper-V 2016 Date: Fri, 05 May 2017 13:02:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 13:02:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216493 --- Comment #9 from Dexuan Cui --- (In reply to Hans Petter Selasky from comment #8) I would check https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri May 5 16:47:34 2017 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 6D7F5D5F126 for ; Fri, 5 May 2017 16:47:34 +0000 (UTC) (envelope-from digunit24@gmail.com) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 258041D28; Fri, 5 May 2017 16:47:34 +0000 (UTC) (envelope-from digunit24@gmail.com) Received: by mail-qt0-x235.google.com with SMTP id m36so9665128qtb.0; Fri, 05 May 2017 09:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qDP3G1lTDpaSBM2UHfMrqoXo9GwGDlbcrO2jwbJSWNM=; b=opJBcWU8hY/gZDMbw7u8GO9erDjoCpJ4ScVRhGIyZ2jXt3L5JQPs2AJyDCPfDCupfN utZmeMWaAvbxpvWrqLk/cgR/Qa+BgrRk7iGGTx01cQ/l6gbYLoQuot6MpsXd9pwt4QM9 iGg6NsvG5pFRyVYXWsRHxcGrV+tBJE+8/LTcockjfD/AEHONUCpmE9mFJlIgeoVl78N+ y70rOgNL0ZRZ8Aaa1An0YeD+01bJL0klk/iVGExLOwf1+FNGKkOCiC3nCiQmq6loWeBM MHxAR4kQq9KJT9O8i4bfJ8+qrLWkC8NcXbfpcWvZcEivLrudeG3sK2DDKIUxEJ+hvm+G XmZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qDP3G1lTDpaSBM2UHfMrqoXo9GwGDlbcrO2jwbJSWNM=; b=WlWe7YDPLYVtoRTmH58EBDh8RyAIOVxT9KMD+B426ozPJ+6/v/uT5IiYZ7N3twKcHS 1bSLSUnHFml4rxRdyOsjsQMUZWezovDyPfGMAwfzrhSqWc8idysA8Vdvunay/Welm7UA ylpfhqlY5NeZXRWkNF41oapq+lc4EkRoFQ/HQD5rEUJjhgiObS77VDZ4Xg8FxmMJEj5v 7SL2xXqCDSYyNoBhZ6h+IKeEeS7Gol1uRpMkLiBcT9LCfYTsqoBqSPT+DzR8XZkHHh2D xxSsuQL8JngLCvjeGBpUV6+d/PCaSthpIaKtjvdtRywsISOfFXJmiGgwiPHx0UJyiF8b WiZQ== X-Gm-Message-State: AN3rC/6pM04chWXrVVjO9e6dOSth61TMpuVJVaAIADFqdyrupwjO4KHW AE7FLv58L7cyJ39ygNm+DjAzC2IPohf4 X-Received: by 10.200.45.68 with SMTP id o4mr45537211qta.194.1494002853084; Fri, 05 May 2017 09:47:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.176.50 with HTTP; Fri, 5 May 2017 09:47:32 -0700 (PDT) In-Reply-To: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> References: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> From: Artur Moor Date: Fri, 5 May 2017 18:47:32 +0200 Message-ID: Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: Peter Grehan Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 16:47:34 -0000 Hi Peter, a few background information to understand my concern. I have encountered the problem when I tried to install Remote Desktop Services under Windows Server 2016. Installing roles for Remote Desktop Services requires the installation of Windows Internal Database. To my knowledge, Windows Internal Database is a customized MS SQL database. Whether the sectorsize option is not specified (default) or specified by 512/4096, Windows makes no difference: =================================== SECTORSIZE NOT SPECIFIED (DEFAULT): =================================== C:\Users\Administrator>fsutil fsinfo ntfsinfo C: NTFS Volume Serial Number : 0x82c67b9ec67b9161 NTFS Version : 3.1 LFS Version : 2.0 Number Sectors : 0x0000000018ee47ff Total Clusters : 0x00000000031dc8ff Free Clusters : 0x0000000002f2184a Total Reserved : 0x0000000000003440 Bytes Per Sector : 512 Bytes Per Physical Sector : 4096 Bytes Per Cluster : 4096 Bytes Per FileRecord Segment : 1024 Clusters Per FileRecord Segment : 0 Mft Valid Data Length : 0x0000000006740000 Mft Start Lcn : 0x00000000000c0000 Mft2 Start Lcn : 0x0000000000000002 Mft Zone Start : 0x00000000000c65c0 Mft Zone End : 0x00000000000cc820 Max Device Trim Extent Count : 64 Max Device Trim Byte Count : 0x7fff8000 Max Volume Trim Extent Count : 62 Max Volume Trim Byte Count : 0x40000000 Resource Manager Identifier : BC179E2E-31BC-11E7-A818-C892307D8C50 ==================== sectorsize=512/4096: ==================== C:\Users\Administrator>fsutil fsinfo ntfsinfo c: NTFS Volume Serial Number : 0x9202993002991a75 NTFS Version : 3.1 LFS Version : 2.0 Number Sectors : 0x0000000018ee47ff Total Clusters : 0x00000000031dc8ff Free Clusters : 0x0000000002f1bee2 Total Reserved : 0x0000000000003460 Bytes Per Sector : 512 Bytes Per Physical Sector : 4096 Bytes Per Cluster : 4096 Bytes Per FileRecord Segment : 1024 Clusters Per FileRecord Segment : 0 Mft Valid Data Length : 0x0000000006780000 Mft Start Lcn : 0x00000000000c0000 Mft2 Start Lcn : 0x0000000000000002 Mft Zone Start : 0x00000000000c65c0 Mft Zone End : 0x00000000000cc820 Max Device Trim Extent Count : 64 Max Device Trim Byte Count : 0x7fff8000 Max Volume Trim Extent Count : 62 Max Volume Trim Byte Count : 0x40000000 Resource Manager Identifier : AEC0364B-31B7-11E7-ADF9-FF1A61A4B251 If the sectorsize option is unspecified, the installation of Windows Internal Database fails. I found corresponding error message in the event viewer: ====================== Mesage in Event Viewer ====================== > Cannot use file 'C:\Windows\WID\Data\master.mdf' because it was originally > formatted with sector size 4096 and is now on a volume with sector size > 8192. Move the file to a volume with a sector size that is the same as or > smaller than the original sector size. > Log Name: Application Source: MSSQL$MICROSFT##WID Event ID: 5178 Level: Error I can not explain how Windows comes to 8192 bytes. If I specify the sectorsize by 512/4096, then Windows Internal Database can be installed without problems and that is very strange for me! However, I found an article about 512E drives. According to the article, the 512E drives should not be used, because this configuration affects both the lifetime and the performance of the drives. ( https://msdn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update?f=255&MSPPError=-2147217396 ) For this reason, I started using 4K emulated drive, both logical and physical (sectorsize=4096/4096), but Windows can not be installed on a 4K emulated drive. Artur 2017-05-03 9:00 GMT+02:00 Peter Grehan : > Hi Artur, > > if the option 'sectorsize=4096/4096' for the emulated drive specified, the >> installation process of "Windows Server 2016" completes the first stage >> ('Copying Windows files', 'Getting files ready for installation', >> 'Installing features' etc.) and fails after rebooting to the second stage. >> >> The second stage ends with the following message: >> Boot Failed. Windows Boot Manager >> Boot Failed. EFI DVD/CDROM >> Boot Failed. EFI DVD/CDROM 1 >> Boot Failed. EFI Hard Drive >> >> I suppose that Windows Boot Manager has problems when booting the 4k >> emulated drive. >> >> Does anyone have any idea what can be the cause of this? >> > > I think it may be an issue with the AHCI driver in UEFI not returning the > correct block size - will look into it further. > > I did verify that setting 'sectorsize=512/4096' works fine with 2k16. > > later, > > Peter. > > From owner-freebsd-virtualization@freebsd.org Fri May 5 17:15:16 2017 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 0C56CD5F9E7 for ; Fri, 5 May 2017 17:15:16 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3AE4919 for ; Fri, 5 May 2017 17:15:15 +0000 (UTC) (envelope-from gldisater@gmail.com) Received: by mail-it0-x233.google.com with SMTP id x188so11188719itb.0 for ; Fri, 05 May 2017 10:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=csvKgcqltIVcudAUuHTXjbb0D20E1vpTXH32fMigTJU=; b=oTy3s28FStpqJjw2lONFiR62+H6fNGdkBNeTNoJJcFRX4h7O+0n0xLdiUkDFLLbx3R n5pWbNsm4VOTOgVHfGqWcYAgzGFy9IkMQaaLPSigvZ9nsfepjISQkall+rr2GU+VkaJu NIzcU/4pMaNkezWkJGmcvqUy+sr0jGbGyTZjxVCz/kVOQ5PIlOVP6NSHiESjH13NySJN 3ugX96oRLZjTnn5A0ToMnZWH/PF2smvtMNHRUnHjBXt4B28bTz8EGidtNinxHaaU0+JL HqE+9853SRDHTCFwEuxMvFWTV3hJdEnJaQ7BqpqvhnByrlifag4bjslfXNDJP4BMxpAT p5lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=csvKgcqltIVcudAUuHTXjbb0D20E1vpTXH32fMigTJU=; b=l8ktX23tYiYJEyrmoZc5e1BU1E1DGManMP+5GdsECaZXzQY/QWdZGywed10PoBGlxI hBsURxE4GAa+5DLT1jI4lO5rPPG7+s2Ryc7oyIR/bT8G0C5u+6FCJxxUNEvI2hctKGd1 GPyRHQToHDnwwGhPT3G93mG6/8zXkbj2PnuKdbmPxmfCBm9yDJzv7ZQtotlUM9LgwPP+ UKwzBJ8k8K/5efOJHEZV3ZjA7su5avRV1G7F4X4mNBf5R8yDsDX2UGk8hHNvcquVOAHD JAAa9niRrL+llnaC5MmO8OIaXowawchd2yN07RQbD+UbvRo4Fwj2rpN2ZC1moDCgMDxr QeEA== X-Gm-Message-State: AN3rC/7Jd0H1cYkjKO7d+1i9aecljdr1qlsWM7ioI8eoMY0VNj7seWem 3Q0NCwjDPvDidYA5lD8= X-Received: by 10.36.41.72 with SMTP id p69mr9276173itp.84.1494004515009; Fri, 05 May 2017 10:15:15 -0700 (PDT) Received: from [192.168.1.101] (dhcp-108-168-18-21.cable.user.start.ca. [108.168.18.21]) by smtp.gmail.com with ESMTPSA id u200sm1184888itb.29.2017.05.05.10.15.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 May 2017 10:15:14 -0700 (PDT) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: freebsd-virtualization@freebsd.org References: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> From: Jeremy Faulkner Message-ID: Date: Fri, 5 May 2017 13:15:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 17:15:16 -0000 On 2017-05-05 12:47 PM, Artur Moor wrote: > If the sectorsize option is unspecified, the installation of Windows > Internal Database fails. I found corresponding error message in the event > viewer: > ====================== > Mesage in Event Viewer > ====================== > >> Cannot use file 'C:\Windows\WID\Data\master.mdf' because it was originally >> formatted with sector size 4096 and is now on a volume with sector size >> 8192. Move the file to a volume with a sector size that is the same as or >> smaller than the original sector size. >> > Log Name: Application > Source: MSSQL$MICROSFT##WID > Event ID: 5178 > Level: Error > > I can not explain how Windows comes to 8192 bytes. > 8192 is the default volblocksize of a zvol. If you had been using a file it would be reporting the sector size as the recordsize of the zfs dataset. Had similar issues when trying to use an application that depending on MS SQL under bhyve. Jeremy From owner-freebsd-virtualization@freebsd.org Fri May 5 17:28:36 2017 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 689F8D5FDD8 for ; Fri, 5 May 2017 17:28:36 +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 29DD91332 for ; Fri, 5 May 2017 17:28:35 +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 E19F120C1BEA for ; Sat, 6 May 2017 03:28:27 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D756728132A for ; Sat, 6 May 2017 03:28:27 +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 YA-xVNB7gLVO for ; Sat, 6 May 2017 03:28:27 +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 2293D2804DC; Sat, 6 May 2017 03:28:24 +1000 (AEST) Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: Artur Moor References: <49770719-c87f-c673-4f2b-c17674797159@freebsd.org> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Fri, 5 May 2017 10:28:21 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=tJ8p9aeEuA8A:10 a=yMhMjlubAAAA:8 a=Q23QZL_8AAAA:8 a=3NcK-oXg--v2VU4a6UgA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 05 May 2017 17:28:36 -0000 Hi Artur, > I can not explain how Windows comes to 8192 bytes. As explained in Jeremya F's email, that's the zvol default record size. > > about 512E drives. According to the article, the 512E drives should not > be used, because this configuration affects both the lifetime and the > performance of the drives. Bhyve presents a virtual drive so this doesn't apply. > (https://msdn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update?f=255&MSPPError=-2147217396) > > For this reason, I started using 4K emulated drive, both logical and > physical (sectorsize=4096/4096), but Windows can not be installed on a > 4K emulated drive. I'd recommend sticking with "sectorsize=512/4096" for now. The 4096/4096 appears to be a bhyve bug that needs to be fixed, especially since the NVMe emulation GSoC project has been approved*, and that mandates 4K block size. later, Peter. * https://summerofcode.withgoogle.com/projects/#5252121027936256 From owner-freebsd-virtualization@freebsd.org Sat May 6 14:22:48 2017 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 9E3F5D5F034 for ; Sat, 6 May 2017 14:22:48 +0000 (UTC) (envelope-from titi5187@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50DDD1002 for ; Sat, 6 May 2017 14:22:48 +0000 (UTC) (envelope-from titi5187@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id o12so1696951iod.3 for ; Sat, 06 May 2017 07:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GYarvKviVdtF36IM3bORHsmynoMWqWST+uCoKyXSnJQ=; b=B1XLOUbj1C5FF6LK4G0rdFEA0eLcmJLtRcD0mqfMfVHSbnulWBzMV5NSfBFZZZ+esK mo6ruPQehtdChzYRyijykDSS4Fvumh2/TIuJtif7NGhFz5J/cLy8jzgcdgI22QJirvIb MpAOLK1x2zLvaImHUh7folx0Eb5yE4toLO83fvAc+hTS5Qig36edGcoZ16U0qJLMwEEc Jl9OBCMo6phoue4ZvheHExyktMrQQGEWcFoZ8ZmGIDkjwh8Q5aofa1cqATjT/uRdZwd3 2pVFa4FHo8+r9X0GaWJl5spdyyw0orZv9Zvk9fYes/CYQ5YrPOLLjoXbihMb0ZVG1BC9 Dkxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=GYarvKviVdtF36IM3bORHsmynoMWqWST+uCoKyXSnJQ=; b=HpJtiaQ4TGenQlLtFO3mkpzBbn4sv0NSmHDfDYbL521WSLDh43zPZOK/n/Y1rjLJcD bIYC+PFmjzry7sq7pjh0FqRRV8SyM5hlqFi2Kek0Pi2h0VuYjAfg+pjwrklajwkOiO7f FN4XbjZw7qWY/vH3juUQZNVAHaASrZvI7xIKm9aAV/rTTdwEQ9en4hOeYl+jvvRwSHXw 5D7snqAzsA6umdJSNO18qTAPr/ss4AIqtXngI8NmKVuGsygJYTVOcI8cuatyXI7rCI+1 Foqkd2azAoDy5NdSWrPGqIHmmVmzYnLMnExKSQJmpeIvCnsni47uVq3Z2T+VHZWUqPjy NJvA== X-Gm-Message-State: AN3rC/47/LsoCLo8//GmCKm9M5QUzrldweA3Z5WIoml+QNUGk4jFSZdA JhYli1KDdJPD6mcnI2t5P8+rp2zHYaDd X-Received: by 10.107.131.197 with SMTP id n66mr26412978ioi.39.1494080567512; Sat, 06 May 2017 07:22:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.15.211 with HTTP; Sat, 6 May 2017 07:22:46 -0700 (PDT) In-Reply-To: References: From: Thibault Noel Date: Sat, 6 May 2017 10:22:46 -0400 Message-ID: Subject: Re: Windows Server 2016 as guest on bhyve 4k emulated drive To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 06 May 2017 14:22:48 -0000 Hi Guys ! I tried to use windows 10 on Bhyve, and I have a coredump when I try to use VNC. My command line is : bhyve -c 4 -m6G -Hl bootrom,BHYVE_UEFI_20160526.fd -s 0,hostbridge -s 1:0,ahci-hd,/dev/zvol/tank/VM/windows.img,sectorsize=512 -s 5:0,ahci-hd,/var/tmp/windows.disk -s 7:0,virtio-net,tap0 -s 8:0,fbuf,tcp= 192.168.1.10:5900,w=640,h=480,wait Windows10 BT from gdb : Loaded symbols for /libexec/ld-elf.so.1 #0 0x000000080119755a in thr_kill () from /lib/libc.so.7 [New Thread 801abd700 (LWP 101141/)] [New Thread 801abd200 (LWP 101138/)] [New Thread 801abcd00 (LWP 101137/)] [New Thread 801abc800 (LWP 101136/)] [New Thread 801abc300 (LWP 101135/)] [New Thread 801abbe00 (LWP 101134/)] [New Thread 801abb900 (LWP 101133/)] [New Thread 801abb400 (LWP 101132/)] [New Thread 801abaf00 (LWP 101131/)] [New Thread 801abaa00 (LWP 101130/)] [New Thread 801aba500 (LWP 101129/)] [New Thread 801aba000 (LWP 101128/)] [New Thread 801a1ab00 (LWP 101127/)] [New Thread 801a1a600 (LWP 101126/)] [New Thread 801a1a100 (LWP 101125/)] [New Thread 801a19c00 (LWP 101124/)] [New Thread 801a19700 (LWP 101123/)] [New Thread 801a19200 (LWP 101122/)] [New Thread 801a18d00 (LWP 101121/)] [New Thread 801a18800 (LWP 101120/)] [New Thread 801a18300 (LWP 101119/)] [New Thread 801a17e00 (LWP 101118/)] [New Thread 801a17900 (LWP 101117/)] [New Thread 801a17400 (LWP 101116/)] [New Thread 801a16f00 (LWP 101112/)] [New Thread 801a16a00 (LWP 101111/)] [New Thread 801a16500 (LWP 101110/)] [New Thread 801a16000 (LWP 101223/)] (gdb) bt #0 0x000000080119755a in thr_kill () from /lib/libc.so.7 #1 0x000000080119752b in __raise (s=6) at /usr/src/lib/libc/gen/raise.c:52 #2 0x0000000801197499 in abort () at /usr/src/lib/libc/stdlib/abort.c:65 #3 0x000000000040affc in vm_loop (ctx=0x801a1b0c0, vcpu=0, startrip=65520) at /usr/src/usr.sbin/bhyve/bhyverun.c:634 #4 0x0000000000409e81 in fbsdrun_start_thread (param=0x859b10) at /usr/src/usr.sbin/bhyve/bhyverun.c:244 #5 0x0000000800eb1b55 in thread_start (curthread=) at /usr/src/lib/libthr/thread/thr_create.c:289 #6 0x0000000000000000 in ?? () Any Idee ? Thank You :)