From nobody Tue Aug 12 11:34:18 2025 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 4c1TtL5zGdz64Z3b for ; Tue, 12 Aug 2025 11:34:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1TtL5D8Tz44cG for ; Tue, 12 Aug 2025 11:34:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754998458; 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: in-reply-to:in-reply-to:references:references; bh=LqN3qOwpt+AoukN+Cr8aUKQI7SilnUp7gm6UtK4NDic=; b=RoDsOn1l9d31pGE1VUzqs9j2l9MV+dT3ZctnaSueBnbswgm/pJsYRLVRePeGu1KT4MChz/ XtloWc/o9sjW8YiVF0MHnyLUgD1ss+mg1k4lW1d8b872xO07yvjbAUoOuCJZJbwulze51Z hqpckcE6Ky8M7Pry3ZtsbZBYEacWteQ1G78wa6Z+BWbEuUijltqqglUXO8B61CpCUlLkQu SLvMlzXsRkuKhbqgbnKh/+tmRO2OvWtwOypr24e0bQ3SIFIsAvkNevUTWkJYt/GXkyrqDe PPIFxN6bqIVirGCs87oXodiw20x3iYrVgPBFzVICwZrAbn9kBLo3rGwuyiHcrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754998458; 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: in-reply-to:in-reply-to:references:references; bh=LqN3qOwpt+AoukN+Cr8aUKQI7SilnUp7gm6UtK4NDic=; b=kma/0iNfJ5u1Rgd+MDhg+W+nHYgPhiioedlfAiyHcF1QZRMghAEhXiWrkf/yQF1j2LF1VY 8EuKTZGoG6JwjdAUWRL/RYGKnXYZ+PLzbrz+AaEYDk+LaUtoJQzw/ePx1wMLa4f7gwj30/ qP6lyRh9iQKjsIDaebvqgn/Sz46YNw16zkOPfA+1Gg7qaxrfr5kW/Ew5lDVQTY0y9PvVlG AFfC7u7IO1JTkG3eNHm3rmcCoRH9TnLfCILtZiIQrD98c528Iz37ZzK7j3e3CZ5Y1LjYcH 5xuXNQlFdZomyLRgKghm9Z0pkI2cMIpHS98KPShW3LjvD4vVZ1t7CF2CxkpfYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754998458; a=rsa-sha256; cv=none; b=g/dYNtu/uPBuS8qzHdfYNpKjqSvE+rptCUQ8/TtTp7/hgQDBvjHJvKB4aOYha2l9C3uG+I hRKgWTb6pfu3QGMRx7WyKe76B8tuhr3bwcpk61j7NuMWLSu039S8n8zhl4rjr1dXcMpj9r mWNeiAAv50+s9ee2VUxRXu+B3Q/soE9uyuUAufXh4GwtkFq9ZgaWh//zk/FE7C0bXcz4nD gn9ewRfb/n4eMS17J1KQtWMaqWzcJMrybY8BYUb2IxHyduucak/0ejjHzkmeI/YVYaF8zl F3M5T1D2mSB8CYFG7XMprHrSeK4qc6V5LQ8eK6/Bd+6D1ZlaQudXaXoKCVoc/A== 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 4c1TtL4XRJzcLR for ; Tue, 12 Aug 2025 11:34:18 +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 57CBYItk079639 for ; Tue, 12 Aug 2025 11:34:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CBYI39079638 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 11:34:18 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 256781] EC2 Nitro: TSC-low timecounter lags Date: Tue, 12 Aug 2025 11:34:18 +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: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dwmw2@infradead.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256781 --- Comment #40 from dwmw2@infradead.org --- Apologies for not confirming sooner. Yes, this was due to a bug in the PIT implementation. The PIT counter counts down, and the interrupt was supposed= to fire when it reaches zero and wraps back to its start value (often 65535). In some circumstances the timer interrupt could be delivered slightly too s= oon, and the guest could read a counter value which hasn't quite reached zero ye= t =E2=80=94 which the guest would take to mean that a whole extra countdown has occurre= d in the interim! This would overestimate the amount of actual time taken, as measured by the PIT, and thus underestimate the frequency of the TSC which = was being calibrated. I hereby rescind the advice to use the KVM clock. Use the TSC instead. It's much more reliable. The KVM clock has... problems: https://lore.kernel.org/all/20240522001817.619072-1-dwmw2@infradead.org/ The TSC on modern hardware has none of the issues which made the KVM clock = make sense in the first place. And now the KVM clock is the buggy one. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 12:01:01 2025 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 4c1VT93mnnz64cfx for ; Tue, 12 Aug 2025 12:01:01 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1VT935Rdz46py for ; Tue, 12 Aug 2025 12:01:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755000061; 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: in-reply-to:in-reply-to:references:references; bh=Vl2/FY4wN3Y646n6HyVktN2OBlXZWxPvI9l8hq3kzCo=; b=gPvs/ubcBFLGbeClTLkVqKUbxgiPXbHrb1NnG1TvWIMcXh8I1QiER16WtRg4K9gy1OLkFD cBkes1B8wup4xtV0gGifVtXk3pJq0iZ/r3IHEs9X7yunpLmxCSRNmbrivYiEmfowIlZloC +61KdocF5AXGhmfS/KPH/72+ZQ3K3XAQWvjRnyQiXvNz80j2v0kdnR96o6vq7qJ3vhpAh7 oZall9ta77HVOoJIb00BuZDhAy+3YnoTzDcKC0Msh2KHpHlkwZ/LVcqr01EHn1+LIfSXu7 WvmEz+mRt4cvCPHUZd52rn6BY0HmOln4H1RZREM91id7TilmJjTjMNZdUv0OLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755000061; 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: in-reply-to:in-reply-to:references:references; bh=Vl2/FY4wN3Y646n6HyVktN2OBlXZWxPvI9l8hq3kzCo=; b=sJx6xfJk0PRQIe3JThlEEbdJXseLtZDa3CfHb/LsX/sxJ0PlIe7Z5MkNwdFUwc7hBW9E9t uUchDUchuXd5VxAZzp/VQ5XgfMZnEx1nrOtw+aIm/QgHlErwskd/2H0Yh8YmY2nKMrQI5y MsVnvjbOYmf81dy5y0f4G9GHVmhsDaCnny9xYc58OP7Sx/fsjAmZedffkfvOa4WEgfnvrX cAf76kfc6N4QTXiGcvd/ad0HDIUhBa5h+ag0Ym9ihwVEP5psRrji3FbuSTyR200Lo8WEMk V7TZEi1fwyU5NQTitRedndoZ11SK7SuV9iA0eTo7hUx7uRU+5H7L+QcW0WSrUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755000061; a=rsa-sha256; cv=none; b=YlPtEFo+fjkJZXZvUknVmrcVIHOuRKeFJZNv3mwk7H58PsNr0PTEp3a4VBIJCKaInkaewU H1bZ4ZevRG9hjzUDpc5liccwFGLeefASxhg3EYW5B5ZMSKu/qeBPrQoAxGOyFPlvHsKLxs u4j2BGYdNqAanqF66vMs7hqdtnBC10j6NdZ11kTDRJYzdBOReugokqKRP/ixxDOI2Fz25c aQ1D7J68Q+FReCto8qoGAydmbge48Lb7b793WJxDBnjaM4jRYXCVwrZD7KLynhHIXDi41t LwYJf7u14d7z9n2IOY0R2sIHGz41JfRqPGIJxppHMgDRbLp8j6n/kEh82gCkTg== 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 4c1VT92WSXzd0P for ; Tue, 12 Aug 2025 12:01:01 +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 57CC11mO019582 for ; Tue, 12 Aug 2025 12:01:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CC11Tp019581 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 12:01:01 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 256781] EC2 Nitro: TSC-low timecounter lags Date: Tue, 12 Aug 2025 12:01:01 +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: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dwmw2@infradead.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256781 --- Comment #41 from dwmw2@infradead.org --- But wait... why are you even calibrating the TSC against the PIT in the fir= st place? KVM *tells* you the frequency of the TSC! I take it back... slightly. You are allowed to use the *frequency* field of= the KVM clock structure. :) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 14:09:17 2025 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 4c1YK967b1z64qbk for ; Tue, 12 Aug 2025 14:09:17 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1YK95WMNz3X32 for ; Tue, 12 Aug 2025 14:09:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755007757; 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: in-reply-to:in-reply-to:references:references; bh=Z/LPUjuZ+FOAfZJNXvPcPu4IjGZjK+UaN00RLtgvb7A=; b=mPjVrWeIJjQW5lapOWwm56dyqf2nmjffdQmyS97vPNlY8Mqs7hOziMGrVTyaytkOLlY7UU fT9Uc5KIukQ0kHO2XTM9djowX8dbmZtyym1M+1EIN7JU4/68kryZwNFq5CgdaD1fD+hN7r 2RldW+shozg/0yIjr1e1q3S5NhWyJpcLlm6RW+LupdnZJ+PiM9xgwgzgOQ5CmCmambsZ79 tBhy8/DQ3nKrC96ibcm3rkmEAzm89lf5wXPE/zXSSotthwD2jkKXR1vu2fmDacbf0LDoqR m4BWHyVAbb3+iujdrNj9TL3RLE1/AcGAYx+eDsfS0LUUkRn49N73fDNCswisYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755007757; 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: in-reply-to:in-reply-to:references:references; bh=Z/LPUjuZ+FOAfZJNXvPcPu4IjGZjK+UaN00RLtgvb7A=; b=wOnRty0WYcvjykAj1OkiuFtqiDSDlpu5MvEuixPQmt9HPD0ugcPit0pi8RVin+KR4eNppR MCeL80mQcf+o+g3aaiXfZ7YwrCOTbXjYhfM+swOtNo7OZarM3vtRIOLbf9vtP2jOzovkO9 R1b40DEg18b1rAb+M9YMxOsNpwSrs6bp4cIqNbl0p7iqIFRoOUdKww9gjBO+YSbBxQQNeT HwHSM/OoqHFZrMU4ypx6uSIYwLbmPZIg3W8lwTWhHeRf0uPmdkKfCxN708xyvXgGq/no9+ MYF10wP8XZwxxMZM0GrQdpcXDiFQuJflhrwB2YM5x+z2JanxQ+ckfCzMzNzcxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755007757; a=rsa-sha256; cv=none; b=ElLNX5KJe4xfwNmMjM7Bt4PafEWrTg7QsdwPG+K5Hlyr/8SlpsIJ/99bcLmZ/YvfCAgE3n lk4A7RTPm3/+jrrQJwZUl5Wkdrp2/y/ujByFg8g0arUIGfsrgG9Uykj2PqGUsJaZyl8IX6 Md5Fkfa83lvRsXXbxqJ5TXVZ7YlneVMe3i3bwOhseIbM3/IkZHDuOOoCk1StRvwLm+jopy ytFCCyeSCGHbMxS7sc9RBHE09x9bJ+xtyE5mt7uGsyYQHUVTRqJmuCCRgQTsclZ9DOEOay gNIocp9MHYGwvDLG09VSXtKpH5Ixzd8PmCbnFdmrDzDV76C1EWUG6EZCxdpD5A== 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 4c1YK94wC8zhHX for ; Tue, 12 Aug 2025 14:09:17 +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 57CE9Hik032348 for ; Tue, 12 Aug 2025 14:09:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CE9He6032347 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 14:09:17 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 256781] EC2 Nitro: TSC-low timecounter lags Date: Tue, 12 Aug 2025 14:09:17 +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: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cperciva@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256781 --- Comment #42 from Colin Percival --- Ever since 4a432614f68cf35879dbb4ebef089f5b8db95334 (January 2022) we've be= en querying the 0x40000010 CPUID leaf which is set by EC2. Oddly Linux wasn't using that leaf last time I checked. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 14:57:00 2025 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 4c1ZND58Szz64vKt for ; Tue, 12 Aug 2025 14:57:00 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1ZND4SCFz3fM0 for ; Tue, 12 Aug 2025 14:57:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755010620; 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: in-reply-to:in-reply-to:references:references; bh=XSMv9Rc5a9GK+1Tzi+SsptKq42IoU3cmWwPueoJE9iE=; b=ZcEyZvH9Td9J9UvDOjdn3tBUaQQ7knbFW5WCOK7x0OYWpLgbTJ0zyIxfr4Jn3h/Kfge6sU 3gJiBJuGbZpMJ8Rv2i9KqHIS8Qf974ZAp73IxUNIYlcPApHvlaTkb72VKstiImKMBkGqWx YNsuZ4mh1vhbXfQCOcAY+y7OW9+Kh3ALC0HjRVISIREnD1pkZA9WX0LxYRvy037sgsOyl0 6vsZMTgIciHBS9u0fDvohZAq7eH/JLsl8zPAThnaJ+0O/wsXyRWoQKUOR+Hr6Lh+ivhCeN OlYkZ4w0DGKNbTqJFRHdbUSzZ95j1kzVgqWUp9HLOUozZLgrIuHIdINKIBCyfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755010620; 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: in-reply-to:in-reply-to:references:references; bh=XSMv9Rc5a9GK+1Tzi+SsptKq42IoU3cmWwPueoJE9iE=; b=L6jivK4PJcCiUJgbGFleCD6t2DHEWu6nJP7OThaKmoF0ImncLWZIVXclUKhC8EbxJFE2fW XEDM1pWS5RUHRrO5W4lHVSvBENMixYUp61U7GPDBEPe1bSfcX8cVEhciPgJbWWXwOgF5Js PMZjL0lsmL8I0ylN+RykM8GosK7PhZnipBrJRkVDtuw8Sn/4CjBgJpZEA2XUIEpz9/nu1x L8d7Y/fTbWdQHg82Q9pS4lLa58ny8vZxgDsKdoLM8I0DNOfbTiwQUgBZQWNwhkS0VqSRfG ASjEvonSxna9RMir/Dkjxlcexabj2mAchFKdPLUi2Bzsq7yhl1KYedK9h0tt1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755010620; a=rsa-sha256; cv=none; b=lWi/oxl8+yqLn7RELfBZ8cV4GM9dTUbOLRZp8Ug+t+moo6C0++breyajHxwYS2VJvG8bdq ziSYB59o6iX11bdHgojltzQE6zycessK3rerRDAW5yd+E00uq5HMRC4nXDMTkBYN7P1vEu mkDUDrovM7lzOnyOLdNw/H8R7R5rRscciv9GxPLc4j2WWPZeuSjduSBJSKBgN/hJ6oUupo fX73tFudt8gdUgD37vc9LlAxmdX3Ya/n+bmSwe3UD9bjRTXpWzMHEW2cSQU26/14MZaHGB 78CV20cT98IHnjabeb9wuDsCkkPbgSqxIRlNcOhB7U+5B9fGtoNgH36GW6moJg== 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 4c1ZND42wHzjvl for ; Tue, 12 Aug 2025 14:57:00 +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 57CEv0mq018375 for ; Tue, 12 Aug 2025 14:57:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CEv01q018373 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 14:57:00 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 256781] EC2 Nitro: TSC-low timecounter lags Date: Tue, 12 Aug 2025 14:57:00 +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: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dwmw2@infradead.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256781 --- Comment #43 from dwmw2@infradead.org --- I suspect Linux doesn't use that because it was only ever *proposed* as a generic standard (by VMware) in https://lkml.org/lkml/2008/10/1/246 and see= med to get shot down? It never actually got adopted by KVM, and it's strictly w= rong for a guest to look at 0x40000010 under anything but VMware, I think? I certainly wouldn't look at it it under Hyper-V (and EC2 doesn't expose it, = for Windows instances when EC2 puts the Hyper-V leaves at 0x40000000 and the KVM leaves at 0x40000100). Looking back, I actually *approved* that commit to add it in EC2 without realising that it wasn't really a standard. Bad Dave, no biscuit! That said, it's probably a bad idea for any hypervisor to start using 0x40000010 for anything *else* at this point. And KVM might as well adopt it (so we should add it to QEMU. And I note bhyve doesn't expose it either.) Amusingly, even on VMware, Linux uses a hypercall to get the TSC frequency instead. Under KVM, Linux gets the information from the KVM clock. It might be sligh= tly less accurate because it needs to reverse-engineer the divide/shift fields = to get it though. So I think I'll make it use 0x40000010. Thanks for pointing = it out! Xen puts it in leaf 040000x03 btw. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 15:23:07 2025 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 4c1ZyN0g0Jz64xn3 for ; Tue, 12 Aug 2025 15:23:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1ZyM5pLTz3hlW for ; Tue, 12 Aug 2025 15:23:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755012187; 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: in-reply-to:in-reply-to:references:references; bh=pGTa1v+J3kMG09h6MT4VW1aTLfuqRtrIGhCygj4LeZo=; b=mkxXbnjjYHLacNUdGtYt1i/uM3p9iY4Z92FxbPx2vQVd4GaiG6mt+GjWK9+Umq5tGXF/Iu wqWanPQGfTqXkWuAgn5Yvzid68lVjx43AMWZjrV6M4IF8DgX8pgP5zwh4y3ysnASpwRQly I5Xix0ojAe0dtIEUuKqpJaJOPIoE3GzFlSVsHClQ2tAe2vwyD/Q+v0tc+BEMFTj7Hv+Njn D7MPbyIuFOPNZ8x452w+Ak/piSiNZZgckhfKx63OUwprAPTrOgIuc83WTpxwGHvCFgXrNc QDbtLULJKvkKRjrliUgxgqskjTePgx6jx4txhl7BVGVEhz0D6VhWdBpcHSKNMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755012187; 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: in-reply-to:in-reply-to:references:references; bh=pGTa1v+J3kMG09h6MT4VW1aTLfuqRtrIGhCygj4LeZo=; b=v5+MafoPEPiQuhGB/xvzHuW0QMujGU/ATKm9YCLf1qMiJY00GP2UmcDfeAxyfUAHutcFRL mwuormQfyQL/zaz/0kfQgjj/6QP5H592VYaKyHwfVdU5eXmf6Jt/Nuz6BDvmat78866pCz aBR7AvrygXVZXjd5W9092hm5Gpuf//ULpnz4/gCq3D61dRuSvfi9VGh8EQBmFj63ylOJBR sSZpWfERuSy49j4voSDZGWNauQnz4GScUWTBV3GBIdY8hdixSj1a6B0/o9TSrKWCq6yeSD KhtTez8VStq+ZSKQKRCNeBS/rgXsHt1IXLAcw4uoClsW8VlJIiEtKMorMAgzBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755012187; a=rsa-sha256; cv=none; b=vCkcMaqHsadfDsY8dnash418TVOGuWqdCntRN6pPaYAshWlacGXKU4Uma93NKwXHFjx04B r1E7m1SXCa2sP0rcGgn+qdkWQesTkCSXmi8yvWl/LY5FRUQRKosHFb86DZ7dyKbQM45qWD EShSzw3oY5ycQz94G4DNdT87cIVV77eAnCr8srd1KLYOibfcSM31WoqZZi3OHLUgOgTF+R t1etGpFd5uaGOE3ORTrPRaphPTun86TGacskip/QcYR1x/XXTalFT4l3+ImWvppBnNoL7r /8uFHgckEha3P0uauQpkL8Am+Z/1wZZlKl3iDYG3AMB1Pg29Nlj9l6jIm1DvaQ== 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 4c1ZyM5Jd1zk4L for ; Tue, 12 Aug 2025 15:23:07 +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 57CFN7MS062800 for ; Tue, 12 Aug 2025 15:23:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CFN7BO062799 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 15:23:07 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 256781] EC2 Nitro: TSC-low timecounter lags Date: Tue, 12 Aug 2025 15:23:07 +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: 13.0-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cperciva@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256781 --- Comment #44 from Colin Percival --- I vaguely recall that another VM system implemented 0x40000010 on the basis= of "it's an unofficial standard now". Maybe qemu? Credit goes to Alex Graf f= or making me aware of this anyway. A few years ago when I was hacking on FreeBSD/Firecracker I wrote up a patch to make Firecracker expose that leaf= too -- the only reason it didn't go into the tree was because they were in the middle of reworking how they exposed CPU types to guests so it wasn't a good time for the patch to land. It always annoyed me that Lambda was paying the cost of a Linux TSC calibration loop on every cold start, but I don't work = for Amazon and there was only so long I could keep waving the "look guys you're leaving money on the table here" flag. And yes, we make use of the Xen leaf as well on those systems (not that we particularly care about this in EC2). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 16:39:51 2025 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 4c1cfw12jdz654xx for ; Tue, 12 Aug 2025 16:39:52 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1cfv57lfz3qWv for ; Tue, 12 Aug 2025 16:39:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755016791; 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: in-reply-to:in-reply-to:references:references; bh=PEGg6FtGkC9z3sU+6QUKq4L1ox77P/ICh7yiZw1NxBY=; b=R7se18pze7LbBNQo82Tn6b9g1JM743tECukgb9VaPJhkqhjTv7Uv9lCWJbOPBtcBn16g2h gFyiFGlKlJPXiTSz4oU9HLaTLWQ+RGamOBFto+fQF3X5JZ347R+zZoN0bmpNX8NCYEdX2C kv2BvP0F7nNEc9rxEri0KN/77AxLcwpFJQvFKlosUt4FoE/tUQ9buUb6QQ1ocGqqeyt5TD Zk3ldw5bVbdZlAmBnYTzBz+Ek7s9ymKR1jqEq8kRcmsTZcFSugLzOWD0/nKQ/mZH39j+uM 3rxEzq4bBdmnsrMjc5h5kVZiZNuj9/vHyO3Fyc35QiKAAuEhlZojKdtUqg7YLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755016791; 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: in-reply-to:in-reply-to:references:references; bh=PEGg6FtGkC9z3sU+6QUKq4L1ox77P/ICh7yiZw1NxBY=; b=ZncHBUzfCDTdARLzxcB5En6im0mctVUvD88nutxj0KRgBouSpMPZ1M7LYKJm5Cxw3nlF4H UgYuJZ1L/F8/vJUwyxZXlqg66RriBG0aFsja0T5u46xmAgaZAKdehvJ9mI0NGu92D/3A4T YORWXajJyhJM0zy2Q7xrRNEAs7vceNY+dgy2PG8VkZBFP259e0Q3HqJMIbKhXhEncMQe+/ +zrDWrRtT/nEQpzydvfOt4taQy8A/IwAyfNpCDNMK+1qxwac7ROOfOq3nBTrXczWZW/Bta iD0eTwvJocQkOs83iiJIrQvlMVwwXC6f9Z0eVSvEwENGR1ZIE4d/DXjVrOUOXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755016791; a=rsa-sha256; cv=none; b=d40aqHJnOUaCXxsTxQ6vwGVd7wYg/VNIQALvWkID2PemlB+HcSCaSZWolhTY/YdFiI9uX0 QB409GnU6io/30pFWpgVSRubDTZKHtnStVAr9qP0/E2B9yk30yBlLE2l/c++9nKpXoSySy 2Bc2fjOLVUMs2LifujZ/yNWA+g0SjjSQ0CgZxpa8mKrwv0v3s//iqhgsizs0gZBgE2La+m kddfHRwpXmvwyi6H5K11BTKeM1DyST4NFxeEErtMtdCPbafS6IYiOdF0Fnp+z+WU8hF4K0 XhzWfWTKMqgVpzdti8yNJLUf9T5Yuad494KZpSnM2AYIbmaIK5AFYrDP+2J0FQ== 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 4c1cfv41Cqzm2G for ; Tue, 12 Aug 2025 16:39:51 +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 57CGdpoI082048 for ; Tue, 12 Aug 2025 16:39:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CGdp1G082047 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 16:39:51 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 288817] Recent FreeBSD 15.0-CURRENT images in GCP are broken with Cirrus CI Date: Tue, 12 Aug 2025 16:39:51 +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: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@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: keywords assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288817 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 17:58:36 2025 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 4c1fPm6H8nz65C29 for ; Tue, 12 Aug 2025 17:58:36 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1fPm4T4jz41ld for ; Tue, 12 Aug 2025 17:58:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755021516; 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: in-reply-to:in-reply-to:references:references; bh=mlmbj3Wlf/Xhv33DZSH5Og5HKK/ER+QXm6TSwORZFT4=; b=EvQ2RQWauvvh3lu13td7LkggEgxZ0EMMlqx53cSQcWAyA5JKyb/JeAL9+MZbdmyxFmoH0b vKMApWhVFmmpgGiEv6rrDQY5C7U/fOBkS9YJ6XEVQWuRkczm2I0j8n2OTOPHnArk/FL9LL ztk6eBg2LtsERIs8AXQNrZZ18HAutJKatUZ+7zIWinzEp0k8IC+IK4+18s5GZT/zxlTzMI FVUFF+THZmQwcwx/RyN/9BKCQnYxNZriA0cr0Cp37dCBGRjssoi2Cc3wSKF473vvai0Mnj 3OZ3OC48ipWFOU6EIGkk0hmEXFfzfWhONnVRsoD4d1XwePRkq1EhLBkFYlo/dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755021516; 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: in-reply-to:in-reply-to:references:references; bh=mlmbj3Wlf/Xhv33DZSH5Og5HKK/ER+QXm6TSwORZFT4=; b=OTOBYaCpgSv505eZm+tHJwxLIUxmkGXiyHodFs61j+lpaT9s36fTK3W/bsOuQkVPAdcRFU gIhafZV8qmaS/eek5vkfgOVIWRMnX10Pm8ArvLn1Fw782un1vDiIOTiOjtyImIi01floWi goylPBtU4JXpuX145odxzz58/OdsDLg3nKPEmVR8rTLLvQzfNkHVzxSdn/zOHfzh4AYLsB E5UBywdCP4pINTioqqEdcbNIB7+WR6ktt6+eUZWT6KURBeDm9/O+42C0QNmvyJTXgqEG20 G74qm6ChucctZE0g81KeRXjD6O1xz7lX5Fi/5b8gHF66Scx0dcumJ5ZFD8lzXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755021516; a=rsa-sha256; cv=none; b=Nhd8fexGvTSWcnyTtlW+xkeiNVbeU7zYB7hoWHFFLZeU6zDJFMZ17F/FDoipPMeb43Z0Tc d/lr9iCh5359dpoY3wMonA5jfqrYCdH75UhRaK610V2Mf/dpT1qJpPPbmQ4JNzcMVjiqnh p3gBYSkLBcl45vYTla2PGi84bWBllyT5O43V2XxO9eF+B6v1Lt8b/x1foT3mNiVMV3y3i1 UJjQoweRvO3iBMlE62oAihCE1jYS4Flh1zaHqEiWfoCsecAL++JeR69mZ4/I1u3lXSxSof 6WyPbIfXHccZ1y6PRuzDI2u1ye9wTXwU65sZhklRSPBUK/fTza/kyGWMQFMtQw== 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 4c1fPm37xczpWc for ; Tue, 12 Aug 2025 17:58:36 +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 57CHwauf008934 for ; Tue, 12 Aug 2025 17:58:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CHwawG008933 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 17:58:36 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 288817] Recent FreeBSD 15.0-CURRENT images in GCP are broken with Cirrus CI Date: Tue, 12 Aug 2025 17:58:36 +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: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288817 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard --- For main-* (beefy18, beefy17, ampere2), I expect that the timing of: libutil.so.9 =3D> not found (0) /lib/libutil.so.10 vs. also having (later): libssl.so.30 =3D> not found (0) libcrypto.so.30 =3D> not found (0) /lib/libcrypto.so.35 /usr/lib/libssl.so.35 at issue. Some port-package builders are running poudriere jail worlds with /lib/libutil.so.10 now and have even completed builds with such if I remember right. But none are yet running such worlds with: /lib/libcrypto.so.35 or /usr/lib/libssl.so.35 Notes about the timing of availability as stands: The main-* port-package build servers are: main-amd64: beefy18 main-i386: beefy17 (Unsure when i386 will having main built!) main-arm64: ampere2 main-armv7: ampere2 (yes: again) (I do not have details for distribution stage or servers.) These notes based on recent times with pkg 2.2.1 or pkg 2.2.2 in use on the builders in question. There is also the timing of the ports-tree snapshot involved. Some combinations will not match the staging for the above well. What is needed for main-* follow. Notes were originally typed early on 2025-Aug-12 UTC but are only intended to give ball park figures. The poudriere Jails need to have a 2025-Aug-12+ (UTC) or so Jail OSVERSION that is 1500059 (or later) The poudriere Jails needs to be using a ports tree from 2025-Aug-12+ (UTC) or so No existing build activity is that recent. main-amd64 on beefy18: 2025-Aug-26 or so Details . . . Jail OSVERSION is currently at: 1500056 It takes 250 Hrs to 270 Hrs or so to build an update in recent times. So about 10 to 11 Days. The existing build has about 100 Hrs to go (about 4 days). Then the jail osversion and ports tree can be updated. So 4 days + 10 days + ? days is: 14 days+ main-i386 on beefy17: 2025-Aug-26 or so Details . . . Jail OSVERSION is currently at: 1500056 It takes 245 Hrs to 260 Hrs or so to build an update in recent times. So also about 10 to 11 Days. The existing build has about 90 Hrs to go (about 4 days). Then the jail osversion and ports tree can be updated. So 4 days + 10 days + ? days is: 14 days+ ampere 2 cycles between building main-aarch64 and main-armv7 . So things are more complicated and sequential. main-arm64 on ampere2: 2025-Sep-07 or so main-armv7 on ampere2: 2025-Sep-23 or so Details . . . Jail OSVERSION is currently at: 1500052 main-armv7 is building currently. main-armv7 takes 390 Hrs to 420 Hrs to build. So about 16 days to 18 days. The existing build has about 230 Hrs to go (about 10 days). Then the jail osversion and ports tree can be updated. main-arm64 takes 390 Hrs to 420 Hrs to build. So about 16 days to 18 days. So 10 days + 16 days + ? days is: 26 days+ main-armv7 takes 390 Hrs to 420 Hrs to build. So about 16 days to 18 days. So 26 days + 16 days + ? days is: 42 days+ --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 18:08:01 2025 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 4c1fcd5d8lz65D2B for ; Tue, 12 Aug 2025 18:08:01 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1fcd4YLwz42j7 for ; Tue, 12 Aug 2025 18:08:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755022081; 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: in-reply-to:in-reply-to:references:references; bh=buz29SFQJ5FtcpgEvghkK7ahSA+k/Wm3el0kVimUYIM=; b=uJteHZjbqDqgqOtp385UlBqI7Y+OJ5zLRw6gsjKSy7FakEnhzzPJCZYdMZPjcmcaYbatYa xr3kAbmCJ7OKuqdxUcAUIyCdR2lJ6XbrQdzUAexphEc30DmdyLBMv43LzwTyK7c37N4YHt 045+sCUcgItWOsJP9dbqxQ6OSS6aZD7V6n5mg7byXxukOkk1vomEGXc0yIbn7UtD8CoaV4 6d9tN/B1w0fTgmC+DEW0gorO2yz3vafEhVlE1nKocSaRbIjT+PYMdZZu9/HJvnwGwNFNG0 N4uQlB2RRKd1oxShKWYj9iFdKfaWkgZaXVyZAOWbdARdaJmVKGdRBamTZfe+yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755022081; 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: in-reply-to:in-reply-to:references:references; bh=buz29SFQJ5FtcpgEvghkK7ahSA+k/Wm3el0kVimUYIM=; b=APo77+Cr5CzadfbRG/C+0Ot55cSubqNjldN3g5XNSU7upiEQqRrriRhvOcYt/79aSMs42j bpOlLlE3vfv2KbKA1CUTXb/zUIhtiaqdZTRQfkqMR0kTfLowOuBZDruK33iQHpOFKDYxxL k9lEP0XkD+XdQNV2CS+HHfps8u6cRjWglYpPJHKC2v6f4kls3rTLV6Ina1UQ9Y1RHpuhQ/ +VEeWroC53bq4W+mWIfeq2Z7ieJPod024MVZPjGtlYGhnVvTzbwcTJcy4MaLktSxX+qP6c gDxG7JK0XkwzDC0oU6CkU2ka33oynxeNFBLMGiadcmczRw2fsGwry3+POyzX/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755022081; a=rsa-sha256; cv=none; b=fm0eSNiwO31vX3tKfxJm0hP0/POiEXSF+vsESieJRZ5JRwM/LPuTUllw7ULZUIGFzSHpwN mU5sQuKhzxWH9G/CmRe6pM9TCOA1sxvBs3je+is2BhrX0oq7UAsY1DEBHtWqAbSVhiCsfz VueqVnO2etbpeSlU5p2UFGeRTXe7HNDSUDzr0rfNASKwmPMTmLxbS2IJpfrzKB18LDuHH9 bnHLH/Ujf67NfCGmvWfsqeePXNlE1h3dYEmedDep6S6bnSC31pf0h2uo4zLbjH1I7odAbF 8/V/b521IcsQQ9VTbbwJu4OvCLrpKe8ZS6xT/EUQ8ju/EeCndsZDFSu0MGdtCw== 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 4c1fcd3tq7zptl for ; Tue, 12 Aug 2025 18:08:01 +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 57CI81lK025370 for ; Tue, 12 Aug 2025 18:08:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CI81bZ025369 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 18:08:01 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 288817] Recent FreeBSD 15.0-CURRENT images in GCP are broken with Cirrus CI Date: Tue, 12 Aug 2025 18:08:01 +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: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288817 --- Comment #2 from Mark Millard --- Can(/does?) the context have misc/compat14x involved? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Aug 12 19:23:21 2025 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 4c1hHY6hJZz63tf2 for ; Tue, 12 Aug 2025 19:23:21 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c1hHY5rkBz3RcV for ; Tue, 12 Aug 2025 19:23:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755026601; 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: in-reply-to:in-reply-to:references:references; bh=a7s4cet3EvmIJ9l3BWz6sQlYfcR86N+DlxgQq8vCJe4=; b=YdEmRLlXtF6l7Ts9et0ek7X9klzKlOji9Cc5Y0V0HjwFt/krPQcAO/ENG5Q+Pz+IVYtWlE OGJG8CADjpGitiMJZNGv6P6MOFCfz/L59+TCZmnE/NalsOAf8HCUOLmOAQ06MdKuyi4CLo dngic2OaygobROqgtGX+4KY9BTfGlUgRDjtOYZNwlEJs9kULgQ/j6fS3sZNuNzH/IsBpW+ 5QmTCGNcvw78CRswYGTtZFD8FYt+rfQBDH3/zeo7ZackKg8jivTZIqKlfHxNgkU/yszTLT dtwq9jbnPgBFalHrMANW9/9yDJX65oTq4d4+e7CGt/qTFS2od3bmUWV0sZ5SkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755026601; 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: in-reply-to:in-reply-to:references:references; bh=a7s4cet3EvmIJ9l3BWz6sQlYfcR86N+DlxgQq8vCJe4=; b=IPjLEtwLy9RlpACM00zEzWGy9UyH1X2C4ec8RpqDH16rJDGWdVh8TMA9KVt6H3RCF1OnZp LbZRBZBi2ygqLnUaWVjIairYptLOpwaIz5trO0iuqjwVa8T0t1xjZulEz0IiHG4RAurEmn 0UisxCSrP+o1Aby1C7i4q16OYkX0Zw/qWGlM0E8mz0GC7TnzEqev+1dSxpJ7GufsoV90Aa PUjOd2yRXBHBVwsuSuDV0shYXcu2zHs8a+aoW8nKBx63eyUIOIo8uDCqazEs+YZcNipXQn PouVKhjqpm2cpSHVFtu8+ElOZURoz8/+se/G5wrMNQwwxtfj7bpCWKc2JiN88w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755026601; a=rsa-sha256; cv=none; b=kuKMYsjn3kS2XoQRUceFJpbtJnJSRlF7UOCgL5wgCwhDFc4YY02ukhlx5wm0mdd4M4CmKy BuXn52EZHBRi/2lkt9nr/lv709niZHjGRoWK/5aWNhqUXuUQwtuND8XjKubrENbLcWs9Oj 8HB+XUby40k1/D5pIClNwin3ib23R5FEOvqgPS8rO5uDCwjRJD38uP2NEqSqrcKpsZjync CSI3JO12GitOCR4NhTagUv9Ins1RBd3/Y4eOXzos0O49Kyi6E+IgWXvFaa2STFV1KKEklT s8/cJU0MbaAXA6D/I096P96MfcsW6hStaji6KqxG75s62gjSAEMsLT+IxBvsuQ== 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 4c1hHY5C7Szrpc for ; Tue, 12 Aug 2025 19:23:21 +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 57CJNL3M053204 for ; Tue, 12 Aug 2025 19:23:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57CJNLaE053203 for virtualization@FreeBSD.org; Tue, 12 Aug 2025 19:23:21 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 288444] p9fs chokes on mountpoints in the exported filesystem Date: Tue, 12 Aug 2025 19:23:21 +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: 15.0-CURRENT X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bakul@iitbombay.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288444 Bakul Shah changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bakul@iitbombay.org --- Comment #3 from Bakul Shah --- On my machine none of the inodes have st_ino >=3D 2**48. st_dev seems to be= fixed for all inodes on each filesystem. One suggestion is to store 48 bits of st= _ino + a 16 bit index into st_dev table -- you're unlikely to have 64K distinct filesystems on a given machine. For the time being err out when st_ino >=3D 2**48. Code for that can be added later if needed. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Aug 13 16:26:00 2025 X-Original-To: freebsd-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 4c2DJZ0cPPz648MG for ; Wed, 13 Aug 2025 16:26:06 +0000 (UTC) (envelope-from aokblast@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2DJY6yMNz3q97; Wed, 13 Aug 2025 16:26:05 +0000 (UTC) (envelope-from aokblast@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755102366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=6ZRbfWR/jbltrRYkKlF8cpsLc9KKICxEEVPfVqmoB+s=; b=qp9/H8pXsir0gEKFvcdMZAmRm2zCHuio7Ts/7jbFFw+Nv1osSrIMO+p92SUAPCMDzBWj6g gH8AerZ9CYyXGMNoxR2+qjnLQXoQnxq1ZWRWC5yID/brk8T03FdFRsivlD+XuU5cm+7BOl 1r74I6nLtUBy9DpooFutnjVd1S/HbTa2A3H902ErF3DYY5rh78Gg7/ls7ShG1tOOfeeNg+ jN4A7GUJahcvPFGLcFKptMoMSjTQU4+XkGG2O1c67/7TKR4rh0ksWY0wi1YzjvObgJGMXK TlXpJNY//HiY+MuUPoervozkr/eJrO0E5yJFjOepBH7Yb4fiEFWvoH1fejuMfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755102366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=6ZRbfWR/jbltrRYkKlF8cpsLc9KKICxEEVPfVqmoB+s=; b=SFVzqzd/488J4yAB6eT96nrXlhyzVoUKULwz+J1z6hXHPiir6U15PEzfiZDVY6WvzmMpRv VbLI67rD1kvyYPaOiMD5yzZeBfKXX4iB8W8HsjgWeUYbm6WUzVlUefQeEYE49qYb8PH9SM L7mUwPB990NH7S69/7nTqMwQrfqqVuMHWfsofwYiEBFNiGutP3tvdaoLAH174/N6zxjVBO PuDqecpeZ147RYeF4nAONW2lm6g9dIts1WJR+6lwO0eOPg2ZIxMIVyW3LGtVWCQjthmURu W2YLx1QkPx6N1VFQJHk5FRlWOIo+KBBEi5LHX+AglqEB5V4aIrIGMRjOqj7aZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755102366; a=rsa-sha256; cv=none; b=mV9tITdO8TKbXMLOfS4Le98lOkRMNzmZDmeoeUiSaevFzv2JqC8iaS4dwVhfIfsFJku0Hv jLI/Asm15zP6R1XjCSn9oWGdfGh6CYxhFOvlvkDr6Me2uj6wuQbacWz6nKWj+pOVZe+zma iqc24XIakS0wKWY7EWMT5UBBfsu6i6xA8Z+EOLlRWsHA8n87hdQCQOWBoUQqdZnulgIqq7 hQ+qxyWyIWUdKYiDkkmTTgW9X/GMLcdqUo50/nG+NXqquyjsZyZS5bRHnCFa7jguXSK8o/ UR8uY92wFLdUlbH0pNt95vlsCLegZxq2LgGK6WuxgDUhJuza448Oo5HT8iApuw== Received: from aokblastdeMacBook-Pro.local (2001-b011-3808-fc6b-fc87-c9eb-7606-faf4.dynamic-ip6.hinet.net [IPv6:2001:b011:3808:fc6b:fc87:c9eb:7606:faf4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: aokblast) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c2DJX2lbwz1HQW; Wed, 13 Aug 2025 16:26:04 +0000 (UTC) (envelope-from aokblast@freebsd.org) From: ShengYi Hung To: Roman Bogorodskiy Cc: jmg@funkthat.com, freebsd-virtualization@freebsd.org Subject: Re: bhyve: detecting TCP console support In-Reply-To: (message from Roman Bogorodskiy on Sun, 13 Jul 2025 15:43:10 +0200) User-Agent: mu4e 1.12.12; emacs 30.1 Date: Thu, 14 Aug 2025 00:26:00 +0800 Message-ID: List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain Hello: I am the author of this patch. A not too bad workaround is that we can parse bhyve(8). Both string "-l com1,tcp=127.0.0.1:1234" and latest modification date would be good. -- Best Regards. ShengYi Hung. From nobody Wed Aug 13 18:01:51 2025 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 4c2GR31sg0z64HPv for ; Wed, 13 Aug 2025 18:01:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2GR317Dpz42bC for ; Wed, 13 Aug 2025 18:01:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755108111; 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=CDouc/7oPZfpBpIX0BJkUPM4p6IRaxbbcB5KVBmLWJU=; b=yvkIF7X5COFkTiDtoLLzznORtxt6ZRnaK75q0Tjjhf8tH6W98tR9w4H8nv30Pic7mXahaB p7rCFZcCr79krAJbVO3L9hECci9KBKaY/Kfe5H0Qsgzy0BTSbZUQCEFKGA8H3WbujarXWM EoXjFzQmgl22DpkESX2uFoBYUvSedQ/rH29NUEwCKgahcN0zmSMSReZjCcf+TYUXNWJnDW kiGoeVRBcv+pDZDjJNMroPwHV82GhmyJEawlqRtnaC94rT1l0FqNTdvFFn8Ly09NBdC0A5 NtiwS31q9PUELs6NkTMU961TjIe1JGjXvPBbaY5gEdOJiZOJVRsAJpX6/wIQow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755108111; 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=CDouc/7oPZfpBpIX0BJkUPM4p6IRaxbbcB5KVBmLWJU=; b=C02eaY+7ej2YoXdj/1z98vPhmZZkKBezm0z7pOtuVcpTHIc75v4BzMvtqJ07ot1Xtd2gKx D5yrZGLviE6MpTmtag+vK07y1bRdw8ijMa3lWi2H/M354bFCKNOiBbr4yE8yFjlmko0zVb 5pPHv5FLid6QW6JdpIFgbsU1W9FKRfUGEAqN0gHDMEgtYphhVMPq5tn/84a8whugbWG+bJ UFVvwboemin0mN1ACPA1qLYym8W9102PicBxDD0/JAjUP40nMbB3LR2vE2EE7t9TNfSINA PYpLvaCujOlv7PVOAzq+zbMBtRxqwAvsj2syCE1lCpyZ9b9gPqfO+dVFKylgQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755108111; a=rsa-sha256; cv=none; b=LsfcMo3b+IYWQZPU8XEuDaitxQyF+W8ncX6jFfpYYH2112zQR5hZjk8xIifC6Jxoe6C91w U7zNhB0mthncyjKwFajmokU3QvwuGgteRigzbwDunVFSXUmTIXYyGGdT5n0WpFCS4EwkMs lAMEGhbgAKK7trd3afUyjZofcM7NJROHere8k1WU8IvbWcfHg1cIvSqB7erRQVVmuVM8sN KoU6mshMvC8U6bkmjYBGDlJbTCnGLAY2eOsSqESPbZbY5QnNQrAu3KtaCyP5WmEwNpEAZE YWjL6yfnnIljC9wLYffD8U4rIgwb48cGmYETM0ZWp5tiVibJV+ZPSL0UjSSfJA== 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 4c2GR30YVsz3Zl for ; Wed, 13 Aug 2025 18:01:51 +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 57DI1p1J032037 for ; Wed, 13 Aug 2025 18:01:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57DI1pK3032012 for virtualization@FreeBSD.org; Wed, 13 Aug 2025 18:01:51 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 288848] bhyve GPU passthru for NVIDIA not working Date: Wed, 13 Aug 2025 18:01:51 +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: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de 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 bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 Bug ID: 288848 Summary: bhyve GPU passthru for NVIDIA not working Product: Base System Version: 14.3-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: vincent@landgrafx.de Dear freebsd dev community, currently, it is not possible to pass-thru a NVIDIA GPU using bhyve. One is presented with the following error in the dmesg of e.g. linux: [ 77.208984] NVRM: Can't find an IRQ for your NVIDIA card! [ 77.212697] NVRM: Please check your BIOS settings. [ 77.212699] NVRM: [Plug & Play OS] should be set to NO [ 77.212700] NVRM: [Assign IRQ to VGA] should be set to YES [ 77.212702] nvidia: probe of 0000:00:07.0 failed with error -1 This issue was discussed in the forums and a solution found with a set of patches to bhyve: # cd /usr/ # rm -rf /usr/src # git clone https://github.com/beckhoff/freebsd-src /usr/src # cd /usr/src # git checkout -f origin/phab/corvink/14.2/nvidia-wip # cd /usr/src/usr.sbin/bhyve # make && make install I can confirm this works for my (AMD Ryzen 9 7900X / NVIDIA GA104 [GeForce = RTX 3060]). But also others in the forums reported that it works. This is a kind request to maybe checkout the changes in the PR and check if they can be included in a next release of bhyve. Thanks a lot for this amazing system. Links: * Forums discussion: https://forums.freebsd.org/threads/current-state-of-bhyve-nvidia-passthroug= h.88244/page-5) * Related Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277627 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Aug 13 22:39:35 2025 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 4c2NbX1XFRz64cnH for ; Wed, 13 Aug 2025 22:39:36 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2NbX0kXlz3dvm for ; Wed, 13 Aug 2025 22:39:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755124776; 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: in-reply-to:in-reply-to:references:references; bh=SJOhY6fu0Hfuo5xhjSVuUBXoElN2K/2EVPiTPa5T3zI=; b=Uodo+a43CpNt0/e6dNPLwLxr1Czz3WgAwfIrtLOGlXqhjBIIAmf3swyjmMvrCdITbAeTpZ bvOkxNE1n3JZMPq76A40aeU5j6PQ6SjGYG3KDMyCVRuY4uKDKwWwL8Qw7fzxRAcvZV9C/7 9gFvbi20Q/g4JsoQ2bzeYefhrxwNowl7dqJvN8r/eKN9ukoImFtp7NAAd7GOJFIP4TtcFO 50WU5gIFKUoL16AUEaolQ/wKc+1PNvFpcIM8ARM9MBCypsTu5dzJA/JPugMYJsCOFjTU0a MhNcGiCUR/9s06YxPVW/1lhJX/atL60FUD0fyO6s6meJqTWSZmfL7kNb2VUzqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755124776; 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: in-reply-to:in-reply-to:references:references; bh=SJOhY6fu0Hfuo5xhjSVuUBXoElN2K/2EVPiTPa5T3zI=; b=aQVlH+yLzmIj6ylcIM7yRiLyMP7ScuaU7AvCO/f3V4dX+Sn4drLKHcFGAp6QNyqRdzzBZH 4jnbWjcAl4sHvgio/NvlXexRLoz3YZzmnhWz0dYGVPYS5Bxd/Ch2Fk80cIh6tWIIMoA+EH /R6wp1gArmy0snzJugxhdi/Vvhn/3EmOJW8oRaThFQhVsVO7+Na81Y/X/IhjF7cMtMGXyI hGC4EvVj3TZBkOhZ1oEDzLzdlIjtcxa2CB6IRiy73Y8lnjjEf0ej82AZuj+RGGagGPku4V bfiUsXEQrTIKokUqiHpVeVD6bNu6vq5MXn90x9zG6elSQhAeFfqLccS6mTOXrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755124776; a=rsa-sha256; cv=none; b=rdZ1AuvOEzBLsGvd5ogAUVzsEiPo0xQRoI7cBetlMqaMri4AFmQTGDYTCMuu4/NrPDrWZ1 y0ZAgtaPYpUbKoGD3qi7wNMJZpyY2l/0q8VVd5U1FK0y+W5oK0q2yHkWdIDDG4BAE0rRSg rm5Jr9bCjbFO6XB+bsCACJFJYVPS77QoQYoFeLp3OlbT/kfMlVDEDOL2Kfb+SPeFcPmR/z Ck6JdJCdbD7ia4+rj9+Boq5ySYtWWCyX6FKG4ZQx55/e22b5vYtrih73Aekls6w2UtvbAp EX16OUz/pI2MvQOJfKRCyzcLGjloUUwZS8UKQwxnnaSUIzOiA/KKbKf/i0OiTw== 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 4c2NbX049CzBSp for ; Wed, 13 Aug 2025 22:39:36 +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 57DMdZMg068019 for ; Wed, 13 Aug 2025 22:39:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57DMdZKk068018 for virtualization@FreeBSD.org; Wed, 13 Aug 2025 22:39:35 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 288848] bhyve GPU passthru for NVIDIA not working Date: Wed, 13 Aug 2025 22:39:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: junchoon@dec.sakura.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 Tomoaki AOKI changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |junchoon@dec.sakura.ne.jp --- Comment #1 from Tomoaki AOKI --- It would be nice if the changes can be obtained as a patch to original src tree. Without it, no discussion is possible, as it's almost impossible to know wh= at's changed throughout the whole bunch of src tree for this. I'm on discussion you pointed and once tried to let github to generate diffs between the branch you mentioned and seemingly corresponding branch, but it didn't finish (no results are shown) within several hours. (As I myself don= 't use GPU passthrough, I don't want to clone the repo just to obtain / genera= te diffs locally. So I gave up. (Not sure the original author did pull request or not.) And even with the repo, fatal problems are seen in the thread. At least different guest requires different fingerprint of the host VM (her= e, bhyve), some require "KVMKVMKVM" and some others require something other, forcing the user reporting it to rebuild FreeBSD modifying the patch to swi= tch. At least, the fingerprint SHALL be configurable per-instance (conf files, sysctl,...). Not shure how trivial the fix would be. In my humble opinion, passing through any hardware is quite fragile and not= a recommended way. I believe making UEFI firmware (or its successor) the VM h= ost and forcing hardware accesses to be runtime services is the way to go, like mainframes are doing for CPUs, memories and so on (PPAR - Physical PARtitioning, LPAR - Logical PARtitioning, and any kind of virtualizations)= . As the idea of virtual machines itself came from mainframes. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Aug 14 06:15:04 2025 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 4c2Zj54DP4z658Tl for ; Thu, 14 Aug 2025 06:15:05 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2Zj53YLwz3TGF for ; Thu, 14 Aug 2025 06:15:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755152105; 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: in-reply-to:in-reply-to:references:references; bh=Rjo8XPybQFfPXzwoN61zoJ1VwqU2OsZKRYnKj13gq+Q=; b=j5d3uKjj3tTGdAWgE6wD5B1Kxpsym43pALVe00Z4LEjZ8mfkXSStkSrGE9zCcflZkzfRTm M85uOlwRIr0V0ElFMDG4/ODDiLGBlBSpHetzsIqg8yppeiPFYcJCFAZuMuCbAc63qGj0M4 PCdvpbxIz1zOcbASHfAi3KGkCOuNgnn4w5eVmGR4HrXO+iuMk6L+swxfj58IYzabwtzfYi tm+Ap09H1lQKolBmSYBZdbClpOf35f2FwOYihf31pkq7urup8HbAuijhhG3JdPvJvevE4q cMnCrPbaQwgHvYoCcNioSTM5u7u4yPzF+Dwd9WT8gKvwGdN7DnVvhaxh8+gcOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755152105; 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: in-reply-to:in-reply-to:references:references; bh=Rjo8XPybQFfPXzwoN61zoJ1VwqU2OsZKRYnKj13gq+Q=; b=oETTezgXx8GX87RyQPBVNcOCHMOswZJ/DXWK1+wkt4tqGoBsevPoTfRthiaErDivSjzn84 QSvOpHXSITkZ8/KV1fg6UHj7jQ1z6+Xz0U77yCzdjCWVBdbvi7f/dQykiPAa1UKogHJ1bh 9QuCCgW5qIIciLla7nNvCLm1iU0qYrC/NXfqCmr58D9RLBVO/LB3U+NpmdTlkmobF44+4M mDjxwKbQ8vCJzD9xokPwFIvtvIg6W/sC+P8kIkrZcHT9lLE6MeghGRQ9sj22jV1lj0RUU7 5guzUny/2MsI3DJJI4ECwVB4L2ybs+eMEZitRWLFuqLEd6TAFtyHRoG5ojPzAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755152105; a=rsa-sha256; cv=none; b=WfVqMpuzhUX6ovWo2t6bJBIW1z0eYNNwCpfNDoGGIzmTiUi/nWEP4jYndB0P1bN2Ks/H8Z 3Etg06iI8MLjm4n6vubt6J/V3LQUkpYTvYKkDHUoZwfqg62VdFXWlyLZG1zmET0PzBIfH7 5ZvOKFiqVFBJ4ovsxs0foMH1uBh3yW3vNuqvpFQiFMuVZJuytw7yQRyL4GKq1+6wCDiUaP yBPpIWMk97ix8WlKWkYzOzSmvPZYNmhbNh+XqiQfP7bL49mwjsAZJDWjuuxpJFR0QMpbGx 8rv2v1upK2vV4oeAuFmhiu5LZxpylsGoBFggrgsCytTKV3nvwgNoIt2YqAx1Og== 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 4c2Zj538pfzh66 for ; Thu, 14 Aug 2025 06:15:05 +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 57E6F56E088882 for ; Thu, 14 Aug 2025 06:15:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57E6F5Cj088881 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 06:15:05 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 288848] bhyve GPU passthru for NVIDIA not working Date: Thu, 14 Aug 2025 06:15:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: corvink@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: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 Corvin K=C3=B6hne changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |corvink@FreeBSD.org --- Comment #2 from Corvin K=C3=B6hne --- I've started investigating which bits of my patches are required for NVIDIA GPUs. I've noticed that it's sufficient (for Linux guests, Windows untested= ) to set a valid INTPIN value in the PCI config space. Unfortunately, I'm unfami= liar with PCI legacy interrupts and bhyve doesn't support them for passthrough devices. So, I don't know which side effects can occur due to this change. I've created a review: https://reviews.freebsd.org/D51892 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Aug 14 11:00:45 2025 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 4c2j2m02svz64GFl for ; Thu, 14 Aug 2025 11:00:48 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2j2l5wn4z3wbf for ; Thu, 14 Aug 2025 11:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755169247; 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: in-reply-to:in-reply-to:references:references; bh=d1q+aMFD7mQ05rCNEYv/9cBrAh+74nSewqKZ2qpC0OA=; b=mpyNNlCav729F7nu0MF8NKQtt0Po20nEDjTnyKcnpy+5X/Kx8PABaSrnHYk1fhBSdb8e6v +Bmy5QxPbvM3MkAef3ClOYcpohRi/klHIAsXSGQ9gHc92uELtK/+N6eehzcjvffCLoFyJR +2Ee4xXbWHP1CXLwrreqprkyea9Ek0FMRdk7BlVsmD6ZV5Bsb4w+aiiW9IfbFTpsIK8Gr1 VcLmUoa7m2vLvtjY4lMTAlLCPdcaZ2NQm2HLCN6Lhcwn3Qh0s4BUTdBeRKAYEvQruMVX4S qeRHi0FF/yPEE+f+sjG+F7eITkgfu6RQzFT7GorbixaE/zK9GM6P75wrDaIrFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755169247; 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: in-reply-to:in-reply-to:references:references; bh=d1q+aMFD7mQ05rCNEYv/9cBrAh+74nSewqKZ2qpC0OA=; b=qMKh9Ew050rHccK8QkaOJjYktKTdpswjz0BWUdLPw2h0cmdh/rY1WXPMcLNv0PsQOZjXGa pg/hzYEHWOci9aSj6snp6RWTrAlXOCEews3MxP2Q+ObAFWtOk8BdpNUMMg3+BuKC6UHFde 9/fbgYQEibXimHy03XTizGqn4WjrtButAlIJCNwu/Qz8tsP+8djjHBzaIvDgvOxl5jUyM+ nom44XfZaMxaAsAMmEEQ5j/KAXF65UDLD4fPV2SdukALRiBYbRb6xfH0wSDsVeV4EcCE8d CtEJb1n9w3unp/lIlWURBNvTkU2s7YPCPvmqD7wef2L4rHcW7W32qX0ertuPsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755169247; a=rsa-sha256; cv=none; b=Skr2YDS5QgilJ24Az9QsSxmL2/+CfwVs+Qv00+cJBMcw0h9VG9+CzGvs3EOmDFhJVjYkja wb5Fjq5t3ml/i+p+/AQdxjpCMW8f6PuQ1QOEdFtSKGfTJSEIjXrfu/YA2FtVRkAplL2mwz IS96WVtskG5mz0DwlIrIZ1W8iWIL6e0yO5mQUSc08ZqPZgJbRO51lIwvTjuiULQXTXm+Oq +TLLsxs+GAcsaYdDW+ANtWilafnOC+/O6QODTprirsi47SraUPaGRcBSEH+KzPPXxsiG5z 9iBQRb1mYD3bNhvMJtwrDz37IKJANZ4nsngsO4SU4Cp6yRrwcqy/uJIDxkWJng== 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 4c2j2l5Mv9zqts for ; Thu, 14 Aug 2025 11:00:47 +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 57EB0lF6042552 for ; Thu, 14 Aug 2025 11:00:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57EB0lUe042551 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 11:00:47 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 288848] bhyve GPU passthru for NVIDIA not working Date: Thu, 14 Aug 2025 11:00:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 --- Comment #3 from Vincent --- Thanks a lot Corvin, will check your changes against 14.3 today. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Aug 14 15:24:16 2025 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 4c2ptn1thqz64cgQ for ; Thu, 14 Aug 2025 15:24:17 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2ptn1911z3D1m for ; Thu, 14 Aug 2025 15:24:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185057; 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: in-reply-to:in-reply-to:references:references; bh=GtwEDnvBwxV6GOcAqL1BcDzpDlNsqRDvbn0jzpf2z5g=; b=QDxN9xeltSx7CzAnapH6rz0paTSCtPh4QfOAlyKDlalg1byfNK57MHBnLiIDogHogS8pyp 8YICOsLWoEjHBJ/z4rnX9SPIN0DJcZogb+wAcUI1gGfY2CXw0HYCP+ii5LZ2lqa7MUKiBH E7hRnUgjL4EkDT9ZzUz7GiOlEmv++/o+7JQQWDa5zEEhod0ld6LP27gZFH6fxxpZJrz9g8 E9r7SHbg2BSZl7Tq6iLwxLR082gnjkZ0QRu5Jf1yIzDbK5Xf9H+2HGljuzyxGunY6P/vu/ hH/jCrD1ajoX8lLl1jQOzjHOoP2aO9/L6LtrjcLa7B+plrSs6K+zSsINiegybQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185057; 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: in-reply-to:in-reply-to:references:references; bh=GtwEDnvBwxV6GOcAqL1BcDzpDlNsqRDvbn0jzpf2z5g=; b=fOvVqERWJ49Fa1R5WBpTnKK3h/Bxln7Dt58SWOIYcfqOTWk4/FnAo4UwV7HIY31472heNO HaS3eafAcyKQ5jeHUROBg3GgON1vrRyGzLh00Au9Rj5zzIuZyhlug4y3c2QJPRf5etBdOS 5CYr/pvIrEIYd2Cv6OTLbdtJCISOvGRevT+cmUJkjrdJD+0MUpxMB6Qp8dAz8W0mMaJVDe 2HcOQ42rYpNcj6N+rjyHTGp2LskqLxnfh6VIa/kJv9XbSfWAVMxu5VxpHV96/bkla37onx /ayCB41VOZQhWMiDaMvU4oWGFZuAQANOF4T1WwmlBPSBEkvn0KFLmzB0H1biOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755185057; a=rsa-sha256; cv=none; b=DAq1iToSPqrxdtMdcRvMgXV4j0tkyF1O1HoUU8byeu1EayWmGkmD6uKbw8YcPYZ8BbJEHc y2heA3sFLp/a0FomAwIZ7K5P0Jte5Pq7tK7fOfA9fZ1Kcotm+7X/tmZ/xfx/GhmU17uYcA ij9mY0NSk568D6Ix166+UtpIKyEfhMUjd2B1KK1rlExWcijmjJQWhXDYrZ4yZ0og83dQ0h q+4ElH2ZdXej5gBBDglSVFIgsAFNOlve/hSkNnz9wvQKru+7jeTR4YCUBm2tMt8zImcBw9 POpEB2hqVPrkdvMFYntiqZnDFXCrC+g4ZvFcTM9agerF9oDTEUH4ym8l54H1Qg== 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 4c2ptn0kBszydx for ; Thu, 14 Aug 2025 15:24:17 +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 57EFOGVa070847 for ; Thu, 14 Aug 2025 15:24:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57EFOGL8070846 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 15:24:16 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 288848] bhyve GPU passthru for NVIDIA not working Date: Thu, 14 Aug 2025 15:24:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 --- Comment #4 from Vincent --- I applied the patches against 14.3 and can confirm it works! I only had to = do a minor change to the Makefile. Thanks again Corvin! --- 8< --- diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index f4dae2f09904..1ec4623375a1 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -41,6 +41,7 @@ SRCS=3D \ pci_hostbridge.c \ pci_nvme.c \ pci_passthru.c \ + pci_passthru_quirks.c \ pci_virtio_9p.c \ pci_virtio_block.c \ pci_virtio_console.c \ diff --git a/usr.sbin/bhyve/pci_passthru_quirks.c b/usr.sbin/bhyve/pci_passthru_quirks.c new file mode 100644 index 000000000000..805e469303ba --- /dev/null +++ b/usr.sbin/bhyve/pci_passthru_quirks.c @@ -0,0 +1,49 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2025 Beckhoff Automation GmbH & Co. KG + * Author: Corvin K=C3=B6hne + */ + +#include + +#include + +#include "pci_passthru.h" + +#define PCI_VENDOR_NVIDIA 0x10DE + +static int +nvidia_gpu_probe(struct pci_devinst *const pi) +{ + struct passthru_softc *sc; + uint16_t vendor; + uint8_t class; + + sc =3D pi->pi_arg; + + vendor =3D pci_host_read_config(passthru_get_sel(sc), PCIR_VENDOR, = 0x02); + if (vendor !=3D PCI_VENDOR_NVIDIA) + return (ENXIO); + + class =3D pci_host_read_config(passthru_get_sel(sc), PCIR_CLASS, 0x= 01); + if (class !=3D PCIC_DISPLAY) + return (ENXIO); + + return (0); +} --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Aug 14 15:26:25 2025 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 4c2pxF3vTJz64clQ for ; Thu, 14 Aug 2025 15:26:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2pxF2rd2z3DYB for ; Thu, 14 Aug 2025 15:26:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185185; 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: in-reply-to:in-reply-to:references:references; bh=siecD2+ZxUjRRprOFfR4m9HN2uZYMTTucjky3MxhzNM=; b=o+u+hEnGnwsUs+s/8exCHJmCF+UR19382eVS5lpRR6EaMYNbH1agKAuLzBsBc/UY3hf/iD qkabowAFhgg2XwqRqpl0SyvlKOZX6lklRgHE0wzasbXnMubrpbx26U0Oh3P/eHC4eRdeRR cadpW9TaIos/yr9Q9hjx0dyM7OX0aU95aKmMs/dJiEvvO215vQuTxhfW3VimTCWhmz4m+o PeYIC3/WGxpYlbVeRHg8cek/wx+/g/CX5qL32FdgUak/csJUZeP12eVNa9hYsr0KIDHsqJ Hir/lj4FXfZF4N6OvU/TVp9/hCx2wwME1mHx62TiFgmsHQid/EudoUf+3mRdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185185; 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: in-reply-to:in-reply-to:references:references; bh=siecD2+ZxUjRRprOFfR4m9HN2uZYMTTucjky3MxhzNM=; b=dCR/zTmXs9FTof9MKwxciyBOIXHM0+q2Z4CPyOet58fJbTvLMaKQBR22V4LQI+DBYAAZSi 8Q/IvA1KHhmrRIURTSHURHJmsX1W0qKA0BKBSudDSoqKfPkbXSLXobBHoT4/hpiOf1pELi +9PJGySuX4vXvve5bdtE3SABFJLyzKhIFqMiPqNHfDM4vXzJpzTfEZF8C9xM4tNZDeKyCT yhjKWT3v+vdHjImAbvB+ui7bhNcsDuh2DHokYKropHCwOVb2WAmvJVNzmC1xsuC2N7Kb4d 6bDlFyM7Cz4p88cAbccVZMoAy8A6wQyuaO0a5c0kLJTtsp5zDuIkvMtTf6NPdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755185185; a=rsa-sha256; cv=none; b=sQljb2XvV+DhtvgqvomTpVozs/ixkYbjltqSPRzKBaElc2LScRrKQF8IiUDfQ3o+gjCAxk hdh1s7qFnMTrF0vJCcGS9IIbVufKnmAY3orc6QTACJ0yWD+QVN6TFZdrLH0h0hBDDbyguR Pj/uR5R11lydt3zmpUmZGrFuw2WN3E3W2F7DjS3Nq9NlIBJa73ld3+Mc4IITZfvPgAyiQp yLTQ7x/tRuN5deqwZwVjj5yRILpo2QcY/9w0SI0tL5tG5ArY41OG59LpPfXoLnU5ki1kIu 5teyqTP5AsfUuKgdEmUQE4STigmJ36ZmL0JD0qtFFxDzcyAJR5Fs/kJxiTjSdw== 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 4c2pxF2PKdzyRb for ; Thu, 14 Aug 2025 15:26:25 +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 57EFQP2N072176 for ; Thu, 14 Aug 2025 15:26:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57EFQPNa072175 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 15:26:25 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 288848] bhyve GPU passthru for NVIDIA not working Date: Thu, 14 Aug 2025 15:26:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288848 --- Comment #5 from Vincent --- + +static int +nvidia_gpu_init(struct pci_devinst *const pi, nvlist_t *const nvl __unused) +{ + pci_set_cfgdata8(pi, PCIR_INTPIN, 1); + + return (0); +} + +static struct passthru_dev nvidia_gpu =3D { + .probe =3D nvidia_gpu_probe, + .init =3D nvidia_gpu_init, +}; +PASSTHRU_DEV_SET(nvidia_gpu); + --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Aug 14 22:03:40 2025 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 4c2zld3LVBz645nl for ; Thu, 14 Aug 2025 22:03:41 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2zld0nQNz3F9G for ; Thu, 14 Aug 2025 22:03:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755209021; 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=0pcNi5w0ZG6uFFORHVsAbapRSWVptNOrV9pHdE9q0Kc=; b=ilgkHViBSK+emGKXn2K8Lr5etQS/t7VCx6UODZcEdnL6PiwPGgRRa8kJe8rgBlgHOwmTPP 1EqQWwOauKrV58wDqfdWKm/O2BWwycZeO9XcXHXWJP+JKgqgFinKSriK2dPsZxigy8d1hb CwG33uWDDQkjNzleak14eiPfJZX8gvRaNai+45nc0QID7CVQ5hN6Ub8q8tfracaYLZPJt6 cbRYZci25Yv+RsgVtRWHLzIVC/RGLrG+l8CmK4BeghXw/DuU4yd/kvHLvx9bs7ZJbbTJTZ H6TvNbDW2HQO4rw2TUtPiK6kKxty17xRQ8CzI7VX3Uy370fxBj8zS0/w13//aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755209021; 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=0pcNi5w0ZG6uFFORHVsAbapRSWVptNOrV9pHdE9q0Kc=; b=jiTZVFVfS9+4fiI1Aer6k/jKyXw5eGIvN/Z+KcrKVrR6Rf+dEV2WFsMe9Zp4hOw8bxVp0h x1Qx2tEQzN/xq5iJ0mVynjf1OQi2hHASF/UwPqKurEnEnr3edY28wRlE4fdHETxjTlhBvX RKfbpSlC6zWwuBWjoHnnoCodcFk6ysMX67XUjzqWLtGM/ndnsyLIp4KRnRziM0k4uXslhT /JyULnkc2ry6vgtW2L6iqwwICc0SJkhutaI2J0WyKRbODsZhWxKEBwlM6OLlq2FSUlPrqB Rtd2WfhJoEzSu9Q0RB+Z46SHATdBJmYPssGLS4XqPlDYn+XgJLuVjfRABh/Cug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755209021; a=rsa-sha256; cv=none; b=d+pjw0nPsVJreKqMKEGOEINLnZwSjZPQcimKfbFUc1TCSUEAgphPPZSDQDOR8cO8rkRK/S f4+F04t+bUu78uL2BziPci6AXdLi9UTiuF2CXHBkfGRY6eVYN5bnijRnm6fVQVfrEc1UO4 nFuu9uV1WqCfuQ+4ecIH/L+evsivp8is5SFCQ8NHlYlCl4sxd9yBlaq1KjPbrjO006SSw6 qLaffISxFoYStS4Ug9UudqAvQBz8VcFnuIrzBcHnKeALLEr5kcPrW3deM6I+rylGlXTjL9 E/+SAixr/F8HqN5XRCcjski7eKMd1fwwPYk5m6TeSWlfX4ImmBogrvx3sIAqCw== 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 4c2zlc6xl7z19bp for ; Thu, 14 Aug 2025 22:03:40 +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 57EM3egO012357 for ; Thu, 14 Aug 2025 22:03:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57EM3e7V012356 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 22:03:40 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 288873] Windows 11 VM with GPU passthrough hangs on boot when using more than one vCPU Date: Thu, 14 Aug 2025 22:03:40 +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: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hayzam@alchemilla.io 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 bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288873 Bug ID: 288873 Summary: Windows 11 VM with GPU passthrough hangs on boot when using more than one vCPU Product: Base System Version: 14.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: hayzam@alchemilla.io I use this Bhyve command: bhyve \ -c cpus=3D8,sockets=3D1,cores=3D4,threads=3D2 \ -m 11662 \ -S -A -I -u -H -P \ -s 0:0,hostbridge \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/root/Projects/Sylve/d= ata/vms/102/102_vars.fd \ -s 2:0,xhci,tablet \ -s 1:0,lpc \ -s 3:0,e1000,tap0,mac=3D12:e4:ac:7c:a6:d7 \ -s 10:0,nvme,/dev/zvol/zroot/windows-11 \ -s 11:0,fbuf,tcp=3D0.0.0.0:5908,w=3D1024,h=3D768,password=3Dredacted \ -s 12:0,passthru,1/0/0 \ -s 13:0,passthru,1/0/1 \ 102 This is essentially a Windows 11 VM with two passthrough devices: ppt0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x1c03 subvendor=3D0x19da subdevice=3D0x1438 vendor =3D 'NVIDIA Corporation' device =3D 'GP106 [GeForce GTX 1060 6GB]' class =3D display subclass =3D VGA ppt1@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x10f1 subvendor=3D0x19da subdevice=3D0x1438 vendor =3D 'NVIDIA Corporation' device =3D 'GP106 High Definition Audio Controller' class =3D multimedia subclass =3D HDA The VM hangs on boot and does not respond to any input. If I boot with just one core, it works fine but with more than one core, it gets stuck during boot. It should also be noted that this ONLY is a problem= if I have pass through devices, without any it boots fine. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 15 18:14:44 2025 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 4c3Vd10y39z646VT for ; Fri, 15 Aug 2025 18:14:45 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3Vd10JVXz4Pq0 for ; Fri, 15 Aug 2025 18:14:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281685; 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=GHyT2BjdZpNeG22795K8BpyG1vhJ9aUvYZrpCUyZdzw=; b=STlVBOqmf/v4GN16GraGYYg8HVNgyKYMveFKTNjkjdS3OFnExOpwjaIOEJ0JUDE3mti/Aa eiNlI6sPkSXOZwezcMhPT0HHkJcDxtp8HWW1DBDAH6z4cs6CHBsrp4o+aCv/vTFGmd27wR KpwXQVBBpj5eBO6R+IDqGc/97rtF2tg6op14MEtRu5zzptqv6wsNirofCJGGOTR9+4Kimh LH4oekK2HrOZbT6AuV826Um2MW00vY1BCd2peUFNhAAWYIOiIaWb/wB/qMk9a704CiaaF/ x/q2beqV80IZE58Lyv1eu4aLUk7fH85QnGWWzRvVwMAbreACde4LLOBl+b7UVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281685; 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=GHyT2BjdZpNeG22795K8BpyG1vhJ9aUvYZrpCUyZdzw=; b=QC/RGfXJXsJMx2Quhn9Bzh9AbT5T8XhUszYeWf4SuYCMt9JG4VhFW8Ybtbr3Raud3TwBQ9 0hsr5umhrnNiuavY9El53Kmx8yZWJLaxa/4uGAZDifF48V4DrdqxEQZ66typZ0NWyBq0if nRZvl5DI63P2bYKPGu9ZF7AdgJuppTnDAB+A+5jiTUiyV4r9UBVN97By86xUtGcOffQiZO /keNaouPRdfbB5bMU2zeyPQRt0eVz7b9cG4oSiKbtpVCwbpCmSR4UBMliujNUp+E3SfzCd WIMQlF636oOFPpmNgJ1NnXtiG+H5bVt9WX0nREAoy1aVVME8z7etTv6Domc91g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755281685; a=rsa-sha256; cv=none; b=b4XXgGs58W3vC/qZiEiPzGnp79tnw4rbqSTphxIcrzCITA5t9EQjAWzy0ses0XWtqM+7eA 9867Bt6CwoEOlVbdYOKISJVV0TZFvDo0g7+13lLrtZ0/C6Eh3BdNiEIJFuvVQxPld7vIy3 Hno/LIfS1HA4aOJN48C9NJyXk0nasrV+Ju0delRID9WACPnVsU0FOOqCAoB7fQjhEGqWLp b9m88zYdxYbbZglXw7LV13oYxPw4IVzaBPeW7hoYNSIC4+/54W6QxUpAu2GlnG8E26jv7q jLu+b1Sn2tlos9j1NAUybQ01tMamf3HanOWQU2F15fz9BfEFb/Npl6lyGIOtAw== 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 4c3Vd06Xv2zqJK for ; Fri, 15 Aug 2025 18:14:44 +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 57FIEi83066636 for ; Fri, 15 Aug 2025 18:14:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57FIEitA066635 for virtualization@FreeBSD.org; Fri, 15 Aug 2025 18:14:44 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 288885] System locks up when starting a bhyve guest under Linux/KVM Date: Fri, 15 Aug 2025 18:14:44 +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: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dwmw2@infradead.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 bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288885 Bug ID: 288885 Summary: System locks up when starting a bhyve guest under Linux/KVM Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: dwmw2@infradead.org I started FreeBSD-14.3 as a VM under Linux, with nested virt enabled. Theoretically nested virt isn't anything for FreeBSD to worry about; it just sees that the CPU it's running has the VMX extensions, and uses them. It's = only the L0 bare metal hypervisor that has to care about nested. The FreeBSD VM immediately locks up as soon as I try to start bhyve in it. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 15 18:15:50 2025 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 4c3VfG4SYRz646Vn for ; Fri, 15 Aug 2025 18:15:50 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3VfG3tvKz4Q3F for ; Fri, 15 Aug 2025 18:15:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281750; 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: in-reply-to:in-reply-to:references:references; bh=lw1BghSbIyiC+Bgk0x/TNqGWjDZUqVnNUBD3IWOxSkY=; b=UfuWJ50UKZTZ0TmoRqwWNCpLIezsECeNriC3wlngmM5pBF+XopCvpmXnLDqNI8bjNr+kxt uA96OEopeoUlGkOlZl3pNLM4el74oUIpdyuRBJEbyfmrEXFIqFmjV5O4JzjVgGiO1yjCc/ B6FKeFiJt0OjCST97NjKD+10n8wSRSHwvxbJ7x4Czp3vpx6FFnSQrQJih4779fMg0GXh1g YwhoLb7lvYL3STcYdNbM77KZgoXqj5JuPntFM2hp3KpMKVZ295R7cndqN641kiSjZrZOiy 9saaCHaO81u7KZztSX+dt9N+Kc+4B1vGdj6YCfRQ0GkkmpSRhYLHMWOJxedqIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281750; 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: in-reply-to:in-reply-to:references:references; bh=lw1BghSbIyiC+Bgk0x/TNqGWjDZUqVnNUBD3IWOxSkY=; b=sFr7XIpkYpbT99qzdSelPKSX1FHyQDq8KRdl36ZG+wFwHSuZFgKtDewX/uI8Hz83+G5VY8 ivuEHqeNGX4kEvCn4cgbGDuvCylAoHVjWVoaTI0yAv2+bpolRngMCh1muhaSI/1gUjNoEJ oGxtoBWgIeJ4uTG6OpObZSGwuIgqLL7oceAHjl1FX4o4J9l7d0bvDHu8lICC/TAFQ7czuq pFfmy0c6RldriNX9n1drSARKb/kDn6Z8Bz5yexa8ITbzCRaHcSs72oolFvGwMfftsVpFml c1SasIoYZ8Cmq5vbcccZcvp+W/09p+HDiD2YENq2oPqiHhFgWPmSD9+ALn0eSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755281750; a=rsa-sha256; cv=none; b=jUUexkk9tCFumexyZX3iATwCVlEn2S1CV+Ian+Wo01fC3o4AxVWSLA7ZQ6kslz4vFcD3nt 6CAO8PMYUzuz5/1fqOgzpJon8PCnhBsXUXIsPwCtxx3lfu52i1IYI0txnXyQTe566I2r1y F1Az0Xc0AC4RIyPzBU72J1aYcriBPoM6/O1GpgUjUphbC8z3MWa/w3RXR16mut7fH4qbdT EyfJt3TSgMUCQhZ8O+5fBCo52soGlWelsMkU1qW/yDoQFfmEflKOWbvrO3YoEqp29MIQqj h0YT+MzxloPQwAe+hkg8Msy+XdbNEXPX6KYSgZ1LQrpJVVHOLCCo+d2S3NAvVA== 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 4c3VfG3SyXzqYd for ; Fri, 15 Aug 2025 18:15:50 +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 57FIFoIW067319 for ; Fri, 15 Aug 2025 18:15:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57FIFoIG067317 for virtualization@FreeBSD.org; Fri, 15 Aug 2025 18:15:50 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 288885] System locks up when starting a bhyve guest under Linux/KVM Date: Fri, 15 Aug 2025 18:15:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dwmw2@infradead.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: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288885 --- Comment #1 from dwmw2@infradead.org --- Host system is a Haswell running Fedora 41 (6.13.8 kernel). Please let me k= now what other details would be useful. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 15 18:16:04 2025 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 4c3VfX4f9Dz646M8 for ; Fri, 15 Aug 2025 18:16:04 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3VfX2Mlhz4QSV for ; Fri, 15 Aug 2025 18:16:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281764; 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: in-reply-to:in-reply-to:references:references; bh=my0qVl2T22+CxuvkWpxumQpFc9VLoqwE4i5StU+WouY=; b=lJ54egs0qXEql55+cjxWPGU8XcnPR+++1RSLkycyc1NyYkAcrePQoOfndvp7w8eaZ83zJj ccJOHB+KEet+UvrUoCxG5Kmf/IhcTke9eS47KhwxtIFBJH006Xb5hNurn+q6DMPwIe/xHM FYs545z03KUfS1zDETr6mDnGSP5vySPZfPI4bPOQqHwlSqG7dZQc8rs7l8xPFh4uKjmBYK BqnnX8Pitc4vRK/gCUPHKn3+ZGVgPdKrkbCeY2iYgr2XYhhMazGDY+pE00wIGCB5CDQ7GM ejZKmXdTz/eI5N2YiPC2R1xblaLXp1CCUU4aykYPNdx+fkAbvIe5lFWORVsMmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755281764; 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: in-reply-to:in-reply-to:references:references; bh=my0qVl2T22+CxuvkWpxumQpFc9VLoqwE4i5StU+WouY=; b=tvp7smfMUnzf3pGmfn4ZA89vfeeo4pLXpv7rFLAYwWPb44be2Avmlo2/uiIM+EBPSV6CvP iS82wVcUrjagPsXTYas/fYyVohqdRdIEmEGrvXPcaSZ2ELqLgxK4KevULHmu8IE8ZDmzaH 0IVJR/6vc0DV6IGBBmHjvW3Ov6qxTjZdBAemwEXeVof5ryoDONIuHCzDLarUJH1FR8+A3e HaN6PZsJLBPf/LsJJzO3+UXyGN55N6FauNVm6HiUKaoxwrO/P2OO2nu2g3h6SQIILwfeXb kSctlSu6RW0WNrH3BvC0nFYEfIx9LeeHHhAKAsXTlaVhUkmXuyYIWguK1tWn0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755281764; a=rsa-sha256; cv=none; b=jkooNdVoIODutlHBhfqM7ln7bmln5utk3BDWuBTGEuKMkeBpWEFXMYQi/Mq3bGRoBXb2N+ h1l7k07mpaok0uEbtX9LnlTCwJJMv9Tfqf5pt76l8bGu7bWs0arz2TG8rv2YJYdu6RvdTW yl7U41k3gJa018zfUeY5Bs0M+koZMdcN6iJvzfxLvnEM+NwL8OgTnr0wej1cjzzyZAwDnk 9GZqSQ3WcZi6t+gepWnHdsHty6AtkHQMRVs9xreunuKy8MQc6OpcN2Bp0x3chKmkiy+5av +s3asrCEodvmyFZGwygz/g57lZcunjFTEXFNE5VvaCv/7ofZC2HhXNCcQaiYFw== 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 4c3VfX1mBZzqYg for ; Fri, 15 Aug 2025 18:16:04 +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 57FIG4Qh067526 for ; Fri, 15 Aug 2025 18:16:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57FIG4Ge067519 for virtualization@FreeBSD.org; Fri, 15 Aug 2025 18:16:04 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 288885] System locks up when starting a bhyve guest under Linux/KVM Date: Fri, 15 Aug 2025 18:16:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dwmw2@infradead.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: rep_platform Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288885 dwmw2@infradead.org changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Any |amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Aug 15 18:24:10 2025 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 4c3Vqt4LQGz647Vl for ; Fri, 15 Aug 2025 18:24:10 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3Vqt34rYz3DWD for ; Fri, 15 Aug 2025 18:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755282250; 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=EHHr8u6LhikZ2Jt7zHZz79FqLOq3XzFknm1EQEYQKC0=; b=o1S0hjstzRx4YhNUO3MorNaiN+KzDXZtK2ny7xISyXeCaOW1saIZhT4lRBIc5mIvNjYD5H a0wJnYlY8f2Rzm9cX2qI5NuxaA7lrj11y3ApaTXnpfMirD+rj4ucNCDFxh4lHRgEtFLiy/ zgwuKRgYr+xtjDWfii8pmOO0EKsH90l86yBZ7LPdRf+OYYmsRSxMduxDTMsk1I90CfkGK0 dYDvrN4SP7OqwXG+tWzmyUu476O1QxlvNTw3/1huSe0vsaKAKF+hwENKq3Py7hZhzVQAnd jWZclwK7A7kSq6kH22OksYlQ1SelfdCwPhvd7kip9UbEe+bTgJBLFGqtZ1RQyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755282250; 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=EHHr8u6LhikZ2Jt7zHZz79FqLOq3XzFknm1EQEYQKC0=; b=vwjjQVsUjUE2HM4rrCoCA/mf5NuiH37f5lT183oZ5xp9Se0CXIaMjj4fU9y6KsyG1UI0NE V7Z7o6kXX7FC6iXqTdfu7l9AWSeS4j0ZBhCrpBc09nWmykVrPFpC8e4w8nOmUuTB/8tvTe DZrtwbjzoh/24CL9L0tZFC5MzvnlIbQcHgSR9DzOHpGdGZSum5P0FRQYV2+yLRHhuNsWeW 5zJQylo8QLdjL/a/SkWQjfe+BYHnbEykGCp9rcLuMT/QqlTTnp1/dtONz+w1e6QHFL1tQx znS5qRRUJNptKK0bOkjgvC1JZ7WkQmhlquDTAGNDq7Q6TD7Rm+8jD55SweF3gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755282250; a=rsa-sha256; cv=none; b=C7cMn0hdm2915ke+sarDprFRBtRHm/BRLmZeOp81jVWrXV2NJ2gXW/tul8gB9SbrYLEPPH 7TLrPc6TZ6sdh5lb1g1gn/EBKH27F06kwQ+9wPR1bjbLls2z44UWaRJI652hrU/uRYey4C 7U/wYmYSHWToWdU29GoYR1G2KoPE6kr5/Ovw8RHpJM6AOjKQCQwm0HpJiWctxZD9ZTCysg piI+d5D5GGR+nrKwb4cxhbJ02yFOy/UvitwzXpv3xACf9nEA8u3HKhoaFiZYvQDyTp3a2i NYdE0ssYzFwJ/rx7hGB4vQoox8TG4UfT4mYSmNRSANfb0KutcaK13KlVXHL3Eg== 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 4c3Vqt2S98zqQ7 for ; Fri, 15 Aug 2025 18:24:10 +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 57FIOAaq083508 for ; Fri, 15 Aug 2025 18:24:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57FIOAi6083507 for virtualization@FreeBSD.org; Fri, 15 Aug 2025 18:24:10 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 288886] bhyve fails to start Fedora guest Date: Fri, 15 Aug 2025 18:24:10 +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: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dwmw2@infradead.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 bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288886 Bug ID: 288886 Summary: bhyve fails to start Fedora guest Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: dwmw2@infradead.org Running FreeBSD-14.3 on an Amazon EC2 c6i.metal instance I used a Fedora Cl= oud image based https://download.fedoraproject.org/pub/fedora/linux/releases/42/Cloud/x86_6= 4/images/Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2 and converted it to a raw image with qemu-img It doesn't work. First time I try, this happens: root@freebsd:/home/ec2-user # bhyve -c 2 -m 2048 -A -H -P -s 0:0,hostbridge= -s 1:0,virtio-net,tap0 -s 2:0,ahci-hd,Fedora-Cloud-Base-Generic-42-1.1.x86_64.= raw -s 31,lpc -l com1,stdio vm0 virtual machine cannot be booted Second attempt (immediately after the first, repeating the same command): root@freebsd:/home/ec2-user # bhyve -c 2 -m 2048 -A -H -P -s 0:0,hostbridge= -s 1:0,virtio-net,tap0 -s 2:0,ahci-hd,Fedora-Cloud-Base-Generic-42-1.1.x86_64.= raw -s 31,lpc -l com1,stdio vm0 vm exit[0] reason VMX rip 0x0000000000000000 inst_length 0 status 0 exit_reason 33 (VM-entry failure due to invalid guest state) qualification 0x0000000000000000 inst_type 0 inst_error 0 Abort trap root@freebsd:/home/ec2-user # sh: turning off NDELAY mode --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Aug 16 04:52:49 2025 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 4c3mnG1lSrz64pJV for ; Sat, 16 Aug 2025 04:52:50 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3mnG16B2z3p1v for ; Sat, 16 Aug 2025 04:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755319970; 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: in-reply-to:in-reply-to:references:references; bh=0gswC6Px8RBbnZD3gXYRI2v2r47RHQWH0ha6sy0svwo=; b=M30DPP7Y0sW8J1kPhF/b5phOc1M1UNh+YCd7+Ti2vhwvlFOzjLLXpHEJ9X96X4RzNxFNAt EfRcAqntE8R4f6O9kHFvBqt7fk+NjaysbZgGjohD1vQyDmqGqcrGq90eszPQHbYRJagCq/ xfIdIgW62c6RjgGwxzMqnJ1jL7lYqVkDoaqW8hnhCQj/NJcP8qLh0aypaFs5eFIetyOWFC R0UeJDFSP+wBXGC+UfT6fxxxRivArE1coA/cB1JrN0RJrrDek6VAtewPJBaxAf9xAEUY2R 00LN/7KqSPgD+m0jlxbaMR/vH5KKTV8KVdGbgWeXUN2YGYtLRtnZyPF7OIouVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755319970; 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: in-reply-to:in-reply-to:references:references; bh=0gswC6Px8RBbnZD3gXYRI2v2r47RHQWH0ha6sy0svwo=; b=EhBx4vYunp4o0NY0VMcJA8tBVoRvgiAPmE1ZuRiYB7gbRGgYXzAi9auv2OluOi5AeJtXgT q6D3bBdp8pqoFfYb+4lwjb3RJR3eqe3pt2i22t5cDUL3BL1ghi1sV0mg0MpqrOZB9uh2Kz Ud1b63Od2rqwoOfEDsAyaQnnA73EBxI5l0GVupelenXIRkTI+pW2LBOoQCGMJitjZXZGRB Ui6X+ifyhkutSNV4M9TS+DnDmGl8q1Osib+vy+EzdolkDULtCbqq12v2KTQKkAFKRMrDYz JVLO4+/nTUWU1O0EK+V3LkuPcrz83VMkVusfk2rx8LSjUJ2Ft0jOK4+znDu8UQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755319970; a=rsa-sha256; cv=none; b=sNO6YxgugY1IQYdC+VTihlpBDmUI2RldDrKPBXir3zXjMgu/86hCwlyl3E43DAodHT3FfJ sRxSIxs1YtYaktmRqFn5B94i6Z+4XtHQte6XP8cnOZKvwpKEeLOU/UDgq9R60EZPGp6hPh djQVvKkO/AjdnSzcj35e0bTJt5Z+hojJyuifQCIXPW7cX0V937Rlp7pcU+/XPejR4F0M19 0m5wdFI2oY0WwdPNmVE/1Jib9dNVQTPuhPYDIZ6G+RqwyL0vyQetTuOhMxZy9E3iG+R7W2 53qyD+27lbGZDWqw/GubiKaMpuBmR22m5CUTlzC0HwnHOMp/6S8rJxB4K2TdYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c3mnG0VjDz17d2 for ; Sat, 16 Aug 2025 04:52:50 +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 57G4qn9q072239 for ; Sat, 16 Aug 2025 04:52:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57G4qnxu072238 for virtualization@FreeBSD.org; Sat, 16 Aug 2025 04:52:49 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 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm Date: Sat, 16 Aug 2025 04:52:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lettergrabber@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794 Andrey Lanin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lettergrabber@yandex.ru --- Comment #17 from Andrey Lanin --- Hi. I have the same issue. I tried this patch on FreeBSD 14.3 (two socket Intel Xeon Gold 5220). When = I do passthru 'xhci pci 'Renesas uPD720201 USB 3.0 Host Controller', Windows 11 = Pro 24H2 hangs on boot (at TianoCore screen). Windows 11 boots successfully without the passthru PCIe USB controller. bhyve command line: sudo bhyve -c 16,sockets=3D2,cores=3D2,threads=3D4 -m 32G -A -H -w -S \ -s 0,hostbridge \ -s 3,ahci-hd,/path/to/bsd/vms/win11pro.img \ -s 6,virtio-net,tap0 \ -s 7,passthru,94/0/0 \ -s 8,hda,play=3D/dev/dsp,rec=3D/dev/dsp \ -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D1920,h=3D1200,wait \ -s 30,xhci,tablet \ -s 31,lpc \ -l com1,stdio \ -l tpm, passthru,/dev/tpm0 \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ win11pro Windows 10, Windows Server 2022, Debian 12 work fine with PCIe USB controll= er passed thru. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Aug 16 12:23:58 2025 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 4c3ynq2RW4z64Jx2 for ; Sat, 16 Aug 2025 12:23:59 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3ynq1HRkz3Pww for ; Sat, 16 Aug 2025 12:23:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755347039; 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: in-reply-to:in-reply-to:references:references; bh=sP49YpkxBai4pKuNJ5GhkMqx41wfFIxntPU7aVZMw5I=; b=yKPQrq+zGz5PD9fRGJav9+Uvg4mzSgpkTUHfVQdUmZbNVMqvZ5R4f122b3cS/hPwgdyua4 9oaaPWtDktjHP+Kcn41w1Zd2K900RI3iUyQxkpApO25BRUJNouLeh7kBYA66x6P4GktKHU ms4KqfMHgBoIsTgc6COyMKwJ4pI2zPhsNFe6vCv3/bbz2NJRoy6Lslad6SBowNlZaISRYR 54qH+K6BHKwIWJnLlk6Wh2FkXjW7mzSGyUXD/bZSp+j1L7/efJDszR/CIYeqff7rv8AKOU 1TYeB00mk2Qcg9OL0QoaZBP16ppqxjJwAQL061TeOntGNulcG/AvUpOxAlFSPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755347039; 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: in-reply-to:in-reply-to:references:references; bh=sP49YpkxBai4pKuNJ5GhkMqx41wfFIxntPU7aVZMw5I=; b=bqaiG5RngTSWHebYnazMfP97hGJUs1nOQdFRJVb0txq5yl0YOPORePl3FPhKWX39HB33s1 LYk0qNaHSl6zuGLHKEmhvzBg4Jo1I14l9YeFwt5PKOVeO8MuPQ7rHNSK2yyR7C2SxebhXp P5EXPDdxHd+EaMaN48vFa+op0QOBCgyAuw0ZTYQvW1PQ10E2Ykwm90sucMaY0KvUrXzWDW L89kZVmUprNTojAXC+XLqDCo9+3YoYrzsXkr6smRGLwogEXeA/tJ4jLHOfpSuI5+QebTbR QPWaTko4ojGx2BKoWPJk8VW0PvSFeiXvFhpu9akl/i7foNwRgbWaLLHngnv5hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755347039; a=rsa-sha256; cv=none; b=q71osrV8uyVRjK0CSgKLWfUqUTE/Uqja7MfAEq0sTGo7EoGjqQXRwbBNYO7Zd1gHQANH0V 9AlSeqWMu+IxyZ8fRP5AZHiktGaMwJX7/Xsqljl2VIWA0PNaTbywgJDPXeW9Z0tzRrJNNU 3gMmzE9UYOZdg0iy/dgnaez39qntshFk04h1mrv5htJf22135gnjOpgf8dM70/iNqeaQlY ovgNYd/fVCBPpRxfRV/chORt+gqNtmq1gmyi+G0XjuLU6iSYCj2emfErgCWCsCuJrojRXI QiT5Lz4ZsaX5kfwXKEF+O8m6B5k8SgdjB7w89IdLh1kV6oPpggwfafMoAkf3Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c3ynq0hZkz88n for ; Sat, 16 Aug 2025 12:23:59 +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 57GCNwfP059335 for ; Sat, 16 Aug 2025 12:23:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57GCNw53059334 for virtualization@FreeBSD.org; Sat, 16 Aug 2025 12:23:58 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 288873] Windows 11 VM with GPU passthrough hangs on boot when using more than one vCPU Date: Sat, 16 Aug 2025 12:23:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vexeduxr@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: see_also cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288873 Ahmad Khalifa changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 687 | |94 CC| |vexeduxr@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Aug 16 12:23:58 2025 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 4c3yns0Bpwz64KMh for ; Sat, 16 Aug 2025 12:24:01 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c3ynr5d7Hz3Px0 for ; Sat, 16 Aug 2025 12:24:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755347040; 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: in-reply-to:in-reply-to:references:references; bh=YkXcpaK0RJCcVvsZW4tr1R+ovHW6qISBt0l3sf7baIY=; b=EbHAe+/fF5pvhNVt51+RDd5s8mr4wxRKI76FgRPj9wW/fBUHtfKdlZsmZYR+dQw1YoRWAT FH7Nb5qHgNr+GI6reSw0yZwFjF1L27Hd8yWmZ99PP4Ur+Ocb6nJiVQA44R5zrkpIJwNk+s aCJEXcRzvswse4ienK3UVasdAEouay+WbIuZ0i4Jk130AxN5uWDzTQIiitrv4D6VHc81qp +pyup2yqGMIaWlGhVjik+E2Djqe/gNhAyNKlxkEclzVq06hyXK1dVVb6bz/UCpVqpaki6g l/X/3qbjgkrMiUW3RqD+Rr3hWN0GuIsTy1zAMYEPEcce99BEzumjWOBjOZSV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755347040; 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: in-reply-to:in-reply-to:references:references; bh=YkXcpaK0RJCcVvsZW4tr1R+ovHW6qISBt0l3sf7baIY=; b=I5W+pSApu6MzN1ge/wXPbKLa9ncfNtcbJRQWUHCkxhFBpCRvCWxERj93gAWLqABIJBDNid z6ITeHXHU10eUcAE3vR/E4mt8Re/hGaxbrBZUnwO3Jzk1lB0lf1Uy/6ak2LENDIqgVR6Yp YkDJbDAnqNo6gptck81mzwICdKE9WQVDnNTRa6YqzWCQtYv5ASE9rB9ro+C9mgwh5ZAble SoXBWd1QKKf6M/g6NLiOGNnSYahs6GLf6v+lu3V0W+PS0PV3hJ/Xu2NJS/4sVzug1Dnh1j NpWnBnmmPZNEpMSXxSLbuRt5j4JG63ypl4sbD/ATEXuXc6ZnxKfjPjEed/xjIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755347040; a=rsa-sha256; cv=none; b=uy2S1oqOvyaXE42S0O+XXtYF65D3fsKoKiX3fePE4z0eVkTq/sECl5j7Oz3XBjN1/ZO1K0 F0mYgXlqPzVzMQTG3mPQ/CTAoesWhzA169smOTbHPs/XxKU1hw16oVH9j3bddJ6yUhco7Q xVPKJcxQY+ZPV5b6jG7H83Gr3SEvhjCDmu/nuz/Ne9pnu1duEY6n9W7xdJZp+0hGowR+ZI uyHPzjdjKlThjphO5vdsI/BTQKa1JOqRh6TuUGDGy/hG3oKcrX3lilBDrMzP/qxlJDY/Gr ZqTORhzO8xrhNFe6IqcBhItJevPOaeho0N7neXyJSNjT+PVzNh487Kh6pXpJpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c3ynr53tsz88p for ; Sat, 16 Aug 2025 12:24:00 +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 57GCO0ug059448 for ; Sat, 16 Aug 2025 12:24:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57GCO0b4059447 for virtualization@FreeBSD.org; Sat, 16 Aug 2025 12:24:00 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 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm Date: Sat, 16 Aug 2025 12:23:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vexeduxr@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: see_also Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794 Ahmad Khalifa changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 888 | |73 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Aug 16 18:41:42 2025 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 4c479f28C3z64mLR for ; Sat, 16 Aug 2025 18:41:42 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c479f1VShz40r7 for ; Sat, 16 Aug 2025 18:41:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755369702; 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: in-reply-to:in-reply-to:references:references; bh=3zJif2PCmbb7bttPHkKO1jGSM0uroB3uA32NACUR97I=; b=X5KXPeM9BOu1Sov3sHOXiy8P6/Jm5buj3ovWwbMnr5Dz929PZxLtfiQhSkDBtj8gTwGlbp AREWczrN2Mh8QM0BmCw2ZdRVqPnrLbqgO6Ty/K2WOa0XAkaLSSfKoEw//dlrcmoN/4WCYb /XK2yl79eWsX6+fuOwZhJBIFUGObwyShJWzwnK8HUEtKHahV4aBSgVQAXXqo6ERZI/Rgtf AUcSU6dT+BXi18W3JZzZnc6vezDdQ76yCfMXhCDxFZi1a6J1drC5mhTL/OooBZ8Xjv7vGS 32d1HjMZyz1iaGPB1ZaQM8bljwlHWJUw314knrpzt/+Ob7umsNH5zembgFVQSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755369702; 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: in-reply-to:in-reply-to:references:references; bh=3zJif2PCmbb7bttPHkKO1jGSM0uroB3uA32NACUR97I=; b=vETMZ1TKBNw8VibfKWN7DOKwTwIfHOxWTQW19pyFFJJ9pJuFsPGrUOI/Cu3clNtQ8WnbTJ gjbyDY6zNl7dCAyXnSFEBc4wOQ3NxBCZl1ssJ6y6qOUqy1oLRRfBV3VqfAQulOIIlk5igR 9aKdvMNc+bIq8G4SnmDQtzOcD8SfEOj2k1WP5kxpwEzvVHLFBDfiD0/kLvmth4uACKN0fx F0sdMyc6dRDJAFkZ/wYbcOV0rbqqbwr6AkFXwLvXjOLmnnHf5RaXDla9gi0192cEtN2ts8 +JA6zyYfXlzrpAUzZa07e7dgNiBwQe7rZHrZDMR7lCeDRsa2ksbWfcrS1hJENg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755369702; a=rsa-sha256; cv=none; b=RXEGxjQHzB7BoPdtioLuSuW1CWAkp7fxkc8giCiyDNzg87BIjw33ejw07x/mtDEcXbUIqG aqKvVFxpHPRiyc4A6gG9i1Bt6dU3FpNtvDjcl8FfB6zdWq87+6TR8MuiTdS35ZkWMrgmU2 hHE2hehhVOKfIazxAuY89ZsssJOC0BhstUts7sQHayrRboHby0xyaWBEEmaGXofqcjZJ86 z+4po23yRW5G2WTOCOzsqr1v7U8tzCoPGfQ4aNVli/a917YxZoVgPKlKP5UwcQzJIv9dpM Sikb1arobVt7Tj0liBRFV78lpUzZaeHwH+PX7gXt29Yt8AlsbzNeWJjPnqKe1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c479f0wKXzc7v for ; Sat, 16 Aug 2025 18:41:42 +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 57GIffne025984 for ; Sat, 16 Aug 2025 18:41:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57GIffUn025983 for virtualization@FreeBSD.org; Sat, 16 Aug 2025 18:41:41 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 288873] Windows 11 VM with GPU passthrough hangs on boot when using more than one vCPU Date: Sat, 16 Aug 2025 18:41:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hayzam@alchemilla.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288873 --- Comment #1 from Hayzam Sherif --- I've been playing around with Windows 10 with PCI passthrough devices and I= am seeing similar problems. I got around 2 crashes at different points of the installation. It is not as violent though, I can atleast kill the process, unlike in the case of Windows-11 where I have to restart the entire host to= get things working again. Without any devices passed through it seems to be largely okay, I have yet = to see a crash. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Aug 17 07:23:20 2025 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 4c4S4S6wZRz64MgM for ; Sun, 17 Aug 2025 07:23:20 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c4S4S69ZTz40CW for ; Sun, 17 Aug 2025 07:23:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755415400; 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: in-reply-to:in-reply-to:references:references; bh=cd+D3SQCTw92e5ZCT2+xkZhaVBFPQE+GGAwZLBObOL0=; b=UMh+Ztjs+ZbqdVAKlb1YD9BR60Y1YKSrj2+WOjEnG7M5bUSmg7QoevP+DMzhlXc4/pSDY+ Bq77yUjAgMNSTBQRaHpGzlC4yUtM14NW4CghcAtPM3NZCmH36+mByBGhGpkjvbiunoLJ+b MKAR+T7HgWBssvuIw1vieL7pnfdeJ5EARa+TwjZ4SuNSsxIuebQ3AmrlIOPyrKkdgKlmcs iQv4cLr8wTNjfmFG4XpvwYoe9mzoOxHZrRnColUJVRTzOJ3jXKBbdw63m0bQ2PTA3+UluR fDfue611gV5cTlefyAQ5/MnZ+0DK6hyW+Hfqjc1EvRYevv2vMpsND0xcIp81Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755415400; 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: in-reply-to:in-reply-to:references:references; bh=cd+D3SQCTw92e5ZCT2+xkZhaVBFPQE+GGAwZLBObOL0=; b=hcvMcr0/4HkDi59VCQDsMj1pZD4dpf4mKsrfknpWqBjXcDl/w+Zu1Dc4inFnphA6vC8yr9 0T+jw2J2Bl9niyAm78O9qzNldDjc8/LSInZuhiTrUPC5OSIgOgL7LdDvZmJUYNBUo4/hoP FmvymVsW7Z0vIHYAOvQkMhoH2q2Cxj1YbrHJrM/pCWXo0Jx9eWB9T3yTUW0eI6+L5HmAZX 2+oYvPT5X6AGwj6h9U/X/WKMRtRWt5Y/V9IalHf4Ma8qOoh1em9MdDOJgAauARwepgbS5w Js0fVWlQvQsNOQG6xV9qeAiV/xhC1zVVMguafi2kgnmoWJRPSr+KALiuvjgLkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755415400; a=rsa-sha256; cv=none; b=Ca3f6x/gUJViAM2Pu4ZmboH8NF/VaEVwUg4F4nUu+Ac7we3wq81Dekru8npI1IDnu+PrYm feO3gVqp2MBZl5YMm0MQJqo40nd+3Ni0gql5L9DNMV73UJr40I/7I/i33zT+84kzbsvap/ ltsvmOrLsSWEWHr99sYf4R3dInXy7jQNxSSk/rUBYeG+qc4mC0HNo+3RTiCkypedL8t+XP 66SfnGD/R3SYdWcOVOLJyw/VSKULpMJ9dCQMFF45++VENfnzWycWtor0VdV218NDzgrUnq Xr74d6/AN1iSTkGYgTZnLBbCuzBSIqAMKevUL+iL+M7zWamFju8h9P9NrCnHrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c4S4S5ncsz11GL for ; Sun, 17 Aug 2025 07:23:20 +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 57H7NKbV094701 for ; Sun, 17 Aug 2025 07:23:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57H7NKZ2094700 for virtualization@FreeBSD.org; Sun, 17 Aug 2025 07:23:20 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 288237] bhyve does not boot Rocky Linux 10 from ISO Date: Sun, 17 Aug 2025 07:23:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.5-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288237 Michael Osipov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.osipov@siemens.com --- Comment #24 from Michael Osipov --- Yet another one: https://lists.freebsd.org/archives/freebsd-questions/2025-August/006872.html --=20 You are receiving this mail because: You are the assignee for the bug.=