From nobody Mon Apr 15 17:14:17 2024 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 4VJDL241XBz5H0JG for ; Mon, 15 Apr 2024 17:14: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJDL232M0z47PZ for ; Mon, 15 Apr 2024 17:14:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713201258; a=rsa-sha256; cv=none; b=S+BHcIE9XaL/b+3qws7ZaC+jlvXG2ni8V9xhevlER5JBfwS9s3hnElXllCFPXNDm25ft/w YppGoQoB5XvuhKBV03t+wNKqRFjbTNhACgmhttnGMhuZJh0IjiBZzm/Nh0KE3vYPELK06q oDw12U6XPJQrXrJ1DUJntfIc3Fs8SDWFqKEY6E5gDYwBq81OIxax1GBqGZwQNuaa4ZF94c d1ju1Y92N2jbTG66BofetvTOsQdrc2V5/Wvgs309fm/L+nLid2WfsbnBPIV84MLIgKoXRy UXM2SeA2NM3x4UhSIzqVhvRu4c3jCDx/zh3SNmvrRMM+0lxjxtXax8V+Vd95MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713201258; 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=IyQxruZlwfFea4MM2qkKMLa1qmgzQdt0UQClUVAu1C0=; b=q3YSGMETWfJrH0AwSimBwGr36PG6Tl7O4QJZuMRZ5GbQU4sA+6aI06hLQC/+UUQO02Ap9Z I7GNNuVQCgKyoyxz981CZXsIuYDASzo2ZuBFXY+U80093+AHE3+UpsdainE3XZ7gEyqC93 PGQy9Js1n2eNeuFLISgCfE78vINWDz6VRN8xE++b5pvGynijfjQObvb2fGx3ip2ft1LqGp ScdTh0wAKnir4bkF4A14z5E3uICB9s5cleUgdHzrswTQDaSG7H8aA4hLbDGbxqEvrZhJ1i qMzUhycWp2T5CUhw3wolPVTXqvNd8HU9qYjPcFLWWbU267lz71ZAfDrtdFBpUQ== 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 4VJDL22dqCz17kQ for ; Mon, 15 Apr 2024 17:14: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 43FHEIpq056501 for ; Mon, 15 Apr 2024 17:14:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FHEIML056500 for virtualization@FreeBSD.org; Mon, 15 Apr 2024 17:14: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 277559] kldload vmm sometimes hangs kernel on arm64 Date: Mon, 15 Apr 2024 17:14: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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Andrew@FreeBSD.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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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=3D277559 --- Comment #8 from Andrew Turner --- It looks like the issue is due to the tlbi in handle_hyp_init having insufficient barriers around it. I have a fix I'm testing that seems to fix the issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Apr 15 17:27:37 2024 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 4VJDdQ078Zz5H0wH for ; Mon, 15 Apr 2024 17:27:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJDdP6C37z49dw for ; Mon, 15 Apr 2024 17:27:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713202057; a=rsa-sha256; cv=none; b=beeWZ/TAol2e25LXTdMgyUWiAud75Yoq338irtJuyhR47Qw+iSOBJvTTPEbz4t7bK7UJP4 +J+6D2/OJSQ/ANlOiqJ4/AmL2PIc5AiZWDEWixRmvWD/BnAX6xrJTi8uex05e8Sy0ka7Ui 9S26VqrgAVIRUKTNHCRDyFZ3Nk7h54vzLLc1+cGLRU6KpspdErnZhcfOZqVytsQfhHB2S9 EOA1uaJafc2lu9kZhCBIJ4SbINJtIPi4qcBNk0SN6ZBIYZo5fiBPDeBsrcMYpC2mzVCgAz ncc+cnHr7w3RWx75KFG81i+5kWtBdu188ixw2Zhh6/wopgO18esqKBPYnc6UHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713202057; 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=9OG2QrNhbC9aIgWp1Sv1tTTHtCfC7tznlFtI36WX0UQ=; b=p4rzFx9xDSiezN66JxEyhGh68kyNLgluHwZWvEumC1W6xBI5VBde7ipePLCwI26xWM3b77 t4fVNGkYM997OC0DcTD3bzlJ6xBEiZRie/yX96BHs9l7Mw1hCmUllrWw89cfQ2Zk0OhdjQ 831AvDsd68XBs7SkvBRuX0zG4vVoTULOgwX8ro1pvj/0GGhdTXweAvOxJeDOP7a0ZjL+xK BcyxvWpyDtnIqWTaSLUPR5kovujxB/zBRYeSUYEOHN8aQKjgQIBsQ36Xon4X6NeGSQwqDE KovSxYe55XPtttjYlL+RQxBzHAXEzFWtQdIhsKRRKWNrweoHlbZGiD4EwP7KiA== 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 4VJDdP5m0Vz17rK for ; Mon, 15 Apr 2024 17:27:37 +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 43FHRbne020941 for ; Mon, 15 Apr 2024 17:27:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FHRbMo020939 for virtualization@FreeBSD.org; Mon, 15 Apr 2024 17:27:37 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 277559] kldload vmm sometimes hangs kernel on arm64 Date: Mon, 15 Apr 2024 17:27:37 +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: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Andrew@FreeBSD.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: bug_file_loc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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=3D277559 Andrew Turner changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://reviews.freebsd.org | |/D44799 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Apr 15 23:01:59 2024 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 4VJN3C3QN5z5HGdD for ; Mon, 15 Apr 2024 23:01: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJN3C2HFDz4s3k for ; Mon, 15 Apr 2024 23:01:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713222119; a=rsa-sha256; cv=none; b=VLaxSVIwfu7byDrSI8PpuGJNh8Pwg14FiBb5Lpn4MjBRgzWbqJkXVWRi/l0wTYgcdGro7g 8ZnAKjRvtsL3vPXkOA5lCLVon6r/e3hlx7ufAR7u/oFen0NoXUkgtGx1aimXnwMWfQ+ALp GYjDLu+F5Sj/k7UhiLT2qD1+y49Yx4X0g9UN/B8Hfjks3rEyZlbnzcoTONXByQdtpNVLEw FytM0jKDXKsk9rIh+jYAtb3b8gcRq6UO51dN3Xn1YmwE6pEEHg+Yc8oR2LjqB5dxVBuDpa 8z1NantbsM30R5zlLUVMHFXxi5mnRdYkMfKahtw6KnXz9x/L1XkIaKYVI6bJ4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713222119; 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=aTCsawICaM0hnXXY9rtQyK6X/KDCqos4v5Uho9JPBBs=; b=V9sIC1BEJghiJsGjB7FgccLusaCBLnkKcqxzhT9OcnjQTiWn4jMllQ9Yjvo0zNdSbPsehe o2gl6+54ELrSR+9r+NIe8ToLO26qEHzGFD3zSmRKbdFWVl+emjtuh7ZAehu+J5R//cAyNt wEJw/O/zx0SSe+ETkbnS4XzAK1F1G3rOmfmFFpU/aWPY3SkNhIQ+R8qP3oyiahG4t9/+0Q UOjpsmUjHCvkx5tPXRDYHZClbK5eWTC9CNx/QvCi60Fh0W54jT6ssW+/3T3htcqpsFiLcO Jzhp2hDnmBb4nnaGSSf4mJUu0mE8VDuO2SOhGjzzp5PNhltT6DcEEuC12ovppQ== 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 4VJN3C1mbhzJVH for ; Mon, 15 Apr 2024 23:01: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 43FN1xdO041976 for ; Mon, 15 Apr 2024 23:01:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FN1xhN041975 for virtualization@FreeBSD.org; Mon, 15 Apr 2024 23:01:59 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 277559] kldload vmm sometimes hangs kernel on arm64 Date: Mon, 15 Apr 2024 23:01:59 +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: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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=3D277559 --- Comment #9 from John F. Carr --- The change in review D44799 fixes the problem for me =E2=80=93 about 780,000 kldload/kldunload pairs without a hang on the RockPro64. (I got distracted= and let the loop run for a couple hours.) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 16 00:44:22 2024 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 4VJQKM03jjz5HQqc for ; Tue, 16 Apr 2024 00:44:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJQKL2FLrz42B0 for ; Tue, 16 Apr 2024 00:44:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713228262; a=rsa-sha256; cv=none; b=KTJsqAkkjrTGlPDkKvigbEAr+oH/R7EhhPUuhHWx2+GMcTsBc08gIl0gh/LxtTwZfN/6uM CBY27yMgIDYLejzeZLLx7osHpYC2K0gGoHVhubQg4HOPujGYBMcdaU3nCnXIFrquuBw0Av h8asPjNWByBppmMeIc9lxQKclc/DTGLqE/9XGrcH0A88oVT5/d9JZAQycl2U8F3/856U6X 5CszY4IQk4TaVcjGsRsCQirnNLIJk/Cta3ERZqFS/s+Z+f+PbXmW6hpuBr6dJqN3SGSUCk vRZ8vo0L9jIaXmmJr4sJ7Vky7KDoeu1yEG7hBMZW8jOiPAZzjeIjXd+R3yR4zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713228262; 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=8Y7STr5QzyyvQLDnfGc6jC0j2uouQy2MDyGsE4EsNlE=; b=s2Gj6OfnFAwgteSQaiuA83lgTTWdwKB7OfyUoRdVAVwOPWq0Qk6utAL//PZ2SeB8+HxYEQ 6oqXt8cKCmsCFdSZUVxT1ebNH4zUivzv/ey9hvjrxc8oA6gjM2phu9WnQrS87KR7oeMDl3 QnduKRZY1nOa+Np5RGaP1fhSD2LxNP8SyNhGEDYsC8QekTK3tavKXFIPQ27a08QC3aRJ+I qfaEz05wFeIy1vqVhA25jLGgO6IDbZpUq3PZ2kouqOXjFfl6l9LRegneI/HH3kk7UPCKt0 oqixMIEyndVNW0yVnG44pEqoosC6PwJAojMjcoBwnD8EbOFZfhJhdTjSRdjfYg== 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 4VJQKL1l9bzMCS for ; Tue, 16 Apr 2024 00:44:22 +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 43G0iM98060450 for ; Tue, 16 Apr 2024 00:44:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43G0iMAC060449 for virtualization@FreeBSD.org; Tue, 16 Apr 2024 00:44:22 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 278338] bhyve deletes tap LINK0 flag (regression) Date: Tue, 16 Apr 2024 00:44:22 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crest@rlwinm.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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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=3D278338 crest@rlwinm.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crest@rlwinm.de --- Comment #1 from crest@rlwinm.de --- It's expected that a tap interface goes down if you close it causing the addresses and routes to removed. It's annoying for a routed bhyve setup, but can be avoided by using the vmnet cloner instead of the tap cloner to create your interfaces. You should be able to get the behaviour I assume you want for a routed bhyve deployment from vmnet. I'm not sure what's the correct way to deal with the link0 flag if the tap interface is already configured before bhyve opens it= . I can see arguments both way (trusting the user to really know and intentiona= lly set each bitfield they twiddled with vs. bringing the device into its defau= lt configuration to clean up any corrupted state left over from the previous opening of the device by some other software that also used tap0). The only= way to cover both cases would probably to add one more configuration option sim= ilar to noinit for serial ports. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 16 12:45:54 2024 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 4VJkKv4bJlz5Gnsh for ; Tue, 16 Apr 2024 12:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJkKv3b4Zz42Ff for ; Tue, 16 Apr 2024 12:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713271555; a=rsa-sha256; cv=none; b=rxO2XS9WQw91dFKCmuQi6r2L2bWnxunllP/tj/Y3p9HbnG6U3mmP6HvhSHRM+EwkQWJPj1 nV2RkgDPxPmGYMQChTnxQjT7LWvqT/Ca+lkCgWP/EeFjYM57RVmobhoLzSwkWqZpIZui+a Xe6mjiAo1+fW3KQVQSm/Daz3LT3/coF/Ot5a126i3fbSDNPMDJIIQc8mML8ZGUBYs2c1VI sxVDQzgoocgQNwKQx7ioA6u3NNf7XD9D/RO4najntHTRa4LG8UDZM3bFvfWvlqfqiiOhGQ f8JvhqQDDUqv7Y9GI5HQRSTAAMxKboc4nYNKRKsjGpkq8ufX2b+weR8Rf/UI8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713271555; 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=rUIL9UBXA88BCUDyH4U+tcTOxxmh9WDIR4fKphWPNg4=; b=iCM3WCGCGfb/9ZhkrKz4veWrXqwmSw+0u/55krLWvmrTh7wO3iokaSq2MRnHHxLBNBxqSQ C84YRmJ3nfLHawTtgQxQXP1Qq2sEwukLCsKnAT6xwdMA2F79lhjmTDb04NvdA27OQcvpO+ fy+Q6TbA8iuD2b+py7lQGPTccDD28nGrFnOiVhieOu3bQu0AC+obnKIIGqL2ekkfYq4IyD gDc61IqIXolLUUS7qUvOuSGCxH+LSNDpFVyNOFt3YgdlNqSDHVsUVWnvLxmkfxgJ1fKyas bsCX7vO4xk16mJdr1HneFHvGLnUISrefJwvadyQDP95mJgtWU+NFtx9D+wcHCg== 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 4VJkKv38wTzjpT for ; Tue, 16 Apr 2024 12:45:55 +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 43GCjtVg086337 for ; Tue, 16 Apr 2024 12:45:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43GCjtUc086336 for virtualization@FreeBSD.org; Tue, 16 Apr 2024 12:45:55 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 278338] bhyve deletes tap LINK0 flag (regression) Date: Tue, 16 Apr 2024 12:45:54 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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=3D278338 --- Comment #2 from Peter Much --- (In reply to crest from comment #1) crest, thank You for explaining the rationale behind this. So this is rathe= r a /cultural/ change, then. I.) Yes, it is expected that the tap goes down on closing. And then the address= es and routes are removed. This was a problem here, but then the tap manpage states: " and has all of its configured addresses deleted unless the device [...] has IFF_LINK0 flag set." Which is where I found this, and why I did implement it that way. And it did work well all the time, up to 13.3 Apparently this behaviour is the purpose of the LINK0 flag here - probably = the only purpose. II.) "trusting the user to really know and intentionally set each bitfield they twiddled with".=20 That was always the tradition with unix: assuming that the operator does kn= ow what they are doing, and allowing them to shoot themeselves into the foot, = if so desired. (Because otherwise they would use some other OS where they can = pay for being nannied.) So the actual issue is now a cultural one, it is that we do no longer trust= the user (to know why they set LINK0). III.) Given that, let me elaborate on the technological impact assessment of this change of confidence, as a matter of surprize: 1. on the desktop, xterms don't open anymore 2. anaysis shows, the DNS replies are botched, and therefore the xterms cannot correctly resolve the DISPLAY host. 3. there are no errors in the named log. 4. BIND was recently updated, but the log shows it was reinstalled at the same version (otherwise we would have spent another couple of hours analysing possibly incompatible changes there). 5. detailed analysis of the resolver log shows, queries are hitting the wrong BIND view, and therefore get bogus answers (this is a 6-way named: lan/public/rootslave each authoritative and caching) 6. they are hitting the wrong BIND view because apparently they come from a bogus IP address 7. the bogus IP address is found on the tap interface 8. it is put there by net/dhcpcd 9. net/dhcpcd also was reinstalled at the same version (luckily) 10. detailled analysis shows that net/dhcpcd is putting that address there only when there is none present yet (this is also one of those pieces of software that does far too many things on it's own discretion) 11. Then finally: the addresses do disappear when a guest is rebooted=20 /from the inside/ (And installing quarterly pkg updates was the first time this was done after release of 13.3) This is not really funny. It is what one gets from surprizes.=20 Or, as I usually put it: /distrust/ just makes things far more complicated - and the price is usually paid by others. IV.) I don't see reason for a configuration choice or option. If you want to res= et the configuration of a pre-exsting tap on bhyve startup, then you could as = well just remove all the configured IP addresses alongside - then things would s= tart to fail rightaway and we would immediately see that there is an issue. Otherwise, if there are already addresses there, they are probably there fo= r a purpose. And if LINK0 was set alongside with these addresses, then that is = also probably there for a purpose. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 16 17:10:09 2024 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 4VJrBp2PPRz5HByH for ; Tue, 16 Apr 2024 17:10: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJrBp1P8xz4bGW for ; Tue, 16 Apr 2024 17:10:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713287410; a=rsa-sha256; cv=none; b=F/NStWfN85hAXSPsPH1BrAbHrZ6ACfWe/b7s3ZOgC8drX6kh+JtFK/AHesEtFd7x/ICSwY aQTeHSfaLuLr9sCnedNzH+25ohknVJ2LXM57iT6maZzgVzDFABUdmKdyFYqHSaWCAfhyWa be9ujCkTWPhhA1FGQIm+jiJvQEaojwOhNwmqnHiogDxvlQJqdBup0K2qkyBTvzKL86eZfi KtSkrJarmHog0A+eHRCollZhRlX6/PX9vuFWhak2ccppBOlJguhwN5tX/ZF23jJ5GYgtUr KI6Vj3x25Ib3OdOQKPFYDGQrOTgZSDTG0qLV+RWgPUoUccyvv5a8osi+LZYHNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713287410; 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=rO8gNQW15l6tp2PWURyAHVEVzbthNOYwx89001L0soA=; b=YivjpaQfi7ALatYJ/ggXPWubRvaF3UK2UeZg6MmXRsSz3oQohAlgA3lzDosIVLroNa8SR4 92aSYkQUjlpidSE6ubbwAZL06GdE7oTHDhAQJTSUBaPSh6iTd8EjGWD/Kfmk8PUx+4Byn/ VIiO2XkJnDieVztAT6zk94xkiGUbENU4SI/F1JVEoT73uyU1HFpKV/pgSJdQyd4kmp0ssh n8pUN3X7qRATQ5eh6bn2VGq8WkN3wv+wOMmAYp5kQzivGnXTT2xwK8OefusA/Z1WnvhtM5 ttBH9uNlBjYkkT3dlDfUPnWqxjrTNDEn/Eyk2U6Cyap9Zwm1q7Mph9gERvvGZQ== 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 4VJrBp11FrzrGW for ; Tue, 16 Apr 2024 17:10: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 43GHAAD7040709 for ; Tue, 16 Apr 2024 17:10:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43GHAAeD040707 for virtualization@FreeBSD.org; Tue, 16 Apr 2024 17:10: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 277559] kldload vmm sometimes hangs kernel on arm64 Date: Tue, 16 Apr 2024 17:10:09 +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: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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=3D277559 --- Comment #10 from John F. Carr --- There is still a problem, but less common. One out of five reboots with the patch the RockPro64 hung the first time I ran kldload. The ssh session was responsive for a few seconds: # kldload vmm load: 0.12 cmd: kldload 81984 [running] 0.97r 0.00u 0.01s 9% 2596k load: 0.12 cmd: kldload 81984 [running] 2.46r 0.00u 0.01s 23% 2596k client_loop: send disconnect: Broken pipe The last entry in /var/log/messages said: vgic0: on gic0 This machine can't save crash dumps and I don't know if there was a panic. = I can hook up a serial console if helpful. If kldload works the first time after reboot it seems to keep working. Thi= s is an improvement. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 16 20:56:52 2024 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 4VJxDP0tP3z5H49h for ; Tue, 16 Apr 2024 20:56:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJxDN3r2Cz4PB1 for ; Tue, 16 Apr 2024 20:56:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713301012; a=rsa-sha256; cv=none; b=DtKalh3GadV/c5eUviuhlvBj+ynZiC0YISW3N23RyEGa6XqFloBDh91sJ5UL+x3tqn8j00 /2icDw65HkGH/zjTOf/SHBFJWLl+JhQxiIAQRqidTnc9M0AMNVIXmD+xFI+8GMj7oPU3nJ 6E2QnlehYtMC4yVik6lVM4bHeYDqVj/z9XBTXWlMpjop7HFe2q3vbXY7c0FYqJrimgPOQf enMSLUwF7wPlezDWhsln5dWRdiIqfgV6rEM6pPcApJxb+s8d8qJs1Y9/aoglhpeP8rRP+q 1Hp88oBLd8RlWHZNQ+HDjH+V+uE2P66+HRQX+FckNVdz5T+jIbm7QR8bgtLr1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713301012; 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=h8i9pVJPGCmx9JUiLup4XCzYDNNToPOj24gwMRc1o/w=; b=w61AXqKP3tVlgsKHPhtoaH1YSLmfIIRgW2KEM9MvM81eCUqf+vRc3YJFOBa2R7S+2kzado Pbnke29ow2fC5OzewhxmPs+KuwdB32K6EJWdCUaO1UDvWbnLkTKyYQ0Vg0TZdiX63fP30P Y09sznCbd0otY9TZBXagvzvPN5d6ILzMBw6QVfOqe4A8VrA8e+yeotlxaDVadIUrQgZ3df XLo1Id7LzF75culCvuwDS8wZSkcT/HN8n+nLFzjt/8bfADAdr0JwByELLGuPazW+Nb8mIA DO/WdTXyNTpbhqOH1O6XBQ/1KK0WM9Si2g1WNnvmZlfOpWbdg4CGudjPjiTLAA== 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 4VJxDN3Q4mzyZL for ; Tue, 16 Apr 2024 20:56:52 +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 43GKuqft037550 for ; Tue, 16 Apr 2024 20:56:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43GKuqDJ037547 for virtualization@FreeBSD.org; Tue, 16 Apr 2024 20:56:52 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 278392] virtio: device_detach crashes the system Date: Tue, 16 Apr 2024 20:56:52 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash 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: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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=3D278392 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org Keywords| |crash --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Apr 17 09:16:47 2024 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 4VKFfP2Gjyz5JCfl for ; Wed, 17 Apr 2024 09:17:01 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VKFfN3DSxz4MBp for ; Wed, 17 Apr 2024 09:17:00 +0000 (UTC) (envelope-from aimass@yabarana.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yabarana-com.20230601.gappssmtp.com header.s=20230601 header.b=YJACTDNo; dmarc=none; spf=pass (mx1.freebsd.org: domain of aimass@yabarana.com designates 2607:f8b0:4864:20::12b as permitted sender) smtp.mailfrom=aimass@yabarana.com Received: by mail-il1-x12b.google.com with SMTP id e9e14a558f8ab-36aff02f998so19718385ab.3 for ; Wed, 17 Apr 2024 02:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20230601.gappssmtp.com; s=20230601; t=1713345418; x=1713950218; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=eiV5Hk8ChBBKJs39T0nDwCLsAZLcSEsHolfuc3HqWfk=; b=YJACTDNognsya0oszg6GJLHP12+rAOSKLBxW2Pn3cGYkvG5JWxuJr4FWaOOHBUq6OC f1EeOA052Owasp9TWz+jcuQkvFxYxT4gPraj8IJ5nGXtJCdMgVcHnDl0GXRyywDTGjgV oiJ4JZ03e5m2mp12Q3lX1Fpr8woC04yfj6Qd2zdeL5hJwPUpYUcX8sCkFUjOXZn3Dth3 Su2tzFgrdrFO8KUWSWkcABrkPZZu1ono3unkUsk+UK3cpDxQGuWXLMdxvtmw6kOhYqeX kwVVB3/yo7TFuW5JZrAv7YLzM+GsvcTpIvvW+LxOL0CEVMH8rtRhDilVZPy2PR1dn5sf wHgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713345418; x=1713950218; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eiV5Hk8ChBBKJs39T0nDwCLsAZLcSEsHolfuc3HqWfk=; b=vojFUAm/JOQp+PvWD3XwSnuN6eBuFK8eBHEaley5oppFyIh9LMBf/BhRVufBshXZMj pLP5KAlF34/69yPoJdQ1uo/mISQjK30ivL4eqXSfKnxiT5SzdqdllD4C0sr31KQg3ORN TJx2rij6i3xjR4siqWwp5PV6wChdtiNpRmeYjUWj2xLyap6wTOB5l+sNCQqsrK0e6iJv wJvg0xpQHt77Akobe+HvuEo7H5ficIr/MlXEpRcuSzEYqrK/1VE7bhYxskMDFa/J23Er vLOzoolv4boFJqvSk7LRNxXWaXzzyusjqq27WTK6ddcpaeMitgp6uCb+7pnU4oXGU3cR MZMQ== X-Gm-Message-State: AOJu0YxLJuNI9nItlucRAawWK24p8OfRPPcjUF6QvPWkw6JX2fyPLN5+ bXutNBVEpqCHi33yrsSoEVbKVzUCluHS3vLgYqcFL9EY6oHM/3I3VKsEyGEozt8yNeocgy6Fdh0 NiX72DPq+F9L9s3aRRHYtvQ5tJyg8+NCj2ZXB9i6BFFLdCyfXISk= X-Google-Smtp-Source: AGHT+IHy13rah3u89KtYgmTBJxvhDJySWWJ1wmdqsAC/CZOdGxFHmufRy0fQAud8d5yLw320nOf9pG2LBXP32bJx1BQ= X-Received: by 2002:a05:6e02:1fc1:b0:36a:a6c4:fa7d with SMTP id dj1-20020a056e021fc100b0036aa6c4fa7dmr19315299ilb.0.1713345418257; Wed, 17 Apr 2024 02:16:58 -0700 (PDT) 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 From: Alejandro Imass Date: Wed, 17 Apr 2024 11:16:47 +0200 Message-ID: Subject: Corosync and Pacemaker with Jails. Is it worth the effort? To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000008889e061647515e" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.48 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[yabarana-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[yabarana.com]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12b:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yabarana-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4VKFfN3DSxz4MBp --00000000000008889e061647515e Content-Type: text/plain; charset="UTF-8" Hello, Are these cluster tools actually usable on FBSD and in Jails? I got a 3 way PostgreSQL cluster with floating IPs to _mostly_ work across 3 Bastille-based jails but the whole process has been very painful, so I'm wondering if this stuff is actually usable on FBSD or am I just wasting my time, and this port is just a curiosity ? I have noticed that several of the resource agents are very Linux oriented, for example, requiring the ip command, and some of the very basic clustering logic seem to depend on things like systemd. So far I have discovered that you have to use VNET jail and I have had to add: allow.mlock = 1; sysvmsg = new; sysvsem = new; sysvshm = new; As well as this to corosync: system { qb_ipc_type: shm sched_rr: no stonith-enabled: false } Not sure if there are other things I haven't noticed because even though I finally got the cluster to run, the promotion and demotion seems very unstable still. Also, I cannot get rid of these warnings in every command: WARNING: could not get the pacemaker version, bad installation? WARNING: list index out of range I am happy to continue the calvary if it's worthwhile and there are other people using and/or interested in this, but the lack of information seems to suggest that maybe this is just a waste of time, and these tools are nowhere near a usable state without heavy lifting. If the latter is the case, are there any other stable HA/Clustering solutions that are mature for FBSD+Jails, and that include resource managers such as databases (namely Pg and MariaDB) and floating IPs ? This is the environment: FreeBSD 14.0-RELEASE Bastille: 0.10.20231125 Pacemaker 2.1.6 Corosync 3.1.7 Many thanks in advance, for any pointers or comments. -- Alex --00000000000008889e061647515e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Are these cluster tools ac= tually usable on FBSD and in Jails?

