From nobody Tue Nov 30 22:40:43 2021 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 864AB18ACEC8 for ; Tue, 30 Nov 2021 22:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3ccq2N94z4Ztb for ; Tue, 30 Nov 2021 22:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28A191E7D9 for ; Tue, 30 Nov 2021 22:40:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1AUMehWQ018198 for ; Tue, 30 Nov 2021 22:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AUMehd2018193 for virtualization@FreeBSD.org; Tue, 30 Nov 2021 22:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 260148] passthru stopped working Date: Tue, 30 Nov 2021 22:40:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638312043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=czXCNjb7/uFIgb2v3mLd9av1LHdEs5Jqb2nob9OUnAk=; b=UQFY/suvwoWD66nO82hbHwKE4gySTHgrBLweURDdPSSixX6oPgPKfH7+AqDF3u+HKH23JV W6cIP34LEL2e59TmGmeNzRqdX5tnpEMTVH9toii6/1987SCvphFiULQZrUExhOapYW+Bnz 18faPsqL4EWh3fRxlDNVpKkNPhpuKO9eqk3X0/D3RPB06WOBXjdtO0dKy4cAgCyy2QITcn jka0r+ulhU/Zoxfe+nollbQTZ5XYme3jzA18HucRxnfSY5Rkh5aMU5TlwvZlGWzmeTOJ6o cQsmxllF5oQIRMrx5Ii8FzwHrN3ESE65RGv9Vo0ns4THhiHC1aLjLOUS+WVpbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638312043; a=rsa-sha256; cv=none; b=Z9HX3412aBpEG9c3vwXg7y66EGtm7attAAL5IAuaBVdR7P3nbH0eyVBcz4iY4MCodvYboQ LDE27BWP158EmT3HtGxIxJIi/woqNZmOlctfXCok9HpwAOswUUJ2qjH3NUm4t+CQtNy6sP mAMgtHG3VW5F0g8lbMcjsALpPIIF7b7Nq9Trd+jUlPzHNDkjIgLfgvwEGz+kTKPUNdqxMu PfQ6h4hnHMw7r1esmSXrM7qMbKARzyoyHm82G3laIkImVyuJJZyr3svtwuR6g1SrQWKguF JOgpJMKMBz/HSUvUBjOz0JCzjZIQ++67dA+BhWi6FG53bCWpXrZp3Ai22kLRnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260148 Bug ID: 260148 Summary: passthru stopped working Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: bhyve Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: bz@FreeBSD.org I've updated my system to n251155-57512573ae05 and suddenly I am getting: bhyve: Failed to map MSI-X table BAR on 2/0/0: Device busy bhyve: failed to initialize BARs for PCI 2/0/0 device emulation initialization error: Device busy when restarting my development VM. I hadn't seen this problem in the last months while working on iwlwifi (sin= ce it was made work). ppt0@pci0:2:0:0: class=3D0x028000 rev=3D0x1a hdr=3D0x00 vendor=3D0x8= 086 device=3D0x2723 subvendor=3D0x1a56 subdevice=3D0x1653 vendor =3D 'Intel Corporation' device =3D 'Wi-Fi 6 AX200' class =3D network bar [10] =3D type Memory, range 64, base 0x9e200000, size 16384, disa= bled cap 01[c8] =3D powerspec 3 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit=20 cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) FLR RO NS max read 128 link x1(x1) speed 5.0(5.0) ASPM L1(L1) ClockPM enabled cap 11[80] =3D MSI-X supports 16 messages Table in map 0x10[0x2000], PBA in map 0x10[0x3000] ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 1 corrected ecap 0018[14c] =3D LTR 1 ecap 001e[154] =3D L1 PM Substates 1 Corrected =3D Advisory Non-Fatal Error The driver for the guest device hasn't updated in 2-ish weeks either so it's not due to updating the guest. It might be a result of a weird state situation of the driver in the guest (firmware paniced) but that shouldn't leave us with something we cannot get back up on next guest start. There've been recent changes to bhyve in that area so it may as well be a side-effect of those? I figured I am documenting this before rebooting my host now. --=20 You are receiving this mail because: You are the assignee for the bug.=