From nobody Tue Sep 5 16:28:57 2023 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 4Rg9tf0rSfz4rlt6 for ; Tue, 5 Sep 2023 16:28:58 +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 4Rg9td6wrZz4mqZ for ; Tue, 5 Sep 2023 16:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693931338; a=rsa-sha256; cv=none; b=LY7T4sJrZiCpDJgcYdWN2nylm19v4H+XPbd6qkMwuWfrPIhje/OJtUfevK3sL2/UnAH8GU tfTfENIQu0Ec/Ms6KuRwYlT+FmK/bTP2+5zMRHn6q4YrsrT1TsdEm0E4+Mh5BhCNshuvfL eGFJy6NCICNt6lkjeCtkXz4wtpF0h60b8bRcc/omWpLWrRc/iTuomFeHUF9xh+u2Spghj+ 85qcdfnNWFoqWyClhTTQ1ErR04JbEXgoGc5XQmo4BYroU5k6d1JXA2byYzBn4WUqIvrXSS 4QdGBoYUuf5fbKVVQi6qyoazgy41X5THNarVbeVeoNpYVk/egrKWmpxJe3Pq/A== 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=1693931338; 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=hhEXHtTJh65RSLTJbaRxEsMoIYZNGrXxuxCiH1HupZI=; b=ARMlfgnQqwqO25ryNlD11Kg+9IZ/V9rLClaixvyV4QxCtTvwEGVs9jmRTPwwwLVqcZ2SBO YQuTaiYzWXH61cPljrX3VBl96CuqJsMd3vW5mRQlvWstGKH+W26496paxr42E+hFE8xuLZ HkVTFmDRn/bKU4wO4TmDnzs76itMw7RLq3EySo+/R4pOPAYGIRwJhbQQ+Kkn2GSd7lk5Qt C/Ci3Ms0GKdm8yqcxn92ECNjlPUHp7ZPz5bZlPaa6/I4WpsErStLcEHfGjrGPcQM5JpU5e SoHtHe2HHl4GHHGs0MuqHFh3OKiHoelj/ju1ymSxatlAskrcPwQFabolUKi/PQ== 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 4Rg9td5tVJzgM0 for ; Tue, 5 Sep 2023 16:28:57 +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 385GSvoF014078 for ; Tue, 5 Sep 2023 16:28:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 385GSvZ9014077 for virtualization@FreeBSD.org; Tue, 5 Sep 2023 16:28:57 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 273372] SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset Date: Tue, 05 Sep 2023 16:28:57 +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.2-RELEASE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: np@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273372 Navdeep Parhar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |np@FreeBSD.org --- Comment #2 from Navdeep Parhar --- I tried 13.2 as well as 14.0-alpha3 on bare metal running 13.2 and 14.0-alp= ha3 inside bhyve VMs. The host creates VF devices from a T520 and passes them through -- one to each VM. The cxgbev VF driver inside the VM worked prope= rly in all cases. The only bug I ran into was the kernel creating unusable VFs for a card in a particular slot. It was fixed in https://cgit.freebsd.org/src/commit/?id=3D7063f94283af60818429a0c2d70e80ae4= ad5c146 That is not the root cause of this problem. Can you please try these to debug your problem further: 1. Reduce num_vfs to 2 or 4 (from 14) temporarily, for testing. 2. When the problem occurs, grab the device log _before_ attempting any ifconfig down/up. sysctl -n dev.t5nex.0.misc.devlog --=20 You are receiving this mail because: You are the assignee for the bug.=