I got a 3 way Postgr= eSQL cluster with floating IPs to _mostly_ work across 3 Bastille-based jai= ls but the whole process has been very painful, so I'm wondering if thi= s stuff is actually usable on FBSD or am I just wasting my time, and this p= ort is just a curiosity ?

I have noticed that = several of the resource agents are very Linux oriented, for example, requir= ing the ip command, and some of the very basic clustering logic seem=C2=A0t= o depend on things like systemd.

So far I have discovered that you have to use VNET jail and I have= had to add:

allow.mlock =3D 1;
sysvmsg = =3D new;
sysvsem =3D new;
sysvshm =3D new;

As well as this to corosync:
system {
=C2=A0 =C2=A0 =C2=A0 = =C2=A0qb_ipc_type: shm
=C2=A0 =C2=A0 =C2=A0 =C2=A0sched_rr: no
=C2=A0= =C2=A0 =C2=A0 =C2=A0stonith-enabled: false
}

Not= sure if there are other things I haven't noticed because even though I= finally got the cluster to run, the promotion and demotion seems very unst= able still.

Also, I cannot get rid of these warnin= gs in every command:
WARNING: could not get the pacemaker version= , bad installation?
WARNING: list index out of range

<= /div>
I am happy to continue the calvary if it's worthwhile an= d there are other people using and/or interested in this, but the lack of i= nformation seems to suggest that maybe this is just a waste of time, and th= ese tools are nowhere near a usable state without heavy lifting.
<= div>
If the latter is the case, are there any other stable HA= /Clustering solutions that are mature for FBSD+Jails, and that include reso= urce managers such as databases (namely Pg and MariaDB) and floating IPs ?<= /div>

This is the environment:
FreeBSD 14= .0-RELEASE
Bastille:=C2=A00.10.20231125
Pacemaker 2= .1.6
Corosync=C2=A03.1.7

Many = thanks in advance, for any pointers or comments.

-= -=C2=A0
Alex




