From nobody Fri Dec 08 14:10:09 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 4SmtM54LlTz5425K for ; Fri, 8 Dec 2023 14:10:09 +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 4SmtM52H4yz4YKR for ; Fri, 8 Dec 2023 14:10:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702044609; a=rsa-sha256; cv=none; b=O98nvGrFGg0densqioRHC8SMU0/5X0WNbpSS0PIM+P6jrX7Bq/coPXYV0dmkBs3A/e6odQ 8SThfSNhrBnbg4OReEAn/7U2Dq5+9oynpS3o4s8PhqqEqGU0A7RpY6grnbWk9hyM2TKaYr rwn4FpqK2nns1bz9Hy7zxACHaG5oeV/JzmFG4PCftNUqPnYBYyQwyO4kT70nF4A66GFDQS 7GkIP4NWRMhvusJEizZO9sQvbZutVM+fOrhVo4LwbStFBrGLXA503T+0v0pfJXhqjwm8b8 PCycEzUnNLoqU4QJM6w8qRBV++wzSRlByxYECZsVlx05q+kCa6AC1B3ui7ObNw== 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=1702044609; 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=5ML4P2GUTBcCgxFDllIW0DtQT4dkhrVXL7hbKvtJlfo=; b=Io669lLuvaTIKmN8R4ToDr10+C7nTkXoJt+sFWwe3PUlnbjc9Sb660lgPyokPBiw8jeN1S H0bJ2An5+7xn9VjVqV3sgBT43x6ctJ9+Sm3jSwurf5jaMCv2yPpx93kd5GwrlT4kTbsVKb 7yPm+wjUh5VeajppMDIJ4t/G/GPTYZKZc8WcfmKhdpaTBctnisYkMrFMaTBxTbhkHZZWze YyHzFIzqUMCPBAJ9mYr0raGrnlr4nHWZ6iykPHk7/eivRTUr7Gk8KDb5rlRmYzYlnm2NTt Kx0dhSdQGv6oca3w+pf6UDrr0l9X8zrod81MOhRhdGXov+ZaoOT4K3Eajy9Bsw== 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 4SmtM51Mjkz8ZK for ; Fri, 8 Dec 2023 14:10:09 +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 3B8EA9jQ044589 for ; Fri, 8 Dec 2023 14:10:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B8EA9Va044588 for virtualization@FreeBSD.org; Fri, 8 Dec 2023 14:10:09 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: Fri, 08 Dec 2023 14: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: 14.0-STABLE X-Bugzilla-Keywords: bhyve, crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mark@markmcb.com 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: 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 --- Comment #9 from Mark McBride --- More data (as of 14.0-RELEASE-p2) Bug still present. I reversed my testing to see how things would go with a VM-first approach. * I disabled all jails * I set SR-IOV on each of 2 NIC ports to 2 passthrough, 4 non-passthrough. Altogether, 12 VFs on 2 PFs. * I set the processor's iGPU device and 4 NIC passthrough VFs for passthrou= gh in /boot/loader.conf via pptdevs=3D * I started a Debian VM (gpu + VF) and FreeBSD VM (VF) using vm-bhyve Everything works fine. Both VMs start, I can see the GPU and setup networki= ng on the VFs in Debian. And networking is fine in FreeBSD. No issues after several hours. However, starting any jail using an SR-IOV VF will bring it all down. * I config jails.conf with 1 jail: vnet; vnet.interface =3D "cxlv0"; * I start the jail Almost immediately the Chelsio card fails. As usual, I can connect to the system via serial console and all seems well except networking is dead. In summary, I can create VMs, or I can create jails. The first will succeed, and the second will trigger failure. --=20 You are receiving this mail because: You are the assignee for the bug.=