From nobody Tue May 07 15:46:46 2024 X-Original-To: wireless@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 4VYjLt64vdz5J52S for ; Tue, 07 May 2024 15:46:46 +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 4VYjLt3xTFz4N5j for ; Tue, 7 May 2024 15:46:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715096806; a=rsa-sha256; cv=none; b=k+QmYpEp3mlUBSHIB6h0EYxGVw9itJxthW+SCxHPwLbYwDMkDtjVZLVoVqAs+dSgkeTrvG 8LqEb7Srfs83DRjE/XgR88zWW58wP1JZ/nqXdETx0kaDbxqYBAW6sOUYjfp1Q6gS1NWCkv Q231DRg9LWTlKdorCMEZNiFwwTesrN/NNRwIPlLAYw1jjPiLFnJ9o4rvS1cuNMBe+f9TsL Wi7cBZd6UHbkqJKjtCEd5W5OIvvdxCOULU5E4NaMdwz3jp4qpDrxo9N1/nET+7JSUIGDSS +yE3GqOLI/UV24NY3CnzEZ7tsijKrufIzHwzg3YJLa1duq0e8BA2bPXPk+TCcg== 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=1715096806; 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=iFS8QpNLmScIMfHKcdB2lXtEqPL4nwzkT/xka490MJY=; b=kqBw0I9d6cfvGcPCdBuCiqLtY8b6FdDFUFBbx3nhjusbbV+6QdKYKpPsP4yiM1cobgae8v YbSWen0pw1Ny7Ae2XhvNoZbfpw3bEPeEnxsSSGXu8X/2nbBRYlRZ7I35thIoSgpaZrdoww oiedqFBv8ylD64y1VLKKlZBebAsUeRAYNn3+0UWAy23vzo9Sh48eAH1Ku2I2ozHUPmDn90 Q9A408gLPkaS+p+pqiE2uTsOao3rT4Q3JQQKfVbdT6HcJzSNveBzi0qIrSllxy0l0ZThJA EgcPC4zckR4WQxmM3KLuOfvnBvSUqYQMflwB2OeMe/kPhW4/p04v8a8cEMPseA== 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 4VYjLt3QqRznLM for ; Tue, 7 May 2024 15:46:46 +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 447FkkRO087972 for ; Tue, 7 May 2024 15:46:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 447FkkjU087969 for wireless@FreeBSD.org; Tue, 7 May 2024 15:46:46 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: wireless@FreeBSD.org Subject: [Bug 278655] net80211: psq cleanup bug Date: Tue, 07 May 2024 15:46:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ambrisko@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278655 --- Comment #4 from Doug Ambrisko --- Created attachment 250517 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250517&action= =3Dedit After running my "panic.sh" script several times I hit the cb run after loc= k is destroyed. The script I use to trigger the panic is #!/bin/sh set -x=20 sync; sync; sync sudo /bin/echo || exit 1 sudo /etc/rc.d/dhclient stop wlan0 sudo /etc/rc.d/wpa_supplicant stop wlan0 sleep 1 sudo killall -9 wpa_supplicant sleep 2 sudo ifconfig wlan0 destroy if kldstat | grep iwlwifi then sudo devctl detach `pciconf -l | awk '/iwlwifi/ { print $1 }' | sed= -e 's/:$//' -e 's/^.*@//'` fi sudo kldunload if_iwlwifi.ko=20 sudo kldload if_iwlwifi.ko sudo ifconfig wlan0 create wlandev iwlwifi0 wlanmode sta regdomain FCC coun= try US sleep 1 sudo /etc/rc.d/wpa_supplicant restart wlan0 sleep 1 ifconfig wlan0 sleep 1 ifconfig wlan0 sleep 10 It doesn't happen every time. I added debug printf's to trace where the ca= ll back gets registered and run after the lock is destroyed. I've also seen what appears to be leaking in that the init for the psq lock= is called more then the clean up. I don't have that printf enabled in this lo= g. --=20 You are receiving this mail because: You are the assignee for the bug.=