From nobody Fri Apr 28 09:33:12 2023 X-Original-To: bugs@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 4Q76pw3ZVRz48Fbq for ; Fri, 28 Apr 2023 09:33:12 +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 4Q76pw2YFmz4c8k for ; Fri, 28 Apr 2023 09:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682674392; 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=AnN9e4bARIiJIfP1x2x4tkomjYpT2o8g2aoqPwE/pLA=; b=nGt+ImJe463Gpi0AJHo9PciHEaHDjHeFVi0peJQ6kquAPhmVoMRZGUe2kvO+AmRRAu5kNb Kvt+nJ4i62Jyg6Z4gobzg6fpd/Fx+EwJtE3N8yBPmAh9kwZIrjRLgwudx+dTHtDRcAGPbE f+cnwui4Eqx4lxrlpCMC43by3ZXLku4+yOfKrvW+cXLtrfjKtO/WJIicKx8ag5WDXHV+at IS8lloT3gsfXE7fRIWh0sShPzByzPopr+UIlvjCwmLymtAoM4VJKNx+nMdrzh7SO0izEsK WU6x+Z3XXhw0sbTAd7hsAJXPWkpXb/IsyLk4tIX35luti+LfYSr4pSnIIsjnuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682674392; a=rsa-sha256; cv=none; b=wcjQt7/KRt4Scu2hODyqd/CePcJP1gxR1hbSNHYVW6PkVWaY/5Ei37B2Ct/RV20zGMCcTY wD9HHs6q51Q5n3nWqOL2a9khg7J0oBDmziawwo+mQi7qAxaCSe20Jto0qBK8gbAsZFoJbe M8YvhU293WLi4FbXiFTF8obhl+Rd4c8cAma2960RA+yqX3UhnKc9fr5OFBslzZUbYJojCM btCQQxpnb8y0W5fErTE7ITwAP28/w5DUkHFDQBIXCjV7evK1AGL17JXo7PgWOmIvW+HVkm Kcb12cADr1c1OOncXg1t1WiWXOB8V/WHJh2IAVX1fJi6hbvMB2r9fXooARIWnw== 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 4Q76pw1gHhzvBq for ; Fri, 28 Apr 2023 09:33:12 +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 33S9XCOF043755 for ; Fri, 28 Apr 2023 09:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33S9XCcR043754 for bugs@FreeBSD.org; Fri, 28 Apr 2023 09:33:12 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: bugs@FreeBSD.org Subject: [Bug 271101] cxgbe(4): panic due to lock recursion while creating tracing interface Date: Fri, 28 Apr 2023 09:33:12 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271101 --- Comment #3 from Alexander V. Chernikov --- (In reply to Navdeep Parhar from comment #2) Ack. The reason is that t4_tracer is using older 13.x cloner KPI. The new K= PI requires the creation function to provide pointer to the created ifnet and = 13.x wrapper tries to guess it by using the requested interface name. As t4_tracer uses different name ('if_initname(ifp, name, ifd->unit);') and does not update the provided name pointer, the search fails, resulting in t= he panic later on. I've created https://reviews.freebsd.org/D39865 to switch t4_tracer to the = new KPI. Afer the conversion, I'm going to delete if_clone_advanced() functions in H= EAD, as t4_tracer is the only remaining customer. --=20 You are receiving this mail because: You are the assignee for the bug.=