From owner-freebsd-virtualization@freebsd.org Sun Mar 21 15:35:54 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 7305A578FDD for ; Sun, 21 Mar 2021 15:35:54 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "CN", Issuer "CN" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3MCs38zgz3HF9 for ; Sun, 21 Mar 2021 15:35:53 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800:0:0:0:0:a135]) by mx0.gentlemail.de (8.15.2/8.15.2) with ESMTP id 12LFZmWr093270 for ; Sun, 21 Mar 2021 16:35:49 +0100 (CET) (envelope-from freebsd@omnilan.de) X-Authentication-Warning: mx0.gentlemail.de: Host ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800:0:0:0:0:a135] claimed to be mh0.gentlemail.de Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 021BE662 for ; Sun, 21 Mar 2021 16:35:47 +0100 (CET) Subject: ConfigRefactor-621b5090487d rises XHCI issues [Was: Re: stable/13 (PCI reset) yet to be identified regression] From: Harry Schmalzbauer To: freebsd-virtualization@freebsd.org References: <3aa19f4c-7b25-8256-bb37-f260ce20863a@omnilan.de> Organization: OmniLAN Message-ID: <6f4f329a-02cb-e7cc-68dd-15e47c8b2c6b@omnilan.de> Date: Sun, 21 Mar 2021 16:35:47 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <3aa19f4c-7b25-8256-bb37-f260ce20863a@omnilan.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Greylist: inspected by milter-greylist-4.6.2 (mx0.gentlemail.de [IPv6:2a00:e10:2800:0:0:0:0:a130]); Sun, 21 Mar 2021 16:35:49 +0100 (CET) for IP:'2a00:e10:2800::a135' DOMAIN:'ezra.dcm1.omnilan.net' HELO:'mh0.gentlemail.de' FROM:'freebsd@omnilan.de' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx0.gentlemail.de [IPv6:2a00:e10:2800:0:0:0:0:a130]); Sun, 21 Mar 2021 16:35:49 +0100 (CET) X-Rspamd-Queue-Id: 4F3MCs38zgz3HF9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@omnilan.de designates 2a00:e10:2800::a130 as permitted sender) smtp.mailfrom=freebsd@omnilan.de X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:e10:2800::a130:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; SPAMHAUS_ZRD(0.00)[2a00:e10:2800::a130:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[omnilan.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:61157, ipnet:2a00:e10:2800::/38, country:DE]; RCVD_TLS_LAST(0.00)[]; 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: Sun, 21 Mar 2021 15:35:54 -0000 Am 20.03.2021 um 23:48 schrieb Harry Schmalzbauer: > Hello, > > I'm suffering from a late minute regression with stable/13. > 4 weeks ago I did pre-production tests with Windows Server VMs > migrating to bhyve. > Things went fine, a 82576 ppt Dual Ethernet card worked after > installing a specific driver version in Server 2012R2. > > VMconfig nad host hardware is exaclty the same, > but with stable/13 from yesterday the XHCI USB hub is marked > non-functional in the Windows device manager with the hint "error > during reset" > and the passthrough NIC doesn"t work anymore -> looks like D3D0 or the > like initialization fails.  I'm not 100% sure for the XHCI hub issue, > but the NIC worked without problems some weeks ago. The NIC passthrough problem turned out to be a switch problem... And any kind of ppt limitation, which makes it impossible to use the prosetdx (Inetl nEtwork Connetcion App) Teaming function creating a LACP (802.11ad) group (creation successful, but no way to "activate"- similar as after "deactivating" a NIC via Windows context: re-activating fails, but works after reboot;  group doesn't work after reboot). But the XHCI problem is reproducable by applying jhb's ConfigRefactor-621b5090487d. the difference at bhyve startup with legacy CLI arguments, but applied 621b5090487d: pci_xhci no USB devices configured pci_xhci: portregs_write to unpowered port 1 pci_xhci: portregs_write to unpowered port 2 pci_xhci: portregs_write to unpowered port 3 pci_xhci: portregs_write to unpowered port 4 pci_xhci: portregs_write to unpowered port 5 : : : No matter if I use -k configfile or old CLI arguments Without the diff from main, same bhyve CLI startup leads to working XHCI in the guest (win2k12R2) and the messeges show above vanish. Thanks, -harry