--00000000000008889e061647515e-- From nobody Fri Apr 19 03:43:23 2024 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 4VLL8X4Hrhz5HjYb for ; Fri, 19 Apr 2024 03:43:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLL8W6lXFz47yF for ; Fri, 19 Apr 2024 03:43:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713498204; a=rsa-sha256; cv=none; b=fkOawhJEvJ4DjpbyThgcAUwOSXHqJIOxe6gLXJJaXba28w50Alsiv0XlPPi/O5t95yLg5n rFjsSwuksl27InP1KcYYsUu+uh5BheUWd6jJF4E5VbRUzCJen/wXbwuH97o66Py4kt5vz2 11gxcps7Z0iTRoX4nE61gVxcE6VPOGmZQwpvCa3c5bqvMZE/oQvQcMf0c5tuTMkuPg6U/M 8ECsGkMuvVnJJiRv5wzBX5Vov4TRvEnoZZ0S5fK65HptqFW2HWYtmiomeEKycmkKUIlMJw /FbcBgnVSp3T4r4MzwP/z8CmxQ6DPI+2LzC4l3OyHCaqjHgWWeTqoF1Tw2n+LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713498203; 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=UCS4tebiL32z+tGvrGxB5Xp9cHOQddVOIFmGuLicbMI=; b=Lw2uK9ARTyqhhYAx2+RXpmF3ycnYg4vMcKjahtPbDJlXlHxCqssoOgFZZUasciw+HS88PJ 7ANPDlXIfA8L+Pn7XlLVOl6fLkUEGCYH/zz9PcD6ZI41Yazkz58w/jbtKiwr68qKwUdJ81 Iz1DfnBdwUgjQjyWd3IQp44MsyyRLAQPdWoq+AoClXyIJICtDBRsx2UG+rYJqksne1pkD6 /nDb3vn1miV7wdm9p2iI5TR3jRmF0FLIdmsMRWEiNP48rqKaPMUF8LcddGH1LIBLN/3zhr +hlrGpU2tKnBe8W2p+4N3mXUMocK469qZCPnws5rXa0vsYPyiLoTpbZi/TDTkQ== 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 4VLL8W6M79zdGF for ; Fri, 19 Apr 2024 03:43:23 +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 43J3hND0048091 for ; Fri, 19 Apr 2024 03:43:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43J3hNF4048090 for virtualization@FreeBSD.org; Fri, 19 Apr 2024 03:43:23 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 278448] Linux emulation not working same as bhyve instance Date: Fri, 19 Apr 2024 03:43:23 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crb@ChrisBowman.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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=3D278448 Bug ID: 278448 Summary: Linux emulation not working same as bhyve instance Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: crb@ChrisBowman.com I struggle to know where to correctly report this: I filed this under bhyve but I think the bhyve is working correctly I think Linux emulation isn't. I think I'm the only one using this tool this way b= ut anyone else trying would experience the same issue (I believe). I am running the AMD/Xilinx Vivado 2032.2 tool chain on FreeBSD using Linux emulation. For the most part things seem to work fine, sort of. I can run vivado in tcl mode and in GUI mode. Some simple scripts work just fine. T= here is one script I have that is a little (not much) more complex and it reliab= ly fails. I have a setup where I can run essentially the same vivado process = on both the same box using the same files under FreeBSD using the Linux emulat= ion and under a bhyve instance of Centos 7.9 running on that same box access the same file. The Centos bhyve works as expected the Linux emulation behaves differently. This is completely 100% reproducible. I couldn't tell you wh= at's going on under the hood and have no idea why it behaves differently. I can provide the complete small project along with scripts and everything. I mi= ght even be able to provide access to the box on which all this happens. I'd be happy to try to debug this but haven't a clue where to start. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Apr 19 03:43:35 2024 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 4VLL8m0vw5z5HjrG for ; Fri, 19 Apr 2024 03:43: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLL8l5HSQz49HS for ; Fri, 19 Apr 2024 03:43:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713498215; a=rsa-sha256; cv=none; b=DR7uNb6v1qeSYnS125B1zoTIKZRyH6pdhMom/IqsL2q17OdynS91Yu9Rxi155LdSAAr8dI CvxUU+Adl5+gvI07h75jRVUSGqHJYrwXM8s6JqeOygSpgPpO+tExYHtQ9B0UfLl3UrfoYj rWxjc9WAr+NLKzUcrucYuFa4BGNYB2BvE11kWWBDIn3RrjaWDtYkipLvyPeHSxbJ4wfx8r H7sRRvufMYC1ZduhWOh07MpD3AH8VSWHoadtzNTzAh35akIBumz8jNONdp7nWaFmpWDR2e wk7Hp0emIv6yYi5gxplxs8jwyhH+Dh1GLwn+S82i7jlkib3ryKrGoyRrF5tv6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713498215; 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=7VaeE/vlKc8peOA7zQaG5LOp7DTiR/N7VZNChseIGXE=; b=eQFqAlBEYOu3xnSR9KqG1DnOmaI7I7VD7uhkAKCd3p0oGr6MdP2SpXUA1xMnEDXzMoJ2kJ Z6DmrdstGTJfotdxvadcTDjOkfckNYdCCLR1si09trjvsi5J/HD0dPVagX+AylPzr1qTsO ilxSf+6XvcOBxPpacm5ztSX/l5u08QQsixsDFU0FcxMiZLnj5RZSck+71aQ9vMdNMojiW3 nD9Nq7aHjzVG2wGIqsmt/qJnfm4gRLDq5AtVET0PwZc3E2dSdl61bKKPgULutNruEdYJQQ K98mfwvD5WGFfNivFhsuuLAQeABsW+dE81Ex9KUShVmGu0MNCctvOhhGAQ0cgg== 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 4VLL8l4w0JzdR3 for ; Fri, 19 Apr 2024 03:43:35 +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 43J3hZRv048845 for ; Fri, 19 Apr 2024 03:43:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43J3hZ9U048840 for virtualization@FreeBSD.org; Fri, 19 Apr 2024 03:43: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 278449] Linux emulation not working same as bhyve instance Date: Fri, 19 Apr 2024 03:43:35 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crb@ChrisBowman.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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=3D278449 Bug ID: 278449 Summary: Linux emulation not working same as bhyve instance Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: crb@ChrisBowman.com I struggle to know where to correctly report this: I filed this under bhyve but I think the bhyve is working correctly I think Linux emulation isn't. I think I'm the only one using this tool this way b= ut anyone else trying would experience the same issue (I believe). I am running the AMD/Xilinx Vivado 2032.2 tool chain on FreeBSD using Linux emulation. For the most part things seem to work fine, sort of. I can run vivado in tcl mode and in GUI mode. Some simple scripts work just fine. T= here is one script I have that is a little (not much) more complex and it reliab= ly fails. I have a setup where I can run essentially the same vivado process = on both the same box using the same files under FreeBSD using the Linux emulat= ion and under a bhyve instance of Centos 7.9 running on that same box access the same file. The Centos bhyve works as expected the Linux emulation behaves differently. This is completely 100% reproducible. I couldn't tell you wh= at's going on under the hood and have no idea why it behaves differently. I can provide the complete small project along with scripts and everything. I mi= ght even be able to provide access to the box on which all this happens. I'd be happy to try to debug this but haven't a clue where to start. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Apr 19 04:56:25 2024 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 4VLMmq1Zvlz5Hpyd for ; Fri, 19 Apr 2024 04:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLMmp68N7z4JRt for ; Fri, 19 Apr 2024 04:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713502586; a=rsa-sha256; cv=none; b=lDzKncUNJdEluwqjnIibH18wJC1bU2m8rBpECY4KLSt+SSTro0Py7XUBS+z0FLUiCgqBuQ ADj910lLoZpdR9hL8mYHQWwJ16fpwUpzquhWRuPHoJmfizj8mvwnAW0fUaXQhh+2fujc3x CNUt4HgHumhTQoV7VM5dWY3rpiYhwkBbWHNhQdR93P2o5fAbZwDhxheEHbGT/u4Mf2miAt rV2ryZRc8K0Ddw2b76KAHTPFLtzTTPIwdkM/z7HeviuMjmAy8I3AqHSi/iYBFtbQnyEC7Y EQ6riQiEdjR9xU5n47BLqZLdzwcSXzL3Vapl0ltABn7UwFHMJjVas6g6A95Bgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713502586; 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=l9B4cK6Q6c4VNEyHNDtYUi+8XvOkp6lfCL/fG+KVHzg=; b=mFWbqO0jKsTOMxKoWZYaRJyyDbCOLyORSdAEbT3xbNcMLnVQvlrJOkpU34DWZ9Ydwu0suJ LecrWeglpv/5S42FCRiY0/io1NtilCh6Qjqpe3Bz2IG0d4hSDub+bkS3F03J3lF7cUltny lLTpFc6ZVttKNyxdpJDVcK2/6eavCPaumqiIAalDsTKLxHIveLJFKSge8NGPyDvLvT4blc NclD7nMynK1Xh+K7xYGPJWbdd89gHZXYm4fXrc2xjJoHECTkyM0MLcZyVc8NA5QPQ8Cczt XHFvldtuQ+ML2xtWQx2HjphQSg38rvza8cUlAExK7LnyKpwWcGp1o2n0r3q+6A== 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 4VLMmp5kkKzg56 for ; Fri, 19 Apr 2024 04:56:26 +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 43J4uQnt060239 for ; Fri, 19 Apr 2024 04:56:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43J4uQi2060238 for virtualization@FreeBSD.org; Fri, 19 Apr 2024 04:56:26 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 278448] Linux emulation not working same as bhyve instance Date: Fri, 19 Apr 2024 04:56: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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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=3D278448 --- Comment #1 from Li-Wen Hsu --- *** Bug 278449 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Apr 19 13:52:07 2024 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 4VLbgg3pSdz5H5vm; Fri, 19 Apr 2024 13:52:47 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLbgf3zBLz4DyD; Fri, 19 Apr 2024 13:52:46 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=R1jYgTIo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2ab1ddfded1so1682064a91.1; Fri, 19 Apr 2024 06:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713534764; x=1714139564; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=76HQ1IRkLQS/sSO3lxdfUJGz301AuR//klk9TW/6nt8=; b=R1jYgTIoHZ53s0hJn4aSXHBCCMNGKhPjrlPvrj/Xjrhqq3PbbULqkKmD0Z2dyvKQ1S ul+5vFVR4RG10whv2m3FjQN1xguI4+r9ERV9GL/Gg5tJIytRLOHADUMbPIbqPuv7OmOF 0Eu6knls972yXYShWJql4YqmxKQJQDBqX4Q5ZcwwMNeGtnoUiH3o6vPxOKoua1JDjsA0 lb6f7FWW/9YMYow3wQe/ixWZRwdb7DCUPMaYCH9TclJYPWwH35sM3BHkCw2JxdeNU0wc KZ5VdFGzUclGxTPuuUDJgwpI7RGIbRswS6UO2LL3Wl89yZtA0+CZE4fWB276fBll9PiQ YfEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713534764; x=1714139564; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=76HQ1IRkLQS/sSO3lxdfUJGz301AuR//klk9TW/6nt8=; b=kfg8+tiY489i6l5my4XDqw1OLhILzmH9WuhKu/vMiwlQSZpW/Z24CzFbplbHu5gS8j xcwlRm4DQ50sOAiWrNikhjvm/4WmvL+ug83+0R1qgBadmOrN+VO94wPdH+t0YDFn+b16 jtUYv1QeC9PndFajSP847VabgNxOOQwY7z15mFQxIOalOv/MEP15fVYwoTh/FG2fH3gN Y9drf13tbZx3do2yqz1u05vrNt9t1nRZsxhNKi3zt8/DG7B0PlrgOQ3madzBKodPkaGj 1z2SyXLRqoeyDGiT6iv1Ui1lVUDU6lGINXDu8+0rnHxMBO9i8XzVFn+syuAUzm7RVz/f R+ew== X-Forwarded-Encrypted: i=1; AJvYcCUmML8bpzRg8F9zbixPyrkhSReU07VZtz9F2ZkwXWaYQnxXQe0slLfamG6LQlbfMq5XvCZis6kHGYRvJ7Xn7IkdW4W6p2S0W3VRY62bILY7PkN7BO15Vsxu7zX8ITImgshk0rykAdwgwMRe X-Gm-Message-State: AOJu0Yz0s0h7/6EAoof0XR7vvPgfQCs3HUp9GzBQHt7aZsEQ+oQJpSIw PVA+TM8jjSW2fLq4EArGPwqTDHgC6unhuFR5Mdt0EVd0XD0lksKA3nrJd8jviUlbR/yMGP9vKyD KQmhqA/9mM8zrB1A5NF2zvfa/0LQnbAh2zvQ= X-Google-Smtp-Source: AGHT+IH/xpO4IP5/G2Mp8Ppvh9Pg5WfISfkvugD+nXcWP/NzXStlxkmI0+S77Ir46+YdhbWfgJp6szvJ2PFTiONe3Rs= X-Received: by 2002:a17:90b:3c4:b0:2a5:8ff:9d1 with SMTP id go4-20020a17090b03c400b002a508ff09d1mr2263570pjb.14.1713534764349; Fri, 19 Apr 2024 06:52:44 -0700 (PDT) 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 From: Mario Marietto Date: Fri, 19 Apr 2024 15:52:07 +0200 Message-ID: Subject: Trying to virtualize ReactOS with bhyve : I don't see a viable way to do it... To: FreeBSD virtualization , freebsd-hackers , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000f0854506167366a7" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org,freebsd-hackers@freebsd.org,freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+] X-Rspamd-Queue-Id: 4VLbgf3zBLz4DyD --000000000000f0854506167366a7 Content-Type: text/plain; charset="UTF-8" Hello. I'm trying to boot the 32 bit ISO image of ReactOS using bhyve or qemu and seabios as bootloader. As first experiment I tried to boot the x86 version of ReactOS with qemu (8.2.2) and seabios (version 1.16.1_1),like this : qemu-system-x86_64 -machine q35 -m 1G -cdrom /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-7921-g6d853be-x86-msvc-win-dbg.iso -boot order=d Unfortunately,I get the error below : https://ibb.co/tZmFh2x but my real goal is to boot ReactOS by using seabios. Even here I'm unlucky. Infact on this web page : https://eradman.com/posts/bhyve-ipxe.html we can read : *Bhyve is somewhat similar to QEMU-KVM without the emulation required to boot SeaBIOS.* Is really true that I can't use seabios to boot ReactOS with bhyve ? Anyway,ok. I've continued my searching and I found this thread : https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/ where we can read : *bhyveload has nothing to do with BIOS. As detailed in the man page you linked to, it is for loading a FreeBSD guest.* So,it seems that I can't even use bhyveload. So,what can I use ? What can I do ? I've gone on the ReactOS forum and I've created a thread where I 've asked how to boot the 64 bit + UEFI version of ReactOS using bhyve. The developers helped me,but in the end we have done nothing. Because after some progress,I found this error : https://ibb.co/N9QHdnp Unfortunately it is frozen when it tries to load the mountmgr.sys driver. Actually unfixed and no one knows how to fix it. Now I'm here,asking for some further ideas and suggestions. -- Mario. --000000000000f0854506167366a7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

I'm trying to boo= t the 32 bit ISO image of ReactOS using bhyve or qemu and seabios as bootlo= ader.=C2=A0

As first experiment I tried to boot th= e x86 version of ReactOS with qemu (8.2.2) and seabios (version 1.16.1_1),l= ike this :

qemu-system-x86_64 -machine q35 -m 1G -cdrom=20 /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-7921-= g6d853be-x86-msvc-win-dbg.iso -boot order=3Dd

Unfortunately,I get the error below= :


but my real goal is to boot React= OS by using seabios. Even here I'm unlucky. Infact on this web page :


w= e can read :

Bhyve is somewhat similar to QEMU-= KVM without the emulation required to boot SeaBIOS.

Is really true that I can't use s= eabios to boot ReactOS with bhyve ?
Anyway,ok. I've cont= inued my searching and I found this thread :

<= a href=3D"https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/">h= ttps://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/

where we can read :

bhyveload h= as nothing to do with BIOS. As detailed in the man page you linked to, it i= s for loading a FreeBSD guest.

So,it seems tha= t I can't even use bhyveload. So,what can I use ? What can I do ?
<= /div>

I've gone on the ReactOS forum and I've cr= eated a thread where=C2=A0
I 've asked how to boot the 64 bit= + UEFI version of ReactOS using bhyve. The developers helped me,but in the= end we have done nothing. Because after some progress,I found this error :=

https://ibb.co/= N9QHdnp

Unfortunately it is frozen when it tries to load the mountmgr.sys driver. A= ctually unfixed and no one knows how to fix it.

