From nobody Tue Feb 13 23:54:21 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 4TZJ910gGpz5B76h for ; Tue, 13 Feb 2024 23:55:01 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 4TZJ902Pplz4nLX for ; Tue, 13 Feb 2024 23:55:00 +0000 (UTC) (envelope-from ccfreebsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of ccfreebsd@gmail.com designates 209.85.167.50 as permitted sender) smtp.mailfrom=ccfreebsd@gmail.com Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-5114fa38434so5478147e87.0 for ; Tue, 13 Feb 2024 15:55:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707868498; x=1708473298; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IyilbSMlasys6Srq+y8HZ59R3kOwBRH8/7ttHggvzAM=; b=qZ9LT62ohZh+ivTFUHggGVAniD67kZ1mVlzl/QQYRMjvDUd/BgMgyuY2H7criSIW5z 7m4rlEcGsRZeVMZf3/KV04b7dBcWBIS3rQ8iqsp8Ey3PHmHkUXtyz1QvBtcoH/w1lwHp +/ladkyP2LDZGC9FzowfrbmZAdKhQ3l+So6zNAxbfUE7EPhbVqz2KzZj6Mh8qxIHd9ir bvkv3VwtF9v8swdmNMSkFnXTs51gqMiivTRrrOa3o7xEx9EwYQeNDg4WvSaxsAyljZWD qOV+55OIElHzOhzjuyrnCC5qehy/OXa363neIkU5L9rJCdwjtIbDCEB0CjGQJskoNrIH 6oEg== X-Gm-Message-State: AOJu0YzUN+fztvoLRQ73gWDE8AMI8O5MBgtCHYHyCf7zM/wFy85WOvAv 9Vdfbj77ziqMKb7twjMjul17CXm0bUI+QoDSLAD+hN9LVEEqzk1JwKuxRc14ke0= X-Google-Smtp-Source: AGHT+IH4Wo3EHVT/mJgdWwfn1RE6YqeXOPKUc36TML1+5Bas6rpODd47X3FOejfi2BTEK5EkdpslAQ== X-Received: by 2002:a05:6512:159a:b0:511:5ca2:2a3f with SMTP id bp26-20020a056512159a00b005115ca22a3fmr866094lfb.9.1707868498066; Tue, 13 Feb 2024 15:54:58 -0800 (PST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id h24-20020a0565123c9800b005118e4be4e0sm944075lfv.219.2024.02.13.15.54.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 15:54:57 -0800 (PST) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5116ec49081so5390763e87.2 for ; Tue, 13 Feb 2024 15:54:57 -0800 (PST) X-Received: by 2002:a05:6512:311c:b0:511:4b70:76ca with SMTP id n28-20020a056512311c00b005114b7076camr688360lfb.58.1707868497697; Tue, 13 Feb 2024 15:54:57 -0800 (PST) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 From: Cheng Cui Date: Tue, 13 Feb 2024 18:54:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Weekly Development report(Feb 06 ~ Feb 09) on the iwlwifi WiFi project To: wireless@freebsd.org Content-Type: multipart/alternative; boundary="00000000000020e16906114c1f80" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; FORGED_SENDER(0.30)[cc@freebsd.org,ccfreebsd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[wireless@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[cc@freebsd.org,ccfreebsd@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.50:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.50:from,209.85.167.45:received] X-Rspamd-Queue-Id: 4TZJ902Pplz4nLX --00000000000020e16906114c1f80 Content-Type: text/plain; charset="UTF-8" I took one day off last week. So I spent four days on the work. 1. After putting PR 276083 to lower priority, I tested 802.11n (11ng,11na) while disabling the functions related with ampdu_rx. The association worked and the data path was alive. However, initial performance of TCP throughput didn't look as good as it did in 802.11a/g. So I am trying to understand the traffic captured from a monitor node. 2. Meanwhile, more than half of my time was spent reviewing/testing these change requests: D43389, D43725, D43753, D43655, D43658, D43655. 3. Also during my work, I created PR276872 which was closed later. -- Best Regards, Cheng Cui --00000000000020e16906114c1f80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I took one day off last week. So I spent four days on the = work.
  1. After putting=C2=A0PR 276083=C2=A0to lo= wer priority, I tested 802.11n (11ng,11na) while disabling the functions re= lated with=C2=A0ampdu_rx. The associatio= n worked and the data path was alive. However, initial performance of TCP t= hroughput didn't look as good as it did in 802.11a/g. So I am trying to= understand the traffic captured from a monitor node.
  2. Meanwhile, more than half of my time was spent= reviewing/testing these change requests:=C2=A0D43389, D43725, D43753,=C2=A0D43655, D43658, D43655.
  3. Also during my work, I created PR= 276872 which was closed later.
--
Best Regards,
Cheng Cu= i
--00000000000020e16906114c1f80-- From nobody Wed Feb 14 14:57:23 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 4TZhBD58vpz5B4Fb for ; Wed, 14 Feb 2024 14:57: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 4TZhBD42Tyz4vNM for ; Wed, 14 Feb 2024 14:57:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707922644; a=rsa-sha256; cv=none; b=oBLtm+OA7zj+QARWVHMQM6kvVekwKAzFCa3/wtW9pOVt/lm3TRBrRdYGgtMpP8O6JT7MF4 lXod6emnMbxSuRiRso1DttPxtSpdmCKERy5NUUSc5gGPz39fdvqWytZ4yWszYt1ffxexfi F5RdP7ERfAGjANAHoTducsFJFpc3d/UxAFFZTeVSnGyXozPDnq1HQEr8peW+Y0oxVwMzzd QtsRWfkYUGmdPaHQxyVV1zKA78Ir+VQgf45WAxFgYVHVf/mBhqoZa+M4gW3qgl4nUYMus/ ksiVL8r+49tllKUfozAgqODP+N9Kh53dA0iRp9vWMtQ25UhpIViipcnpF2rZSQ== 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=1707922644; 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=538FweRDy2mTluaUqv1Ie+kp1S1Ii6yoGwWl/HLmYeA=; b=x8Zrhsc6nKc3f1FZlHD3D0SMBxKBBSRVOh3S8lbmILM2k6NQMIOG7HYOTqYgr1KfnnbwI2 Dn4oZZWnuNNCMPKg96P7MgKTz71lkUFEu8F3BYCMzxn9CNC6BINB5facN9be0Or0NYsHTQ fmx4ZwxB48MGs1pEgUF/NhIvhcEj//6sxcANfiojKAlnB8t4gcBHJcdM74LaxH5lGEh/wQ QeJyUpQSQ0SDwFrQ0NMosnDXFo9akbnt7WmPYKuKOYmU4pw4R9hqcT0lNRmm5gZY/wH5B6 lTa6Yc8cJymSF4wC4tWa1/5hSqALvrJ6xO/V1pvrzfXYsZNj21ZZggatCpCwiQ== 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 4TZhBD36Rqz12Yd for ; Wed, 14 Feb 2024 14:57:24 +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 41EEvONg047351 for ; Wed, 14 Feb 2024 14:57:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EEvOwC047350 for wireless@FreeBSD.org; Wed, 14 Feb 2024 14:57:24 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 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 14:57:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #29 from Cheng Cui --- The patches from D43389, D43725, D43753 in combination seem to work and prevented the crash "panic: lkpi_sta_auth_to_assoc" from "service netif restart" or simply booting the kernel. The patches does not prevent "please report to PR 274382" from showing up. However, I observed this strange difference among my three freebsd VMs. vm1: Feb 12 main kernel, keeps hitting the crash without the patches vm2: Feb 12 main kernel, and never hit the crash vm3: Feb 14 main kernel, and never hit the crash, on a second physical host The only different between vm1 and vm2 (they are on the same physical host)= is that vm1 was created last November, 2023 with World rebuilt that time; but = vm2 was created last week using the Feb 8 freebsd-current ISO image without rebuilding the World. The vm3 was also created in Feb without rebuilding the World. But I can't explain why the old World but new kernel will cause the problem. And I suspect that is the drm-515-kmod (as rkoberman@gmail.com mentioned) t= he culprit? I remember Ed told me before that the ports tree has drm-kmod, but could somebody help explain my suspicion, before I rebuild the drm-kmod in vm1 to verify myself? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 15:29:08 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 4TZhtt0kzGz5B8dJ for ; Wed, 14 Feb 2024 15:29: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 4TZhts3RMCz41s1 for ; Wed, 14 Feb 2024 15:29:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707924549; a=rsa-sha256; cv=none; b=jc0h4qzdrCngKNrcuSwaa/cCkxHSyBRIeuiNSJ9tBULFAAMxMpETSxFl462mXNLyKyXeqv pi67V0QMtFOOMKOQeXzPCGv6UxxxWbwAFNqpmg6iC0RdFOS4+sJCvgXMJ79cYFEgao8eAC 8z1MZA+TuVZG5oYtI7l98BqfeeM54oFddrbALpICy2Ess0jWF+iCzUhTgn3BM7pr1I0vXI jiSSuKc6AtGhGnYJ3yBI0Y3opWz+AU2WAV8gp0W3ZygaVUD7MH75sN+kgea/TDHVhmBgyA ttWG60MgYDWMGGsjXyh4kWR+3bfd/CjK38YlvkUqopzyE3F6S9fyokPT+HK/pg== 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=1707924549; 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=gAyjJUnzdVT6nOHV787y6ivr58YuRSJajgC0I+UU91Y=; b=uiglzTVosIa4c1A3oyYr9f1VHWQIkQWIMYo5gn6IwtupCUtkdnZX22iTGSYsX2cOaaj47L bsnxEgRJbeXKgKLKr26gWsdNVSvLMaHLKD8YoYy0LtKAeD6P204depCbdKQUybHRhTcy/v t7B4B/6m6jZzmFW+nE1cnhaGn3ChzOUjQ2jNkPf+Wx6goR+///wHcRuTfEp+Q1FlJTjSrD BtWX/58AKXJsBD/7j4u8XFebwEnpx7mbfxSFR5fhpJAY75bSdonj+yCVKPc69BjrqRinUg tAhAeSF+qrXTGi1DZuwH/PRKuEMvUK9fFhW05tHy5MWS1mpiVby3MHslPu+WRQ== 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 4TZhts2Wxfz13gB for ; Wed, 14 Feb 2024 15:29: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 41EFT9af004645 for ; Wed, 14 Feb 2024 15:29:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EFT9gW004644 for wireless@FreeBSD.org; Wed, 14 Feb 2024 15:29: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: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 15:29:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #30 from Bjoern A. Zeeb --- (In reply to Cheng Cui from comment #29) > [..] The patches does not prevent "please report to PR 274382" from showi= ng up. Can you reliably reproduce it? There's some more debugging to be added to = see in which state we are with the sta. > However, I observed this strange difference among my three freebsd VMs. >=20 > vm1: Feb 12 main kernel, keeps hitting the crash without the patches > vm2: Feb 12 main kernel, and never hit the crash > vm3: Feb 14 main kernel, and never hit the crash, on a second physical ho= st I think that basically explains the observations from a lot of people incl.= the problem which made it hard to track some of this down. Some people do see = the problems while others don't. Some people see if depending on timing and (radio) environment and others don't. This is why some people have been reporting "very happy" recently and others still saw crashes. It's not a deterministic setting and depends on many different things from user space = to radio. This is why the reproducer based on your observations last year was= so important. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 15:38:37 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 4TZj5n6jsVz5B9hv for ; Wed, 14 Feb 2024 15:38:37 +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 4TZj5n4bgsz42Y6 for ; Wed, 14 Feb 2024 15:38:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707925117; a=rsa-sha256; cv=none; b=srNHH+XNHx4U+3LXc3iJcKTDe5Q8VG+49D76t0EqiJM6eDYzefy3DjQ8gyM9Wlj9vrZUJP 0hEVC2YQGhMIIXSGQzDsWbXohNEURmL+3IE2jXitFtFiINZ7Pnr7lULiF3Khrvw6NAStYz z+XXmxa8MaHaqiyVm9+4586HpaLA2WE6+kEoltzb+X3HJ+LgOg8miPNa3S7vQf1SoMH6q0 7XPqKVUhtt4CF+JXVe/hUI9Brd0iwpSVDZIkGfN2UsGXOItkcvi7oX8csy1OOsn275P6D4 mPzu2W4aNY+MRjX73ckivKIJpGr51RRYb5mA3nOAqPKMBWiRbf9CEO9Vo2qOwA== 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=1707925117; 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=ggYPNbi4MfJROsWIW8DH+QkCrptulHkJ8WOmYMXYj18=; b=ECHKQUI1j4Umn/fE0XIwA7M8JGOHg8882HWHqZSV8kyGoiKU6rdu0At/oArd1lZLCuSAb9 qysd1sspbeAnx19X4fnVSi/m3rwaRi2iqshl4rhD9nPgUjdCTG8k2i4J7U1tuHn7Zk7Bvg +dQXubkMoKGouDqMpAQVkC2bRqYkwRrVA+TOlh/rK+h9eBJa7Jwq6hh7sMDBTEoWNeKSaG 8AdxOiL0AXWVLBBj128RZP3Bin9bx81JVj+BdkNE876nrXMW3t08Un/gN2zyYR7CrVJyMB dIBWlykAqTfObZXVWkbns1NvL2xq+/f3U2C9fTw44hHS23RIO4IAR7Nomu1N2A== 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 4TZj5n3YKzz13gy for ; Wed, 14 Feb 2024 15:38: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 41EFcbQN054650 for ; Wed, 14 Feb 2024 15:38:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EFcbvb054649 for wireless@FreeBSD.org; Wed, 14 Feb 2024 15:38: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: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 15:38:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #31 from Cheng Cui --- Created attachment 248461 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248461&action= =3Dedit iwl_mvm_tx_mpdu log messages --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 15:39:41 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 4TZj715cJGz5BBFs for ; Wed, 14 Feb 2024 15:39:41 +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 4TZj714ZJ0z42rk for ; Wed, 14 Feb 2024 15:39:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707925181; a=rsa-sha256; cv=none; b=BJmJGY2fP7/UH4bxHsHRSZPnZOD2Dx4ayDzjoFKhUnA8L01vzlpJtZR47p1wfC7AfIlpdb j3adFLsEIyWWHNEoI3BsBar9dcD6sZu9Oj6NC+Q9pdPM9eD5f7Wi0+XXPcADYg3WUHzYv8 6vi1dTTJCdApIKezj8h/svcOKjgDG6JRYvVIxHchO0nj35IQCsXilRUeTuJVsdPjFl3lBV tGPyYzbTaU0kSgCLlNwV0K9pa2/VmNC45Y6khEUwLeV+zw319MZjljKRiXRsYsrJMoKewz XbEzpsZNhCZvzuh+p724cKoLp8fwaHBPUIm1SaFJAs6V23Zd+w6RgfnZsM0iKg== 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=1707925181; 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=BKmK/JOuBtX9qK3KrsEQUMZrY5jGILasJ61jN4itE0w=; b=a/EwsG8ytha8uHtew7nQ5xVZ6hfgEQOnGWpvoqt2BIv+ojIu1PQi68LDfDykCBIKUhffUy L2YtIGcEtMvIvQSVZrnhBo5svFxNJnOz2mfTXKYYoIqc+aMmuEQpSP/zOSVCWqPaFmeE2K QY9u1JXknTmHpnrVUFxnPG0AKhx1TQQ9Uuz642TFuOmsrUZhjyCAZY+2+3LAlfekCqjxHN m1F6lBp+AiAt8dJlgJtzzU0RTdUhRmnQ7BOEkhv1NmrOvOMFKQTVEvl+d+2A0PsomR8Sko MlhjvIeS7a5Lltl8gK5zN6vwwxpBEPL4/JOctO3aFL2cJsGXF1/iBG/rmePyQw== 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 4TZj713gHPz13kS for ; Wed, 14 Feb 2024 15:39:41 +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 41EFdfg9058141 for ; Wed, 14 Feb 2024 15:39:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EFdfcg058136 for wireless@FreeBSD.org; Wed, 14 Feb 2024 15:39:41 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 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 15:39:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #32 from Cheng Cui --- (In reply to Bjoern A. Zeeb from comment #30) It is reliably reproduced. I have attached the "iwl_mvm_tx_mpdu log message= s" from console after running the below script. Please let me know if there is= any more log knob needed to setup. root@n1iwlvm:~ # cat test.tcsh=20 #!/bin/tcsh -f set cnt =3D $argv[1] set i =3D 0 while ($i < $cnt) @ i =3D $i + 1 echo "($i)" service netif restart && sleep 10 ifconfig wlan0 echo "run scp now" scp /tmp/data.txt root@n2fbsd:/tmp/ end root@n1iwlvm:~ # --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 15:53:30 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 4TZjQy6nRvz5BCsX for ; Wed, 14 Feb 2024 15:53:30 +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 4TZjQy5fh2z44hm for ; Wed, 14 Feb 2024 15:53:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707926010; a=rsa-sha256; cv=none; b=M6pfO9ylapuqLN78a/CkC+Rbe5+N0YPUAAc8Z1CA8NzcInyMfjjWQQCsqN48bkNk3T5211 d2ENN2NxIqEXksTfc5Ylupn584C+RiftNCQGW2nENWV2DrbMJi8gEWV32vfF6MyCJLjKTS rD+nNOr+LSQBV1BPC+hU3l1PdTGsD5q2R1yylceVwTFP4xTT8oXukGk2Mo6VC9r0IDQxSq IL5goqYQ9TR3FSChLs4mYjwuivgG0nZ5VShS8hrDzpmGlR+Kp0ph2QuDRo6b1OBb+khSuO 2uNCmeTbYCrN5jgsQycBOE2IbJVLNp50o/VuFqElD1oZ6Q1juMAqT/Re1eUmIw== 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=1707926010; 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=EO6PbOUhf5crQmk8t40BURzPyBsgthrm5lFY3nKuxy0=; b=wTqvcyA7o8B4DCTpNjjPAB73B3ln0j5fLeOCtlCO+aunU+uomKU82Xg/2bl838yk2oiIkA q/Y9K/mWOcKdS8rlnDIL4d03GMlhSzkxnN9PavF4Y1sN+iRDbfHcddq4tS/gkZ8A9uFD89 fR07FJ+s/EpaElbbTP/v4fm/3Z/TvlAf4uz6+jkTNF9eZ9CwIDrPFbNtJysHnkynTYXbqe kEfGojtkR6q7zirsx7nUHRZNrIlpPpuA8Ub+182V6AiWgice1t27kPDAen8h2NZ7yQpu4t zMb2xb4UTcE59cTsT3Co+PQuCCVSU5K1CbjKSikq6Xp7KeNCY9QYwqHZmqJTrQ== 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 4TZjQy4kFzz13tD for ; Wed, 14 Feb 2024 15:53:30 +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 41EFrUjr036021 for ; Wed, 14 Feb 2024 15:53:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EFrUD5036020 for wireless@FreeBSD.org; Wed, 14 Feb 2024 15:53:30 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 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 15:53:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #33 from Bjoern A. Zeeb --- (In reply to Cheng Cui from comment #32) Can you apply https://reviews.freebsd.org/D43879 it's not been tested or even compiled so you may have to make it work but you'll get the idea. It should dump extra sta/lsta/ni and vap/lvif state f= or us so we can see if this is just another result of the iv_bss being switched under us while we still have packets queued for tx. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 16:50:59 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 4TZkjH4cMhz50yHj for ; Wed, 14 Feb 2024 16:50: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 4TZkjH3Qskz4DjP for ; Wed, 14 Feb 2024 16:50:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707929459; a=rsa-sha256; cv=none; b=kJjnQGTNGx9F0UZRnMVodaGWDhBJMNmpCzuQ5LlsgpoBwwiJmFFkrz6Pxx8UmAxtvEt+LS dVi8cHHs2Ky78dKOo1J8Gb25L5ZiIIiNkJpVEsy4DGlZam1IKAu7ylHEf0i4+wz7FEiOTY znxD5fesbbj2SrLHetRcZoOgQipseGsUashofkaxMTrf5Twma8DNM/eFRU1zdRA8/hM7XO 2I7Gk0pacGtIyo4enZfCA9SwmOCyA8nx8D9SbSbcuq921WcSI3xwuHhCP/iiqNM7ZpQX3A PgN/CIGs8CgrsP0oHUmx7bNdZ3OsNUUzeK+1VfoLa4Z2vpopTgNbXGVP5qAXmw== 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=1707929459; 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=lwbSjWyi0xT8gVV+mDK8lKnB8/xdt7f1+HF8agQYTeg=; b=nR7EnKnuuI9XgbtdkmDtyRbfA4p+GBfd91OwHc0Pv/j7ZVV3seYKw5GJob/Np2eodpKULY H7YvxFAXPRNxzH4v3JQ+URpdN3TIC+vQ+CpycgMH4EXBJIgBlYoSvueuajdABY/ddmUEx0 sqf7RJQ9+YmCUGFWXCbBfVkH91vnCWvrjOLMMB8nHkj9KPG1+ijMpcYxDLInINwULrrymn zSuqeLd8o3zIfp/U3UfWurIF7x/HZGumW7IBH5F9s20hsd6K4I75S3X/4jGDiUSA9C7Tpq SGrfGcKpJiIcum3ifM8jZpCk5At5F4Y6OxTqyYH19gYtFKl+Onr4xM9owgtVfw== 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 4TZkjH2VS4z15vG for ; Wed, 14 Feb 2024 16:50: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 41EGoxn8025863 for ; Wed, 14 Feb 2024 16:50:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EGox1v025859 for wireless@FreeBSD.org; Wed, 14 Feb 2024 16:50: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: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 16:50:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #34 from Cheng Cui --- Created attachment 248462 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248462&action= =3Dedit repro after applying D43879 on top of D43389, D43725, D43753 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 16:54:04 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 4TZkmr39KLz510L2 for ; Wed, 14 Feb 2024 16:54:04 +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 4TZkmr0Xj8z4FCs for ; Wed, 14 Feb 2024 16:54:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707929644; a=rsa-sha256; cv=none; b=Nw5YcoRkTf40naAyYLDdkmjIwFjSksICMPkWVmGKP2p04CUxhlwB7K7Z4DRAexiXfvpmpq /VY2fN/ItVmVApX4cKaAMgmvyyCpUkjDe0xOAgz5zeV26u4k0NFZWvDt7endid7l1DGDpO +I1uW1stI0GORStXWNbPeuSCgmkJK9/L9Up99HGb3dJr1RQIz5CalRkFz73vDb9L4Dpqod pcSzSoCd7zJ/eBh1T3RAXPTVot4r/QqDF2u62ooDsWjcMoUUXz2YFhDdmqeDWlOPHZ9rGs a6vNctXOSqwQogi/sA4ESQED1rhhydL2Ze4vNEJb9/2NMtUQzmYaqVQq2c8rdw== 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=1707929644; 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=z3RPGU2ZWqony65aXmIHmq9aeClqU2MYuZv7NriP854=; b=F9sJ5YHBK1j5XD1p9YM7wDsqUJIjYYmHBdO2QhiKQEG+d4HKljqX4LgIKgTwQEGY/4serM ipM4qxbP7MWB0PjDjp9jlEOW8KnNphkLr/0y17Klf2p2fhMqgLvJEmWCzsUy38/utqUSSp J+lhTkKBgVotOEt/5Ef95CuJvlMrZuqokToepPPx9qPQLJ7SDYHXs9KrF1YpnAakDKknBC fLr9PPPpn2rmrc/qVkS6O1t0XI4EJnoBULjnPiI/MdV2IFMHWu82u16e6HuwTIUfq1by62 ZDDGUjUStf3M0GuwejxLzR6IGLlDhx9G4gREqFM5wCvbrv9bvv4PILdsHJNHMA== 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 4TZkmq6l6Kz15Y1 for ; Wed, 14 Feb 2024 16:54:03 +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 41EGs3TB050206 for ; Wed, 14 Feb 2024 16:54:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EGs3in050199 for wireless@FreeBSD.org; Wed, 14 Feb 2024 16:54:03 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 274382] iwlwifi Invalid TXQ id Date: Wed, 14 Feb 2024 16:54:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #35 from Cheng Cui --- (In reply to Bjoern A. Zeeb from comment #33) Please find the extra debug info in attached "repro after applying D43879 on top of D43389, D43725, D43753". Meanwhile, I have an idea to create a new VM but based on old (last year) fbsd-15-current ISO image to see if I can reproduce the story. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 19:50:16 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 4TZph94XYCz52gwK for ; Wed, 14 Feb 2024 19:50:17 +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 4TZph91kS2z4lVr for ; Wed, 14 Feb 2024 19:50:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940217; a=rsa-sha256; cv=none; b=ZqFe3STZaUQJQKvjBuFrle2VIGOqSkBqE8xY0ITBxehqGVXmU9Ael8d9HI+1uXVFNJ/rih Vr3iE+6vtvJMc6mpiI/V4SjmAJUghRVuDXJzQPUespkeb+APbleNdLv4I4wkMzHYL5Lz61 0y3VnQaw2IqI5/3wdWtvZUDIxHa2wz1uhd4kVikx0TVUZ3uGTNZe9sGfQ5wB72bwDV1Xhh wtOXiJgPT4HmnQCeWD2CQjZ6X8zyIOUWO1ranJTeOp9aoCX+vWj1SWlcC1e/VEbx794I/0 tcXCAwvRzGVhiKKN4IY6VhzF5qRGWiP1/a4REUtwRUr3cD34wItmwCCzhtHRPA== 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=1707940217; 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=eq62Di6AJ+3epKLQiKjACpJ+QT7nmxCMFG7J2JXgYVo=; b=DVGyoBShhQ+VrvbI/dbDH/QoP4go0MKd7iR3Sz9vmI3UCL7/XBSniArkeir2BaKyFlx8Rv P620JGAFe63EXTm8p3+suFFTMssbr01Wv3vdCQWQI6HDD0e2dQA8zKAD55Pkya/sMptH4o WYePuTE6IyUKb6j8w6wPDkdeS8CYkKuiHYI0F+wlIHI3qXalpDMxMj2v0VPz/SvabfX+tr 3E1KKAhaD67apOlkE9d8iuwDjH7tBpFeis2uyCxKF8zTAn3ZnvfoQo5h27oBk4V9jrqmSo RmhkNNvlaz7U5xHcFNV7wPHAtoaWzhidDFiD9KNJVMvZwsFOtFRmMR1U+Hy+WA== 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 4TZph90pSvz19j0 for ; Wed, 14 Feb 2024 19:50:17 +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 41EJoHea045057 for ; Wed, 14 Feb 2024 19:50:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoHoh045056 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 273985] iwlwifi: AX201: crash (kernel panic) on ifconfig wlan0 destroy Date: Wed, 14 Feb 2024 19:50:16 +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: 13.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273985 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0936c648ad0ee5152dc19f261e77fe9c1= 833fe05 commit 0936c648ad0ee5152dc19f261e77fe9c1833fe05 Author: Bjoern A. Zeeb AuthorDate: 2024-02-05 14:51:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:48:04 +0000 LinuxKPI: 802.11: update the ni/lsta reference cycle Update the ni/lsta reference cycle, add extra checks and assertions. This is to accomodate problems we were seeing based on net80211 behaviour (join1() and (*iv_update_bss)() as well as state changes for new iv_bss nodes during an active session). This should hopefully help to stabilise behaviour until the underlying problems gets properly addressed (for this and all other device drivers= ). PR: 272607, 273985, 274003 MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43753 sys/compat/linuxkpi/common/src/linux_80211.c | 209 +++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 1 + 2 files changed, 130 insertions(+), 80 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Feb 14 19:50:20 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 4TZphD426Xz52hH4 for ; Wed, 14 Feb 2024 19:50:20 +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 4TZphD0ljqz4lVs for ; Wed, 14 Feb 2024 19:50:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940220; a=rsa-sha256; cv=none; b=FGuZU4mVqyD57h1vLKuUTQ81la0SqnB2XoIGfZyYbuJCeUJtPPqBUFDg9JRxpKjhlrE30h EG/4vp1mNEPxD+hdSk3qNfiSrJtArmhi/c0pTzoqODfbpgC2FnRCnVfWZXugxUyrZ1LGk7 wesKsx6mb6sxgmUtRVUyNq4VtB49X0CTwBJpGVedAL7rLUL+F+LTt1SXHZI//iKdPIFhtn V7bEsx2BBG4vU0/MVSm7Mhi1DQ/WJwmGi+crNTz0NQY4su9/8o6W5znxIAbNrLP1OnGU7/ st7juW0SNi90LX8/YevHIFPafELYRAlscr7EWzayZRfHfFt1x5bGn+peQAwzkg== 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=1707940220; 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=b4ExNhd/6XaU/8pbII3vj2OKRw6GKBSf2vgnAUUMEVA=; b=yTkw+Lx+WQ1AikKZ8uvclZm1Dmo0wwpp3/7WeHRwtiISATgBbPdEKLlRKBB2xs5rhC1Fh7 ZOm2nLRu+vPWiCk8muo0gWvIHtVOBzg86ymY5U8ayFn/+kTwtYIzSgGJzS8cFB7sVL5nAQ 99ul382hmf7yTBTgeje2Wiyz9d3chMRWRKcvBpfOF9Zg9gS4q7EEXL24ZbK05npBwryIgF XHetDZJa9pLDnrZHH3Kq2CjSPgHBKelPGMNIvmJ0QZUUyiZphs/bHXSrl8OxZ/RYQ2GgJA kgkP/Y4h5AxROz3aW+06jv0spug0KbLQPius8o7gVVomQWViSGO6ZS7KLpgkvA== 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 4TZphC6wlnz1BCw for ; Wed, 14 Feb 2024 19:50:19 +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 41EJoJt6045217 for ; Wed, 14 Feb 2024 19:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoJQA045210 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 263613] iwlwifi0 on framework laptop crashes (kernel panic) when setting IP Date: Wed, 14 Feb 2024 19:50:20 +0000 X-Bugzilla-Reason: CC 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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263613 --- Comment #37 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2ac8a2189ac6707f48f77ef2e36baf696= a0d2f40 commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:53 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 19:50:23 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 4TZphH4lJ3z52hNj for ; Wed, 14 Feb 2024 19:50: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 4TZphH0sr3z4lf7 for ; Wed, 14 Feb 2024 19:50:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940223; a=rsa-sha256; cv=none; b=NL7t6aCOASRhDTDdhbt2c27nIqqPSNzq8M0pdATLxDYosa3GJvvp9sxOcBTZWf7Ip6MR6d wL/xXYi5kdmgLwQacB321WspyZjeaSrKA4ZPhfov69tUEG+KGZ/SKKjGAeAIPy+OJavqEz PAE0kuZp67vsuLc7hBZ+SrpSjjfUSb3NKsJgqirRnpMTmn0mpkGKd/HoITAUeoQHm9R2vz n7VNjoa9iZIQO1oyE/yFiirYZR4kN6VhraBKwx4MbrRNtk0jg5r7kbsVBKmC0E5SZUO7cl UsNPM34FWKVbCTwmag66feg3ACVEbtcjT/Oc7FY2ErshOFQqDTzcHeLCUkGbUg== 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=1707940223; 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=EH0pZ0tOISuBie2hQHL45keIP8g8tRnnnE6JtuqSowM=; b=RR0qJatKGXg1i8zZ6TojHulG8GKVxQCRWGdinoHP2wgiDzR80FGxKEphXzXN90VB/2xtIg TTgGEOTznyjgZ5hyBAFscfud84PNBij4WsLhaFc1tPM2eFoU/Z2wCNgtY8+BaKC+ncfeEE VrCNwkM/IO4Ac7WxV/ozbTOf4IZiz5GRjXmnlkeODCdGdUPgIMdNbeT0t/rsvwNMXW+7eE VftR9YNgt05ODTQfpUwlTOmWuiEcGbIwSSGqmgPJWP4VFrowe3y+3LI+mQ0j+X3AkFuuBN t8lxBv2NVMpIdlVR1e7IcMj0/HVMojOTYroynfrVexucNqA83SJMaVCqB9CnIQ== 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 4TZphH00F6z1BD2 for ; Wed, 14 Feb 2024 19:50: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 41EJoMJK045413 for ; Wed, 14 Feb 2024 19:50:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoMSK045412 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Wed, 14 Feb 2024 19:50:23 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D713db49d06deee90dd358b2e4b9ca0536= 8a5eaf6 commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:21 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 13 ++++- 6 files changed, 134 insertions(+), 28 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Feb 14 19:50:24 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 4TZphK0zNxz52gwN for ; Wed, 14 Feb 2024 19:50:25 +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 4TZphJ2Gh8z4lWK for ; Wed, 14 Feb 2024 19:50:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940224; a=rsa-sha256; cv=none; b=VoRz7bIemYYHRwIv6RAoGCa45j3a3FyJOYMiEV6QQ0P0+5OhY1glOCOr46tH0BsdGoqDT2 Vn71vfBuhBjfZXG59jEFHRiGAMHSlLyD+lyM2L8SAPHWiobXp2OYtbLNrVh/K9L3Eyjzma 5axrzuk6VWEedMSunnX2Qh6BBgYMhQMLSxEknTZdPIwcPyOxcHhhKTO+QffTmbit9rW+O9 lPyr5YNEHJRM198SsOusI/S/hsanVmThK9DHfY/IS+toxFEtRfKLrKkS2jCyWfGrqpz68R m3C01huBeONGOklITROh3WsVigfMbJZwJ2DUFs3ADKgOKvLQ7Yvp04+8TtiSOQ== 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=1707940224; 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=+4SpMtngYAUzoHcHugo0VUVAzowq8iq8yc8PKmyLxmE=; b=N8LQ3x6J99fUrHRQc8qgopPdTfBt4EOHJkD9/sDVu3eIIx6i2J60ElTJ12HxmxuMX8ScGo +pkavPxuleQdXaHB6Xlql7E2aoI6LH5lMt7mSm5uLL983yoCytQTYh0Zj7lhOo5KdbkJkf y4QD52LeVZT0puv3qZ20DYXYM6VaJ2HgCwbcaQxO7qQLJ3/wEfsDmdUv8SVoKvDIZS5Sdx eqjoE2Yax3C+lIZk9RXFVmrPWMJ/3E1uZZIpM8SC+rkuBXTfekXZ07gdFsNqeG7iHQASTQ xv7rSO1HOla6/4xgEJ0e1ajDURptmbWxlMYglbBocicQpk0fsKSraalc8FeX2w== 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 4TZphJ1NWWz1BFh for ; Wed, 14 Feb 2024 19:50:24 +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 41EJoOl0045490 for ; Wed, 14 Feb 2024 19:50:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoOWp045489 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Wed, 14 Feb 2024 19:50:24 +0000 X-Bugzilla-Reason: CC 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: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #38 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2ac8a2189ac6707f48f77ef2e36baf696= a0d2f40 commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:53 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 19:50:28 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 4TZphN2kkSz52hTh for ; Wed, 14 Feb 2024 19:50:28 +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 4TZphM6c0Pz4lqB for ; Wed, 14 Feb 2024 19:50:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940227; a=rsa-sha256; cv=none; b=WBDQmsKQTFLCXYEAzhya/cgiDkMG0dBLDE1181YDjE93flOjU40FXujULpREczSPAA6qwk 7LlWqSfoOBJEAQIshcyNhr3HjTRvCL2eB/z4F2QGNmwgr5AZjjKkobNseaJKJZLp2XDe1r 7dwxQUtryIPz0rt3TA2ahMMNg19yq+qUxdpY2RsOh4wkWnvMkgLWHRSxfpmmigc8VkdTfs sj7iDxgN43UxpLsinlhHCc6sAyVSM0OQ15qAgWVgyf0DUnmlKbhnMscUMugXdxvqiAKqNk +oEakrU6qyjbbJj9xzRjmmfQTm4SLb221zLC2rdg5yxCOD3cWy+1XiZThj4vyw== 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=1707940227; 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=fqF2XFloZHNNOTzcjdvLpG/qIBp7OPRc1kc4l/uHUFU=; b=VGmmM720qUUsdYMdSVRG3/qmrcbKUB+4BfFb32CuUi4Qs907wdzx0tEs4hL0Jfv1COOS7k Hu4xlRFz/XDFWHT/HArhARH6ueTxYvx2Yp3aIlHQmgyNXEr7FhxAEkAkijWMSiLABhRBMX /UrPw7o9exEv0SH2B7ung2QDYlwPHs5emTxgJQgd28jw0jaM74KuNMz1VsvCpuDoCbeUu9 fSu5fOzRAbOMiPAo4Nx1wPkKj+TxrEOpuUIqLhmfhhhPiETaaBioimQX08D9woz1RhRYJi B3RJQzNcV2hO0UjpczF05ckeZtgZSHe4vDS3QDWMwY/fOTYzBj7y73D7hUHo+w== 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 4TZphM5jVzz19nl for ; Wed, 14 Feb 2024 19:50:27 +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 41EJoROi045736 for ; Wed, 14 Feb 2024 19:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoRCZ045733 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Wed, 14 Feb 2024 19:50:28 +0000 X-Bugzilla-Reason: CC 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: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #39 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D713db49d06deee90dd358b2e4b9ca0536= 8a5eaf6 commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:21 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 13 ++++- 6 files changed, 134 insertions(+), 28 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 19:50:34 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 4TZphV5vpYz52hTG for ; Wed, 14 Feb 2024 19:50:34 +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 4TZphV2bH7z4m7V for ; Wed, 14 Feb 2024 19:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940234; a=rsa-sha256; cv=none; b=WW+h7tJP7WpCAyNVfdxITipYrjqocXv+6cs4duYVqnw8qnKWX8Rw03yF1/AxOusnBwr0yq 86xLcO3Vm3Hfc40lcXYVrjQhykSuI5tfF9CEL7NxCFlu2wQts+IISZTqnyRKTDzYDY0Ss7 A4gxHODGhVJDc2PpR3qftNyXrEJemi9cKVrmdIAKDvWcoDknUVi9DRasBci1FORl5snDjU 91yvOtCgfLQ+/5SjX/WzkceGr47mW1CtJ32NZNEFuBfmrA4Z9FYhNnkEx0CYL3MTXolgbF s2RTzkUO7SlenKIaVujZxBv1wg+BqEN25D9XRkB7NDuEbj7dGvO881qtbwwfhw== 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=1707940234; 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=ZxS8f/jk1JbQlZ1SJSed0xZGyAhYXS4ryGqmSNaXem4=; b=Zz+c/8lyVc8ihvngM7tN6gSKG509lBZGvq4wXkFNGBiDszD7R5hfshHWMOT3dtq0bIH2lY R4Zo9bxLSKLGoitunJ9q9Guym84fOkLojciVov8RTj8+fz2+sI+CyeVWeKqCeZDZLHTlsr HKUzaTyQ7oBC2DFyvl0ooplQmIWgwWzl78Q4lIpHPW2gnr4GD+FiQ9ISsg1N1YUHjbB1Jf BIga5vDnaIl8rroxxMVgKWs5WpT3GcDkw46R5UMGPrTCjk+hAFMrKWW9BFBYRHt86AJ6oT ejUkMlWefIOzwJxIorlPpJPn6StFGfLg23ix/A+0lf3liYyythrOaY9x0p2F5g== 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 4TZphV1jYXz19td for ; Wed, 14 Feb 2024 19:50:34 +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 41EJoYHY047016 for ; Wed, 14 Feb 2024 19:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoYMp047015 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 272607] iwlwifi: 'service netif stop' causes kernel panic when wrong setting in wpa_supplicant.conf Date: Wed, 14 Feb 2024 19:50:34 +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: 13.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272607 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D0936c648ad0ee5152dc19f261e77fe9c1= 833fe05 commit 0936c648ad0ee5152dc19f261e77fe9c1833fe05 Author: Bjoern A. Zeeb AuthorDate: 2024-02-05 14:51:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:48:04 +0000 LinuxKPI: 802.11: update the ni/lsta reference cycle Update the ni/lsta reference cycle, add extra checks and assertions. This is to accomodate problems we were seeing based on net80211 behaviour (join1() and (*iv_update_bss)() as well as state changes for new iv_bss nodes during an active session). This should hopefully help to stabilise behaviour until the underlying problems gets properly addressed (for this and all other device drivers= ). PR: 272607, 273985, 274003 MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43753 sys/compat/linuxkpi/common/src/linux_80211.c | 209 +++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 1 + 2 files changed, 130 insertions(+), 80 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Feb 14 19:50:33 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 4TZphT4Fl7z52hXf for ; Wed, 14 Feb 2024 19:50:33 +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 4TZphT0g5Nz4lpM for ; Wed, 14 Feb 2024 19:50:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940233; a=rsa-sha256; cv=none; b=s40t5V9BLmf/CVuJWXfcH1bhUCEbw4+g3Td8fheZpxv0l84+D0B/QzZ7U/uItQ0RBzO3HP EfrLKTmAHUk3b1d6LR4WZP8IlGIxgRSkMOjkkZEB8l7pB11xknCf98ScWbaTU7KD/NAFSB 8FWeEWEQB6hX1Jf8rg3nhCB6CirwT0OokdxcedJ+6TEhXkiRUSdo1ym/w13SyknSy1azvZ JrrgqtNkkMI0J9VDzMfPZz/wSa1F//0ROh6T1XjeaYT3XB2oxk5wSNJr+e5jadp4WK34+i mu3a7OQXT5ya0d+p5/8YA6rW6IEg1FQnoWGMtBOYLId/t0q6yhPEut+LWPgamQ== 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=1707940233; 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=zHrdAmNeI3TjSUNB7HBp88NU3imeYYFLx+j5wW5AdqM=; b=tEYLSCsdaG8Mbwwzm/JFKt9gvDrwt/IQgk8a7EmsCDRqgLgiOE08/712PgZS831xrgDfbv +cGPNiNtyrBDyxyaKXKyAavRSMaKJhG3cn1Cit9WVgTsFuL4piFjP2hImOuLCB7Gv6VRPW +RfTbMZQ42XpIdSi8kBKfukYtjvFtVCBUrn1fwDkhqEU1cOuXllJT38F7jji1fX98/Wqfj 6AN1yGQ3Rguudih298B1FNy8aGt4k9shty6UQdPXeJFHUxV+5LAfrTHcMfGO2yDNPTpftf Vengxfvl6vHDV4D3pQEkqp1H4j8ia3KPxprBhUTezZmKVKU7m+wvFtPShLHDAA== 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 4TZphS6YtHz1B4Z for ; Wed, 14 Feb 2024 19:50:32 +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 41EJoWaN046125 for ; Wed, 14 Feb 2024 19:50:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJoWGx046123 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Wed, 14 Feb 2024 19:50:33 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2ac8a2189ac6707f48f77ef2e36baf696= a0d2f40 commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:53 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Feb 14 19:50:37 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 4TZphZ3dFhz52hkf for ; Wed, 14 Feb 2024 19:50: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 4TZphY6B5xz4m3S for ; Wed, 14 Feb 2024 19:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940237; a=rsa-sha256; cv=none; b=aEcmCjGNgdwiycPbDsYGD/sZLn3WYGtYYETh8HGKeapR/ZIf4QjrkK1cIyGURf26FVHjGu f3ntcbxxP1rU7devVlzVwRcccbpF9B1qqSZp8VO+7ktx1apEWNKtDeQKJ8rLqUn4sXQP55 GjvYO2AETBxWt6K+fA8G/rJn7jUKSu+ed721co1Yos/6qkWnhl/vxJAAPqCae9aDnjaj4B icnoZHMj1zLBdwCiSJB0Trhm9jLYbAlJ8PcqFvBpTqc3GJ3UAkoT4702tpk46rlB21eW6P Bedn+2H3qWqLq/afX3WX1/U/C13ET6qNyaslJRsBMUnTYN9ycdADojFLPxntnw== 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=1707940237; 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=n4I3CWaDQQX2Z9r1UQ2vn+Q/DxTonYkTCBhadW8f2eo=; b=qm+JLxaHkAFf1GWA/ar2iVTqxUGrF31YoP04lWQMRqWG7i9nd3HnWc35Pslm6dJ+/LDEG/ ZW8S23Z9BwZzJ5cx24VOTfE1dMgv7moQE3CTHxKKQCFFEJNw9brPqA+ZmIQ+vwvETlowhl 0n4ClT8t3oS4JbYsnETDMCujUOFqlfhbpITLBoubcKA2uwmeOmeYbfSQKr4/x/5IeJ/CEM 2BF9jy3raYwF4PXM+ZyvOCxmkCTX6MAbyGf8ypgbsLeATgvIY5HNPr5d0zKsjRzOoUupYB KCpmvqcgGfxISRG93JS56rErqM2uGwZa3kMdhNjjPQH2MIzrYQuFGALZVdeozQ== 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 4TZphY5J5pz1B4f for ; Wed, 14 Feb 2024 19:50: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 41EJobu6047262 for ; Wed, 14 Feb 2024 19:50:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41EJobZe047261 for wireless@FreeBSD.org; Wed, 14 Feb 2024 19:50:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 263613] iwlwifi0 on framework laptop crashes (kernel panic) when setting IP Date: Wed, 14 Feb 2024 19:50:37 +0000 X-Bugzilla-Reason: CC 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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263613 --- Comment #38 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D713db49d06deee90dd358b2e4b9ca0536= 8a5eaf6 commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-14 19:47:21 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) MFC after: 3 days Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 13 ++++- 6 files changed, 134 insertions(+), 28 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Feb 14 19:53:37 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 4TZpm64s4Kz52hjs for ; Wed, 14 Feb 2024 19:53:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZpm63xhQz4n9M for ; Wed, 14 Feb 2024 19:53:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707940422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=HULFMPgSlmkhoLtALIagSd3yccoWE8MOoR0Ocj42IV4=; b=ZJKPXkQ0u9IYNo2uCh7Bk3+94ZccNd+Xb51sTuN2A6zPrdJELyylmZ7x1tHuPoiLCYZH+x Fx125pNGKESH+ofY7wPsJAgRCCEa1jeLaiPxezOVGcZnX7lIuewQtvXovOWPQrPFFuLmDW uoBmKAFOR2eykerUhcPp4q8cz5F9TPOFFv1uRPQGqLOIo5StfPujr0NAOz9/Y6ypaB7LpH GDzQyqQPSqe1aBSNZiiobWdkYvfDbuMf+4cePjqJszISj0d19aPPzo7eaN818iPws3cEFb S6QYDXsBbf5CHw+nZ2ViWZcQn81fL/is0JWpkUskJNwqPtEwdiWzho7Holoc5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707940422; a=rsa-sha256; cv=none; b=FanSmmOsIQ75Y8YTKvml0hByY511erN65VOgKhr9StFhtCdhk4cNf8qvQDRzCOIiq6biM/ 2fb1ehqchwzgLzZNGSkzcdND9KeBUX3/fOa2AJzVlOY5SBL7hxlQ22WHwHp4mz00wurxhH REpBmyUdGmx+/q0pPcGV1fQ0oyURpwNYUz1O+cpNv+qV0Hz7N8hGCEs4ZqrfxnyeHNF2UN IPkNMke6cUUwlRNiKZ5GK217GtiGLkrSX2IA4lY5/+K6HcUETEcPPmK91LNH3Oh68lDZFn xD1vprrovWADdPZl2pXEAV5G2QHw6qILrOfnS7NaZBP//m7qC7hCis/EC6zVlw== 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=1707940422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=HULFMPgSlmkhoLtALIagSd3yccoWE8MOoR0Ocj42IV4=; b=NsxoUf7+yXDxf8GxfRZA8mCXao1hfwoEsWrY77jWRYcZCu/T5lvUIA5Ll2VKX5GicaDq5n CjnywK77LXhNJjzwpbHMhu3c1KCSVT5k0xScrDmfM99Xct5r2+zEahWFcCODEeycvFHqfJ oHFV/EafIRNEbO0ig3XuE+wgs8LLt2039UxngFxvgioXRY4WnmNSdjxol7ulgqzxINhMqu DAG7HgLl+DLOq2LsSbT2RVbUrfuBw/5wOGiz1AWCXFu3v1B6P/2uz3Admm1s3Q2MqQY2YM XmhZTii4OWTPGWcHoS7GajsjBM54rk/alG5iGTHO6QmERAwDOAHp4a9Yrb/64A== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TZpm62F78zTDN for ; Wed, 14 Feb 2024 19:53:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A5E978D4A214 for ; Wed, 14 Feb 2024 19:53:38 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 489B12D029D8 for ; Wed, 14 Feb 2024 19:53:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id Kx8_U7ePTxFj for ; Wed, 14 Feb 2024 19:53:37 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 937CA2D029D7 for ; Wed, 14 Feb 2024 19:53:37 +0000 (UTC) Date: Wed, 14 Feb 2024 19:53:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD wireless mailing list Subject: PLEASE TEST (all drivers) sta/ap mode Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Hi, can I ask everyone who has a spare cycle to test main on/after 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). The last changes include "band-aid" hacks to net80211 which will affect all drivers and sta/ap mode. While the commit messages hint at the problem I'll try to write a longer summary probably next week so we'll have the actual problems in the archives and others can chime in. Thanks, /bz -- Bjoern A. Zeeb r15:7 From nobody Wed Feb 14 21:11:45 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 4TZrVQ6bRBz53Pv1 for ; Wed, 14 Feb 2024 21:11:58 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZrVQ3cJ0z3x6C; Wed, 14 Feb 2024 21:11:58 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 41ELBkCA073650; Wed, 14 Feb 2024 13:11:52 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Date: Wed, 14 Feb 2024 13:11:45 -0800 From: Chris To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <51a52c8d46a781aa29496618d4b9b264@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Queue-Id: 4TZrVQ3cJ0z3x6C X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 2024-02-14 11:53, Bjoern A. Zeeb wrote: > Hi, > > can I ask everyone who has a spare cycle to test main on/after > 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). Will a freebsd-update install fetch any of these changes? Or will this require building from src on or after 0936c648ad0ee5152dc19f261e77fe9c1833fe05? > > The last changes include "band-aid" hacks to net80211 which will affect > all drivers and sta/ap mode. > > While the commit messages hint at the problem I'll try to write a longer > summary probably next week so we'll have the actual problems in the > archives and others can chime in. > > Thanks, > /bz No. Thank *you*. :) --Chris From nobody Wed Feb 14 21:23:42 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 4TZrm25xKQz53RjB for ; Wed, 14 Feb 2024 21:23:46 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZrm2520mz40Ct; Wed, 14 Feb 2024 21:23:46 +0000 (UTC) (envelope-from bz@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707945826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ga2yXcSUu9xvRlbT4nmuoj1gsZ3jt/53zVOojQyF/Nk=; b=Qm3rTkjTFHs4DVNc5WyI+xtJ3G7bLExYF535aacZywe4tWmtsIF9QJMaE62Lsw805FlPyu O9+jm4vta1+ei6O6eI2tiXG2vYAToRiYW54dgumid8zgCCDx1eBK8cuZMqH9gcDPNzo8r3 k5PDOOXE3KDFPb5LXjQyjk8tMXkrUt7S1J2Sf7+k/2pjrPzbTXq0DEGinUFvKyStw9X3qH +06NSxtkLq2Z28D3Alwo9Pb9QoN2FF8CHUYFN9sdt1oxP1YFtRx9A47THLDM/2S0n0telV 1fm56EDMBjcvvgacaqlOkc1ExVxWru9gR0zjQ/iVUgmqz2s8vU3e/XsP3EeTEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707945826; a=rsa-sha256; cv=none; b=EkyGK1sy26BZQDAQUqkZM6MDmzOuRrFjIbiydNtZAXLQhGEsqgcYZeXB1KbZfnCED10+aV YeSgRJoXZpxMLhYUMKz8GmY0fgKd2evxJVZpwH9yfaWUGaHOBE+eYQn500cdCmltzAqVeJ jE9NmNtBdv5IkOOMuBNK7HP0IN84EfDyx2Ne1roYDp/BnjFO/JatRYaGTwwrtBt4oYBs+K P7H4d0nF9Y6QkBgUfNGwppJYsFt3AWH/xP4ksZuyb0ojUIHnJ7RAj1xAJQ/1fhHDVh2h0D gVMFL+118QHZZi26SmEPZMyA/SGJ9aeQhrZKs660Kincq4S1uoMULove1wZuFA== 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=1707945826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ga2yXcSUu9xvRlbT4nmuoj1gsZ3jt/53zVOojQyF/Nk=; b=ETLRpduaM+PbABluoDWP7DCdqJHYfdpzV1aAcBkBHfJAikMIUK0KUA9t2DtTiHlh5SGjuz Byeby3KJuugmbG8TwqlHJzL53yPcn7D7m9wcmba+6YYnEYI1qsjHYM+98vmYtUWZIX9bTN xbUWDX4K37MltbCh7blXYSeezTsZ2acqFWckLrukfamiIBd/vAuXdCdcTT5Q3hxnvSb9hb Z0r06fcSwJgqBNfHLNoeFwEQpnuneqI1B/NDMBb/W7Wys/IxuR9SstyQ+lPchaNQnsyiEC YX9PVRv6RkUB0uG5Y6UQwGphggqh8vb2RbmtR4kMLF4MZhBp729uqIiuygclWw== Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TZrm23PyqzWLF; Wed, 14 Feb 2024 21:23:46 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A60AB8D4A214; Wed, 14 Feb 2024 21:23:44 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id D81AC2D029D7; Wed, 14 Feb 2024 21:23:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 1KouF4aQI2w6; Wed, 14 Feb 2024 21:23:42 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id C36602D029D2; Wed, 14 Feb 2024 21:23:42 +0000 (UTC) Date: Wed, 14 Feb 2024 21:23:42 +0000 (UTC) From: "Bjoern A. Zeeb" To: Chris cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: <51a52c8d46a781aa29496618d4b9b264@bsdforge.com> Message-ID: References: <51a52c8d46a781aa29496618d4b9b264@bsdforge.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Wed, 14 Feb 2024, Chris wrote: > On 2024-02-14 11:53, Bjoern A. Zeeb wrote: >> Hi, >> >> can I ask everyone who has a spare cycle to test main on/after >> 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). > Will a freebsd-update install fetch any of these changes? Or will this > require > building from src on or after 0936c648ad0ee5152dc19f261e77fe9c1833fe05? There is no freebsd-update support for main (CURRENT) to my best knowledge, so you would have to do this from git. If you are not on main (CURRENT) then for 14 and 13 you'd probably also have to do this from git; for the upcoming 13.3 I would hope that by RC1 the changes will have made it there (likely to miss BETA3). -- Bjoern A. Zeeb r15:7 From nobody Wed Feb 14 21:46:12 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 4TZsG40GXRz53Wpx for ; Wed, 14 Feb 2024 21:46:20 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZsG35h1pz4328; Wed, 14 Feb 2024 21:46:19 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 41ELkDa0097313; Wed, 14 Feb 2024 13:46:19 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Date: Wed, 14 Feb 2024 13:46:12 -0800 From: Chris To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: References: <51a52c8d46a781aa29496618d4b9b264@bsdforge.com> User-Agent: UDNSMS/17.0 Message-ID: <0aff26a347b4d86d399a8fad185ee133@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Queue-Id: 4TZsG35h1pz4328 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 2024-02-14 13:23, Bjoern A. Zeeb wrote: > On Wed, 14 Feb 2024, Chris wrote: > >> On 2024-02-14 11:53, Bjoern A. Zeeb wrote: >>> Hi, >>> >>> can I ask everyone who has a spare cycle to test main on/after >>> 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). >> Will a freebsd-update install fetch any of these changes? Or will this >> require >> building from src on or after 0936c648ad0ee5152dc19f261e77fe9c1833fe05? > > There is no freebsd-update support for main (CURRENT) to my best > knowledge, so you would have to do this from git. > > If you are not on main (CURRENT) then for 14 and 13 you'd probably also > have to do this from git; for the upcoming 13.3 I would hope that by RC1 > the changes will have made it there (likely to miss BETA3). I'm sorry. I *knew* that. But forgot in my enthusiasm to get started. I'll pull down a copy of src and get started. Thanks! --Chris From nobody Thu Feb 15 01:02:29 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 4TZxcQ4rr5z5531B for ; Thu, 15 Feb 2024 01:02:30 +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 4TZxcQ3qf9z4c03 for ; Thu, 15 Feb 2024 01:02:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707958950; a=rsa-sha256; cv=none; b=Z+SspMTNHDYz9q5f/pAJbI29CNKyxwbuXjxx7rtTeZdyGbEUhCCUSD/CaLeI+UJIXFSdwy PSnB+06L1Fk5U6iL5YGKLxih5BcNvA9yHhtHbcf18kAkMm1Ukca71VD54y9+qV97foI9rt CunBjIkjDUljdMqLnml1kBn4kInU4nvMcZxSmLcnVe5dcjdDHuEKaVAVe1RizdaAv/CFE+ hVHFY+i4Q4DTJL3fOQKaRMS2D20rO4yO5A8MtBiRX6hKS3/KLXyMU7h6DyMQP5WyEqzfDg nHg85knl9DQfDOQUm6wcN9R3nlyOsh2GHNFz6Rpr9wAivqkrCfRSICeqPsEw8A== 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=1707958950; 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=zcqQCxq0th0eKVDMvBchpFBEG/bqLjP5lwauU/74iAU=; b=k3ysB5zZbodnkKJ19+fzvoDeqskueVBFcCiw/v1datc2YILfQvgE78P0IbcYauRW32BmZg YVMy5QYTOolCx/2vUjUv2E/dXR6k/T080SzJn6p+ciqVGYz6siQjCRwK1Ddf3y79fd/7yQ 2HcmAbiSOTTu0rk7/EP45H9lxMV487buRnxHM3iiS9WhcgNhWPKHj3lnFRih84dXAOdeKt 6JHoZbsAYP/uscWEZi08jebdVX8ztXCs/wbeY5uqByf9LXoFn9uadx+qWC0rjZDqRCGcDL klYfqveYk+tMS/k8jcWJkHGdTVdFxG2Y8W3aFcq0cy9a6D+oVZytoXZWNqwX4w== 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 4TZxcQ2x92zLfK for ; Thu, 15 Feb 2024 01:02:30 +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 41F12UFi044356 for ; Thu, 15 Feb 2024 01:02:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41F12Ufd044355 for wireless@FreeBSD.org; Thu, 15 Feb 2024 01:02:30 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 274382] iwlwifi Invalid TXQ id Date: Thu, 15 Feb 2024 01:02:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #36 from Cheng Cui --- (In reply to Cheng Cui from comment #35) Fortunately, I have kept my World build log and did the same way this time.= And finally I figured out how to reproduce the "panic: lkpi_sta_auth_to_scan" crash. I created vm4 from the FreeBSD-13.2-RELEASE iso, and rebuilt World/kernel f= rom the Feb 12 src main. Now, the crash happens every time, and I have 5/5 crashes/reboots. These vm3 and vm4 are on the same physical host and share the same physical WiFi interface. vm3: installed from FreeBSD-15.0-CURRENT (20240201), has not hit a crash vm4: installed from FreeBSD-13.2-RELEASE, rebuilt World/kernel from Feb 12 = src main, hit a crash every time on booting up wlan0 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 15 01:52:06 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 4TZyjf3jvSz59ckL for ; Thu, 15 Feb 2024 01:52:06 +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 4TZyjf2hBPz4j0M for ; Thu, 15 Feb 2024 01:52:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707961926; a=rsa-sha256; cv=none; b=y1chJs/8oJi4O1YIElUFVeqNRPfwKcYdJtI4y19qLbNv5JkoouPvadHR1sTDQqCMEKW5h2 ame8JeJv16wty1GUtMX9f0lCHZ1o8BaWuCPVdbIJ+k0FPnLvKIcPO+mRmy5pP6xRVW801h TNqFbXkK/pez5kl8Ykkdgd+rFg2uiqT196ZkDyyfXIrmqPrzPDCBSaOa/+RtmSJCk+YE69 0CvZ2F8mT3H2HfyvrBKSBk/m6quKyXQbUAMs2vWIwNSw5nfFeurIqcEmEo/2k5K2Lm40NY Rd0S4RHC99DEAK8bLOg0snqlYCyOV6NgoWH8rMp6S0E7Z5e5WcQagauzcvH16A== 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=1707961926; 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=ALjp732JQmNBv0Lw1i0SWL141/3fZuJr5GxoY3pX408=; b=S/AKSuUKEDf9aCTSDVIeOvgjU1uPaU+1Gj98AspclEQeiG7IrIhJMn4avvoS182Qsa+m8b GqxWd2YXuZhZ03bp7WC3UDLr/7A6qvrBC6tMJwdkQgLc7evOeCAwSBLV77LeM7pv2KEvz8 52W/oYY+8s7EVnjDbbt9QcZlM6FHjx+ov1m3HaipsxQnaGJH+r8XGCLnXTE96fKHrPB3VK WrxCQtPzPs5NWA9gWWY3WRNY8Sosljnb7IVjgIbXEXuYAxpZL/yzjENUKlqpFDjRPiufo+ 8zxbzWXV+4kBuHUFftaOMiuttj2i9J00Gpqy1mFwNVSaEFO1bXNx3Q0QM9ILSg== 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 4TZyjf1npVzN7l for ; Thu, 15 Feb 2024 01:52:06 +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 41F1q6vs087673 for ; Thu, 15 Feb 2024 01:52:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41F1q6vZ087663 for wireless@FreeBSD.org; Thu, 15 Feb 2024 01:52:06 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 274382] iwlwifi Invalid TXQ id Date: Thu, 15 Feb 2024 01:52:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #37 from Ed Maste --- On boot I get at startup (same Framework laptop case as comment #26): Invalid TXQ id iwl_mvm_tx_mpdu:1208: fc 0x00b0 tid 8 txq_id 65535 mvm 0xfffffe0142c3a448 s= kb 0xfffff800029a6000 { len 30 } info 0xfffffe00e4e5dcc0 sta 0xfffff80001d14880 (if you see this please report to PR 274382) iwlwifi0: iwl_mvm_tx_mpdu:1210: lvif 0xfffffe01424e4000 vap 0xfffffe01424e4= 010 iv_bss 0xfffffe0143a83000 lvif_bss 0xfffff80001d14800 lvif_bss->ni 0xfffffe0143a7b000 synched 1 wlan0: link state changed to UP --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 15 16:07:56 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 4TbKj92yRQz552n8 for ; Thu, 15 Feb 2024 16:07:57 +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 4TbKj90ycLz4SGJ for ; Thu, 15 Feb 2024 16:07:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708013277; a=rsa-sha256; cv=none; b=CBWPF61B9anhfCqYnrupafEiRW9o5lwJejkrOiPd3hxoVGJn2suZiAK3tKH7S1HMwNwmOb qBLxOfELqZPQmYM8+tRHlk79Npk/Ze1O7hK5eUjKIOFiK8DD5IGlFa1vyHi91HnEMWeplF wBQtkJZ/RfbZZ8HbLTINoU9y5nVToBRg/6MFGnnG6PiR+y7JuMIq3FmD5KOaf5GvWP6n8I TzFhWcby84IsknngReEygZGOCx9c2w122NvkcW7fR2eYaiZKiwMLLGhi9EmADE7eAK2NtQ dE0010i2OUZwwVxz+jt6wBDLMR8c7LRJ15BhHmXbYpsf+iqwPWO7vh2gZiEX+w== 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=1708013277; 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=L0VRnOT4HM4CpdGeVoNaTJ0Msdc9iC92uFKJhun2J1g=; b=Ak8c4ZtvgjcYXR/zGBxgIjaIwKElLYYHBgyD8z+Gfillf5qmlwUiIKoRel8kX0WOZ+dZ23 93tF1NoJUhrtdXZ/Pw7BK1W0Cvk/oUOxs/9/gVLvQwv3g7bKOWED1ahY1QIMLam9IBOfVk x+euuM7xwBgsccjYwxAZ8ymjmn941UZ4n6nH2jJlsI1cl1o5oaev86Ncz8IuqBbCo7Ctq7 M44hILZrm5mm+bV2PF14ipQ+owEfb4Xhq48LY+0GpsIx8Jei8PJLY3jmKaEmOrpr+c6spk DBk/sFvMjQmSxwA6PSu87SyMbSg9GRZIq4p9DXRgak+QqUcZ8xy+MtcKMJn0IA== 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 4TbKj872yDzp22 for ; Thu, 15 Feb 2024 16:07:56 +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 41FG7usX084634 for ; Thu, 15 Feb 2024 16:07:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41FG7uJr084633 for wireless@FreeBSD.org; Thu, 15 Feb 2024 16:07:56 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 274382] iwlwifi Invalid TXQ id Date: Thu, 15 Feb 2024 16:07:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #38 from Cheng Cui --- After applying D43879 and D43909 with the latest Feb 15 main kernel, still seeing the "Invalid TXQ" print from the vm4 I managed to reproduce the stor= y. root@n2fbsdtmp:~ # uname -a FreeBSD n2fbsdtmp 15.0-CURRENT FreeBSD 15.0-CURRENT #2 main-n268309-2c5ff9118c1e-dirty: Thu Feb 15 11:00:46 EST 2024=20=20=20=20 root@n2fbsdtmp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@n2fbsdtmp:~ #=20 =3D=3D=3D booting print =3D=3D=3D Created wlan(4) interfaces: wlan0. lo0: link state changed to UP vtnet0: link state changed to UP Starting wpa_supplicant. Starting dhclient. wlan0: no link ....Invalid TXQ idiwl_mvm_tx_mpdu:1208: fc 0x00b0 tid 8 txq_= id 65535 mvm 0xfffffe006dbf9448 skb 0xfffff8000584e800 { len 30 } info 0xfffffe0063b4cce8 sta 0xfffff800231e5880 (if you see this please report to= PR 274382) iwlwifi0: iwl_mvm_tx_mpdu:1210: lvif 0xfffffe00ab4a5000 vap 0xfffffe00ab4a5= 010 iv_bss 0xfffffe00ab79f000 lvif_bss 0xfffff800231e5800 lvif_bss->ni 0xfffffe00ab574000 synched 1 iwl_mvm_tx_mpdu:1210 lsta 0xfffff800231e5800 ni 0xfffffe00ab574000 sta 0xfffff800231e5880 txq_task txq len 0 mtx kc 0 state 1 added_to_drv 1 in_mgd 1 0xfffffe00ab574000: mac 3e:60:f9:06:d1:9b refcnt 1 authmode 1 flags 0x20004 associd 0x0 txpower 100 vlan 0 txseq 0 rxseq 0 fragno 0 rxfragstamp 0 rssi 58 noise -96 intval 100 capinfo 0x531 bssid 3e:60:f9:06:d1:9b essid "" channel 2422:0x480 inact 2 inact_reload 2 txrate 72 htcap 19ef htparam 17 htctlchan 3 ht2ndchan 1 htopmode 2 htstbc 0 htchw 0 vhtcap 0 freq1 0 freq2 0 vhtbasicmcs 0 .......... giving up /etc/rc.d/dhclient: WARNING: failed to start dhclient --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 15 19:11:16 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 4TbPmh5bCmz59wx9 for ; Thu, 15 Feb 2024 19:11:16 +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 4TbPmh2mhzz40Xx for ; Thu, 15 Feb 2024 19:11:16 +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=1708024276; 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=Z+XWA84IKwvcuVLcMxIaNgTZwKUhLOvdTPE8dlYGw3g=; b=ww59lf6msI/YUDY4t6qSk2J3XRHl+PMgHjSHtDkA4U/K/MVFbmcVe+HtWYztXGVQF1HEdj ry4d30xLYo+D/lgGhBYfkI/uHA/5De3wm6Ke6F5pdLySTkqU4Ch7J5AWUKce+fezlQCD41 T78XlIVzI4DsohYSQRioS/EkiUSBY6MRYgBLxunOINJvILv2w/j3k2UwARC9XrGFYf+aTC wmj1y5wAOkMBTAfwnr0iR36xyASmCNKwN13HeAji4wxs/DUEARSRUaOtSmy9JIVIOkpGVz C9efPgFEslCkoz7jo4TnJddL1EVVxGqhHQEgfPGYkY8rOi+Fq9CVcaMzRPateA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708024276; a=rsa-sha256; cv=none; b=YF2O9ZEFCQi90fRxgLbj+p4nqZ8l1DQAtqHgxThY25v08QaGLUrLCp/vOdgz1iEzXIzM6Y IirUnWQfmpG1oxfVl07BQ9D7qhu34XWOSwS+gopcx3WxTGHtjARZAFLAFXxz2NseLo+HNj gFD65xGWJHpUdNU7btdjLClI4t/Jdx1hVfptqq0Sa2OWHX0nQUCrwPQ5y53HrokTs4biKF 7l4s8hIBhYQCYAMQMcK3s9dDxUk8QMvCg2y4Hwuk0zXhEMOMjU1rFcaeC1PQQ+u6cw4s6J r/VNO7tQ/NFd7dqKvXwrB8M0VuQOiPFdlasiYpLI4oOjNhZ4Y4UkTMR54fdMlg== 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 4TbPmh1tSvztVq for ; Thu, 15 Feb 2024 19:11:16 +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 41FJBG85059840 for ; Thu, 15 Feb 2024 19:11:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41FJBGZ0059839 for wireless@FreeBSD.org; Thu, 15 Feb 2024 19:11:16 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 274382] iwlwifi Invalid TXQ id Date: Thu, 15 Feb 2024 19:11:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #39 from Bjoern A. Zeeb --- (In reply to Cheng Cui from comment #38) sta is added to FW and in state IEEE80211_STA_NONE sta->lsta->ni is 0xfffffe00ab574000 IEEE80211_STA_NONE can be from scan-to-auth, assoc-down, run-init. Given the fc type/subtype this should be an AUTH frame to it should be scan_to_auth. However: vap->iv_bss 0xfffffe00ab79f000 !=3D lvif_bss->ni 0xfffffe00ab574000 but syn= ched is 1. Can you apply the following change to give us an idea of how the updates to iv_bss go (untested): --- sys/compat/linuxkpi/common/src/linux_80211.c +++ sys/compat/linuxkpi/common/src/linux_80211.c @@ -2531,6 +2531,11 @@ lkpi_iv_update_bss(struct ieee80211vap *vap, struct ieee80211_node *ni) lvif =3D VAP_TO_LVIF(vap); LKPI_80211_LVIF_LOCK(lvif); + ic_printf(vap->iv_ic, "%s:%d: lvif %p vap %p iv_bss %p lvif_bss %p " + "lvif_bss->ni %p synched %d, ni %p\n", __func__, __LINE__, + lvif, vap, vap->iv_bss, lvif->lvif_bss, + (lvif->lvif_bss !=3D NULL) ? lvif->lvif_bss->ni : NULL, + lvif->lvif_bss_synched, ni); lvif->lvif_bss_synched =3D false; LKPI_80211_LVIF_UNLOCK(lvif); Almost also want to dump vap->iv_state here and in lkpi_sta_dump(), if not = the entire history in the latter (taken from ieee80211_ddb.c): int i; printf("iv_nstate %#x %s iv_nstate_b %d iv_nstate_n %d\n", vap->iv_nstate, ieee80211_state_name[vap->iv_nstate], /* histor= ic */ vap->iv_nstate_b, vap->iv_nstate_n); for (i =3D 0; i < NET80211_IV_NSTATE_NUM; i++) { printf("\t [%d] iv_nstates %#x %s _task %p _args %d\n", i, vap->iv_nstates[i], ieee80211_state_name[vap->iv_nstates[i]], &vap->iv_nstate_task[i], vap->iv_nstate_args[i]); } --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Feb 15 20:18:40 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 4TbRGS5rkzz5B6XM for ; Thu, 15 Feb 2024 20:18:40 +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 4TbRGS2ryZz47L4 for ; Thu, 15 Feb 2024 20:18:40 +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=1708028320; 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=iU5XNaqR3K/RPar6HQnzChPRXBEu7fuozeuShw6tOfc=; b=ye8mEnzCGaphllNeVxI1NxtXGrwSAJ4BZpm6XcTrAj9IX2/SIAkvdad1JBW1uvgRAyxBPD TeTmwpO/R8j95VCG8saRk7CdiRv79FrD2LR9JCxOFTrktaLXRg9X3rm6ThIuHvcs79Sg4C kwvIIBNNpnsQN6T2Imztz+ELtZMrjwO2CSPs2USsUdjosylVPxkWFKqdhC7Jx/xHAcP49N wyl8p9gEam1PSDIYUSOunXnlZ4QxyBmyoByhSjbRf06FPUnWuNKwXoOBm9E3j/B3Fh7n1L QurU23LslrY18oN5qUtBYi/df4HwW4M5cCZlG3TtF5ZeClQjWcx7U3qIuji8Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708028320; a=rsa-sha256; cv=none; b=D56PmRMxsuTxVnbGVoQFYZpxdbgC84sooC0Hp63Vq0h+WgctS9JcGRch/Dng1jk2lmlLxY WyphKKZ7FbCybcTOtzt5d8PsKjJBZAHfT9NMtbunftwTxTABils5Z1q5L0c69DS0D4ByTM 1YsThCaeLD/fPdJl69ucKs221VSYGwDQyKGtVAbXLNWDwcWWiPL8r0gw9LVq4Ze4JbQDgR tyA02iNvgzB5l9J2vRFHaiGqsuaawunf0T7va0P3zq0L7LRN+N6JWwAhksKPCYDnXkxAh9 UDKJ21TJ2vPmzjpLSAWQ+vZOTv+Jz8rh6NP4+BZ4g+kp6bfVT/EVvv3XiodmJg== 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 4TbRGS1wvLzwGv for ; Thu, 15 Feb 2024 20:18:40 +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 41FKIek9012383 for ; Thu, 15 Feb 2024 20:18:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41FKIeF9012381 for wireless@FreeBSD.org; Thu, 15 Feb 2024 20:18:40 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 274382] iwlwifi Invalid TXQ id Date: Thu, 15 Feb 2024 20:18:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #40 from Cheng Cui --- (In reply to Bjoern A. Zeeb from comment #39) Thanks. With these extra prints. The dmesg after booting shows: [1.427073] pci0: driver added [1.632542] wlan0: bpf attached [1.632744] iwlwifi0: lkpi_iv_update_bss:2535: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0 lvif_bss 0 lvif_bss->ni 0 synched 0, ni 0xfffffe00ab4b2000 [1.633722] wlan0: bpf attached [1.633851] wlan0: Ethernet address: e0:2e:0b:8f:77:08 [1.652204] lo0: link state changed to UP [1.676088] vtnet0: link state changed to UP [3.027620] iwlwifi0: lkpi_iv_update_bss:2535: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0xfffffe00ab4b2000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe00ab791000 [3.029964] iwlwifi0: lkpi_iv_update_bss:2535: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0xfffffe00ab791000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe00ab79b000 [3.032791] Invalid TXQ id [3.032883] iwl_mvm_tx_mpdu:1208: fc 0x00b0 tid 8 txq_id 65535 mvm 0xfffffe00ab420448 skb 0xfffff8000357e800 { len 30 } info 0xfffffe0063b4cce8 sta 0xfffff800039fe880 (if you see this please report to PR 274382) [3.034103] iwlwifi0: iwl_mvm_tx_mpdu:1210: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0xfffffe00ab79b000 lvif_bss 0xfffff800039fe800 lvif_bss->ni 0xfffffe00ab791000 synched 1 [3.035176] iv_nstate 0x2 AUTH iv_nstate_b 3 iv_nstate_n 0 [3.035470] [0] iv_nstates 0x1 SCAN _task 0xfffffe00ab4ae360 _args 0 [3.035834] [1] iv_nstates 0x2 AUTH _task 0xfffffe00ab4ae380 _args 192 [3.036207] [2] iv_nstates 0x2 AUTH _task 0xfffffe00ab4ae3a0 _args 192 [3.036581] [3] iv_nstates 0 INIT _task 0xfffffe00ab4ae3c0 _args 0 [3.036930] [4] iv_nstates 0 INIT _task 0xfffffe00ab4ae3e0 _args 0 [3.037281] [5] iv_nstates 0 INIT _task 0xfffffe00ab4ae400 _args 0 [3.037631] [6] iv_nstates 0 INIT _task 0xfffffe00ab4ae420 _args 0 [3.037983] [7] iv_nstates 0 INIT _task 0xfffffe00ab4ae440 _args 0 [3.038332] iwl_mvm_tx_mpdu:1210 lsta 0xfffff800039fe800 ni 0xfffffe00ab7910= 00 sta 0xfffff800039fe880 [3.038880] txq_task txq len 0 mtx [3.039032] kc 0 state 1 added_to_drv 1 in_mgd 1 [3.039268] 0xfffffe00ab791000: mac 82:d2:94:c5:6f:ea refcnt 1 [3.039582] authmode 1 flags 0x20004 [3.039746] associd 0x0 txpower 100 vlan 0 [3.039945] txseq 0 rxseq 0 fragno 0 rxfragstamp 0 [3.040193] rssi 32 noise -96 intval 200 capinfo 0x1431 [3.040471] bssid 82:d2:94:c5:6f:ea essid "" channel 2437:0x480 [3.040797] inact 2 inact_reload 2 txrate 72 [3.041009] htcap 9ad htparam 3 htctlchan 6 ht2ndchan 0 [3.041286] htopmode 0 htstbc 0 htchw 0 [3.041468] vhtcap 338959b2 freq1 0 freq2 0 vhtbasicmcs fffc [13.132873] iwlwifi0: lkpi_iv_update_bss:2535: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0xfffffe00ab79b000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe00ab791000 [14.340433] iwlwifi0: lkpi_iv_update_bss:2535: lvif 0xfffffe00ab4ae000 vap 0xfffffe00ab4ae010 iv_bss 0xfffffe00ab791000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe00ab7db000 [14.397601] wlan0: link state changed to UP root@n2fbsdtmp:~ # --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Feb 16 02:00:25 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 4TbZs45fbMz51qfg for ; Fri, 16 Feb 2024 02:00:40 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TbZs40qyZz42hT; Fri, 16 Feb 2024 02:00:39 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of bsd-lists@bsdforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@bsdforge.com Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 41G20PEn066861; Thu, 15 Feb 2024 18:00:31 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Date: Thu, 15 Feb 2024 18:00:25 -0800 From: Chris To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <88c6622d5c606dd5ce193ccbde979bb2@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Queue-Id: 4TbZs40qyZz42hT X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [0.00 / 15.00]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; local_wl_ip(0.00)[24.113.41.81]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[] On 2024-02-14 11:53, Bjoern A. Zeeb wrote: > Hi, > > can I ask everyone who has a spare cycle to test main on/after > 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). > > The last changes include "band-aid" hacks to net80211 which will affect > all drivers and sta/ap mode. > > While the commit messages hint at the problem I'll try to write a longer > summary probably next week so we'll have the actual problems in the > archives and others can chime in. > > Thanks, > /bz I can happily report that your modifications have (at least) prevented a lockup or reboot following a: service netif restart. Prior to your work, this was never possible. It also cleanly associates w/o struggle. Association more often than not failed or struggled repeatedly attempting to connect properly. In an effort to limit any unique variables, I built a completely GENERIC kernel. # uname -a FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n268292-70617458676e: Thu Feb 15 13:42:46 PST 2024 root@fbsd15:/usr/obj/usr/src/amd64.amd64/sys/LENO15 amd64 Thank you! --Chris From nobody Fri Feb 16 02:21:37 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 4TbbKF5j19z53sLC for ; Fri, 16 Feb 2024 02:21:37 +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 4TbbKF4hxgz44s2 for ; Fri, 16 Feb 2024 02:21:37 +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=1708050097; 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=0SF30D9GBxOkTUnXrD4/aDNMav0R9Rc5AQeDddnCWPo=; b=Z6f+Vg3dBRDcH/sZbWwaEyx1K4bkAtjeMIWTzxY47YHpnrHYD4zaZxFGdr+m9GUTir57hI uSzx43CjZNqAdXtM7TzdNysAF87awrrALwXE0AVyS/RiS/CcEgKwsRE9kHZUtejX36CKoa 246JN+iE9SJduFu+7PUlJm9TbFBbBFm2zu8leKzA+gnKmDTcgd4/oESbpW76fHsbpdkY8p qRAr4ZRc55MYZwpCt1nunonSo/46QwfAvdiySufP+UpwLHuHueCEq+XYilGCIE3R2ttFV5 FvO8fYsdiJCu29upfFYTNBhD/6hS52hEIMi+uSPtt0Pw/DqSPhyp55TOo4jONw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708050097; a=rsa-sha256; cv=none; b=de3aUNrjz8dpqDdab2WcfRodShv+U/xbIYa61/lTjCtJ2fn2CoahUoo2PHAgaRYIFhRwI/ dcUOcaKGkKHHODRfl4/ulRieJGUheM6rYAn+iT+VYPycF5zCspNH4IEEbwUQ2Q0OsdDAjv vJUCzuDM9/tifxq/+q40puxi3DQL5V7W04FU1ZchLvyBO7UTEaoSYuMfX2oM6aS5Jz5J4C K7rbuAlkDCUHxyb84na4UzZ4Z2GotVWoEBfCGgFL5f3gXstKD3Pr5XtBbX7KPNwX/x0p1z X+mQNVsHmxshWhpTRvkPJm060nwlnicE9peicXTDFNc8SXg7rFnxyhNgP6WACg== 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 4TbbKF3nH6z15xZ for ; Fri, 16 Feb 2024 02:21: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 41G2LbC9026427 for ; Fri, 16 Feb 2024 02:21:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41G2Lb03026426 for wireless@FreeBSD.org; Fri, 16 Feb 2024 02:21: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: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Fri, 16 Feb 2024 02:21:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #41 from Ed Maste --- dmesg snippit from the Framework laptop which produces one 'Invalid TXQ id'= at boot, with the additional debugging: iwlwifi0: lkpi_iv_update_bss:2574: lvif 0xfffffe01424ae000 vap 0xfffffe01424ae010 iv_bss 0xfffffe0143343000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe0143b40000 iv_nstate 0x1 SCAN iv_nstate_b 1 iv_nstate_n 0 [0] iv_nstates 0x1 SCAN _task 0xfffffe01424ae360 _args 0 [1] iv_nstates 0 INIT _task 0xfffffe01424ae380 _args 0 [2] iv_nstates 0 INIT _task 0xfffffe01424ae3a0 _args 0 [3] iv_nstates 0 INIT _task 0xfffffe01424ae3c0 _args 0 [4] iv_nstates 0 INIT _task 0xfffffe01424ae3e0 _args 0 [5] iv_nstates 0 INIT _task 0xfffffe01424ae400 _args 0 [6] iv_nstates 0 INIT _task 0xfffffe01424ae420 _args 0 [7] iv_nstates 0 INIT _task 0xfffffe01424ae440 _args 0 iwlwifi0: lkpi_iv_update_bss:2574: lvif 0xfffffe01424ae000 vap 0xfffffe01424ae010 iv_bss 0xfffffe0143b40000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe0143b50000 iv_nstate 0x2 AUTH iv_nstate_b 2 iv_nstate_n 0 [0] iv_nstates 0x1 SCAN _task 0xfffffe01424ae360 _args 0 [1] iv_nstates 0x2 AUTH _task 0xfffffe01424ae380 _args 192 [2] iv_nstates 0 INIT _task 0xfffffe01424ae3a0 _args 0 [3] iv_nstates 0 INIT _task 0xfffffe01424ae3c0 _args 0 [4] iv_nstates 0 INIT _task 0xfffffe01424ae3e0 _args 0 [5] iv_nstates 0 INIT _task 0xfffffe01424ae400 _args 0 [6] iv_nstates 0 INIT _task 0xfffffe01424ae420 _args 0 [7] iv_nstates 0 INIT _task 0xfffffe01424ae440 _args 0 ieee80211_get_he_iftype_cap_vif:2703: XXX LKPI80211 TODO ieee80211_sta_recalc_aggregates:2189: XXX LKPI80211 TODO Invalid TXQ id iwl_mvm_tx_mpdu:1208: fc 0x00b0 tid 8 txq_id 65535 mvm 0xfffffe0142c31448 s= kb 0xfffff8000250b000 { len 30 } info 0xfffffe00e4e5dcc0 sta 0xfffff80001d6a880 (if you see this please report to PR 274382) iwlwifi0: iwl_mvm_tx_mpdu:1210: lvif 0xfffffe01424ae000 vap 0xfffffe01424ae= 010 iv_bss 0xfffffe0143b50000 lvif_bss 0xfffff80001d6a800 lvif_bss->ni 0xfffffe0143b40000 synched 1 iv_nstate 0x2 AUTH iv_nstate_b 3 iv_nstate_n 0 [0] iv_nstates 0x1 SCAN _task 0xfffffe01424ae360 _args 0 [1] iv_nstates 0x2 AUTH _task 0xfffffe01424ae380 _args 192 [2] iv_nstates 0x2 AUTH _task 0xfffffe01424ae3a0 _args 192 [3] iv_nstates 0 INIT _task 0xfffffe01424ae3c0 _args 0 [4] iv_nstates 0 INIT _task 0xfffffe01424ae3e0 _args 0 [5] iv_nstates 0 INIT _task 0xfffffe01424ae400 _args 0 [6] iv_nstates 0 INIT _task 0xfffffe01424ae420 _args 0 [7] iv_nstates 0 INIT _task 0xfffffe01424ae440 _args 0 XXX-TODO linuxkpi_ieee80211_iterate_keys:4728: UNIMPLEMENTED iwlwifi0: lkpi_iv_update_bss:2574: lvif 0xfffffe01424ae000 vap 0xfffffe01424ae010 iv_bss 0xfffffe0143b50000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe0143b58000 iv_nstate 0 INIT iv_nstate_b 6 iv_nstate_n 0 [0] iv_nstates 0x1 SCAN _task 0xfffffe01424ae360 _args 0 [1] iv_nstates 0x2 AUTH _task 0xfffffe01424ae380 _args 192 [2] iv_nstates 0x2 AUTH _task 0xfffffe01424ae3a0 _args 192 [3] iv_nstates 0x1 SCAN _task 0xfffffe01424ae3c0 _args 1 [4] iv_nstates 0x1 SCAN _task 0xfffffe01424ae3e0 _args 1 [5] iv_nstates 0 INIT _task 0xfffffe01424ae400 _args 3 [6] iv_nstates 0 INIT _task 0xfffffe01424ae420 _args 0 [7] iv_nstates 0 INIT _task 0xfffffe01424ae440 _args 0 iwlwifi0: lkpi_iv_update_bss:2574: lvif 0xfffffe01424ae000 vap 0xfffffe01424ae010 iv_bss 0xfffffe0143b58000 lvif_bss 0 lvif_bss->ni 0 sync= hed 0, ni 0xfffffe0143b40000 iv_nstate 0x1 SCAN iv_nstate_b 7 iv_nstate_n 0 [0] iv_nstates 0x1 SCAN _task 0xfffffe01424ae360 _args 0 [1] iv_nstates 0x2 AUTH _task 0xfffffe01424ae380 _args 192 [2] iv_nstates 0x2 AUTH _task 0xfffffe01424ae3a0 _args 192 [3] iv_nstates 0x1 SCAN _task 0xfffffe01424ae3c0 _args 1 [4] iv_nstates 0x1 SCAN _task 0xfffffe01424ae3e0 _args 1 [5] iv_nstates 0 INIT _task 0xfffffe01424ae400 _args 3 [6] iv_nstates 0x1 SCAN _task 0xfffffe01424ae420 _args 0 [7] iv_nstates 0 INIT _task 0xfffffe01424ae440 _args 0 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Feb 16 06:59:17 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 4TbjTx71xPz5B1WV for ; Fri, 16 Feb 2024 06:59:33 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4TbjTw6DmNz4hl9 for ; Fri, 16 Feb 2024 06:59:32 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua; dmarc=none Received: from [46.211.241.46] (helo=[192.168.188.61]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1rasBv-000000007jv-2csM for wireless@freebsd.org; Fri, 16 Feb 2024 08:59:23 +0200 Message-ID: <399ad69f-8f42-433c-994a-aa69ad936be5@shurik.kiev.ua> Date: Fri, 16 Feb 2024 08:59:17 +0200 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: PLEASE TEST (all drivers) sta/ap mode To: wireless@freebsd.org References: Content-Language: uk-UA From: Oleksandr Kryvulia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: SPF failed. 46.211.241.46 is not allowed to send mail from shurik.kiev.ua. X-Rspamd-Queue-Id: 4TbjTw6DmNz4hl9 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.08 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.80)[-0.795]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] 14.02.24 21:53, Bjoern A. Zeeb: > Hi, > > can I ask everyone who has a spare cycle to test main on/after > 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). > > The last changes include "band-aid" hacks to net80211 which will affect > all drivers and sta/ap mode. > > While the commit messages hint at the problem I'll try to write a longer > summary probably next week so we'll have the actual problems in the > archives and others can chime in. > I do not see any regressons with AX211 in station mode. Thank you. From nobody Fri Feb 16 15:32:29 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 4Tbwst1zC0z51q0q for ; Fri, 16 Feb 2024 15:32:34 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tbwst1XpWz4qhf; Fri, 16 Feb 2024 15:32:34 +0000 (UTC) (envelope-from bz@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708097554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IrSknzP13u4lKa+br9HsIUgKO1ahMZsBN+uN7i7Gc20=; b=MSgN9kUJSHmPf77lAANIqgYhVHkIMVAi3aRbwR6grGar3o52vygbKlnD43kALSWbWxqf8z /C714MkDNcwiTSqiTZLoet7B9QP8Q9SxeOAiVRNJ8aN25zvvdgY/Z73DgtsW8NtoEEOJkV wPVwNbTf2ICaUrPhIQyQsj5gJJ0bNP1lP+1Xs6O2CqB7ClStD+ZI3NVNZxv08Yr3zO6IyH 1bbPmTpMvIdnWErTirmXEczmBNxQ7yRzt1DxpsxL1WUof7MBR9XIxtZduBd4ktrzOTmP70 ZpYaMBkGw3cAz9KsIEWfjjBdOLvmeBco+fAuWdzaZdR9oSQZRkB9lN6zLYNH4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708097554; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IrSknzP13u4lKa+br9HsIUgKO1ahMZsBN+uN7i7Gc20=; b=agznByWUANzqv6VuZlOPu9QX5PolgFDswOjNXD410NejrDu0VDZyaAlqAwxtWXsRwJ6vwT K8S00BJrLeCoi34CyCtHqLdDDe/hIG0/rDZfECMqKM4oCzYtQjHu/NpO3BgvErL1B7IQfC U+O0uoyRXc75yTy6xxlHAmdXkse2EYArArq4X1e32ZdYNB0kcgPo7PQm8lgYJIrVzWZUqm gnWHlWG1osnnbhsL8Z5P7D3gBSI/XTX4DRqA6OV8ZpXJscjiT555EoUFHhBL0UmhTd7kUs edU3VdeinCD/MkuttWpcRS0FaAiIUJpxYi1yarIKkJEp90bgJYZC4hDu9elYdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708097554; a=rsa-sha256; cv=none; b=SblcnfXK+R4Zl8ap9TsQDzJ6/CWOItgWpXDf5+N7ti9VEiWjCVh4l5pdPTV70DAVsS9GL+ CLHNK7jIJLDDoc5dbFec9o67c7PIOd9j+i75Lk1+Q6IWLuioL5VR6iU7aRRqAxH2yMmiLa T2cm6+9Wojayl8JteXUR1ZmPXbmHTnsu17A1iUAnMWy8MTWEXnHAbc8HH17KhMOy9yQ9B1 Xt25067ipbaEfrAJQLPcpORIqL0lLN6drCwNzY3KCXUkZG+N4PtGFca/IfDVFNQhAPT7Ia QT7+iNPBbUXH+1iuGCACpGjN1ePZhXpXezggn60HCKf5J/4JUSQxnbLvZF8tYQ== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tbwst00MwzLqD; Fri, 16 Feb 2024 15:32:33 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id C82E48D4A212; Fri, 16 Feb 2024 15:32:31 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7B4FF2D029D8; Fri, 16 Feb 2024 15:32:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id WDQz0gsLs4xy; Fri, 16 Feb 2024 15:32:30 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 99E562D029D7; Fri, 16 Feb 2024 15:32:30 +0000 (UTC) Date: Fri, 16 Feb 2024 15:32:29 +0000 (UTC) From: "Bjoern A. Zeeb" To: Chris cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: <88c6622d5c606dd5ce193ccbde979bb2@bsdforge.com> Message-ID: <335n2r14-o9s6-723r-n175-2q0ns84q6193@serrofq.bet> References: <88c6622d5c606dd5ce193ccbde979bb2@bsdforge.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 15 Feb 2024, Chris wrote: > On 2024-02-14 11:53, Bjoern A. Zeeb wrote: >> Hi, >> >> can I ask everyone who has a spare cycle to test main on/after >> 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). >> >> The last changes include "band-aid" hacks to net80211 which will affect >> all drivers and sta/ap mode. >> >> While the commit messages hint at the problem I'll try to write a longer >> summary probably next week so we'll have the actual problems in the >> archives and others can chime in. >> >> Thanks, >> /bz > I can happily report that your modifications have (at least) prevented a > lockup or reboot following a: service netif restart. Prior to your > work, this was never possible. It also cleanly associates w/o struggle. > Association more often than not failed or struggled repeatedly > attempting to connect properly. > > In an effort to limit any unique variables, I built a completely GENERIC > kernel. Thanks Chris; and for the records, I assume this was iwlwifi too. > # uname -a > FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 > main-n268292-70617458676e: Thu Feb 15 13:42:46 PST 2024 > root@fbsd15:/usr/obj/usr/src/amd64.amd64/sys/LENO15 amd64 > > Thank you! > > --Chris > -- Bjoern A. Zeeb r15:7 From nobody Fri Feb 16 15:35:50 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 4Tbwxj5PpDz51pVQ for ; Fri, 16 Feb 2024 15:35:53 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tbwxj4pDcz4rM9; Fri, 16 Feb 2024 15:35:53 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708097753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gM8FDM0T7ZoK2GmlRUwA4oIcEx7nVyaY26wKKC7L5mE=; b=AJpS69pXvGN+wVmYMFrjBduaaTVbMyy0kPM7h569vpe7SDYDJoprbUs7NlXCv+WNGj9sSf ftlAw75/Cp0dNgeZUAsQe1D5TwUg4kujt5Ad7Llb/i3tJrVCROn9d9yeL4QaaJPwr/j/SK hMqIlrjdWSFsIadrOjZk7x+s3Chr0Bp1ZmxvS+oUrsunwJtULxDQpw298Aobna6I7rnX2l q2aKQfXZhP4e1l/wvkuQIohZwgT4ZJ+jCNwzvlQf2iVH0c4xCOZ3vmAh38KZTJs4hZdTCc K1lGWVCnKJJH9Z1lPSWgU7aSu1tQUJkNfyXk5daisJTaRrsexy9aO20cC9DQVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708097753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gM8FDM0T7ZoK2GmlRUwA4oIcEx7nVyaY26wKKC7L5mE=; b=GJBAxl/t7i/H4w0ElNVvWbR+8EDARPKq88HLHHsY+JNKzO7XhHJmUthwOw9vnrVcfyXOAY E2s3oYCLco0IIEBbIqTvgHlF1VOkLyTxT0EqrB97vZadHl94RABjaeiQ4Zfs14eDOIGXiO 2ksxhE9J9i1dDTajpf7fYtkC/YunawYniEhbzBUJXNVatUhOuRQHxzRLZoD1hsTVBRb9af hb5bZVTPL/El164ngtJMJDRn8TPxVe9HSihImoi6x2i6mdPjMsgdhAyylKGr9twvCwIv8a KL3ywBXo36uzB8l2RQAG+FqYskpQUy4iaxl/cwRx8IroIShA7bjNtpST3ltAkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708097753; a=rsa-sha256; cv=none; b=KfdckWow47umWTknuKghCP2xTmEVxSLeKzWYTzPCRQqXDfeI9F7i0FnUfjB1beiGGtDVFC dL6mNNzuioAk/vGIRS0tz7lPhz3dA4TdXvJi82Q67GFVpb/1soW2Vw8XRSZCq0vsLCSA5B x7GZ1xmOAYWbkkfm5U8MH2bf2fJN7L2rD3g/SZiOpNo8dq/GT6PdHihww2pCK3QX8gpAqQ yQuZuDr9u5jXOSSLu4BtIjXlR+n9mNi8LtMhdrd7Q8oL9FCcwcxLSbixfvbI+9y1xRFO94 mjmmuuH4NEPltS6f15ML5pOV5tuwG8LYYwl+fpJ9TK83yYD0WioZoaWGVNdfbA== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tbwxj2zqdzM8P; Fri, 16 Feb 2024 15:35:53 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 034378D4A212; Fri, 16 Feb 2024 15:35:51 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id A238A2D029D7; Fri, 16 Feb 2024 15:35:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id qhRq0DBpSZqu; Fri, 16 Feb 2024 15:35:51 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 003A02D029D2; Fri, 16 Feb 2024 15:35:50 +0000 (UTC) Date: Fri, 16 Feb 2024 15:35:50 +0000 (UTC) From: "Bjoern A. Zeeb" To: Oleksandr Kryvulia cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: <399ad69f-8f42-433c-994a-aa69ad936be5@shurik.kiev.ua> Message-ID: References: <399ad69f-8f42-433c-994a-aa69ad936be5@shurik.kiev.ua> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Fri, 16 Feb 2024, Oleksandr Kryvulia wrote: > 14.02.24 21:53, Bjoern A. Zeeb: >> Hi, >> >> can I ask everyone who has a spare cycle to test main on/after >> 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). >> >> The last changes include "band-aid" hacks to net80211 which will affect >> all drivers and sta/ap mode. >> >> While the commit messages hint at the problem I'll try to write a longer >> summary probably next week so we'll have the actual problems in the >> archives and others can chime in. >> > > I do not see any regressons with AX211 in station mode. > Thank you. Thanks for testing and reporting back! AX211 is also good to hear about. /bz -- Bjoern A. Zeeb r15:7 From nobody Fri Feb 16 15:51:26 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 4TbxHg49W0z51s4Y for ; Fri, 16 Feb 2024 15:51: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 4TbxHg35gVz4t0V for ; Fri, 16 Feb 2024 15:51:27 +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=1708098687; 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=mRVqMweIRvZhunvEqOtOWhkh36KZujDCeMIcxC8W6ow=; b=Rm34eh2xcs0xDbP8FZbhdHQn+of5Z0i5fDNzqyFLpFEGXNkJuxHq9TdGv9LosrpBBaBYjZ Mt7KvJnhf25uXtqPcREZi9rlbuU+6d/ie5UNTcCdChjvwL4OEbR1+CVcDDcZW74wyjm3fG SwivESry82gmoVzIfjcejUAhuZ9YkXDnv7KLElLnzN8nXWIr1BFcVtfEuL7hwG8X7HmvQB drKf+ITv0WpdPCLiuPPkvmdjYMfu/q1uAF6eXTQNnx84roi0Cjc89jt4qJELEbqoB6MRi4 QdJgqRv6TwEsmbw5RkdQ5hbFlwRMeiGdXVaHNGMbwBaeUA84GXACoSRgWMqCcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708098687; a=rsa-sha256; cv=none; b=s5xplMEV2u8Wri8XabnJkYC+4TRRfDMJP7bXnOqW2Ke+2RwMmsg4cMMWDBmJoomhUKjsLu rAPo3Bgk/VXt6SFdprfy/5xqJyDBGyu56KXJJfXFyJt538XttE9obe5Oe9UwS+cEJEmkNR IJk1KtZlIXKHiSVSnNsWcrNZszRvMefTQTxhqHVKnGWG5yLH0HD8xQgoU4u1lmGE8jV2Ug s0oXrWf/9GlDlmUzTFr+0vQPBPJ4/Wsm8WVsU0Z3ueHjf1e+N0jawMVEbCdDWXU0Gr3Nv2 2YdjLx3rMd52t85P1+KjguuoZg5CAYmpQoRd1dav2nkQ7u+1CFv527yb1ulzaw== 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 4TbxHg2CtbzWwf for ; Fri, 16 Feb 2024 15:51:27 +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 41GFpRPp004583 for ; Fri, 16 Feb 2024 15:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GFpRLW004581 for wireless@FreeBSD.org; Fri, 16 Feb 2024 15:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Fri, 16 Feb 2024 15:51:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #42 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfa4e4257943650c0b5f58c01bb0bdfade= a61dfb2 commit fa4e4257943650c0b5f58c01bb0bdfadea61dfb2 Author: Bjoern A. Zeeb AuthorDate: 2024-02-14 21:56:48 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-16 15:50:11 +0000 LinuxKPI: 802.11: lsta txq locking cleanup Rename the LSTA lock to LSTA_TXQ lock as that is really what it is and put down the full set of macros. Replace the init and destroy with the macro invocation rather than direct code. Put locking around the txq_ready unset and check. Move the taskq_enqueue call under lock to be sure we do not call it anymore after txq_ready got unset. Leave a comment related to the node reference which is passed into the TX path on the recvif mbuf pointer. Fixes: 0936c648ad0ee PR: 274382 (possibly) MFC after: 1 day Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D43909 sys/compat/linuxkpi/common/src/linux_80211.c | 31 ++++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 14 +++++++++++-- 2 files changed, 32 insertions(+), 13 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Feb 16 16:24:31 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 4Tby1r2Nt4z53RJ7 for ; Fri, 16 Feb 2024 16:24:32 +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 4Tby1q6bbHz4wtL for ; Fri, 16 Feb 2024 16:24:31 +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=1708100671; 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=NcUjvVccKaFog7KPlruRxB2qQvex6zO7p6AtldtJLPk=; b=hyw/4GDNTNMeWpjR/HiovTDChkbBB7bv2g12QVa4cCYGcxfYNDn9czxsae0XaaRJg3ll1G 7M0LUqGY1joYb9URIAPDwAJkLp4ewYqi4l9TlWprxZ5Ii+hOoZxOxmGhVYpZsf+SQV/1Ih 6tddLIUVB/l/IzdUW+cKhxOdW1dV6n8i2onIzd+PDXVBxGFvidzfu+xJ8iLkWQqnashDBb Oo/kS5EvVjeO2MtrVRuJc5yg18AvSyVVP26PHYO5cqhdHPYfEpbeB5olBwk96/mQb5hTBi cXL26RFJorZoNzOAVCQea9YrIhR9wF9sXyVY0sgGqflsYA87WVJqbiyFRCaH8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708100671; a=rsa-sha256; cv=none; b=S905RI8vrpKjFSWl59v/7wYJAJRIN+EdszsNcfkAAh+f9bAHJoZg6yzTNAms55gFWixJhW izS8QqNRGBtw1EcC4mIWvDp7e6SbGRgW/uZdkHb9zCZehzw9AqvF9JmlnOiXnspymBKg28 /1kowrJb9fu7F2QPpncn9TkPUl71oDgA4kOSKwBBqDfrY5+EC1lwRLzaVhQ++eNdW8NzMF tbO86EMeRCZB/9ierUlbtJi5IqkZMjsOB/Cd2YT5LXvXPx8UqMSlA9WfkAJRhGLrA6QT3j nKIJyRc8h2+fbukIA9QsD2U/teIhEhKjQF4yD6Kf/W1Gb1SbrDg562QCO6k6jQ== 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 4Tby1q5h61zXVv for ; Fri, 16 Feb 2024 16:24:31 +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 41GGOVdo082340 for ; Fri, 16 Feb 2024 16:24:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GGOVHI082333 for wireless@FreeBSD.org; Fri, 16 Feb 2024 16:24:31 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 277095] iwlwifi development in private build: exclusive sleep mutex iwlwifi0_node_l (iwlwifi0_node_l) r = 0 locked Date: Fri, 16 Feb 2024 16:24:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277095 Bug ID: 277095 Summary: iwlwifi development in private build: exclusive sleep mutex iwlwifi0_node_l (iwlwifi0_node_l) r =3D 0 locked Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: cc@FreeBSD.org Hit this bug on testing LKPI_80211_HW_CRYPTO in my private bug. backtraces: [3.519235] wlan0: link state changed to UP [3.535842] iwlwifi0: _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [3.537429] uma_zalloc_debug: zone "malloc-64" with the following non-sleepa= ble locks held: [3.537952] exclusive sleep mutex iwlwifi0_node_l (iwlwifi0_node_l) r =3D 0 (0xfffffe00ab44a620) locked @ /usr/src/sys/net80211/ieee80211_node.c:2209 [3.538837] stack backtrace: [3.539105] #0 0xffffffff80bc9475 at witness_debugger+0x65 [3.539522] #1 0xffffffff80bca5d9 at witness_warn+0x3e9 [3.539932] #2 0xffffffff80eeb174 at uma_zalloc_debug+0x34 [3.540353] #3 0xffffffff80eeac87 at uma_zalloc_arg+0x27 [3.540735] #4 0xffffffff80b273fe at malloc+0x7e [3.541082] #5 0xffffffff80de2182 at _lkpi_iv_key_set_delete+0x42 [3.541539] #6 0xffffffff80cd2124 at _ieee80211_crypto_delkey+0x74 [3.542007] #7 0xffffffff80cd208e at ieee80211_crypto_delkey+0x1e [3.542457] #8 0xffffffff80cfcde9 at ieee80211_node_delucastkey+0x79 [3.542923] #9 0xffffffff80cef1ce at ieee80211_ioctl_delkey+0xfe [3.543362] #10 0xffffffff80cecd68 at ieee80211_ioctl_set80211+0x5d8 [3.543838] #11 0xffffffff80ceb915 at ieee80211_ioctl+0x305 [3.544246] #12 0xffffffff80c8987f at ifioctl+0x93f [3.544598] #13 0xffffffff80bcedb6 at kern_ioctl+0x286 [3.544968] #14 0xffffffff80bceac3 at sys_ioctl+0x143 [3.545361] #15 0xffffffff8105d473 at amd64_syscall+0x153 [3.545779] #16 0xffffffff8102f89b at fast_syscall_common+0xf8 [3.547182] Sleeping thread (tid 100151, pid 303) owns a non-sleepable lock [3.547623] KDB: stack backtrace of thread 100151: [3.548105] sched_switch() at sched_switch+0x5d9/frame 0xfffffe00641e96d0 [3.549142] mi_switch() at mi_switch+0x170/frame 0xfffffe00641e96f0 [3.550112] sleepq_switch() at sleepq_switch+0x104/frame 0xfffffe00641e9730 [3.551133] sleepq_timedwait() at sleepq_timedwait+0x4b/frame 0xfffffe00641e= 9770 [3.552266] linux_add_to_sleepqueue() at linux_add_to_sleepqueue+0x92/frame 0xfffffe00641e97c0 [3.553520] linux_wait_event_common() at linux_wait_event_common+0x142/frame 0xfffffe00641e9800 [3.554653] iwl_trans_txq_send_hcmd() at iwl_trans_txq_send_hcmd+0x1ba/frame 0xfffffe00641e9890 [3.555701] iwl_trans_send_cmd() at iwl_trans_send_cmd+0xce/frame 0xfffffe00641e98c0 [3.556667] iwl_mvm_send_cmd_pdu() at iwl_mvm_send_cmd_pdu+0x6d/frame 0xfffffe00641e9910 [3.557662] _iwl_mvm_sec_key_del() at _iwl_mvm_sec_key_del+0x24b/frame 0xfffffe00641e99b0 [3.558663] iwl_mvm_mac_set_key() at iwl_mvm_mac_set_key+0x6c/frame 0xfffffe00641e99f0 [3.559822] _lkpi_iv_key_set_delete() at _lkpi_iv_key_set_delete+0x1c8/frame 0xfffffe00641e9a50 [3.561067] _ieee80211_crypto_delkey() at _ieee80211_crypto_delkey+0x74/frame 0xfffffe00641e9a70 [3.562296] ieee80211_crypto_delkey() at ieee80211_crypto_delkey+0x1e/frame 0xfffffe00641e9a90 [3.563517] ieee80211_node_delucastkey() at ieee80211_node_delucastkey+0x79/frame 0xfffffe00641e9ae0 [3.564779] ieee80211_ioctl_delkey() at ieee80211_ioctl_delkey+0xfe/frame 0xfffffe00641e9b10 [3.565986] ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5d8/fra= me 0xfffffe00641e9b80 [3.567226] ieee80211_ioctl() at ieee80211_ioctl+0x305/frame 0xfffffe00641e9= be0 [3.568333] ifioctl() at ifioctl+0x93f/frame 0xfffffe00641e9cd0 [3.569311] kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe00641e9d30 [3.570316] sys_ioctl() at sys_ioctl+0x143/frame 0xfffffe00641e9e00 [3.571427] amd64_syscall() at amd64_syscall+0x153/frame 0xfffffe00641e9f30 [3.572382] fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00641e9f30 [3.573154] --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0xf05bde0bafa, r= sp =3D 0xf05b7fc6f68, rbp =3D 0xf05b7fc6fc0 --- [3.573950] panic: sleeping thread [3.574108] cpuid =3D 1 [3.574181] time =3D 1708099872 [3.574306] KDB: stack backtrace: [3.574569] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00641d5710 [3.575614] vpanic() at vpanic+0x135/frame 0xfffffe00641d5840 [3.576540] panic() at panic+0x43/frame 0xfffffe00641d58a0 [3.577462] propagate_priority() at propagate_priority+0x29f/frame 0xfffffe00641d58e0 [3.578579] turnstile_wait() at turnstile_wait+0x377/frame 0xfffffe00641d5930 [3.579614] __mtx_lock_sleep() at __mtx_lock_sleep+0x1dc/frame 0xfffffe00641d59c0 [3.580665] __mtx_lock_flags() at __mtx_lock_flags+0xe1/frame 0xfffffe00641d= 5a10 [3.581766] _ieee80211_free_node() at _ieee80211_free_node+0x34/frame 0xfffffe00641d5a50 [3.582946] ieee80211_tx_complete() at ieee80211_tx_complete+0xd5/frame 0xfffffe00641d5a80 [3.584164] linuxkpi_ieee80211_tx_status_ext() at linuxkpi_ieee80211_tx_status_ext+0x379/frame 0xfffffe00641d5b80 [3.585551] linuxkpi_ieee80211_tx_status() at linuxkpi_ieee80211_tx_status+0x45/frame 0xfffffe00641d5bd0 [3.586735] iwl_mvm_rx_tx_cmd() at iwl_mvm_rx_tx_cmd+0x3bc/frame 0xfffffe00641d5ca0 [3.587696] iwl_mvm_rx_common() at iwl_mvm_rx_common+0x1d6/frame 0xfffffe00641d5ce0 [3.588655] iwl_pcie_rx_handle() at iwl_pcie_rx_handle+0x43d/frame 0xfffffe00641d5de0 [3.589629] iwl_pcie_napi_poll_msix() at iwl_pcie_napi_poll_msix+0x2d/frame 0xfffffe00641d5e20 [3.590823] lkpi_napi_task() at lkpi_napi_task+0x1f/frame 0xfffffe00641d5e40 [3.591905] taskqueue_run_locked() at taskqueue_run_locked+0xab/frame 0xfffffe00641d5ec0 [3.593039] taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe00641d5ef0 [3.594161] fork_exit() at fork_exit+0x82/frame 0xfffffe00641d5f30 [3.594987] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00641d5f30 [3.595697] --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- [3.595988] KDB: enter: panic --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 16 16:26:19 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 4Tby3v1g60z53R99 for ; Fri, 16 Feb 2024 16:26:19 +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 4Tby3v01vhz4wpq for ; Fri, 16 Feb 2024 16:26:19 +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=1708100779; 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=9ocFiKo8+aZWJT9jrMPkpL1+ebTcLrmsUTVDfsEIfCU=; b=tHJKJlEj7Fu52ngSro9JD8A/JqgNaFrZKN+qtnr/o6Xi2lEBYwhpgN71VPUzOf+0xD3HRo PRUzz7uNC69bLcvN84HUIsTSNWBmnmqUE3faA3l8EfV8FOrMeU7L8Xg2xxNdcjsLvNsCsp jWXedlTjauf4ILhpwyw33gIaYyBEpRE/IfE5HaLCeVJh8JezpoAZ2LMLyyUEl9nNoC6GUC BlrSdE8kLytRwd9uJ3aTq0Bg9T2Ut3S7Nf6EZT136jB04dHqZEJ4x4671aTps79KgNbJbd O9Z8n+ezflU+0rkim6CipJXZwyphXTBBHAp/qOPiEM1vr9LHZp3cC3iJfW5wbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708100779; a=rsa-sha256; cv=none; b=KFlDPLiw2sbxHQAi9TXafeUWJnK95+GOaSDYouRVs9fBfXNfivyJ4QNg0m6dnmHJxcPTCA MnZJoPj1UIJsdEuEY93ZmRKWiIoqFAakyyQZmUa8U2CLJpGRc4kJFv2Dm6nYI43JCJhmkJ uCUlET2z1P/XGuI3aNQn7MnzyZyA5N9bseFQltrfRGRJVAYS4Q9LT7Z9a/dgrHAuCsNXOV W2Z50wQpezwnh5JxXC4KXWNXWXu3fK50OE8f94u8bQLdMSlp0meIfbUezdxGkQ7eI7Ibz8 TluhpAi2vFbj/kVySVcByvZ83Vrc6qNr6RbjK2JhYegdbo/qEYOdu+840Yl0eA== 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 4Tby3t65jjzXpZ for ; Fri, 16 Feb 2024 16:26: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 41GGQI2V088165 for ; Fri, 16 Feb 2024 16:26:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GGQImu088163 for wireless@FreeBSD.org; Fri, 16 Feb 2024 16:26: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: wireless@FreeBSD.org Subject: [Bug 277095] iwlwifi development in private build: exclusive sleep mutex iwlwifi0_node_l (iwlwifi0_node_l) r = 0 locked Date: Fri, 16 Feb 2024 16:26:19 +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: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status blocked assigned_to cc keywords version 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277095 Cheng Cui changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Blocks| |276095 Assignee|wireless@FreeBSD.org |cc@FreeBSD.org CC| |bz@FreeBSD.org Keywords| |tracking Version|15.0-CURRENT |CURRENT Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276095 [Bug 276095] DEVELOPMENT: wireless development coordination meta-bug --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 16 21:24:00 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 4Tc4gP4crMz59gCL for ; Fri, 16 Feb 2024 21:24:01 +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 4Tc4gP1mFjz4VrL for ; Fri, 16 Feb 2024 21:24:01 +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=1708118641; 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=cmzvG3dPCVq5O+10zkcLHjhMiDMRUZ2UW+kHGDAleBQ=; b=b2jFGrVJYvAcbsV4kT6tnHBus+1914DNxgHxDIKbQ44eqGHN+BzbGLzyPDFpY6D22zQD/I tP2PpKt22VhcImigAuWSIv+V4/QXClYSIGnFuInKOTbfU6+Qj9iv1pbZlLNvFjUJp2qmpf 9rG7A9rC4VgZgQHOEYa/AxcQBRqv71n9KnPPB+O/rkisz9YRFCZ7og0gmFBeqoX5zjgMhf E/DBzY6NmSVV0ChTGY8J0rQpQj9IQaiN50f0tcFTb9N6eJ4yTQzIRwLVCL83ibQ/NmDeDH wLelhKhh6TDf+OgrNVXt6z0E7P1kSDArn8L15udrnEfQP8xXKGsJ2Xiyq7Rg6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708118641; a=rsa-sha256; cv=none; b=I6b9R0nva7wgjE34DBSwYQJ7QtC4L06k7cqDNABvp/Xbi1OT5RXQ9Atu/TF3IKMrUvJuKa vc5rCeUsLjxz9p1tXkVzu5JweGKF9XvRw+uuKoy0VRuSPjXpjt9NqP6On9OqCy3ba1u1LM xONnxA0o2usdOJ2pUaQp5xvk+DfFQCfsC5+88rFjQ1YNQmpeq5E4xk18mmYmX0L4kRNaZy mWdIvn5J43Q1TcvjaLSltdD0G/OPjZSUtLP000sD9bhq60uJhIzKIlS6D7pjEeLThPR8wV f75k9D5OPms8GsF7qYXG9clXk37IkttzZSoz71Ug0cR8LKNyOK3X/hebs+worg== 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 4Tc4gP0sm5zh9H for ; Fri, 16 Feb 2024 21:24:01 +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 41GLO1nA072424 for ; Fri, 16 Feb 2024 21:24:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GLO1CZ072423 for wireless@FreeBSD.org; Fri, 16 Feb 2024 21:24:01 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 274382] iwlwifi Invalid TXQ id Date: Fri, 16 Feb 2024 21:24:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #43 from Bjoern A. Zeeb --- Anyone who's seen this, can you please test: https://reviews.freebsd.org/D43944 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Feb 16 21:53:56 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 4Tc5Kw3gxFz59lCS for ; Fri, 16 Feb 2024 21:53:56 +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 4Tc5Kw1Qdvz4YT4 for ; Fri, 16 Feb 2024 21:53:56 +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=1708120436; 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=UBwQbNqHdaihAQFyb+6dMOkuU7PhbDVOyM2Nn4AJkxo=; b=Yvq7br9J+rcXKMXzdYafDiQCFtzZHo6bb+96A+GECfMcavsKlfjZ7GiHy0lOyJp80EyFi1 5vGgX/eFNNiLUjrO+BwLtgJ/6hx53mTSproWJGCBa64Reb39oX4j4JWcH3A7x5TdgIm7RW HqL87wADaZn1mAs+zh5qnu0VsU+1x4ArWjFXwLa9BSoY7WvZqPIgpxvRdNONDdrzcBtXqF BMX01qpv442P4TIeylYdKh6l837hgzcJi2n1UOzK24d5WYpz4WGldEhT0BbN1PluJSz4Zs Y9s355TVF44vz4Dn6eCdbaLvrzo4PTvNShmkZmOBVadJpFafDNFO43A23+2twQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708120436; a=rsa-sha256; cv=none; b=k35XExy0kNYhJ1D4zq9KUt9Oq7LJx8WhJRqQxCKZIY6DKL2EUgd9NYksaqZfv3ISKLtFhc P28t/aDeGps8nHVOIsvfGzsCFN6CS9L2rMTcZrq6yzrdLPoQiYXa9YfEu2/4wGXxHEKcK2 iVbQSkWQsIJd3xmo30oky1SxhjQm11L0M5ueEhtGNq05EN5wXnp+4TQWdTBSsk/8s52Nvo VSxeHXrd1jyB6JaawvDDKQ10UhthrLibomoobyoCRhRM9LGPqK33nvpDM2B1S3tLVtRQqw O23NY9N1EfZqybvCO4uKndpoTiCVxDxz0ThOtR0a+0an3DDP62+8VvIUY8LYlw== 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 4Tc5Kw0WHzzhkF for ; Fri, 16 Feb 2024 21:53:56 +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 41GLrueT027676 for ; Fri, 16 Feb 2024 21:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GLruwB027671 for wireless@FreeBSD.org; Fri, 16 Feb 2024 21:53:56 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 277100] LinuxKPI w/ LKPI_80211_HW_CRYPTO: in private build iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_lo) r = 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw.c:436 Date: Fri, 16 Feb 2024 21:53:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277100 Bug ID: 277100 Summary: LinuxKPI w/ LKPI_80211_HW_CRYPTO: in private build iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_lo) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw.c:436 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: cc@FreeBSD.org Hit this bug on testing LKPI_80211_HW_CRYPTO in my private build. I am amazed it does not cause a panic/crash this time. =3D=3D=3D backtraces from dmesg (multiple cases) =3D=3D=3D ... [42.544686] wlan0: link state changed to UP [42.556806] iwlwifi0: _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [42.558904] uma_zalloc_debug: zone "malloc-64" with the following non-sleep= able locks held: [42.559243] iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_l= o) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw= .c:436 [42.560370] stack backtrace: [42.560631] #0 0xffffffff80bc9475 at witness_debugger+0x65 [42.560985] _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx= 0 flags 0 [42.561791] #1 0xffffffff80bca5d9 at witness_warn+0x3e9 [42.562205] #2 0xffffffff80eeb184 at uma_zalloc_debug+0x34 [42.562640] #3 0xffffffff80eeac97 at uma_zalloc_arg+0x27 [42.563029] #4 0xffffffff80b273fe at malloc+0x7e [42.563388] #5 0xffffffff80de2192 at _lkpi_iv_key_set_delete+0x42 [42.563837] #6 0xffffffff80cd2124 at _ieee80211_crypto_delkey+0x74 [42.564287] #7 0xffffffff80cd208e at ieee80211_crypto_delkey+0x1e [42.564730] #8 0xffffffff80cfcdaa at ieee80211_node_delucastkey+0x3a [42.565192] #9 0xffffffff80cfb6d3 at ieee80211_sta_leave+0x13 [42.565605] #10 0xffffffff80d0eb80 at sta_newstate+0x100 [42.565994] #11 0xffffffff80dd839e at lkpi_sta_run_to_init+0x27e [42.566431] #12 0xffffffff80de1eeb at lkpi_iv_newstate+0x2db [42.566841] #13 0xffffffff80d06434 at ieee80211_newstate_cb+0x2a4 [42.567280] #14 0xffffffff80bbb37b at taskqueue_run_locked+0xab [42.567702] #15 0xffffffff80bbc433 at taskqueue_thread_loop+0xd3 [42.568129] #16 0xffffffff80b097e2 at fork_exit+0x82 [42.568509] #17 0xffffffff8102fffe at fork_trampoline+0xe [42.568814] lkpi_net80211_to_l80211_cipher_suite: unsupported cipher 0x0000= 0006 [42.569296] wlan0: link state changed to DOWN [42.575649] iwlwifi0: cc: iwl_mvm_mld_free_sta_link mvm_sta->link[0] =3D 0xfffff800204114a8 [74.329729] wlan0: link state changed to UP [74.344199] iwlwifi0: _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [74.346195] uma_zalloc_debug: zone "malloc-64" with the following non-sleep= able locks held: [74.346664] iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_l= o) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw= .c:436 [74.348324] stack backtrace: [74.348609] #0 0xffffffff80bc9475 at witnes_lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [74.349676] s_debugger+0x65 [74.349803] #1 0xffffffff80bca5d9 at witness_warn+0x3e9 [74.350228] #2 0xffffffff80eeb184 at uma_zalloc_debug+0x34 [74.350665] #3 0xffffffff80eeac97 at uma_zalloc_arg+0x27 [74.351063] #4 0xffffffff80b273fe at malloc+0x7e [74.351422] #5 0xffffffff80de2192 at _lkpi_iv_key_set_delete+0x42 [74.351884] #6 0xffffffff80cd2124 at _ieee80211_crypto_delkey+0x74 [74.352351] #7 0xffffffff80cd208e at ieee80211_crypto_delkey+0x1e [74.352810] #8 0xffffffff80cfcdaa at ieee80211_node_delucastkey+0x3a [74.353287] #9 0xffffffff80cfb6d3 at ieee80211_sta_leave+0x13 [74.353725] #10 0xffffffff80d0eb80 at sta_newstate+0x100 [74.354127] #11 0xffffffff80dd839e at lkpi_sta_run_to_init+0x27e [74.354581] #12 0xffffffff80de1eeb at lkpi_iv_newstate+0x2db [74.355003] #13 0xffffffff80d06434 at ieee80211_newstate_cb+0x2a4 [74.355456] #14 0xffffffff80bbb37b at taskqueue_run_locked+0xab [74.355894] #15 0xffffffff80bbc433 at taskqueue_thread_loop+0xd3 [74.356336] #16 0xffffffff80b097e2 at fork_exit+0x82 [74.356728] #17 0xffffffff8102fffe at fork_trampoline+0xe [74.357047] lkpi_net80211_to_l80211_cipher_suite: unsupported cipher 0x0000= 0006 [74.357767] wlan0: link state changed to DOWN [74.364907] iwlwifi0: cc: iwl_mvm_mld_free_sta_link mvm_sta->link[0] =3D 0xfffff80030123ca8 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 16 21:55:36 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 4Tc5Mr6w0zz59lfv for ; Fri, 16 Feb 2024 21:55: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 4Tc5Mr2jXJz4YpM for ; Fri, 16 Feb 2024 21:55:36 +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=1708120536; 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=gN22LN7AvAEbnmubjlm7dfZTXH0AMWx36kOSfKWgIHY=; b=B7PPQms4tCA7LHuNSV6bJMSIa7Eq5LhOFaXnxbzcyEFx7ZPGAXSXOF06i7SFw2Bh+relAV YUWGIZchfAKz+T1tafSb1k6J5+hg3zRPqCCxK7QwcBQsIXOH7F9kXTObpcrUBU7B0GMwKX kftigi/CsZDJSp+bRDwJDqgjXxRXhLJaNyVxeyuqMTJDVCsU+CCeBYz+DQuyTx5q6tOkEl 6w0dOPFaMA/HEKRTsp7rcznFgQ7CPsbPFDOBrj7j3SqjhdPjVgg4gwV17/+O+7CIaKwAyU yL1owGThtevJM3u1MdasQFz7Qgql0AoS7/dYx0qRryh8sfAxXf7o6Naj42sCyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708120536; a=rsa-sha256; cv=none; b=KooI9G7sB1RR5Xa+PFK9iMga3vbFanYh6NYXLs2gEE8kUFOkKuKcoIHeLJC75BJc3v48Kq WEcIlpVXotDmxWkiPXmbsYpKkH+ECX4GNZkcO5zCe91iDyFHky9YRxDcMMxoSaGqIbMRWZ VwUe0LptsaAIrQCXH1R9VfMqPouH8ULRUGDcfg8ZAz7EqL0y/Bym4A7cXnX+9f/byuDJkG QGWClBMc/fkY/Qg5yPxQWynnI1INVr/N5yRrwRtA1fiR4riz5I/Kk2lej8zuiZ+VG9lZkE MBIQ5X0+80gke6QkfPhxpSWwMb8ReQgpE6YHjlC03gATqinrb+Ud2oH684O/hw== 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 4Tc5Mr1lPmzhsF for ; Fri, 16 Feb 2024 21:55:36 +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 41GLtaLZ033760 for ; Fri, 16 Feb 2024 21:55:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GLta59033759 for wireless@FreeBSD.org; Fri, 16 Feb 2024 21:55:36 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 277100] LinuxKPI w/ LKPI_80211_HW_CRYPTO: in private build iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_lo) r = 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw.c:436 Date: Fri, 16 Feb 2024 21:55:36 +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: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status blocked assigned_to 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277100 Cheng Cui changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |tracking Status|New |Open Blocks| |276095 Assignee|wireless@FreeBSD.org |cc@FreeBSD.org CC| |bz@FreeBSD.org Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276095 [Bug 276095] DEVELOPMENT: wireless development coordination meta-bug --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Feb 17 04:10:05 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 4TcFhD4WCSz5Bg0d for ; Sat, 17 Feb 2024 04:10:20 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcFhD0rgzz4HZV; Sat, 17 Feb 2024 04:10:20 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 41H4A6cw013768; Fri, 16 Feb 2024 20:10:12 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Date: Fri, 16 Feb 2024 20:10:05 -0800 From: Chris To: "Bjoern A. Zeeb" Cc: FreeBSD wireless mailing list Subject: Re: PLEASE TEST (all drivers) sta/ap mode In-Reply-To: <335n2r14-o9s6-723r-n175-2q0ns84q6193@serrofq.bet> References: <88c6622d5c606dd5ce193ccbde979bb2@bsdforge.com> <335n2r14-o9s6-723r-n175-2q0ns84q6193@serrofq.bet> User-Agent: UDNSMS/17.0 Message-ID: X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4TcFhD0rgzz4HZV 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:11404, ipnet:24.113.0.0/16, country:US] On 2024-02-16 07:32, Bjoern A. Zeeb wrote: > On Thu, 15 Feb 2024, Chris wrote: > >> On 2024-02-14 11:53, Bjoern A. Zeeb wrote: >>> Hi, >>> >>> can I ask everyone who has a spare cycle to test main on/after >>> 0936c648ad0ee5152dc19f261e77fe9c1833fe05 (commit went in a minute ago). >>> >>> The last changes include "band-aid" hacks to net80211 which will affect >>> all drivers and sta/ap mode. >>> >>> While the commit messages hint at the problem I'll try to write a longer >>> summary probably next week so we'll have the actual problems in the >>> archives and others can chime in. >>> >>> Thanks, >>> /bz >> I can happily report that your modifications have (at least) prevented a >> lockup or reboot following a: service netif restart. Prior to your >> work, this was never possible. It also cleanly associates w/o struggle. >> Association more often than not failed or struggled repeatedly >> attempting to connect properly. >> >> In an effort to limit any unique variables, I built a completely GENERIC >> kernel. > > Thanks Chris; and for the records, I assume this was iwlwifi too. Sorry. Yes. Intel AX201. Thanks again! --Chris > > >> # uname -a >> FreeBSD fbsd15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 >> main-n268292-70617458676e: Thu Feb 15 13:42:46 PST 2024 >> root@fbsd15:/usr/obj/usr/src/amd64.amd64/sys/LENO15 amd64 >> >> Thank you! >> >> --Chris >> From nobody Sat Feb 17 22:52:37 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 4Tckb95w7Mz59y6J for ; Sat, 17 Feb 2024 22:52:37 +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 4Tckb94n0zz55lV for ; Sat, 17 Feb 2024 22:52:37 +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=1708210357; 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=HyQfoBnq9hVVS0CzZQDQS0gFSYADrrCSNbo79Peeqjc=; b=dhEuXOKrTINwTljo2r51wDMq6k9SJGU1TCnUsxve7DykCxx5SrU95ppcPkrCX+I0B9hS4L yyLTDhlHEqPNAOAdv4T2k6sJmtndN5VI3NGrZgsMS/J/T5Gfmx2p9QesmJnoAVoJionOY/ j1x+bUynxC8X98r7rqOUEqlkf+DJJ73D1wCU8ttBdykiTqGL+Bwynn9FBFuEb32uP1i+fD J4n9wEtDjoRWjx/ZCHy80i6SejAVsqklZcsr/aRFVhnt6+pB+528YhkPFGUIYw6MxMTOx9 rnXSx3YpIpj/3uDfOdUd30vaED15jTvTlmbj/vhWvw2/maO1LSHPxqaLC/2x/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708210357; a=rsa-sha256; cv=none; b=aWxmSFfSwaPxQ5qsBZ6SLSwsW6yqhTqSsNNfnFYhHFPA+0mtfadwHcup/+nraY/yqp+cLl 8sM7ACb046zLpIDqsqug4FltPStZsoc9nTfJSRdgrufhpQ8IcxLM63K3vRi/eyLGwjSmPu BaRraib01kIK2JZ0DhlCph6xyXvJuTPFNTHkKDu3/hHaB0vrFlV67nadenGFWYRR0uZhhw fGBzm9Qxd05x72vJbvN1oVibmCpjEWaqPiZdI2ViH5L9HMe3EqkZgT4Gc0bHgsJDQd0Enq TPbAcOE9pk8qXZ9jJhyZ8zG9LM5P7IQ8fM8Cy3bZWIroIsmcD6R+gDs2+LpP2w== 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 4Tckb93tNczR0s for ; Sat, 17 Feb 2024 22:52: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 41HMqbiH052807 for ; Sat, 17 Feb 2024 22:52:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41HMqbTO052806 for wireless@FreeBSD.org; Sat, 17 Feb 2024 22:52: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: wireless@FreeBSD.org Subject: [Bug 273985] iwlwifi: AX201: crash (kernel panic) on ifconfig wlan0 destroy Date: Sat, 17 Feb 2024 22:52: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: 13.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: che@bein.link X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273985 --- Comment #15 from Maxim Filimonov --- Will this be MFCd into stable/14? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 18 21:00:09 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 4TdJ2x410nz5BksJ for ; Sun, 18 Feb 2024 21:00: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 4TdJ2x1sFcz4tRP for ; Sun, 18 Feb 2024 21:00:09 +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=1708290009; 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=r4EoPoehhlR2fuJzof0+VdGSM0re00owOJu0cxM0UNA=; b=aV8nzfKcWmU1MYpx5IBQoLXcmDWIO03JcfXIy0fKltil1LmkNja7MvbEX+Ysz0GSP8PyrV +JRXiTFMgzdygyibLAraGF9k22ijTBREasVk1iERmCScqcmrSusKo7XyC3EliZ70opwrwH xMnH7Rwu5pCQ1dS5prkAwbk186GCcAnIe9Vg7rnAb5yY2PCT1SVsAHBPsIKRqK2pZMlZvq ya11F3tijxcjZPU5s/rX3ACuX4fOuEFEHw62XjrjgcmNeyKyq+xB5PKdjEQJ9q3eI0zKOw FgiBcr3P/c014UZtHfwrxtfUVD+uhuKbG8Q2B8U8Dz1VHbFsKwNevi1K73n+Mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290009; a=rsa-sha256; cv=none; b=U9q1ka6hBc01u0y627mRUSImzZF/ZR3S5IvIPo91xiIMn/S8W91+5DhGYaGuK8ASOxw8AM OrxSHSvDjNkTRRNL7ZtWFbEPkpLtSQqGIZCWpLd1MW9RaANnY9+NC1gOjbP2lKXNq9Pm1v Ypogsdf7xT1E51y9++DZ7lovWlGGulqN/oo/rKx3pWya8XqYEN3Kh8be2bi9O2FYghb6F6 VWOVazKDffprQv7Pvn2AX2gxw0usu+v2wfN7nMZn07+YaIqvSQJBeLeVnw3jVc7LNDBx6I xOecooYnIOSxqa9g3Po7AuOgDRoTY9dU1i4cG6Tlh7f2QYrxU6KSJ3kKn6LoaQ== 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 4TdJ2x0xhtz15wK for ; Sun, 18 Feb 2024 21:00: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 41IL0912099625 for ; Sun, 18 Feb 2024 21:00:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41IL09hJ099624 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:00:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202402182100.41IL09hJ099624@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: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 18 Feb 2024 21:00:09 +0000 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17082900090.DAda3e4FA.96481" Content-Transfer-Encoding: 7bit --17082900090.DAda3e4FA.96481 Date: Sun, 18 Feb 2024 21:00:09 +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 | 237921 | wpi: Memory leak in function wpi_free_tx_ring of Open | 265066 | ng_hci: Add support for Bluetooth secure simple p 2 problems total for which you should take action. --17082900090.DAda3e4FA.96481 Date: Sun, 18 Feb 2024 21:00:09 +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        |    237921 | wpi: Memory leak in function wpi_free_tx_ring of 
Open        |    265066 | ng_hci: Add support for Bluetooth secure simple p

2 problems total for which you should take action.
--17082900090.DAda3e4FA.96481-- From nobody Sun Feb 18 21:11:59 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 4TdJJf59Sdz5Bm43 for ; Sun, 18 Feb 2024 21:12:02 +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 4TdJJc2vqZz44CS for ; Sun, 18 Feb 2024 21:12:00 +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=1708290720; 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=OY40aQeC2ueaEz+nMZRu0iVoDSWah6X+MpRNUucndS8=; b=Eer9emMQlJdqpYAxq1Wzauxf0XSrePeDzhKdebVQV9kLyf+DD06W3LJV9xrz5ESm3Du4zu KQq1RWJYe0GcoMC5qzGRpcbRrUToGC0ip2WqGuFeUKlMU2pqwJfpDRu5MCeJJ632El6m73 NOYlqUy6i/sFnIPW8tjFh9VGzPgYQWWqAwrj+8LPAAXCY0ZF0+/AtAq9SCTnGeR4RP2T// 5QoZRYdUyThBrSffoTxSYJVfumBXW/NSUTVPh/y/QVNoNX4kK9fGeXq+qqo97lXbTLtrjl WPdEHCQ5ES+T/0u4p+E/jX6K55ThViLURT0pUBMmcXbHqSZU7IHoB/e994jhIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290720; a=rsa-sha256; cv=none; b=WqQS/2E1UjSuz19HmP3fYD+xJyvve8EWgxButwPY1BebFQcF0nYb2bBUYPJDETczuoVMu/ iScSnKPzlmKiNVa8apBmGSWkJefPSC2u2h5cmF1H+u3MgSzjc3PvPP/hfwVqA1x5z8+i4i 5DPtZRUR4bIUc2aGyNDyuTl0m8hLYMqGacv/VaoEQ+waqlNkyaecD0cUs8RBLNH+hVhAIL LTxlU/ZYiekylTUrjRa8lvuD6gg2ETKFR6bP4ZAVBKNtS0CtMT+6byiRBnG/Pwth0FBtA9 ZXh6m65LRep7kDnkx9S1O7zpHpnynHqxyQ9jADQyBSbbbVw5DEbjG/a/PPKpgg== 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 4TdJJc20Pkz16HR for ; Sun, 18 Feb 2024 21:12:00 +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 41ILC0oU069681 for ; Sun, 18 Feb 2024 21:12:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILC0FU069679 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 274382] iwlwifi Invalid TXQ id Date: Sun, 18 Feb 2024 21:11:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274382 --- Comment #44 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D035424535b09c57971df2064ad7678e90= bd8cb3a commit 035424535b09c57971df2064ad7678e90bd8cb3a Author: Bjoern A. Zeeb AuthorDate: 2024-02-14 21:56:48 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:18 +0000 LinuxKPI: 802.11: lsta txq locking cleanup Rename the LSTA lock to LSTA_TXQ lock as that is really what it is and put down the full set of macros. Replace the init and destroy with the macro invocation rather than direct code. Put locking around the txq_ready unset and check. Move the taskq_enqueue call under lock to be sure we do not call it anymore after txq_ready got unset. Leave a comment related to the node reference which is passed into the TX path on the recvif mbuf pointer. Fixes: 0936c648ad0ee PR: 274382 (possibly) Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D43909 (cherry picked from commit fa4e4257943650c0b5f58c01bb0bdfadea61dfb2) sys/compat/linuxkpi/common/src/linux_80211.c | 31 ++++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 14 +++++++++++-- 2 files changed, 32 insertions(+), 13 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:01 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 4TdJJf2Cb8z5BmTy for ; Sun, 18 Feb 2024 21:12:02 +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 4TdJJf03sCz44JL for ; Sun, 18 Feb 2024 21:12:02 +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=1708290722; 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=NwZXpvMdGAZ2Jq4zYCK3NTmUZDg1D7E4x9zsIc7mlZM=; b=GTB3BIET5xxGkyJGueBRrxh/KJyVsR/2qUzXPUfe8UniAE2E6MsaCqK9ZGzD4LIYwp35aW /mylRH1JxU/xAEL3aMlkTYkkTpFnd45UIa05dbJDP06pk9NWTcWpM1XI7eUVa7jdJU1rwI JExEEbu3F8DnZjEx06yp312laxYQEP+VVm0iQUg71hRS117WDu44XVXvLEgytQnxIM8Vlo D4Uhi6uDtB47wVgUnGcoBuN1NgHzHf2AfCrtnkSwu3G1FT+9A3yibLUun45l+/GaUreW7Q YrCbmi3yCGDnRnkxDCg+Za2i+OV/w7DHjLVVRdHyPXxQ8PA78WrTGex/euXvSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290722; a=rsa-sha256; cv=none; b=feypqgRLVRGtHiA/CYdEjyZ0/GlTJvAaMG0aK1Yg7gGM4V/y2dYYFMlz+JKpsjBJxUpqEJ kukP0QDCzoptg9QvjXsc5hI0jfsbziHC+tix9E62BbcX4LZAm6YffaRazys4Ab0yDvPuFY AN1ZIJsfP57v4NZ/qS1GFumYbCKU9FwhSFDkxgPIagzOsUYd9L8+YE/GRBkiu/gZ3qWQzG SVb51ipkSOTta04ZCfFAheWD37wPu486y09L8KQuqYf21gOjsGh6r+i/IDANDxstIHzrMc PxsOfadzsDQQlcYc4sn+6YiIJc4lmkQRu3gEHF89tqNcE+XbKOuwGNrvZm7hAg== 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 4TdJJd6B21z16ZW for ; Sun, 18 Feb 2024 21:12:01 +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 41ILC1nE069936 for ; Sun, 18 Feb 2024 21:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILC1BG069934 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 273985] iwlwifi: AX201: crash (kernel panic) on ifconfig wlan0 destroy Date: Sun, 18 Feb 2024 21:12:01 +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: 13.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273985 --- Comment #16 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D12887199b37469c98a47baf66cd3cc182= c79fbd6 commit 12887199b37469c98a47baf66cd3cc182c79fbd6 Author: Bjoern A. Zeeb AuthorDate: 2024-02-05 14:51:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 LinuxKPI: 802.11: update the ni/lsta reference cycle Update the ni/lsta reference cycle, add extra checks and assertions. This is to accomodate problems we were seeing based on net80211 behaviour (join1() and (*iv_update_bss)() as well as state changes for new iv_bss nodes during an active session). This should hopefully help to stabilise behaviour until the underlying problems gets properly addressed (for this and all other device drivers= ). PR: 272607, 273985, 274003 Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43753 (cherry picked from commit 0936c648ad0ee5152dc19f261e77fe9c1833fe05) sys/compat/linuxkpi/common/src/linux_80211.c | 209 +++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 1 + 2 files changed, 130 insertions(+), 80 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 18 21:12:03 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 4TdJJh1NCbz5Bm44 for ; Sun, 18 Feb 2024 21:12:04 +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 4TdJJg69MFz447y for ; Sun, 18 Feb 2024 21:12:03 +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=1708290723; 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=R2ACasxslyaT7fWBCX9h5orlZ5mL4XqBbzsdhqjM+kU=; b=rSzKF8oU3iCBuHPQS56lPkcnN82Rn5KO1CYph9acs9gZVRVt59mzqahHI70PemqefEJJzz x79jp+zjLBbahchIpnxxTOdzv/RKnKhL6s6MB90b92wf0hfVwff8+FM8fH1zVLHeGb4iDk AY30P7QSgnWu2nv2RKGq5HsbM2tSqTvYkx9N6UQ67aRXyMIQEtDWy1Aq5Nb0d4FK6/RwCH 9UHdcKTJWU3bX9rB3a+fhnm/8x9rUy4zrDFXLK4gfoT//HIACHT5w0oMMQMO65MNvRfA3w ngnK8W9/HumVFXoYR82wR/SawCnHf6aJcXVKJ4DdS6gwUzcHlgwIP3MjC98CmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290723; a=rsa-sha256; cv=none; b=XAb2hrdABNP77KcIY7mWRtpByIR2qZb1B39mq9UuROtMZ0W+BWu2f15ruU+xIjc9GBjRP1 1U8iuBu7O4lkrq9Pdsf25T5UVxRFLmOBxIoYZpjuiMxuhCYXTNE5gwWWD/0pOMLqG4VanH xz8d5KyA8vXgg8x5hPvTXuiEIW5vzakduHfO97E1c7ck5Wm8JYbku5Pijg0bDK3/OAH0Wf xgS024XqA9X6Gf1ZihEirtzcC041WK1ZpRgJWl/PNJMUyOCqnT6kQR2POBkw1LdJ2di8AL aR/39zlwZzPAibBi5VO35czFdoMtRln9dfaCryw79SJXsMYJRWL2atNWjzE/Fw== 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 4TdJJg50VNz15yC for ; Sun, 18 Feb 2024 21:12:03 +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 41ILC3mA070163 for ; Sun, 18 Feb 2024 21:12:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILC3v3070160 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Sun, 18 Feb 2024 21:12:03 +0000 X-Bugzilla-Reason: CC 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: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #40 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8c450ea1083b03f30871506b59034f26b= c608972 commit 8c450ea1083b03f30871506b59034f26bc608972 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 (cherry picked from commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40) sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:08 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 4TdJJm6Zbrz5Bm7C for ; Sun, 18 Feb 2024 21:12:08 +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 4TdJJm3hnDz44NL for ; Sun, 18 Feb 2024 21:12:08 +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=1708290728; 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=YTgKiUf7o8pH+ZIZVfporhvjxd7P4tkuoYo3OXjdZ2w=; b=H9ah6Vq10uVgPjaZk0w71/Da1Wpk7q4CCSZtemHSds4Ie0iIaKaPfwwmXqoiDtZrh8yF/6 1TNOfgsQTymNLWi+hl2Z6NOPg3c0zhG0+WS9PsluLYylSYf8l3BXT6e0SqdtRAbCnRZ9QD tOYzKRYmTeE8NzkamZfDUztVGGwYlotvLRTokn8i807ZyWnCxQwlFLwwyTFL+eiVrTL6FA Km1P0eeSRq2+YOf/L0nhPWKHMqoFpQbJGJ7k6l5xEqmTdBG+bnKib65jWbqJiLY4HxwEq5 PEjnLlFQY8rSUlNVAN/c3aufX8keVyd7XFpB6Kxx0nEbvEGaMBfxI0wr9NBepg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290728; a=rsa-sha256; cv=none; b=F1GgtvKL5AfE+pGxOyIDtdOzWkCNozA/tGRE6ppLcU530GZ2g13+tFEou506deYtZG1pgO Ky+2WNGCKIo6tefrM4GGIw3qIboh1JszJ5kwxrRgk+7k6xxwJfgKZOH328siGBoYoIr5SV fFvCoya5ulNaDXmM4z0jBrpBNMnsOja5qeFRP2LHrGFmDbvOIEdkh7bnhjucym5ZONgnRv m7TtffTEfEp4vjTpoe4SKFQ8/a1qxmy5gt8dRoX0biFYatdA1nQK00PRbttYh4gxqvAOhY eP/VAq35eB9aDdBkLHOYme5Ev21Z48FuCx97yLSg3+GDsFdHlzqbnADd5LS5qw== 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 4TdJJm2myTz16HT for ; Sun, 18 Feb 2024 21:12:08 +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 41ILC85X071373 for ; Sun, 18 Feb 2024 21:12:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILC8I9071368 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Sun, 18 Feb 2024 21:12:08 +0000 X-Bugzilla-Reason: CC 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: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #41 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db392b36d3776b696601ce025325680327= 6d24ea2 commit b392b36d3776b696601ce0253256803276d24ea2 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). Given this changes the internal structure of 'struct ieee80211vap', which gets allocated by the drivers, and we do not have enough spares, all wireless drivers need to be recompiled. Given we are forced to do the update, we leave fields in the middle of the struct and add more spares at the same time. __FreeBSD_version gets updated to 1400509 to be able to detect this change. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 (cherry picked from commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6) (cherry picked from commit a890a3a5ddf33acb0a4000885945b89156799b07) UPDATING | 6 ++ sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 15 +++-- sys/sys/param.h | 2 +- 8 files changed, 142 insertions(+), 30 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:10 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 4TdJJq24q3z5Bm7D for ; Sun, 18 Feb 2024 21:12:11 +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 4TdJJp6fB3z44qk for ; Sun, 18 Feb 2024 21:12:10 +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=1708290730; 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=cw+7klFu7LE9aO3lySf6rshf+p4OP/7JHePttkouqJA=; b=uPlIDtpzYLknuTgRCz6Sl0rXKtUcfh1+NfN+M14xx+beq9Ce4UMYbkiIFnPNMobs+6K9FY gRZKoB3Qj31JDRjWTt/Dh0uFpdu2zxCOwdEpk19AHlMvz7RtqIuOaKpqqNYkWK5a8eCQGi BDtSFDWJu6afct8oRjn6mqfnkd7GlxvRR6JjyGVExkPTMcvroV6L3LWe26IdseLon8tYZ8 byClxJ4FMDOIr+A9HVkgpXZq2JRGcre32KbiywRLCRR5ETTnc5z//AJZ7fRemkWFu1ELIy Wua6lCPmiqENzCnhd9dCQ6956U0+GGFgnMOFIzHbSHRWya0yRViMPSZgH+w0kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290730; a=rsa-sha256; cv=none; b=DZXy4BMDGOxi6HpQWChX8Jw99hYeI4RKf6G2Dj8DUlTnDGQbeCCOnji6xtZ12m3r0rhf3U q1YJUroT1stQ6cTwMPpldNcZBck2tG2eyFlJv5qU44bTR8rA8adV+4xwWzkOz8payGI442 MvY32kMP+FXbBq69GOjI6P5iedIrX71qXyChfePVyjex/Br2deltcKlpV/fHXjKtWMba6R aM0sVoAkyN0V0YGT55Xs9mkK7Wp5Pmh5gHvzJob+OyCkF11lDWLJjvCT5Pg6RUOOzPGP1H /YxUCyapm0qS75b9KbtKZ21Ff7TbaxzAmRR9LKLmKzWmgOAH/yOAQgA+eekQGg== 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 4TdJJp57RTz16Lf for ; Sun, 18 Feb 2024 21:12: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 41ILCAFk071513 for ; Sun, 18 Feb 2024 21:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCAon071512 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Sun, 18 Feb 2024 21:12:10 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db392b36d3776b696601ce025325680327= 6d24ea2 commit b392b36d3776b696601ce0253256803276d24ea2 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). Given this changes the internal structure of 'struct ieee80211vap', which gets allocated by the drivers, and we do not have enough spares, all wireless drivers need to be recompiled. Given we are forced to do the update, we leave fields in the middle of the struct and add more spares at the same time. __FreeBSD_version gets updated to 1400509 to be able to detect this change. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 (cherry picked from commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6) (cherry picked from commit a890a3a5ddf33acb0a4000885945b89156799b07) UPDATING | 6 ++ sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 15 +++-- sys/sys/param.h | 2 +- 8 files changed, 142 insertions(+), 30 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 18 21:12:13 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 4TdJJt160Mz5Bm9G for ; Sun, 18 Feb 2024 21:12:14 +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 4TdJJs4Sskz44tG for ; Sun, 18 Feb 2024 21:12:13 +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=1708290733; 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=wbr+tsBwT5NoThTtbtG0w0GWssCGiMyNLxvn5/LAsZY=; b=i2rIxl+t9wayiiv7PKlgWrstbPflzelJ3cUB1hv+dMVn40o9kvZiFK1cD31gRRWWLcCnoe S9oU7p8EoVX+CJow/Mtfyr8ohyGxzdKG0BxP5/gZ9NxMEOs7jHHOrQLStqul/ac0cQaKn4 XokhS1jEO2UydN+H0vXxEYliXB+SPSuH0IEd/wvdvs3dXlowBZ/E3A2vPpgmv+egZZBaDo C4fTrbZ4Y7t3UCcZySJ6L2jvbSxoMu56wdr+cRjgHkM3g6/u7MEWZrsDFw/RwY0KkMfy5d IhUqD9Hu08q8oltMbRe93DgnrZM3TaBatK2JYxa+cAcZhlX3RmohHLofAu1YuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290733; a=rsa-sha256; cv=none; b=B/uzy5Dr7Zwshh9gG7zwd4kauD0GYIyqROqufqVy8fiD2i2cldXqxSLUIHnDS9klOzq8ci lV2NXPnOvEKBvTJP1Gfq5IKSBAPqWgKtKulVFkqP08YQ0EPEhGd1nnz5zeEuyvxhmRQR7d 3SVg14NT2mjEJFwSZO0HB7rdQDLNCfhF1pNXWD5h2QF9yhN0eD9F8MKcDeOF22PawLLpIN gC467l4rWMVxIi6R5qk1sQSXp2Rvs/9NAhrOtSq15m3BuPjNQk81ZNpntjwA1rsiPYb+CQ d8FsdNLpgj9ydsDyZ+Sseo5u3+SGvxl6dHFSKIt/BDBGDHWUd1s5eqWk+J20Yw== 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 4TdJJs3Zdcz16HX for ; Sun, 18 Feb 2024 21:12:13 +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 41ILCD1O071766 for ; Sun, 18 Feb 2024 21:12:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCDA3071765 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Date: Sun, 18 Feb 2024 21:12:13 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275255 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8c450ea1083b03f30871506b59034f26b= c608972 commit 8c450ea1083b03f30871506b59034f26bc608972 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 (cherry picked from commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40) sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 18 21:12:16 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 4TdJJx0C18z5Bm7J for ; Sun, 18 Feb 2024 21:12:17 +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 4TdJJw4v3Xz44d7 for ; Sun, 18 Feb 2024 21:12:16 +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=1708290736; 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=KEL0CIaARZd6zGoiHZwJHUHKF77asqupUCs0nnL39X4=; b=Je9X5PaxcYM/YWszLQDrq2b9ks1eKNSo6pjWkeFQHICXZ9vT6KTfTMgPIsHL+IPO6FOS3D mnc4chCksM/n7G0t3k2zxTTM2flxP/4NmkoPujHvcm4r1tCH0GXvp+VpsvPRfvxuvzUeeB iRoobfU4D6PNYkFrVkTIPkcgIVjEepXi9cwBJjNb0/Dg8dtaUHOp9asRvvrG9h2VB+9Lq/ MJsyZ+EkinykJS6iij4DqAiJO+LBBhlzU53oXCa7W9WPyZT4Zpi6RLOMbbXaWo8i7BqKIw OmNVLLVz/UHL/RqX5fzUrtXrFwBXEw49CF7lSWO3u2C+oBEfFskf0hICqJMaGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290736; a=rsa-sha256; cv=none; b=B0GbdooYNDCoef/upErRO/WueCVIAKzNS5OWb6QER5NbrcelFbdQN6PWmHZo1+3U+X+npU Er8sCOxebnBV6s+Bd38m27mQkfu/w3KCP5FNImlvEh83AqeTEwincetbmYLSXpIA326/AY TMjt2IMJ8rm9Y05jnGVpmbwdXUw+V2pJeUo+03gpoXEYjoGUNT5TQcmpH112lFlNwnhRED EtMNLIty8p377p88kMik/FJaAqp65j/e6sRpqof5fBT80gZtqVsp70G9I7ytXgQyUXd0eI Q5taj4I2HGUyUk2/949baAum77JxWupUchAPzaf7JktUEXWsgA1NTuos6XRaGA== 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 4TdJJw3zCfz16FF for ; Sun, 18 Feb 2024 21:12:16 +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 41ILCGBO073393 for ; Sun, 18 Feb 2024 21:12:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCG9b073360 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 263613] iwlwifi0 on framework laptop crashes (kernel panic) when setting IP Date: Sun, 18 Feb 2024 21:12:16 +0000 X-Bugzilla-Reason: CC 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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263613 --- Comment #39 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db392b36d3776b696601ce025325680327= 6d24ea2 commit b392b36d3776b696601ce0253256803276d24ea2 Author: Bjoern A. Zeeb AuthorDate: 2024-01-10 10:14:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 net80211: deal with lost state transitions Since 5efea30f039c4 we can possibly lose a state transition which can cause trouble further down the road. The reproducer from 643d6dce6c1e can trigger these for example. Drivers for firmware based wireless cards have worked around some of this (and other) problems in the past. Add an array of tasks rather than a single one as we would simply get npending > 1 and lose order with other tasks. Try to keep state changes updated as queued in case we end up with more than one at a time. While this is not ideal either (call it a hack) it will sort the problem for now. We will queue in ieee80211_new_state_locked() and do checks there and dequeue in ieee80211_newstate_cb(). If we still overrun the (currently) 8 slots we will drop the state change rather than overwrite the last one. When dequeing we will update iv_nstate and keep it around for historic reasons for the moment. The longer term we should make the callers of ieee80211_new_state[_locked]() actually use the returned errors and act appropriately but that will touch a lot more places and drivers (possibly incl. changed behaviour for ioctls). rtwn(4) and rum(4) should probably be revisted and net80211 internals removed (for rum(4) at least the current logic still seems prone to races). Given this changes the internal structure of 'struct ieee80211vap', which gets allocated by the drivers, and we do not have enough spares, all wireless drivers need to be recompiled. Given we are forced to do the update, we leave fields in the middle of the struct and add more spares at the same time. __FreeBSD_version gets updated to 1400509 to be able to detect this change. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (in 2023) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43389 (cherry picked from commit 713db49d06deee90dd358b2e4b9ca05368a5eaf6) (cherry picked from commit a890a3a5ddf33acb0a4000885945b89156799b07) UPDATING | 6 ++ sys/dev/rtwn/if_rtwn.c | 4 +- sys/dev/usb/wlan/if_rum.c | 4 +- sys/net80211/ieee80211.c | 4 +- sys/net80211/ieee80211_ddb.c | 13 ++++- sys/net80211/ieee80211_proto.c | 124 ++++++++++++++++++++++++++++++++++---= ---- sys/net80211/ieee80211_var.h | 15 +++-- sys/sys/param.h | 2 +- 8 files changed, 142 insertions(+), 30 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:20 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 4TdJK13SFKz5BmVB for ; Sun, 18 Feb 2024 21:12:21 +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 4TdJK11gxFz450f for ; Sun, 18 Feb 2024 21:12:21 +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=1708290741; 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=7nn17SGnewg01urEBVoay4vOX2wJhUkXrqMTO/eDKC0=; b=t6jtbt4xkzb/0mDMzzFJkszz2FuM0RvBsvCFCO9+ddi1h7MJbe5nR8AVyM/qKFa+2JmxyO O1BJhQVJmBcZo4M/oZXR71A9ft2KmMehLXf/d25q9GsNW7HdZd4rLaOP7ULb1pt0no8XwU IyocXJvq/FGqR1x6NEIgmVmqwM7P+Uy6a3pjvikahdTnTtm66v3jZEOk2LCxiy0omeIbFw jKeTVp5xREACNwQoE4dVJC3EzKBIQc4yQIgxk6c7+tKzjT6mBbD2FOcLHTHqa7opV8nQ6+ Wu/myI5LBEpbko+8sfafq1/plVBT9ywvUl9wTKLS92FDuO41Klvt2We0N4fyew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290741; a=rsa-sha256; cv=none; b=yvwN3MvVmdiLEYyE1WzD7iqeaVuOCP1G+vLYfsInIU1fSl3yQP73mtMu5FfQve0Gag1db7 kFJ/nYG/Z13wcmef3Zh0O8FMZFPRNiDtXYNzrs7GlnRYNu116LWqX+qX8htwHXFZSaZgol NJxivFxCo9qnr/Nvz5APAdJHFFjvd0c8Jp1ju0ptdz8ueFviEIPIztMc1WvHqZjWJXMVPZ duZyimZYZkW4eLr8mPT89WRoIhq2klPHKKnULtQXfLKcK9E7KHqUeKGS5Tp0RS1Wv2CNRy Z0aQOj57fLOZbVymdwuRM4ESR4UvbnBwX8k/fJjrpothWjGj9Kvaki9+pNeh/w== 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 4TdJK10VBqz16HZ for ; Sun, 18 Feb 2024 21:12:21 +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 41ILCLYA074005 for ; Sun, 18 Feb 2024 21:12:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCLph074000 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 263613] iwlwifi0 on framework laptop crashes (kernel panic) when setting IP Date: Sun, 18 Feb 2024 21:12:20 +0000 X-Bugzilla-Reason: CC 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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263613 --- Comment #40 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8c450ea1083b03f30871506b59034f26b= c608972 commit 8c450ea1083b03f30871506b59034f26bc608972 Author: Bjoern A. Zeeb AuthorDate: 2024-02-03 16:33:56 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 LinuxKPI: 802.11: band-aid for invalid state changes after (*iv_update_= bss) With firmware based solutions we cannot just jump from an active session to a new iv_bss node without tearing down state for the old and bringing up the new node. This likely used to work on softmac based cards/drive= rs where one could essentially set the state and fire at will. We track (*iv_update_bss) calls from net80211 and set a local flag that we are out of synch and do not allow any further operations up the state machine until we hit INIT or SCAN. That means someone will take the st= ate down, clean up firmware state and then we can join again and build up state. Apparently this problem has been "known" for a while as native iwm(4) a= nd others have similar workarounds (though less strict) and can be equally pestered into bad states. For LinuxKPI all the KASSERTs just massively brought this problem out. The solution will be some rewrites in net802= 11. Until then, try to keep us more stable at least and not die on second join1() calls triggered by service netif start wlan0 and similar. PR: 271979, 271988, 275255, 263613, 274003 Sponsored by: The FreeBSD Foundation (2023, partial) Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43725 (cherry picked from commit 2ac8a2189ac6707f48f77ef2e36baf696a0d2f40) sys/compat/linuxkpi/common/src/linux_80211.c | 309 +++++++++++++++++++----= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 2 + 2 files changed, 216 insertions(+), 95 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:25 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 4TdJK70zKTz5BmSC for ; Sun, 18 Feb 2024 21:12: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 4TdJK61p8nz44y5 for ; Sun, 18 Feb 2024 21:12:26 +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=1708290746; 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=H1rgFu9zwByAy0DcB2E42dwiRui/1Vhch9GYa+mzSMI=; b=UTl6AExU8iifRD/jU+gfn4ZL6VuUUtboMD7zezLtrRDQPD1oDhfcNwvbuUnQf4Rbl2fZYX 1M2KZK5iLGECrxUKsjVV5zXfaw0/wZk/gjbZ+HA3x+fpE/81xNojeMZ15Z/iW9/jFWeaDa UcM6+akg0zP8np+yXIaSPIX9guXYIfYEDBSnRGitChQpoJ3qWXv9qs6Twbyu7wIUUZwbfN axNxTJgoho2xGA10s9n5O2g/dhvNddS1DBkC4CzbI/kkuaoSBZfcKUzeVsRO4Qwg4DO/HY Atp+CelymQY3aKuMzVUsga95WOPl+I1lxF4iLfZWqvkQUV1mp9Pj1fInkS7bjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290746; a=rsa-sha256; cv=none; b=yyjtONY/2nZ/zAOKDtDy4L/Y8UNeImDOmYJ0lKtbzC2FqInP0FKDq/yIJRvLoIY6i2qcDQ S4ejvU918Kpdv8M+7UDlWoF2mb5lPUw4aQwk/guoIbCQ5WoAYO8w0LE2LV46M/p29HlTL1 XcbaUBLQ2wSa+CMRuLza6sPouoK4Qkt1AcONERXQibEQfSNDih+hJqKhdbT2vdpNJm2BIT vjWX7CYLLYOc0K0419nJ6Wa81DmAq8xQrOpTz8uXjRtku8RQTjRYuF4tO5MGHGdIFedN7N 0RvAZui1sRTVzZfTwW04c/djo1q0iJljSPPVebyJSwAKBdPGN/jR/+wc/HNxmA== 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 4TdJK56zNYz16Zx for ; Sun, 18 Feb 2024 21:12:25 +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 41ILCPmc074400 for ; Sun, 18 Feb 2024 21:12:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCPfi074399 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1 Date: Sun, 18 Feb 2024 21:12:25 +0000 X-Bugzilla-Reason: CC 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: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #42 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De1d739471efdc6fe32af570e4bd07875a= 7e502ff commit e1d739471efdc6fe32af570e4bd07875a7e502ff Author: Bjoern A. Zeeb AuthorDate: 2023-12-01 01:37:25 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:13 +0000 tools/net80211: add mlme_assoc mlme_assoc is a tool to trigger net80211::ieee80211_sta_join1() calls which in certain conditions cause problems to the LinuxKPI 802.11 compat code (but also believed to possibly cause problems in case of race to other firmware based drivers). This has proven to be a good reproducer for the problem even on setups which otherwise could run for days witho= ut hitting it. Sponsored by: The FreeBSD Foundation PR: 271979 (cherry picked from commit 643d6dce6c1e39f067f8d0feea8615913b324891) tools/tools/net80211/mlme_assoc/Makefile (new) | 7 + tools/tools/net80211/mlme_assoc/README (new) | 51 ++++++ tools/tools/net80211/mlme_assoc/mlme_assoc.c (new) | 200 +++++++++++++++++= ++++ 3 files changed, 258 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Feb 18 21:12:31 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 4TdJKC277Wz5Bm9H for ; Sun, 18 Feb 2024 21:12:31 +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 4TdJKB6cZvz459N for ; Sun, 18 Feb 2024 21:12:30 +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=1708290750; 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=dXpDN96gBA0JS+zWNpNnV0r+wu/qyNwc+RvgAkNz7Kc=; b=aTknVO1FU+etq/6HchgI0nrzgyhZQQn9bbmw3+EhkcvTaa2JdRvll8HIvPMLZC998cHV1d CUoN/kzGkc6HjptRAg+WAHnRqFzMa5AzB8rp/ONprTHZE6KgNmktu/ajzPf9qXKUZSEZaI uHULq43On68ukGfbAgbwVcWrZyXAn6DyiOd1X4k6aWNNiBYAyG2u+vXW7DbASmMMQ/CCnP smU7mLiFI6bVRU6aShxqavJWlymlVdPegad5a6zipT3PlKuo8eXxkcjIMHpEa8OhDhFzmt 6hXZQcCswVyAw2PDGHqjM2PpAY5b9ttauL+pe3JWCFoVHiY/cJeKTrncNyRUKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290750; a=rsa-sha256; cv=none; b=oGb5Dezy9//PYybWhrpFLk8IuRuS0qDTVrQcgj5Xes9qny9GjpLRw1TxOVM4pd6fDwPGPu gUbuZMu+oo0bgJoW/ST/CnTXYyl7vqUaWoNsptlykvz3nEXOSnUSmT709iaotSt0H5Srf7 WpyBxGMxapBIQwWc8oCTdOXYPfh/WbXBnWbd/6hB0SDuwPqsTs0IVPgKcJFTnNsPdknO+4 qkM+sNFdTuBJXtNytZZ4FNFVjfBqxxELNPE4No0pqeX5gWR5KugM6YXMXvBObiwqYfjWhF rdhE6jgI2/cVkD70czY/9QftKuy+HmzH0pUKLHNCX0rntTes+08PKqlWoZw7sg== 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 4TdJKB5j2Hz16lB for ; Sun, 18 Feb 2024 21:12:30 +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 41ILCUlF075725 for ; Sun, 18 Feb 2024 21:12:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILCUZg075724 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:12:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 272607] iwlwifi: 'service netif stop' causes kernel panic when wrong setting in wpa_supplicant.conf Date: Sun, 18 Feb 2024 21:12:31 +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: 13.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272607 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D12887199b37469c98a47baf66cd3cc182= c79fbd6 commit 12887199b37469c98a47baf66cd3cc182c79fbd6 Author: Bjoern A. Zeeb AuthorDate: 2024-02-05 14:51:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +0000 LinuxKPI: 802.11: update the ni/lsta reference cycle Update the ni/lsta reference cycle, add extra checks and assertions. This is to accomodate problems we were seeing based on net80211 behaviour (join1() and (*iv_update_bss)() as well as state changes for new iv_bss nodes during an active session). This should hopefully help to stabilise behaviour until the underlying problems gets properly addressed (for this and all other device drivers= ). PR: 272607, 273985, 274003 Reviewed by: cc Differential Revision: https://reviews.freebsd.org/D43753 (cherry picked from commit 0936c648ad0ee5152dc19f261e77fe9c1833fe05) sys/compat/linuxkpi/common/src/linux_80211.c | 209 +++++++++++++++++------= ---- sys/compat/linuxkpi/common/src/linux_80211.h | 1 + 2 files changed, 130 insertions(+), 80 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 18 21:14:34 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 4TdJMb569vz5BmVT for ; Sun, 18 Feb 2024 21:14:35 +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 4TdJMZ70hVz4DB4 for ; Sun, 18 Feb 2024 21:14:34 +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=1708290875; 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=FuWAKY+jYFcSwV3Sux1PQ8MnHfFeSi9bKLUXoLPaZVg=; b=dTq0YWdFtf16tDgtB9Q0vd3u9vsO8dpNmoPYlAi94nyZnH2o0uTnynDWHewYZM8N7CCdy4 n/gk7i1jAeblIEdyoB0JEM6a3hF6NfuXCXKiFl7GebBi2LA+KF6YTvyUJ+qDwZa82ALn59 RRQ64ZGhyNPdihAJQZHT5nUXP4nemCkv3/IQXlVUFQG95a/3H2AfEtcO5ymgSgGXj0/88G GmkVJjEg4o+E71HjxP0BDqbr1UtTMefqI/A/rL7TR5WWLoKjJTXqpkFjIqNvN47HQNQVdl lNhioBKHX3wAo5QeEPMe/OCnoYas4ZX2UXvVn/zD72XdpiO2q5JQvmmgFRelTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290875; a=rsa-sha256; cv=none; b=f9m6zC/u24xXNdZEdR6aXGk7dhk8dSg36fL+BjHdqfxAz1ZBC1Xwp45JKOsNFY10VRWmWg vBImCCC+IqSwQKRq9g65xbQXEfNP8nGORBPiwyWO7+rYq8GmlOKFda8UphGwAKoz7jk9Mt F9Q5Y5LhRqruOOKdcWHRw3lfGaMt3FhRCnsdA42GlHrtTOs1qyTWlelDA0uUb3wyDSwQgg Tv2Qi8CX7rDLvFvFC0hVoJQK1R5ZezXbQ5PKcav8OHFEx8tH2JfN58j66UtF2W/+Au9/r7 1aTkqzMOtsejikxA9Y4zkKwSbYw78eGOXVoeBIFTRoFdlVSsG+rNaU0E6ZSFKA== 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 4TdJMZ640Rz16Hl for ; Sun, 18 Feb 2024 21:14:34 +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 41ILEYiK082533 for ; Sun, 18 Feb 2024 21:14:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41ILEY1N082532 for wireless@FreeBSD.org; Sun, 18 Feb 2024 21:14:34 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 273985] iwlwifi: AX201: crash (kernel panic) on ifconfig wlan0 destroy Date: Sun, 18 Feb 2024 21:14:34 +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: 13.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@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: 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: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273985 --- Comment #17 from Bjoern A. Zeeb --- (In reply to Maxim Filimonov from comment #15) just happened with a lot of other changes. --=20 You are receiving this mail because: You are the assignee for the bug.=