Now= I'm here,asking for some further ideas and suggestions.
=
--
Mario.
--000000000000f0854506167366a7-- From nobody Sat Apr 20 12:11:38 2024 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 4VM9PG3Nsbz5HgHG; Sat, 20 Apr 2024 12:12:18 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VM9PF1FPcz4CMT; Sat, 20 Apr 2024 12:12:17 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=DGSHM6R4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2a559928f46so1954429a91.0; Sat, 20 Apr 2024 05:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713615135; x=1714219935; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=G3XSPvuso1yxRpxP0fxpRYkkuDl1di2B3JRSykDUA44=; b=DGSHM6R4S8dVgV8U/g63uSC5S8f9Zbov1CFdyUmJy4YeNXV8jI119yg/PF63OJWep9 7mKHnVc0uF7I1aEGTeB5WZhe5tGEDlGlgwkPg/U5y8Yy21xwoxmE5Xs48SVl+2wTOFry /5TQjPl0umpIwASRhkbm6Rsp0CNCkNifmWH1oMVl+PCjARcD9DYpS2udVU6pqOI0M2XL x/Ds1TyPpwvSgfV5BHjYP1eDjkZ/2OgYr8gqxTpuXnAAHqTzLgbXFAqR7u5+B7asSNEb HJrQojnotfGvJ0Nx9GZCIPNeD7ULaU1SD737uJT8og8i/Kn1JJL3QqlFXNq/gQh0erWz Pl9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713615135; x=1714219935; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=G3XSPvuso1yxRpxP0fxpRYkkuDl1di2B3JRSykDUA44=; b=OavmmiQgfOvYN51xujqeEbNveEnEiLG6AVjFtvn9Y+t2K90+txaviGc9cgaC+nGmPM nm3xhOLzy11VBvnCsbDXEU+4R5ZP1vRmpr4f4kyEB+b0N9K8fQ2tJMan0ac+FV84fdIm Tko7RLUoMHMeR9OuAQ56kTZbySsP9sUWLuEqcE+Xlo2cAWK77Cn10c51vJxF+3mY2cdF eGrfza8Ra8LnWwpnovstQLeG2askLLWiWUNAys+zHSf+/viNiMt8uT8fj+w4AW7POf2Y mVkfZTzHjp9KTV2i8rHv0zB9cee9LpWi7N8jgop/PEkNzLvvs18YUFpL7jjK4yS0Y7ia M/hA== X-Forwarded-Encrypted: i=1; AJvYcCUdXIgmCGhNPOMY30tmuron9dBHfsC5quSVbp9nTz+4HNPqgWaVu0MtXqUmvManeP0HLXlTVfzx4OD0yk1vuIdq+DXxd2AEeUGGoNeSgBDtOiRmZL0xpyI+dGjYU18d6auJswqXn9pjinRS X-Gm-Message-State: AOJu0YwXgjKv3IPfzrTfZUvaaU1dqLS+EtK0U+8N+JyuIHwwws3rMLyG ix1L6plL+/qoWvN5nGzKd6SehSrpbRIJg3POgLHMf0CumYcmFDE0HMLEfzgFo9oPeRmD0Ad1PEC ik6fszuL+zqRfO2VT+LBkTgkP5BMEv/HYhYQ= X-Google-Smtp-Source: AGHT+IGzDHRnyPo9Bkgiv6fTvOGPpbhaNHeWYE3nh3tmxr/AeUMuHHvf1rNdu01WWGJmV3jWJNgsvwtvDpPT9KdE7NA= X-Received: by 2002:a17:90a:a085:b0:2a0:4495:1f3d with SMTP id r5-20020a17090aa08500b002a044951f3dmr5641483pjp.0.1713615135010; Sat, 20 Apr 2024 05:12:15 -0700 (PDT) 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 References: In-Reply-To: From: Mario Marietto Date: Sat, 20 Apr 2024 14:11:38 +0200 Message-ID: Subject: Re: Trying to virtualize ReactOS with bhyve : I don't see a viable way to do it... To: FreeBSD virtualization , freebsd-hackers , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000677a0e0616861d3b" X-Spamd-Bar: - X-Spamd-Result: default: False [-1.62 / 15.00]; URI_COUNT_ODD(1.00)[21]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_SPAM_SHORT(0.38)[0.379]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1030:from]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org,freebsd-hackers@freebsd.org,freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4VM9PF1FPcz4CMT --000000000000677a0e0616861d3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable UPDATE : I've been able to unfreeze ReactOS on the boot stage. I've just removed the bhyve "-A" offending parameter that can't be used because ReactOS probably does not support ACPI. Now I'm at this stage : https://ibb.co/Dtw8Hj1 Now the problem is that I can't move the mouse inside the vm and the keyboard does not work...so I need to find some workaround to supply the absence of the arbiter... I've thought about using virtio-input and I've added this parameter to bhyve : -s 12,virtio-input,/dev/input/event7 \ I've chosen event7,because I've got it here : [root@marietto /bhyve]=3D=3D> ls /dev/input/ event0 event1 event2 event3 event4 event5 event6 event7 Anyway I also tried event6,event5...it didn't work. Can someone quickly explain how it works ? Is it supposed to work even if ReactOS does not have the arbiter ? More precisely the ReactOS developer said : "Hardware initialization doesn=E2=80=99t occur on UEFI due to missing arbiter support : It means tha= t the hardware (even essential such as input devices) will not work and you may not be able to interact with the system in any way" My idea is to use Barrier to be able to use the mouse and keyboard inside the vm...I will install the server on freebsd and the client inside the reactos vm... Could it work as long as reactOS has a network connection ? Let me know. On Fri, Apr 19, 2024 at 3:52=E2=80=AFPM Mario Marietto wrote: > Hello. > > I'm trying to boot the 32 bit ISO image of ReactOS using bhyve or qemu an= d > seabios as bootloader. > > As first experiment I tried to boot the x86 version of ReactOS with qemu > (8.2.2) and seabios (version 1.16.1_1),like this : > > qemu-system-x86_64 -machine q35 -m 1G -cdrom > /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-792= 1-g6d853be-x86-msvc-win-dbg.iso > -boot order=3Dd > > Unfortunately,I get the error below : > > https://ibb.co/tZmFh2x > > but my real goal is to boot ReactOS by using seabios. Even here I'm > unlucky. Infact on this web page : > > https://eradman.com/posts/bhyve-ipxe.html > > we can read : > > *Bhyve is somewhat similar to QEMU-KVM without the emulation required to > boot SeaBIOS.* > > Is really true that I can't use seabios to boot ReactOS with bhyve ? > Anyway,ok. I've continued my searching and I found this thread : > > https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/ > > where we can read : > > *bhyveload has nothing to do with BIOS. As detailed in the man page you > linked to, it is for loading a FreeBSD guest.* > > So,it seems that I can't even use bhyveload. So,what can I use ? What can > I do ? > > I've gone on the ReactOS forum and I've created a thread where > I 've asked how to boot the 64 bit + UEFI version of ReactOS using bhyve. > The developers helped me,but in the end we have done nothing. Because aft= er > some progress,I found this error : > > https://ibb.co/N9QHdnp > > Unfortunately it is frozen when it tries to load the mountmgr.sys driver. > Actually unfixed and no one knows how to fix it. > > Now I'm here,asking for some further ideas and suggestions. > > -- > Mario. > --=20 Mario. --000000000000677a0e0616861d3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
UPDATE :

=
I've been able to unfreeze ReactOS on the boot stage. I've just removed the= bhyve "-A" offending parameter that can't be used because ReactOS probably does no= t=20 support ACPI. Now I'm at this stage :

https://ibb.co/Dtw8Hj1=

Now the problem is that I can't move the mouse inside the vm and the=20 keyboard does not work...so I need to find some workaround to supply the absence of the arbiter...

I've thought about using virtio-input and I've added= this parameter to bhyve :

-s 12,virtio-input= ,/dev/input/event7 \

I've chosen event7,becaus= e I've got it here :

[root@marietto /bhyve]=3D= =3D> ls /dev/input/
event0 event1 event2 event3 event4 event5 event6 = event7

Anyway I also tried event6,event5...it didn= 't work.

Can someone quickly explain how it wo= rks ? Is it supposed to work even if ReactOS does not have the arbiter ?
=
More precisely the ReactOS developer = said : "Hardware initialization doesn=E2=80=99t occur on UEFI due to = missing arbiter support :=20 It means that the hardware (even essential such as input devices) will=20 not work and you may not be able to interact with the system in any way&quo= t;

My idea is to use Barrier to be able to use the = mouse and keyboard inside the vm...I will install the server on freebsd and= the client inside the reactos vm...
=

C= ould it work=C2=A0 as long as reactOS has a network connection ?=C2=A0

<= p>Let me know.

3D""

On Fri, Apr 19, 2024 at 3:52=E2=80=AFPM Mario Marietto <marietto2008@gmail.= com> wrote:
Hello.

I'm trying to = boot the 32 bit ISO image of ReactOS using bhyve or qemu and seabios as boo= tloader.=C2=A0

As first experiment I tried to boot= the x86 version of ReactOS with qemu (8.2.2) and seabios (version 1.16.1_1= ),like this :

qemu-system-x86_64 -machine q35 -m 1G -cdrom=20 /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-7921-= g6d853be-x86-msvc-win-dbg.iso -boot order=3Dd

Unfortunately,I get the error below= :


but my real goal is to boot ReactOS by u= sing seabios. Even here I'm unlucky. Infact on this web page :


<= /div>
we can read :

Bhyve is somewhat simil= ar to QEMU-KVM without the emulation required to boot SeaBIOS.

Is really true that I can't use s= eabios to boot ReactOS with bhyve ?
Anyway,ok. I've cont= inued my searching and I found this thread :

<= a href=3D"https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/" t= arget=3D"_blank">https://forums.freebsd.org/threads/bhyve-with-bios-boot.79= 794/

where we can read :

<= div>bhyveload has nothing to do with BIOS. As detailed in the man page y= ou linked to, it is for loading a FreeBSD guest.

So,it seems that I can't even use bhyveload. So,what can I use ? Wha= t can I do ?

I've gone on the ReactOS for= um and I've created a thread where=C2=A0
I 've asked how = to boot the 64 bit + UEFI version of ReactOS using bhyve. The developers he= lped me,but in the end we have done nothing. Because after some progress,I = found this error :

https://ibb.co/N9QHdnp=

Unfortunately it is frozen when it tries to load the mountmgr.sys driver. A= ctually unfixed and no one knows how to fix it.

Now= I'm here,asking for some further ideas and suggestions.
=
--
Mario.


--
Mario.
--000000000000677a0e0616861d3b-- From nobody Sat Apr 20 19:32:07 2024 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 4VMM905pFTz5JL3w for ; Sat, 20 Apr 2024 19:32:20 +0000 (UTC) (envelope-from feurry@gmail.com) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMM8z6yrTz4MWh for ; Sat, 20 Apr 2024 19:32:19 +0000 (UTC) (envelope-from feurry@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=h1JHugb2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of feurry@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=feurry@gmail.com Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-36a1e9b94d4so14269585ab.1 for ; Sat, 20 Apr 2024 12:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713641538; x=1714246338; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Lsvkw+o9V9eQYmqY+SntwpKzwMdYtud1nt18w8YFaiQ=; b=h1JHugb2z167clKnqYMiv20Xkokmb/mX/cGHp9UU8DK+QyesBUJU3AVlHVICiJwA4N Dx10X1CiuEBjGYjm00pzVP+LlEkuSqRz5qkHnLSrc3i7Ee1j/5OfCm+ue0tB6ytILYMu Vu1B7WEh6WY59k/OOxDQoj03L0Izlu9+GHVwTkXGs1mue4/kWrdywWZ4PBnHV9rhNmwo p5OujpbBaNe2zzpix5l8wDjSMeLyHJOFu0Dn2fXmzkiO+A4ZQfRTJqXmAhvhmNI//eNK HPcMsJKNbaOl+YcK2dqxRdtFrGKf1i5IfLcnLm7mMx2Rd1JUrnSjuzqBdmdCXotI3/I1 l6XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713641538; x=1714246338; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Lsvkw+o9V9eQYmqY+SntwpKzwMdYtud1nt18w8YFaiQ=; b=vtgsFse133JsidrPyvpKMfIpJ5ZKBpGXcDz0h0q5JHXZ82TTDjtgFVsswC3uOdM5ve mIeC6RA0UHXQJaMw2JWhJ0rWkqNVwpoF4SYeoaVFGkeriRHHubfQgQREGEpjPrQAu9tM ENLoPRG21KOk2tnqjRYDaCmAAtVvni1iEW2bGXOw3SQSDBm1m7bvyZLvE181fRulZfj5 kmbqCnSZexVLzItqPy5D80f26sThpkwCliUNA+5vdw8l+SMPYgBRmnCiNC6YKRw0Krg1 kxNPg8dA4RmOI4oA7w/YUD5DL7P4CLq1fKub7lL1rDDy/8CtWrwMDC0SN0Ys0Wc6ybo6 2+Pg== X-Gm-Message-State: AOJu0YzQK5Cn3iF/IxFJXeLHIgzGXowWwc/HG1UlFmQYKiHzf6aNaWhL nAURSA48VV6e4FLQi+wvij9GzIXlgDb+0dV9J+Pm70SNszNaLC63Hv9SPmPNW73GpRvl9/O+YB3 gcHCLEtbuHaZfIzxcnGPhHojJPNa9t5+Q X-Google-Smtp-Source: AGHT+IEGi8bqE5jAgc4TE0kEXrMnZDJC0941X+2Jis3Z4UM/i/Zbq/2fPdS+ytsfxuzRJNzgTUIHcEKMZP4RKu9Ju0E= X-Received: by 2002:a05:6e02:1988:b0:36b:85e:7d6c with SMTP id g8-20020a056e02198800b0036b085e7d6cmr7517908ilf.28.1713641538048; Sat, 20 Apr 2024 12:32:18 -0700 (PDT) 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 From: Peter Miller Date: Sat, 20 Apr 2024 14:32:07 -0500 Message-ID: Subject: pci passthrough Mediatek MT7922 doesn't work To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.94)[-0.942]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::132:from] X-Rspamd-Queue-Id: 4VMM8z6yrTz4MWh Hello, I'm trying to use wifibox and the wifi device is not being passed through. There is a bug report, which I added to, but they told me it was probably a bhyve problem. https://github.com/pgj/freebsd-wifibox/issues/73 I followed these instructions to test, and added -p 1/0/0 to pass the wifi device. https://wiki.freebsd.org/bhyve#Q:_What_is_the_easiest_way_to_try_bhyve.3F fetch https://download.freebsd.org/snapshots/VM-IMAGES/14.0-STABLE/amd64/Latest/FreeBSD-14.0-STABLE-amd64.raw.xz unxz FreeBSD-14.0-STABLE-amd64.raw.xz doas sh /usr/share/examples/bhyve/vmrun.sh -p 1/0/0 -d FreeBSD-14.0-STABLE-amd64.raw vm0 within the bhyve vm, I do not see the wifi device root@freebsd:~ # pciconf -lv hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1275 device=0x1275 subvendor=0x0000 subdevice=0x0000 vendor = 'Network Appliance Corporation' class = bridge subclass = HOST-PCI isab0@pci0:0:1:0: class=0x060100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x7000 subvendor=0x0000 subdevice=0x0000 vendor = 'Intel Corporation' device = '82371SB PIIX3 ISA [Natoma/Triton II]' class = bridge subclass = PCI-ISA virtio_pci0@pci0:0:2:0: class=0x020000 rev=0x00 hdr=0x00 vendor=0x1af4 device=0x1000 subvendor=0x1af4 subdevice=0x0001 vendor = 'Red Hat, Inc.' device = 'Virtio network device' class = network subclass = ethernet virtio_pci1@pci0:0:3:0: class=0x010000 rev=0x00 hdr=0x00 vendor=0x1af4 device=0x1001 subvendor=0x1af4 subdevice=0x0002 vendor = 'Red Hat, Inc.' device = 'Virtio block device' class = mass storage subclass = SCSI bhyve dmesg root@freebsd:~ # cat /var/run/dmesg.boot ---<>--- Copyright (c) 1992-2023 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-STABLE #0 stable/14-n267376-ca8e2e4c91cc: Thu Apr 18 05:55:35 UTC 2024 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) VT: init without driver. CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.13-MHz K8-class CPU) Origin="AuthenticAMD" Id=0xa70f41 Family=0x19 Model=0x74 Stepping=1 Features=0x1783fbff Features2=0xfed83203 AMD Features=0x26500800 AMD Features2=0x444231fb Structured Extended Features=0xf01703a9 Structured Extended Features2=0x600 XSAVE Features=0x1 AMD Extended Feature Extensions ID EBX=0x7 TSC: P-state invariant Hypervisor: Origin = "bhyve bhyve " real memory = 536870912 (512 MB) avail memory = 482742272 (460 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-31 Launching APs: 1 random: entropy device external interface kbd1 at kbdmux0 smbios0: at iomem 0xf1000-0xf101e smbios0: Version: 2.6, BCD Revision: 2.6 aesni0: acpi0: acpi0: Power Button (fixed) atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 16777216 Hz quality 950 Event timer "HPET" frequency 16777216 Hz quality 550 Event timer "HPET1" frequency 16777216 Hz quality 450 Event timer "HPET2" frequency 16777216 Hz quality 450 Event timer "HPET3" frequency 16777216 Hz quality 450 Event timer "HPET4" frequency 16777216 Hz quality 450 Event timer "HPET5" frequency 16777216 Hz quality 450 Event timer "HPET6" frequency 16777216 Hz quality 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 virtio_pci0: port 0x2080-0x20bf mem 0xc0108000-0xc0109fff irq 16 at device 2.0 on pci0 vtnet0: on virtio_pci0 vtnet0: Ethernet address: 00:a0:98:f0:55:05 vtnet0: netmap queues/slots: TX 1/1024, RX 1/512 000.000148 [ 452] vtnet_netmap_attach vtnet attached txq=1, txd=1024 rxq=1, rxd=512 virtio_pci1: port 0x2000-0x207f mem 0xc010a000-0xc010bfff irq 17 at device 3.0 on pci0 vtblk0: on virtio_pci1 vtblk0: 6176MB (12649685 512 byte sectors) vmgenc0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] driver bug: Unable to set devclass (class: atkbdc devname: (unknown)) psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 15.0. psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 4 on acpi0 uart3: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP0900 on isa0 Timecounter "TSC-low" frequency 1597006350 Hz quality 1000 Timecounters tick every 10.000 msec usb_needs_explore_all: no devclass Trying to mount root from ufs:/dev/gpt/rootfs [rw]... lo0: link state changed to UP vtnet0: link state changed to UP Host machine, running Current. dmesg ---<>--- Copyright (c) 1992-2024 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 15.0-CURRENT #1 068c675ca: Sat Apr 13 20:34:19 CDT 2024 root@queenannesrevenge:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 FreeBSD clang version 18.1.3 (https://github.com/llvm/llvm-project.git llvmorg-18.1.3-0-gc13b7485b879) VT(efifb): resolution 2560x1600 CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.18-MHz K8-class CPU) Origin="AuthenticAMD" Id=0xa70f41 Family=0x19 Model=0x74 Stepping=1 Features=0x178bfbff Features2=0x7ef8320b AMD Features=0x2e500800 AMD Features2=0x75c237ff Structured Extended Features=0xf1bf97a9 Structured Extended Features2=0x405fde Structured Extended Features3=0x10000000 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x791ef257 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 15861637120 (15126 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-23 ioapic1 irqs 24-55 Launching APs: 1 9 4 5 8 6 7 2 3 10 11 random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x58e1f000-0x58e1f017 smbios0: Version: 3.4 aesni0: acpi0: Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP0], AE_NOT_FOUND (20230628/dswload2-315) ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-372) Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP2], AE_NOT_FOUND (20230628/dswload2-315) ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-372) Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20230628/dswload2-315) ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-372) Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP11], AE_NOT_FOUND (20230628/dswload2-315) ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-372) Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP12], AE_NOT_FOUND (20230628/dswload2-315) ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-372) AMD-Vi: IVRS Info VAsize = 64 PAsize = 48 GVAsize = 2 flags:0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 350 Event timer "HPET2" frequency 14318180 Hz quality 350 atrtc1: on acpi0 atrtc1: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66,0x68,0x6c on acpi0 isab0: on acpi0 isa0: on isab0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 amdiommu0 at device 0.2 on pci0 pcib1: at device 2.2 on pci0 pci1: on pcib1 ppt0 mem 0x7f30800000-0x7f308fffff,0x60900000-0x60907fff at device 0.0 on pci1 pcib2: at device 2.3 on pci0 pcib3: at device 2.4 on pci0 pci2: on pcib3 nvme0: mem 0x60800000-0x60803fff at device 0.0 on pci2 pci0: at device 3.2 (no driver attached) pci0: at device 3.3 (no driver attached) pci0: at device 3.4 (no driver attached) pcib4: at device 8.1 on pci0 pci3: on pcib4 vgapci0: port 0x1000-0x10ff mem 0x7f20000000-0x7f2fffffff,0x60000000-0x601fffff,0x60500000-0x6057ffff at device 0.0 on pci3 hdac0: mem 0x605c8000-0x605cbfff at device 0.1 on pci3 pci3: at device 0.2 (no driver attached) xhci0: mem 0x60200000-0x602fffff at device 0.3 on pci3 xhci0: 64 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 xhci1: mem 0x60300000-0x603fffff at device 0.4 on pci3 xhci1: 64 bytes context size, 64-bit DMA usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pci3: at device 0.5 (no driver attached) hdac1: mem 0x605c0000-0x605c7fff at device 0.6 on pci3 pcib5: at device 8.2 on pci0 pci4: on pcib5 pcib6: at device 8.3 on pci0 pci5: on pcib6 xhci2: mem 0x60600000-0x606fffff at device 0.3 on pci5 xhci2: 64 bytes context size, 64-bit DMA usbus2 on xhci2 usbus2: 5.0Gbps Super Speed USB v3.0 xhci3: mem 0x60700000-0x607fffff at device 0.4 on pci5 xhci3: 64 bytes context size, 64-bit DMA usbus3 on xhci3 usbus3: 5.0Gbps Super Speed USB v3.0 isab1: at device 20.3 on pci0 device_attach: isab1 attach returned 6 acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 cpu0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] acpi_acad0: on acpi0 battery0: on acpi0 ivhd0: on acpi0 ivhd0: Unknown dev entry:0xf0 Variable size IVHD type 0xf0 not supported ivhd0: Flag:b0 ivhd0: Features(type:0x40) MsiNumPPR = 0 PNBanks= 2 PNCounters= 0 ivhd0: Extended features[31:0]:a2254afa,IASup,GASup,PCSup> HATS = 0x2 GATS = 0x0 GLXSup = 0x1 SmiFSup = 0x1 SmiFRC = 0x1 GAMSup = 0x1 DualPortLogSup = 0x2 DualEventLogSup = 0x2 ivhd0: Extended features[62:32]:246577ef Max PASID: 0x2f DevTblSegSup = 0x3 MarcSup = 0x1 ivhd0: supported paging level:7, will use only: 4 ivhd0: device [0x3 - 0xfffe] config:0 ivhd0: device [0xff00 - 0xffff] config:0 ivhd0: PCI cap 0x190b640f@0x40 feature:19 atrtc0: at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s atrtc0: Can't map interrupt. hwpstate0: on cpu0 Timecounter "TSC-low" frequency 1597000079 Hz quality 1000 Timecounters tick every 1.000 msec ugen0.1: at usbus0 ugen3.1: at usbus3 uhub0 on usbus0 uhub0: on usbus0 uhub1 on usbus3 uhub1: on usbus3 ugen1.1: at usbus1 uhub2 on usbus1 uhub2: on usbus1 ugen2.1: at usbus2 uhub3 on usbus2 uhub3: on usbus2 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) nvme0: Allocated 64MB host memory buffer hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 pcm1: at nid 5 on hdaa0 pcm2: at nid 7 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm3: at nid 20 and 25 on hdaa1 pcm4: at nid 33 on hdaa1 nda0 at nvme0 bus 0 scbus0 target 0 lun 1 nda0: nda0: Serial Number S6B5NF0W347011 nda0: nvme version 1.4 nda0: 488386MB (1000215216 512 byte sectors) isab1: at device 20.3 on pci0 device_attach: isab1 attach returned 6 Trying to mount root from zfs:zroot/ROOT/default []... uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub0: 7 ports with 7 removable, self powered ugen1.2: at usbus1 ugen3.2: at usbus3 uhub4 on uhub1 uhub4: on usbus3 ugen0.2: at usbus0 uhub4: 4 ports with 4 removable, self powered ugen3.3: at usbus3 ukbd0 on uhub4 ukbd0: on usbus3 kbd2 at ukbd0 Root mount waiting for: usbus3 ugen3.4: at usbus3 uhub5 on uhub4 uhub5: on usbus3 uhub5: MTT enabled uhub5: 4 ports with 4 removable, self powered Root mount waiting for: usbus3 ugen3.5: at usbus3 ukbd1 on uhub5 ukbd1: on usbus3 kbd3 at ukbd1 ukbd2 on uhub5 ukbd2: on usbus3 kbd4 at ukbd2 ugen3.6: at usbus3 ukbd3 on uhub5 ukbd3: on usbus3 kbd5 at ukbd3 Root mount waiting for: usbus3 ugen3.7: at usbus3 uhub6 on uhub1 uhub6: on usbus3 Root mount waiting for: usbus3 uhub6: 4 ports with 4 removable, self powered ugen3.8: at usbus3 uhub7 on uhub6 uhub7: on usbus3 uhub7: 4 ports with 4 removable, self powered Root mount waiting for: usbus3 ugen3.9: at usbus3 ugen3.10: at usbus3 umass0 on uhub6 umass0: on usbus3 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) (probe0:umass-sim0:0:0:0): Info: 0 (probe0:umass-sim0:0:0:0): Command Specific Info: 0xaa5500 (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number 058F84688461 da0: 400.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=0x2 da1 at umass-sim0 bus 0 scbus1 target 0 lun 1 da1: Removable Direct Access SPC-4 SCSI device da1: Serial Number 058F84688461 da1: 400.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=0x2 [drm] amdgpu kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (IP DISCOVERY 0x1002:0x15BF 0x103C:0x8C21 0xCA). [drm] register mmio base: 0x60500000 [drm] register mmio size: 524288 [drm] add ip block number 0 [drm] add ip block number 1 [drm] add ip block number 2 [drm] add ip block number 3 [drm] add ip block number 4 [drm] add ip block number 5 [drm] add ip block number 6 [drm] add ip block number 7 [drm] add ip block number 8 [drm] add ip block number 9 [drm] add ip block number 10 drmn0: Fetched VBIOS from VFCT amdgpu: ATOM BIOS: 113-PHXGENERIC-001 [drm] VCN(0) encode/decode are enabled in VM mode drmn0: [drm] jpeg_v4_0_set_dec_ring_funcsgc_11_0_1_mes_2.bin: could not load binary firmware /boot/firmware/gc_11_0_1_mes_2.bin either amdgpu/gc_11_0_1_mes_2.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_mes_2.bin either amdgpu_gc_11_0_1_mes_2.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_mes_2.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes_2.bin' gc_11_0_1_mes1.bin: could not load binary firmware /boot/firmware/gc_11_0_1_mes1.bin either amdgpu/gc_11_0_1_mes1.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_mes1.bin either amdgpu_gc_11_0_1_mes1.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_mes1.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes1.bin' drmn0: Trusted Memory Zone (TMZ) feature enabled drmn0: PCIE atomic ops is not supported [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit drmn0: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used) drmn0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF [drm ERROR :amdgpu_bo_init] Unable to set WC memtype for the aperture base [drm] Detected VRAM RAM=512M, BAR=512M [drm] RAM width 256bits LPDDR5 [drm] amdgpu: 512M of VRAM memory ready [drm] amdgpu: 7823M of GTT memory ready. [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] PCIE GART of 512M enabled (table at 0x000000801FD00000). psp_13_0_4_toc.bin: could not load binary firmware /boot/firmware/psp_13_0_4_toc.bin either amdgpu/psp_13_0_4_toc.bin: could not load binary firmware /boot/firmware/amdgpu/psp_13_0_4_toc.bin either amdgpu_psp_13_0_4_toc.bin: could not load binary firmware /boot/firmware/amdgpu_psp_13_0_4_toc.bin either drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_toc.bin' psp_13_0_4_ta.bin: could not load binary firmware /boot/firmware/psp_13_0_4_ta.bin either amdgpu/psp_13_0_4_ta.bin: could not load binary firmware /boot/firmware/amdgpu/psp_13_0_4_ta.bin either amdgpu_psp_13_0_4_ta.bin: could not load binary firmware /boot/firmware/amdgpu_psp_13_0_4_ta.bin either drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_ta.bin' drmn0: PSP runtime database doesn't exist drmn0: PSP runtime database doesn't exist dcn_3_1_4_dmcub.bin: could not load binary firmware /boot/firmware/dcn_3_1_4_dmcub.bin either amdgpu/dcn_3_1_4_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu/dcn_3_1_4_dmcub.bin either amdgpu_dcn_3_1_4_dmcub.bin: could not load binary firmware /boot/firmware/amdgpu_dcn_3_1_4_dmcub.bin either drmn0: successfully loaded firmware image 'amdgpu/dcn_3_1_4_dmcub.bin' [drm] Loading DMUB firmware via PSP: version=0x08001B00 gc_11_0_1_imu.bin: could not load binary firmware /boot/firmware/gc_11_0_1_imu.bin either amdgpu/gc_11_0_1_imu.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_imu.bin either amdgpu_gc_11_0_1_imu.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_imu.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_imu.bin' gc_11_0_1_pfp.bin: could not load binary firmware /boot/firmware/gc_11_0_1_pfp.bin either amdgpu/gc_11_0_1_pfp.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_pfp.bin either amdgpu_gc_11_0_1_pfp.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_pfp.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_pfp.bin' gc_11_0_1_me.bin: could not load binary firmware /boot/firmware/gc_11_0_1_me.bin either amdgpu/gc_11_0_1_me.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_me.bin either amdgpu_gc_11_0_1_me.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_me.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_me.bin' gc_11_0_1_rlc.bin: could not load binary firmware /boot/firmware/gc_11_0_1_rlc.bin either amdgpu/gc_11_0_1_rlc.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_rlc.bin either amdgpu_gc_11_0_1_rlc.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_rlc.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_rlc.bin' gc_11_0_1_mec.bin: could not load binary firmware /boot/firmware/gc_11_0_1_mec.bin either amdgpu/gc_11_0_1_mec.bin: could not load binary firmware /boot/firmware/amdgpu/gc_11_0_1_mec.bin either amdgpu_gc_11_0_1_mec.bin: could not load binary firmware /boot/firmware/amdgpu_gc_11_0_1_mec.bin either drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mec.bin' sdma_6_0_1.bin: could not load binary firmware /boot/firmware/sdma_6_0_1.bin either amdgpu/sdma_6_0_1.bin: could not load binary firmware /boot/firmware/amdgpu/sdma_6_0_1.bin either amdgpu_sdma_6_0_1.bin: could not load binary firmware /boot/firmware/amdgpu_sdma_6_0_1.bin either drmn0: successfully loaded firmware image 'amdgpu/sdma_6_0_1.bin' vcn_4_0_2.bin: could not load binary firmware /boot/firmware/vcn_4_0_2.bin either amdgpu/vcn_4_0_2.bin: could not load binary firmware /boot/firmware/amdgpu/vcn_4_0_2.bin either amdgpu_vcn_4_0_2.bin: could not load binary firmware /boot/firmware/amdgpu_vcn_4_0_2.bin either drmn0: successfully loaded firmware image 'amdgpu/vcn_4_0_2.bin' [drm] Found VCN firmware Version ENC: 1.10 DEC: 5 VEP: 0 Revision: 0 drmn0: Will use PSP to load VCN firmware [drm] max_doorbell_slices=255 [drm] reserve 0x4a00000 from 0x8010000000 for PSP TMR drmn0: RAS: optional ras ta ucode is not available drmn0: RAP: optional rap ta ucode is not available drmn0: SECUREDISPLAY: securedisplay ta ucode is not available drmn0: SMU is initialized successfully! [drm] Display Core initialized with v3.2.207! [drm] DMUB hardware initialized: version=0x08001B00 lkpi_iic0: on drmn0 iicbus0: on lkpi_iic0 iic0: on iicbus0 [drm] PSR support 1, DC PSR ver 1, sink PSR ver 4 DPCD caps 0x3a su_y_granularity 4 lkpi_iic1: on drmn0 iicbus1: on lkpi_iic1 iic1: on iicbus1 lkpi_iic2: on drmn0 iicbus2: on lkpi_iic2 iic2: on iicbus2 lkpi_iic3: on drmn0 iicbus3: on lkpi_iic3 iic3: on iicbus3 lkpi_iic4: on drmn0 iicbus4: on lkpi_iic4 iic4: on iicbus4 lkpi_iic5: on drmn0 iicbus5: on lkpi_iic5 iic5: on iicbus5 lkpi_iic6: on drmn0 iicbus6: on lkpi_iic6 iic6: on iicbus6 lkpi_iic7: on drmn0 iicbus7: on lkpi_iic7 iic7: on iicbus7 [drm] kiq ring mec 3 pipe 1 q 0 [drm] VCN decode and encode initialized successfully(under DPG Mode). drmn0: [drm] jpeg_v4_0_hw_initdrmn0: SE 1, SH per SE 2, CU per SH 6, active_cu_number 4 drmn0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0 drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 drmn0: ring comp_1.2.0 uses VM inv eng 6 on hub 0 drmn0: ring comp_1.3.0 uses VM inv eng 7 on hub 0 drmn0: ring comp_1.0.1 uses VM inv eng 8 on hub 0 drmn0: ring comp_1.1.1 uses VM inv eng 9 on hub 0 drmn0: ring comp_1.2.1 uses VM inv eng 10 on hub 0 drmn0: ring comp_1.3.1 uses VM inv eng 11 on hub 0 drmn0: ring sdma0 uses VM inv eng 12 on hub 0 drmn0: ring vcn_unified_0 uses VM inv eng 0 on hub 1 drmn0: ring jpeg_dec uses VM inv eng 1 on hub 1 drmn0: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0 [drm] ring gfx_32768.1.1 was added [drm] ring compute_32768.2.2 was added [drm] ring sdma_32768.3.3 was added [drm] ring gfx_32768.1.1 test pass [drm] ring gfx_32768.1.1 ib test pass [drm] ring compute_32768.2.2 test pass [drm] ring compute_32768.2.2 ib test pass [drm] ring sdma_32768.3.3 test pass [drm] ring sdma_32768.3.3 ib test pass vgapci0: child drmn0 requested pci_get_powerstate sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! lkpi_iic8: on drm1 iicbus8: on lkpi_iic8 iic8: on iicbus8 lkpi_iic9: on drm3 iicbus9: on lkpi_iic9 iic9: on iicbus9 lkpi_iic10: on drm4 iicbus10: on lkpi_iic10 iic10: on iicbus10 lkpi_iic11: on drm5 iicbus11: on lkpi_iic11 iic11: on iicbus11 lkpi_iic12: on drm6 iicbus12: on lkpi_iic12 iic12: on iicbus12 lkpi_iic13: on drm7 iicbus13: on lkpi_iic13 iic13: on iicbus13 lkpi_iic14: on drm8 iicbus14: on lkpi_iic14 iic14: on iicbus14 [drm] Initialized amdgpu 3.49.0 20150101 for drmn0 on minor 0 VT: Replacing driver "efifb" with new "drmfb". [drm] DSC precompute is not needed. start FB_INFO: height=1600 width=2560 depth=32 pbase=0x0 vbase=0xfffffe014d00c000 name=drmn0 id=amdgpudrmfb flags=0x0 stride=10240 end FB_INFO intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 isab1: at device 20.3 on pci0 device_attach: isab1 attach returned 6 isab1: at device 20.3 on pci0 device_attach: isab1 attach returned 6 driver bug: Unable to set devclass (class: ppc devname: (unknown)) ig4iic0: iomem 0xfedc5000-0xfedc5fff irq 6 on acpi0 iicbus15: on ig4iic0 iicbus15: at addr 0x15 iic15: on iicbus15 acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \134_SB.AMW0.WQDD: 1 arguments were passed to a non-method ACPI object (Buffer) (20230628/nsarguments-361) acpi_wmi1: on acpi0 acpi_wmi1: Embedded MOF found ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20230628/nsarguments-361) acpi_wmi2: on acpi0 acpi_wmi2: Embedded MOF found ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20230628/nsarguments-361) acpi_wmi3: on acpi0 acpi_wmi3: Embedded MOF found ACPI: \134_SB.CPWM.WQBB: 1 arguments were passed to a non-method ACPI object (Buffer) (20230628/nsarguments-361) acpi_wmi4: on acpi0 acpi_wmi4: Embedded MOF found ACPI: \134_SB.WMID.WQAB: 1 arguments were passed to a non-method ACPI object (Buffer) (20230628/nsarguments-361) driver bug: Unable to set devclass (class: ppc devname: (unknown)) lo0: link state changed to UP ubt0 on uhub0 ubt0: on usbus0 ubt1 on uhub0 ubt1: on usbus0 ubt1: ubt_attach:670: could not get two interfaces device_attach: ubt1 attach returned 6 ubt1 on uhub0 ubt1: on usbus0 ubt1: ubt_attach:670: could not get two interfaces device_attach: ubt1 attach returned 6 ums0 on uhub5 ums0: on usbus3 ums0: 5 buttons and [XYZT] coordinates ID=1 ubt1 on uhub0 ubt1: on usbus0 ubt1: ubt_attach:670: could not get two interfaces device_attach: ubt1 attach returned 6 ure0 on uhub7 ure0: on usbus3 iichid0: at addr 0x15 on iicbus15 iichid0: Interrupt setup failed. Fallback to sampling hidbus0: on iichid0 miibus0: on ure0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ue0: on ure0 ue0: Ethernet address: 48:65:ee:10:9d:fa ue0: link state changed to DOWN ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout hms0: on hidbus0 hms0: 2 buttons and [XY] coordinates ID=1 hmt0: on hidbus0 hconf0: on hidbus0 hmt0: Multitouch touchpad with 0 external buttons, click-pad hmt0: 5 contacts with [C] properties. Report range [0:0] - [3831:2424] ue0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP pciconf -lv ppt0@pci0:1:0:0: class=0x028000 rev=0x02 hdr=0x00 vendor=0x14c3 device=0x0616 subvendor=0x14c3 subdevice=0x223c vendor = 'MEDIATEK Corp.' device = 'MT7922 802.11ax PCI Express Wireless Network Adapter' class = network /boot/loader.conf hw.vmm.amdvi.enable="1" vmm_load="YES" pptdevs="1/0/0" Please let me know if there's additional information I can provide. -- Thanks Peter From nobody Sat Apr 20 20:16:33 2024 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 4VMN8H3vmNz5JPCx for ; Sat, 20 Apr 2024 20:16:47 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMN8H2QGFz4ThW for ; Sat, 20 Apr 2024 20:16:47 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-de46da8ced2so2956683276.0 for ; Sat, 20 Apr 2024 13:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1713644206; x=1714249006; darn=freebsd.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wSpgGaV60ZK/P2537TKnUc3Ff8VUX3IQ9DKpq7TZFCM=; b=XjU8AqxnpGXZ37kxjnQAicx5CDTGPvi54xY/qUBkHO5JAKNIxJrdL6Y+RsVOd9x4E+ QfT4+5hQpznz9gM/QB60AnsuvkB/HV/z+TGPaHLgSfKbYcI5jqaYFhL07jYXmPTNYM7h sthS6FOsnjvXnvkLVUyH0c+YsNO/jnzvu+cTaWQzR2hD8ao8jeJ7pmhDVn+xCXx/SYeA 511zjZx4BTjQRt2bWTQx9a6OeZ6za2jHsmkB9aLae0YjlOysWUmpuDjWRRX+fK07DKFo CqqwoVCxaVtiu5LMJLncddI3cwr5YkPzYrkuiDmJLkJUG0Hn9C4I8o6rUObJMxJZpSRg n3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713644206; x=1714249006; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wSpgGaV60ZK/P2537TKnUc3Ff8VUX3IQ9DKpq7TZFCM=; b=jI+7nZG/5ArJOTmjhf3+3CnM/dySuBny8lXDffQ3b2dl+/ayp9ZKikZw1zsXE8zBqn YOo6h2ZB8KR8B66eRDs2a2Y0elY7/M5Img2JchP/lGkABzHY8vRTUi7JDgzxpRW2DvBN XZdLusWZRL26bPKJM4Gim2+RaqIJCJstojXw+ZlY75iozpZUO7lJMAI8pKAAIXtiFgFN YLggnaDrtWqupab+J0fNC9MpEtQ0qCH1Huu1z/hxsHFrelRNP+4Z5zmofJJGjuarMBTr uU2y51L0f8/am9UDeUAU8AA/TIA/fPyvNySUQzeWEYR54QUXM1dmhO87k6Fd1VXcHfNH twkg== X-Gm-Message-State: AOJu0YzOizWuxjm8vOzIXkiB4BlG8T2JsRXaNT7D+l3K2naKoPnEgd/x CnrFe+SvXAgFXsvPRTeDH7Z3nJspLYcMOvlkujObiiKQFkzMn7sAZBQlfMwNjf2xOL4GPzecYJA = X-Google-Smtp-Source: AGHT+IFwDe9k8IdIhIZZBO87LVRcyCzhgnHdv1h4eFYVsO9sjPv8yGXpD7PZ9NZaT/9Spd4OOc9rAQ== X-Received: by 2002:a05:690c:6806:b0:614:7146:ea93 with SMTP id id6-20020a05690c680600b006147146ea93mr6467981ywb.25.1713644205857; Sat, 20 Apr 2024 13:16:45 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id r187-20020a81b3c4000000b006146c0a39aasm1324302ywh.145.2024.04.20.13.16.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2024 13:16:45 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: pci passthrough Mediatek MT7922 doesn't work From: Bakul Shah In-Reply-To: Date: Sat, 20 Apr 2024 13:16:33 -0700 Cc: freebsd-virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Peter Miller X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VMN8H2QGFz4ThW Invoke the vmrun.sh script as "sh -x /usr/misc/examples/bhyve/vmrun.sh" = to show use the bhyve command line executed. As well as any error = messages. > On Apr 20, 2024, at 12:32=E2=80=AFPM, Peter Miller = wrote: >=20 > Hello, >=20 > I'm trying to use wifibox and the wifi device is not being passed = through. > There is a bug report, which I added to, but they told me it was > probably a bhyve problem. > https://github.com/pgj/freebsd-wifibox/issues/73 >=20 > I followed these instructions to test, and added -p 1/0/0 to pass the > wifi device. > = https://wiki.freebsd.org/bhyve#Q:_What_is_the_easiest_way_to_try_bhyve.3F >=20 > fetch = https://download.freebsd.org/snapshots/VM-IMAGES/14.0-STABLE/amd64/Latest/= FreeBSD-14.0-STABLE-amd64.raw.xz > unxz FreeBSD-14.0-STABLE-amd64.raw.xz > doas sh /usr/share/examples/bhyve/vmrun.sh -p 1/0/0 -d > FreeBSD-14.0-STABLE-amd64.raw vm0 >=20 > within the bhyve vm, I do not see the wifi device > root@freebsd:~ # pciconf -lv > hostb0@pci0:0:0:0: class=3D0x060000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1275 > device=3D0x1275 subvendor=3D0x0000 subdevice=3D0x0000 > vendor =3D 'Network Appliance Corporation' > class =3D bridge > subclass =3D HOST-PCI > isab0@pci0:0:1:0: class=3D0x060100 rev=3D0x00 hdr=3D0x00 = vendor=3D0x8086 > device=3D0x7000 subvendor=3D0x0000 subdevice=3D0x0000 > vendor =3D 'Intel Corporation' > device =3D '82371SB PIIX3 ISA [Natoma/Triton II]' > class =3D bridge > subclass =3D PCI-ISA > virtio_pci0@pci0:0:2:0: class=3D0x020000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1af4 > device=3D0x1000 subvendor=3D0x1af4 subdevice=3D0x0001 > vendor =3D 'Red Hat, Inc.' > device =3D 'Virtio network device' > class =3D network > subclass =3D ethernet > virtio_pci1@pci0:0:3:0: class=3D0x010000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1af4 > device=3D0x1001 subvendor=3D0x1af4 subdevice=3D0x0002 > vendor =3D 'Red Hat, Inc.' > device =3D 'Virtio block device' > class =3D mass storage > subclass =3D SCSI >=20 >=20 >=20 > bhyve dmesg > root@freebsd:~ # cat /var/run/dmesg.boot > ---<>--- > Copyright (c) 1992-2023 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-STABLE #0 stable/14-n267376-ca8e2e4c91cc: Thu Apr 18 > 05:55:35 UTC 2024 > = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 > FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git > llvmorg-17.0.6-0-g6009708b4367) > VT: init without driver. > CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.13-MHz = K8-class CPU) > Origin=3D"AuthenticAMD" Id=3D0xa70f41 Family=3D0x19 Model=3D0x74 = Stepping=3D1 > = Features=3D0x1783fbff > = Features2=3D0xfed83203 > AMD Features=3D0x26500800 > AMD = Features2=3D0x444231fb > Structured Extended > = Features=3D0xf01703a9 > Structured Extended Features2=3D0x600 > XSAVE Features=3D0x1 > AMD Extended Feature Extensions ID EBX=3D0x7 > TSC: P-state invariant > Hypervisor: Origin =3D "bhyve bhyve " > real memory =3D 536870912 (512 MB) > avail memory =3D 482742272 (460 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 2 package(s) x 1 core(s) > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > random: unblocking device. > ioapic0 irqs 0-31 > Launching APs: 1 > random: entropy device external interface > kbd1 at kbdmux0 > smbios0: at iomem 0xf1000-0xf101e > smbios0: Version: 2.6, BCD Revision: 2.6 > aesni0: > acpi0: > acpi0: Power Button (fixed) > atrtc0: port 0x70-0x71 irq 8 on acpi0 > atrtc0: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff on = acpi0 > Timecounter "HPET" frequency 16777216 Hz quality 950 > Event timer "HPET" frequency 16777216 Hz quality 550 > Event timer "HPET1" frequency 16777216 Hz quality 450 > Event timer "HPET2" frequency 16777216 Hz quality 450 > Event timer "HPET3" frequency 16777216 Hz quality 450 > Event timer "HPET4" frequency 16777216 Hz quality 450 > Event timer "HPET5" frequency 16777216 Hz quality 450 > Event timer "HPET6" frequency 16777216 Hz quality 450 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > virtio_pci0: port 0x2080-0x20bf > mem 0xc0108000-0xc0109fff irq 16 at device 2.0 on pci0 > vtnet0: on virtio_pci0 > vtnet0: Ethernet address: 00:a0:98:f0:55:05 > vtnet0: netmap queues/slots: TX 1/1024, RX 1/512 > 000.000148 [ 452] vtnet_netmap_attach vtnet attached txq=3D1, > txd=3D1024 rxq=3D1, rxd=3D512 > virtio_pci1: port 0x2000-0x207f > mem 0xc010a000-0xc010bfff irq 17 at device 3.0 on pci0 > vtblk0: on virtio_pci1 > vtblk0: 6176MB (12649685 512 byte sectors) > vmgenc0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > driver bug: Unable to set devclass (class: atkbdc devname: (unknown)) > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > WARNING: Device "psm" is Giant locked and may be deleted before = FreeBSD 15.0. > psm0: model Generic PS/2 mouse, device ID 0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > uart0: console (115200,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 4 on acpi0 > uart3: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 > vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff > pnpid PNP0900 on isa0 > Timecounter "TSC-low" frequency 1597006350 Hz quality 1000 > Timecounters tick every 10.000 msec > usb_needs_explore_all: no devclass > Trying to mount root from ufs:/dev/gpt/rootfs [rw]... > lo0: link state changed to UP > vtnet0: link state changed to UP >=20 >=20 >=20 > Host machine, running Current. >=20 > dmesg > ---<>--- > Copyright (c) 1992-2024 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 15.0-CURRENT #1 068c675ca: Sat Apr 13 20:34:19 CDT 2024 > = root@queenannesrevenge:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > amd64 > FreeBSD clang version 18.1.3 (https://github.com/llvm/llvm-project.git > llvmorg-18.1.3-0-gc13b7485b879) > VT(efifb): resolution 2560x1600 > CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.18-MHz = K8-class CPU) > Origin=3D"AuthenticAMD" Id=3D0xa70f41 Family=3D0x19 Model=3D0x74 = Stepping=3D1 > = Features=3D0x178bfbff > = Features2=3D0x7ef8320b > AMD Features=3D0x2e500800 > AMD = Features2=3D0x75c237ff > Structured Extended > = Features=3D0xf1bf97a9 > Structured Extended > = Features2=3D0x405fde > Structured Extended Features3=3D0x10000000 > XSAVE Features=3D0xf > AMD Extended Feature Extensions ID > = EBX=3D0x791ef257 > SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 > TSC: P-state invariant, performance statistics > real memory =3D 17179869184 (16384 MB) > avail memory =3D 15861637120 (15126 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs > FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 hardware threads > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > random: unblocking device. > ioapic0 irqs 0-23 > ioapic1 irqs 24-55 > Launching APs: 1 9 4 5 8 6 7 2 3 10 11 > random: entropy device external interface > kbd1 at kbdmux0 > efirtc0: > efirtc0: registered as a time-of-day clock, resolution 1.000000s > smbios0: at iomem 0x58e1f000-0x58e1f017 > smbios0: Version: 3.4 > aesni0: > acpi0: > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP0], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP2], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol > [\134_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP11], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP12], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > AMD-Vi: IVRS Info VAsize =3D 64 PAsize =3D 48 GVAsize =3D 2 flags:0 > hpet0: iomem 0xfed00000-0xfed003ff irq = 0,8 on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 350 > Event timer "HPET1" frequency 14318180 Hz quality 350 > Event timer "HPET2" frequency 14318180 Hz quality 350 > atrtc1: on acpi0 > atrtc1: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_ec0: port 0x62,0x66,0x68,0x6c on = acpi0 > isab0: on acpi0 > isa0: on isab0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > amdiommu0 at device 0.2 on pci0 > pcib1: at device 2.2 on pci0 > pci1: on pcib1 > ppt0 mem 0x7f30800000-0x7f308fffff,0x60900000-0x60907fff at device 0.0 = on pci1 > pcib2: at device 2.3 on pci0 > pcib3: at device 2.4 on pci0 > pci2: on pcib3 > nvme0: mem 0x60800000-0x60803fff at device 0.0 = on pci2 > pci0: at device 3.2 (no driver attached) > pci0: at device 3.3 (no driver attached) > pci0: at device 3.4 (no driver attached) > pcib4: at device 8.1 on pci0 > pci3: on pcib4 > vgapci0: port 0x1000-0x10ff mem > 0x7f20000000-0x7f2fffffff,0x60000000-0x601fffff,0x60500000-0x6057ffff > at device 0.0 on pci3 > hdac0: mem 0x605c8000-0x605cbfff at > device 0.1 on pci3 > pci3: at device 0.2 (no driver attached) > xhci0: mem 0x60200000-0x602fffff > at device 0.3 on pci3 > xhci0: 64 bytes context size, 64-bit DMA > usbus0 on xhci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > xhci1: mem 0x60300000-0x603fffff > at device 0.4 on pci3 > xhci1: 64 bytes context size, 64-bit DMA > usbus1 on xhci1 > usbus1: 5.0Gbps Super Speed USB v3.0 > pci3: at device 0.5 (no driver attached) > hdac1: mem 0x605c0000-0x605c7fff at device > 0.6 on pci3 > pcib5: at device 8.2 on pci0 > pci4: on pcib5 > pcib6: at device 8.3 on pci0 > pci5: on pcib6 > xhci2: mem 0x60600000-0x606fffff > at device 0.3 on pci5 > xhci2: 64 bytes context size, 64-bit DMA > usbus2 on xhci2 > usbus2: 5.0Gbps Super Speed USB v3.0 > xhci3: mem 0x60700000-0x607fffff > at device 0.4 on pci5 > xhci3: 64 bytes context size, 64-bit DMA > usbus3 on xhci3 > usbus3: 5.0Gbps Super Speed USB v3.0 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > acpi_lid0: on acpi0 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > acpi_tz2: on acpi0 > cpu0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > acpi_acad0: on acpi0 > battery0: on acpi0 > ivhd0: on acpi0 > ivhd0: Unknown dev entry:0xf0 > Variable size IVHD type 0xf0 not supported > ivhd0: Flag:b0 > ivhd0: Features(type:0x40) MsiNumPPR =3D 0 PNBanks=3D 2 PNCounters=3D = 0 > ivhd0: Extended > features[31:0]:a2254afa,IASup,GASup,PCSup> > HATS =3D 0x2 GATS =3D 0x0 GLXSup =3D 0x1 SmiFSup =3D 0x1 SmiFRC =3D = 0x1 GAMSup =3D > 0x1 DualPortLogSup =3D 0x2 DualEventLogSup =3D 0x2 > ivhd0: Extended > = features[62:32]:246577ef > Max PASID: 0x2f DevTblSegSup =3D 0x3 MarcSup =3D 0x1 > ivhd0: supported paging level:7, will use only: 4 > ivhd0: device [0x3 - 0xfffe] config:0 > ivhd0: device [0xff00 - 0xffff] config:0 > ivhd0: PCI cap 0x190b640f@0x40 feature:19 > atrtc0: at port 0x70 irq 8 on isa0 > atrtc0: Warning: Couldn't map I/O. > atrtc0: registered as a time-of-day clock, resolution 1.000000s > atrtc0: Can't map interrupt. > hwpstate0: on cpu0 > Timecounter "TSC-low" frequency 1597000079 Hz quality 1000 > Timecounters tick every 1.000 msec > ugen0.1: at usbus0 > ugen3.1: at usbus3 > uhub0 on usbus0 > uhub0: on usbus0 > uhub1 on usbus3 > uhub1: on usbus3 > ugen1.1: at usbus1 > uhub2 on usbus1 > uhub2: on usbus1 > ugen2.1: at usbus2 > uhub3 on usbus2 > uhub3: on usbus2 > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > nvme0: Allocated 64MB host memory buffer > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 3 on hdaa0 > pcm1: at nid 5 on hdaa0 > pcm2: at nid 7 on hdaa0 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > pcm3: at nid 20 and 25 on hdaa1 > pcm4: at nid 33 on hdaa1 > nda0 at nvme0 bus 0 scbus0 target 0 lun 1 > nda0: > nda0: Serial Number S6B5NF0W347011 > nda0: nvme version 1.4 > nda0: 488386MB (1000215216 512 byte sectors) > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > Trying to mount root from zfs:zroot/ROOT/default []... > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub0: 7 ports with 7 removable, self powered > ugen1.2: at usbus1 > ugen3.2: at usbus3 > uhub4 on uhub1 > uhub4: = on usbus3 > ugen0.2: at usbus0 > uhub4: 4 ports with 4 removable, self powered > ugen3.3: at usbus3 > ukbd0 on uhub4 > ukbd0: = on usbus3 > kbd2 at ukbd0 > Root mount waiting for: usbus3 > ugen3.4: at usbus3 > uhub5 on uhub4 > uhub5: = on usbus3 > uhub5: MTT enabled > uhub5: 4 ports with 4 removable, self powered > Root mount waiting for: usbus3 > ugen3.5: at usbus3 > ukbd1 on uhub5 > ukbd1: on = usbus3 > kbd3 at ukbd1 > ukbd2 on uhub5 > ukbd2: on = usbus3 > kbd4 at ukbd2 > ugen3.6: at usbus3 > ukbd3 on uhub5 > ukbd3: 5> on usbus3 > kbd5 at ukbd3 > Root mount waiting for: usbus3 > ugen3.7: at usbus3 > uhub6 on uhub1 > uhub6: = on usbus3 > Root mount waiting for: usbus3 > uhub6: 4 ports with 4 removable, self powered > ugen3.8: at usbus3 > uhub7 on uhub6 > uhub7: = on usbus3 > uhub7: 4 ports with 4 removable, self powered > Root mount waiting for: usbus3 > ugen3.9: at usbus3 > ugen3.10: at usbus3 > umass0 on uhub6 > umass0: 9> on usbus3 > (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 = 00 10 00 00 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 > (Invalid command operation code) > (probe0:umass-sim0:0:0:0): Info: 0 > (probe0:umass-sim0:0:0:0): Command Specific Info: 0xaa5500 > (probe0:umass-sim0:0:0:0): Error 22, Unretryable error > da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 > da0: Removable Direct Access SPC-4 SCSI device > da0: Serial Number 058F84688461 > da0: 400.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not = present > da0: quirks=3D0x2 > da1 at umass-sim0 bus 0 scbus1 target 0 lun 1 > da1: Removable Direct Access SPC-4 SCSI = device > da1: Serial Number 058F84688461 > da1: 400.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not = present > da1: quirks=3D0x2 > [drm] amdgpu kernel modesetting enabled. > drmn0: on vgapci0 > vgapci0: child drmn0 requested pci_enable_io > vgapci0: child drmn0 requested pci_enable_io > [drm] initializing kernel modesetting (IP DISCOVERY 0x1002:0x15BF > 0x103C:0x8C21 0xCA). > [drm] register mmio base: 0x60500000 > [drm] register mmio size: 524288 > [drm] add ip block number 0 > [drm] add ip block number 1 > [drm] add ip block number 2 > [drm] add ip block number 3 > [drm] add ip block number 4 > [drm] add ip block number 5 > [drm] add ip block number 6 > [drm] add ip block number 7 > [drm] add ip block number 8 > [drm] add ip block number 9 > [drm] add ip block number 10 > drmn0: Fetched VBIOS from VFCT > amdgpu: ATOM BIOS: 113-PHXGENERIC-001 > [drm] VCN(0) encode/decode are enabled in VM mode > drmn0: [drm] jpeg_v4_0_set_dec_ring_funcsgc_11_0_1_mes_2.bin: could > not load binary firmware /boot/firmware/gc_11_0_1_mes_2.bin either > amdgpu/gc_11_0_1_mes_2.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mes_2.bin either > amdgpu_gc_11_0_1_mes_2.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mes_2.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes_2.bin' > gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_mes1.bin either > amdgpu/gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mes1.bin either > amdgpu_gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mes1.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes1.bin' > drmn0: Trusted Memory Zone (TMZ) feature enabled > drmn0: PCIE atomic ops is not supported > [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment > size is 9-bit > drmn0: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used) > drmn0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF > [drm ERROR :amdgpu_bo_init] Unable to set WC memtype for the aperture = base > [drm] Detected VRAM RAM=3D512M, BAR=3D512M > [drm] RAM width 256bits LPDDR5 > [drm] amdgpu: 512M of VRAM memory ready > [drm] amdgpu: 7823M of GTT memory ready. > [drm] GART: num cpu pages 131072, num gpu pages 131072 > [drm] PCIE GART of 512M enabled (table at 0x000000801FD00000). > psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/psp_13_0_4_toc.bin either > amdgpu/psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/amdgpu/psp_13_0_4_toc.bin either > amdgpu_psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/amdgpu_psp_13_0_4_toc.bin either > drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_toc.bin' > psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/psp_13_0_4_ta.bin either > amdgpu/psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/amdgpu/psp_13_0_4_ta.bin either > amdgpu_psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/amdgpu_psp_13_0_4_ta.bin either > drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_ta.bin' > drmn0: PSP runtime database doesn't exist > drmn0: PSP runtime database doesn't exist > dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/dcn_3_1_4_dmcub.bin either > amdgpu/dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/amdgpu/dcn_3_1_4_dmcub.bin either > amdgpu_dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/amdgpu_dcn_3_1_4_dmcub.bin either > drmn0: successfully loaded firmware image 'amdgpu/dcn_3_1_4_dmcub.bin' > [drm] Loading DMUB firmware via PSP: version=3D0x08001B00 > gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_imu.bin either > amdgpu/gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_imu.bin either > amdgpu_gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_imu.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_imu.bin' > gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_pfp.bin either > amdgpu/gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_pfp.bin either > amdgpu_gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_pfp.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_pfp.bin' > gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_me.bin either > amdgpu/gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_me.bin either > amdgpu_gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_me.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_me.bin' > gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_rlc.bin either > amdgpu/gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_rlc.bin either > amdgpu_gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_rlc.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_rlc.bin' > gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_mec.bin either > amdgpu/gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mec.bin either > amdgpu_gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mec.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mec.bin' > sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/sdma_6_0_1.bin either > amdgpu/sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/amdgpu/sdma_6_0_1.bin either > amdgpu_sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/amdgpu_sdma_6_0_1.bin either > drmn0: successfully loaded firmware image 'amdgpu/sdma_6_0_1.bin' > vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/vcn_4_0_2.bin either > amdgpu/vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/amdgpu/vcn_4_0_2.bin either > amdgpu_vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/amdgpu_vcn_4_0_2.bin either > drmn0: successfully loaded firmware image 'amdgpu/vcn_4_0_2.bin' > [drm] Found VCN firmware Version ENC: 1.10 DEC: 5 VEP: 0 Revision: 0 > drmn0: Will use PSP to load VCN firmware > [drm] max_doorbell_slices=3D255 > [drm] reserve 0x4a00000 from 0x8010000000 for PSP TMR > drmn0: RAS: optional ras ta ucode is not available > drmn0: RAP: optional rap ta ucode is not available > drmn0: SECUREDISPLAY: securedisplay ta ucode is not available > drmn0: SMU is initialized successfully! > [drm] Display Core initialized with v3.2.207! > [drm] DMUB hardware initialized: version=3D0x08001B00 > lkpi_iic0: on drmn0 > iicbus0: on lkpi_iic0 > iic0: on iicbus0 > [drm] PSR support 1, DC PSR ver 1, sink PSR ver 4 DPCD caps 0x3a > su_y_granularity 4 > lkpi_iic1: on drmn0 > iicbus1: on lkpi_iic1 > iic1: on iicbus1 > lkpi_iic2: on drmn0 > iicbus2: on lkpi_iic2 > iic2: on iicbus2 > lkpi_iic3: on drmn0 > iicbus3: on lkpi_iic3 > iic3: on iicbus3 > lkpi_iic4: on drmn0 > iicbus4: on lkpi_iic4 > iic4: on iicbus4 > lkpi_iic5: on drmn0 > iicbus5: on lkpi_iic5 > iic5: on iicbus5 > lkpi_iic6: on drmn0 > iicbus6: on lkpi_iic6 > iic6: on iicbus6 > lkpi_iic7: on drmn0 > iicbus7: on lkpi_iic7 > iic7: on iicbus7 > [drm] kiq ring mec 3 pipe 1 q 0 > [drm] VCN decode and encode initialized successfully(under DPG Mode). > drmn0: [drm] jpeg_v4_0_hw_initdrmn0: SE 1, SH per SE 2, CU per SH 6, > active_cu_number 4 > drmn0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0 > drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 > drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 > drmn0: ring comp_1.2.0 uses VM inv eng 6 on hub 0 > drmn0: ring comp_1.3.0 uses VM inv eng 7 on hub 0 > drmn0: ring comp_1.0.1 uses VM inv eng 8 on hub 0 > drmn0: ring comp_1.1.1 uses VM inv eng 9 on hub 0 > drmn0: ring comp_1.2.1 uses VM inv eng 10 on hub 0 > drmn0: ring comp_1.3.1 uses VM inv eng 11 on hub 0 > drmn0: ring sdma0 uses VM inv eng 12 on hub 0 > drmn0: ring vcn_unified_0 uses VM inv eng 0 on hub 1 > drmn0: ring jpeg_dec uses VM inv eng 1 on hub 1 > drmn0: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0 > [drm] ring gfx_32768.1.1 was added > [drm] ring compute_32768.2.2 was added > [drm] ring sdma_32768.3.3 was added > [drm] ring gfx_32768.1.1 test pass > [drm] ring gfx_32768.1.1 ib test pass > [drm] ring compute_32768.2.2 test pass > [drm] ring compute_32768.2.2 ib test pass > [drm] ring sdma_32768.3.3 test pass > [drm] ring sdma_32768.3.3 ib test pass > vgapci0: child drmn0 requested pci_get_powerstate > sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! > lkpi_iic8: on drm1 > iicbus8: on lkpi_iic8 > iic8: on iicbus8 > lkpi_iic9: on drm3 > iicbus9: on lkpi_iic9 > iic9: on iicbus9 > lkpi_iic10: on drm4 > iicbus10: on lkpi_iic10 > iic10: on iicbus10 > lkpi_iic11: on drm5 > iicbus11: on lkpi_iic11 > iic11: on iicbus11 > lkpi_iic12: on drm6 > iicbus12: on lkpi_iic12 > iic12: on iicbus12 > lkpi_iic13: on drm7 > iicbus13: on lkpi_iic13 > iic13: on iicbus13 > lkpi_iic14: on drm8 > iicbus14: on lkpi_iic14 > iic14: on iicbus14 > [drm] Initialized amdgpu 3.49.0 20150101 for drmn0 on minor 0 > VT: Replacing driver "efifb" with new "drmfb". > [drm] DSC precompute is not needed. > start FB_INFO: > height=3D1600 width=3D2560 depth=3D32 > pbase=3D0x0 vbase=3D0xfffffe014d00c000 > name=3Ddrmn0 id=3Damdgpudrmfb flags=3D0x0 stride=3D10240 > end FB_INFO > intsmb0: at device 20.0 on pci0 > smbus0: on intsmb0 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > driver bug: Unable to set devclass (class: ppc devname: (unknown)) > ig4iic0: iomem 0xfedc5000-0xfedc5fff irq 6 = on acpi0 > iicbus15: on ig4iic0 > iicbus15: at addr 0x15 > iic15: on iicbus15 > acpi_wmi0: on acpi0 > acpi_wmi0: Embedded MOF found > ACPI: \134_SB.AMW0.WQDD: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi1: on acpi0 > acpi_wmi1: Embedded MOF found > ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi2: on acpi0 > acpi_wmi2: Embedded MOF found > ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi3: on acpi0 > acpi_wmi3: Embedded MOF found > ACPI: \134_SB.CPWM.WQBB: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi4: on acpi0 > acpi_wmi4: Embedded MOF found > ACPI: \134_SB.WMID.WQAB: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > driver bug: Unable to set devclass (class: ppc devname: (unknown)) > lo0: link state changed to UP > ubt0 on uhub0 > ubt0: 1> on usbus0 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ums0 on uhub5 > ums0: 5> on usbus3 > ums0: 5 buttons and [XYZT] coordinates ID=3D1 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ure0 on uhub7 > ure0: = on usbus3 > iichid0: at addr 0x15 on = iicbus15 > iichid0: Interrupt setup failed. Fallback to sampling > hidbus0: on iichid0 > miibus0: on ure0 > rgephy0: PHY 0 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT-FDX, 1000baseT-FDX-master, auto > ue0: on ure0 > ue0: Ethernet address: 48:65:ee:10:9d:fa > ue0: link state changed to DOWN > ng_hci_process_command_timeout: ubt0hci - unable to complete HCI > command OGF=3D0x3, OCF=3D0x3. Timeout > hms0: on hidbus0 > hms0: 2 buttons and [XY] coordinates ID=3D1 > hmt0: on hidbus0 > hconf0: on hidbus0 > hmt0: Multitouch touchpad with 0 external buttons, click-pad > hmt0: 5 contacts with [C] properties. Report range [0:0] - [3831:2424] > ue0: link state changed to UP > ue0: link state changed to DOWN > ue0: link state changed to UP >=20 >=20 >=20 > pciconf -lv > ppt0@pci0:1:0:0: class=3D0x028000 rev=3D0x02 hdr=3D0x00 = vendor=3D0x14c3 > device=3D0x0616 subvendor=3D0x14c3 subdevice=3D0x223c > vendor =3D 'MEDIATEK Corp.' > device =3D 'MT7922 802.11ax PCI Express Wireless Network = Adapter' > class =3D network >=20 >=20 >=20 > /boot/loader.conf > hw.vmm.amdvi.enable=3D"1" > vmm_load=3D"YES" > pptdevs=3D"1/0/0" >=20 > Please let me know if there's additional information I can provide. > --=20 > Thanks > Peter >=20 From nobody Sat Apr 20 20:48:40 2024 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 4VMNsL70k7z5JR6R for ; Sat, 20 Apr 2024 20:48:54 +0000 (UTC) (envelope-from feurry@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMNsJ6Frwz4XCQ for ; Sat, 20 Apr 2024 20:48:52 +0000 (UTC) (envelope-from feurry@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=XNjw6Wnu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of feurry@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=feurry@gmail.com Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7da3ec3e044so104693239f.2 for ; Sat, 20 Apr 2024 13:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713646131; x=1714250931; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Kx4GJplSnLs3TqFQjuEqonxoTyJW82y7PpkF3Ab5eHQ=; b=XNjw6WnuSFDoPnBZVz2wDkflfPtG92RmQCP8bOAZn74B93b7FBKg/5V7jLcNKn80HB OX3IM+0i0Q/mzsUEjUq+HGavSU/KOPQJjA4jfa6zGpRjtZkbO9DPFpokrjndq6LYAmnc BKjAQuzxKr6XnN0Q9a+co4Ue2MK8ZUinyQV1tPVsQcgzYYd1G1bcd9vGv4xrfUIl08ST YZHfuO/1iJ/ZGRt3bHtv+xNsCLVMP/G62dtB45k0NbxJSQtN3grBJ94kauuhfbo/EX0W MpvvsGDcZY3/RCHa3nxssSzzRmMBFDtEnZcPpbsT1wJwbaBxQiRY15ycIFVd8ZnLND6L lNaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713646131; x=1714250931; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Kx4GJplSnLs3TqFQjuEqonxoTyJW82y7PpkF3Ab5eHQ=; b=PngyEUXzjavxZ9yRalaVfnU+BGcmmxHgcF10w8UfLTKTGVcPEZ90cFgtof1nRjje+9 89TrdwgB5wUsYMqeoMgLSej2MaLodiOxRZ2KxRL/PXOktvLO0VUJrtj+TuUpF09+veKN gs8m170++Z/JrSxEcQlsRJvtg0buZuhpyJOLp6LwC1OHZAq1DyDvD3bvXG+VR/umkv3L oShMcDL/tViNRpvzRNqvjNkb45KFMgT0U8Aw1Y3bX6FKgoBXCfOznC2jUleLbVyrN7cx Mxt48Ile4MNHC60S9GB7kx2xANDRLniiddViyxrXru1DCBm/TShs7AeyakHstJ+6v3l4 mU8Q== X-Gm-Message-State: AOJu0YzSsnkLZ/q+fhN4RazwzEZPWWZCuvMIO3VE/IqhvWV3s7Fcn+xo 74WCfdUP11sGgbjNrwezY18kXYguzTj8g2BFJjMjWu1TB3LD+Ai7AazSlkVxfOZTB6mWnYsbT6T X6qVTx86TRNHzzaDYQTfduff+rjCNZEg6 X-Google-Smtp-Source: AGHT+IG4iPowNu6gQa3hZMKRcr0FR/enWwD8pSxg6jDNslnE2wK5VlG76pN6bSykHLibxl71r1obJ4ZQtzDOoNMR9v4= X-Received: by 2002:a05:6602:3347:b0:7da:2150:6aaf with SMTP id c7-20020a056602334700b007da21506aafmr6737192ioz.15.1713646131013; Sat, 20 Apr 2024 13:48:51 -0700 (PDT) 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 References: In-Reply-To: From: Peter Miller Date: Sat, 20 Apr 2024 15:48:40 -0500 Message-ID: Subject: Re: pci passthrough Mediatek MT7922 doesn't work To: freebsd-virtualization@freebsd.org Cc: Bakul Shah Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.03)[0.031]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d36:from] X-Rspamd-Queue-Id: 4VMNsJ6Frwz4XCQ doas sh -x /usr/share/examples/bhyve/vmrun.sh -p 1/0/0 -d FreeBSD-14.0-STABLE-amd64.raw vm0 Loading kernel... /boot/kernel/kernel text=0x17be70 text=0xd75798 text=0x4254ec data=0x180 data=0x1866b0+0x478950 0x8+0x1894e0+0x8+0x1acde2\ Loading configured modules... /etc/hostid size=0x25 /boot/entropy size=0x1000 + bhyve_exit=0 + [ 0 -ne 0 ] + nextslot=2 + devargs='' + i=0 + [ 0 -lt 1 ] + eval 'tapname=$tap_dev0' + tapname=tap0 + devargs=' -s 2:0,virtio-net,tap0 ' + nextslot=3 + i=1 + [ 1 -lt 1 ] + i=0 + [ 0 -lt 1 ] + eval 'disk=$disk_dev0' + disk=FreeBSD-14.0-STABLE-amd64.raw + eval 'opts=$disk_opts0' + opts='' + make_and_check_diskdev FreeBSD-14.0-STABLE-amd64.raw + local 'virtio_diskdev=FreeBSD-14.0-STABLE-amd64.raw' + [ ! -e FreeBSD-14.0-STABLE-amd64.raw ] + [ ! -r FreeBSD-14.0-STABLE-amd64.raw ] + [ ! -w FreeBSD-14.0-STABLE-amd64.raw ] + devargs=' -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,FreeBSD-14.0-STABLE-amd64.raw ' + nextslot=4 + i=1 + [ 1 -lt 1 ] + i=0 + [ 0 -lt 1 ] + eval 'pass=$pass_dev0' + pass=1/0/0 + echo 1/0/0 + grep '^[0-9]\+/[0-9]\+/[0-9]\+$' + bsfform=1/0/0 + [ -z 1/0/0 ] + bsf=1/0/0 + devargs=' -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,FreeBSD-14.0-STABLE-amd64.raw -s 4:0,passthru,1/0/0 ' + nextslot=5 + i=1 + [ 1 -lt 1 ] + efiargs='' + [ 0 -gt 0 ] + /usr/sbin/bhyve -c 2 -m 512M -H -A -P -S -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,FreeBSD-14.0-STABLE-amd64.raw -s 4:0,passthru,1/0/0 -l com1,stdio vm0 ---<>--- Copyright (c) 1992-2023 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-STABLE #0 stable/14-n267376-ca8e2e4c91cc: Thu Apr 18 05:55:35 UTC 2024 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) VT: init without driver. CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.09-MHz K8-class CPU) Origin="AuthenticAMD" Id=0xa70f41 Family=0x19 Model=0x74 Stepping=1 Features=0x1783fbff Features2=0xfed83203 AMD Features=0x26500800 AMD Features2=0x444231fb Structured Extended Features=0xf01703a9 Structured Extended Features2=0x600 XSAVE Features=0x1 AMD Extended Feature Extensions ID EBX=0x7 TSC: P-state invariant Hypervisor: Origin = "bhyve bhyve " real memory = 536870912 (512 MB) avail memory = 482742272 (460 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-31 Launching APs: 1 random: entropy device external interface kbd1 at kbdmux0 smbios0: at iomem 0xf1000-0xf101e smbios0: Version: 2.6, BCD Revision: 2.6 aesni0: acpi0: acpi0: Power Button (fixed) atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 16777216 Hz quality 950 Event timer "HPET" frequency 16777216 Hz quality 550 Event timer "HPET1" frequency 16777216 Hz quality 450 Event timer "HPET2" frequency 16777216 Hz quality 450 Event timer "HPET3" frequency 16777216 Hz quality 450 Event timer "HPET4" frequency 16777216 Hz quality 450 Event timer "HPET5" frequency 16777216 Hz quality 450 Event timer "HPET6" frequency 16777216 Hz quality 450 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 virtio_pci0: port 0x2080-0x20bf mem 0xc0108000-0xc0109fff irq 16 at device 2.0 on pci0 vtnet0: on virtio_pci0 vtnet0: Ethernet address: 00:a0:98:f0:55:05 vtnet0: netmap queues/slots: TX 1/1024, RX 1/512 000.000148 [ 452] vtnet_netmap_attach vtnet attached txq=1, txd=1024 rxq=1, rxd=512 virtio_pci1: port 0x2000-0x207f mem 0xc010a000-0xc010bfff irq 17 at device 3.0 on pci0 vtblk0: on virtio_pci1 vtblk0: 6176MB (12649685 512 byte sectors) vmgenc0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] driver bug: Unable to set devclass (class: atkbdc devname: (unknown)) Unhandled ps2 mouse command 0xe1 psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 15.0. psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart2: <16550 or compatible> port 0x3e8-0x3ef irq 4 on acpi0 uart3: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff pnpid PNP0900 on isa0 Timecounter "TSC-low" frequency 1596990008 Hz quality 1000 Timecounters tick every 10.000 msec usb_needs_explore_all: no devclass Trying to mount root from ufs:/dev/gpt/rootfs [rw]... Setting hostuuid: 60235bf5-9aa4-4048-a911-ef52282ae663. Setting hostid: 0x0e7c51ad. Starting file system checks: /dev/gpt/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/gpt/rootfs: clean, 375808 free (16 frags, 46974 blocks, 0.0% fragmentation) /dev/gpt/efiesp: FILESYSTEM CLEAN; SKIPPING CHECKS Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat 32-bit compatibility ldconfig path: /usr/lib32 /usr/lib32 Setting hostname: freebsd. Setting up harvesting: PURE_VMGENID,PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . lo0: link state changed to UP vtnet0: link state changed to UP Starting Network: lo0 vtnet0. lo0: flags=1008049 metric 0 mtu 16384 options=680003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 groups: lo nd6 options=23 vtnet0: flags=1008843 metric 0 mtu 1500 options=80028 ether 00:a0:98:f0:55:05 inet6 fe80::2a0:98ff:fef0:5505%vtnet0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=23 Starting devd. Starting dhclient. DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 14 No DHCPOFFERS received. No working leases in persistent database - sleeping. Waiting 30s for the default route interface: ............................. add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Updating /var/run/os-release done. Clearing /tmp (X related). Updating motd:. Creating and/or trimming log files. Starting syslogd. Mounting late filesystems:. Starting cron. Starting background file system checks in 60 seconds. Sat Apr 20 15:41:33 UTC 2024 FreeBSD/amd64 (freebsd) (ttyu0) login: From nobody Sun Apr 21 21:00:59 2024 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 4VN14r3DWcz5Hm93 for ; Sun, 21 Apr 2024 21:01: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VN14q3zXPz40sR for ; Sun, 21 Apr 2024 21:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713733259; a=rsa-sha256; cv=none; b=ptzKjxY5H0QMpXeHu9xTVZO8KczQIITFzrx+pCq5pJNvBZEZtNuOvnL+0tm6cJgSH+461S F9RxoBwXCK0shJIHMGP+LmDLBavI8z05DkhoLl70NinYxlSU04VTTQgtJLjcSlpRTl0npF ibZLuTT4o6hcwCts9MNkSBx3EU8dusiTJoNZ+GFAMa/c/FOetd3Te9kjLgDHUOyB2M/HrK jO0BZEONMLzQexVDMauzsWNJ0MiN7FylqDFFSMZYKqajSODt9i178IjZaHwLohtvpiSozS P9V3o/IApBvhI8pVgUfDhvxlIYZOUvfNgYn0xXHLPVtkSqVMMX3qeVYRMJ7M7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713733259; 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=T8xiRMnLh5JTx5+WmhJLWH3DO9aJZoDi7UEKy9rxeSs=; b=dcSNEFXlR307LUblDzrz530ZAMXuqUIwGZSb/ASq0vLnqAjGVkYzwo9mcYXD1sOZG8IVu4 1c5ETY0ZUnKxfqSNgpIj0G4bunCCGf+HpT7h3IYXGRoq3rA1sqWRoXpwGW1Ol4ZAWXWpNe +80Jrzo3fEhUfzltrZId2hbJM5060NjCI4HTQ2WuAFWP4/Wfix6eR+1tTt6QiDt3OL7psq xFSUgwgHakr1lHcfW3z1r0Na+jEzR9ZV4Yn7FBRz7CY9FXvRkzmEz7xZ8ezGPUnDyFi4lf 4UPs7XY35PWpZBIaWE6RNyRt1BZnX4VQ3yFZZNkxekbDcA0Hj7foCjqqjDckcQ== 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 4VN14q3XjbzLFK for ; Sun, 21 Apr 2024 21:00: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 43LL0xIb007574 for ; Sun, 21 Apr 2024 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43LL0xSg007518 for virtualization@FreeBSD.org; Sun, 21 Apr 2024 21:00:59 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202404212100.43LL0xSg007518@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 21 Apr 2024 21:00:59 +0000 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: multipart/alternative; boundary="17137332591.8B97B3CE.93982" Content-Transfer-Encoding: 7bit --17137332591.8B97B3CE.93982 Date: Sun, 21 Apr 2024 21:00:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 264267 | UEFI Booting on Azure Generation 2 VMs crashes 1 problems total for which you should take action. --17137332591.8B97B3CE.93982 Date: Sun, 21 Apr 2024 21:00:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    264267 | UEFI Booting on Azure Generation 2 VMs crashes

1 problems total for which you should take action.
--17137332591.8B97B3CE.93982--