From nobody Fri Nov 21 20:37:47 2025 X-Original-To: freebsd-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 4dCn8t56fNz6HkT4 for ; Fri, 21 Nov 2025 20:37:50 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dCn8t3vK1z3r54; Fri, 21 Nov 2025 20:37:50 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763757470; 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=h4qczYy4aTV8EwIPr2MoIysrueIerw9l5/yz+fgvEms=; b=oGLDV4WZiRzq7EAj2BLo94E7WYn+7hoe/C7f5vINNuewJ6wKbD7Z8RnQZn8SPcO29SlyHZ /YsTm3ixIox/x4HufyQ7KAeJAM/kYRLV6AY90JTscQ9DNuJBzeW700IUyCOzujvIXcnKz7 kmxk04F/TCP6QsXSbt8M2TJCm00NzX+jkYqjo2iXjPQ+bRK3uD6+pl6XulSct1W304cYNB FZeuGXbQjK76oOzHwX2CXVxV1eA6haJDZyViVf6p8+Rsl/xKY6J3wtECZPrYvdofkXraQb G66nQj+WUeKTiJkj1yWoXPnb5LK+O6Lb7ORnvFWTNv0s5HjQZUSTvpSSfYe4sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763757470; 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=h4qczYy4aTV8EwIPr2MoIysrueIerw9l5/yz+fgvEms=; b=lzdY2vOdAAQa0N90C6sg/d5PzcwCrfFZU5p+HThrc2z4AL27hXZYoBK5+0+RGhR42rYrdJ y2/aRgQdt3qS1XScO3V4KQIMe+OyQTTntDfjCafmYby6Jz5/N8frtEDxNXxYEqJyuLhb7a 3e7OmGCVslI64RSh/JuaCGAdkCxTqjSRR+bmxcn2hWiq5hXTE0ZZuL1eBfv6tGaVUvkv1k dNf4R99PrD7eh6uELjvMIggMa+BQ5a4b8ZUN8Qnu2gZevd0QmugDvcBfAh+udE1fKSi92U JIGMAiPc6FxoOVC2ZWP3pO3UV5axn87S6Lzc5wZl1GsWr/DD50tPn31s9TwhNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763757470; a=rsa-sha256; cv=none; b=qIhRviFotCNB3mhj+hd3zxUFpiohOvEBsRF9wD8amGbiMJwvq3np0OgPk74cImwXyCDBH1 PyCKJABd8gpqmMfLUXSCcA7+UWIaWlPt9bSNnqDAqS82pasQ/aTS4i7YuN5VDzhCDgpwBV hgI7MshEBTmKBj87djSTGouas/Z4HMXEciiD95QkKM7eBG5InfMfQ/P+oIx0RP5fA3Svjf 5tbtMe5rMl8QIzJ9QJOlEUijiJVaHRnUvm7TnBcmXl8tL1MTV43yuyoLl9NcQw7lh04b82 zEvruXo+YiWX4GBjIwqJKFVt5P2xGDtNR29zuOpzk2ZNPZIYxnC31qZA1fa4hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E8" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dCn8t1Mrmz8wf; Fri, 21 Nov 2025 20:37:50 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id B202CA64806; Fri, 21 Nov 2025 20:37:35 +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 693542D029E7; Fri, 21 Nov 2025 20:37:48 +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 dkNPjkCiUGm8; Fri, 21 Nov 2025 20:37:47 +0000 (UTC) Received: from nv.t4-02.sbone.de (nv.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:22]) (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 48E4A2D029D8; Fri, 21 Nov 2025 20:37:47 +0000 (UTC) Date: Fri, 21 Nov 2025 20:37:47 +0000 (UTC) From: "Bjoern A. Zeeb" To: Mohammad Amin cc: freebsd-wireless@freebsd.org Subject: Re: iwlwifi crash on connection In-Reply-To: <2CFF90B8-C0A6-4453-96B2-AD6C295A2D2D@gmail.com> Message-ID: <71o5pnno-3n3s-6626-rn5-n21pos62889r@mnoonqbm.arg> References: <2CFF90B8-C0A6-4453-96B2-AD6C295A2D2D@gmail.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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-558494834-1763757467=:11296" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-558494834-1763757467=:11296 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 21 Nov 2025, Mohammad Amin wrote: Hi, > Hi, thanks for your works and good luck. > As I posted in https://forums.freebsd.org/threads/iwlwifi-caused-a-kernel-panic.100121/, I wanted to report a crash that happened when I connect to my iPhone’s hotspot. > I’m running FreeBSD 15.0-RC2 on my Legion 5 2022 Intel variant, which has an AX211 wireless card. > iwlwifi0@pci0:0:20:3: class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x51f0 subvendor=0x8086 subdevice=0x0094 > vendor = 'Intel Corporation' > device = 'Alder Lake-P PCH CNVi WiFi' > class = network > > Nov 20 16:06:28 localhost kernel: WARNING IS_ERR_OR_NULL(sta) failed at /usr/src/sys/contrib/dev/iwlwifi/mvm/rxmq.c:722 This is an interesting one. It's a "remove STA" command which failed but according to the backtrace it failed in the "mld" part of the driver ; the above WARNING is from the "mvm" part of the driver (Intel recently split them up into the two). Can I ask you to go another step and open a PR on https://bugs.freebsd.org/ for this (you can just put the email into the description) as I may have to track this beyond email. /bz > Nov 20 16:06:28 localhost kernel: #0 0xffffffff80df3abb at linux_dump_stack+0x1b > Nov 20 16:06:28 localhost kernel: #1 0xffffffff8472344a at iwl_trans_pcie_send_hcmd+0x43a > Nov 20 16:06:28 localhost kernel: #2 0xffffffff847008a4 at iwl_trans_send_cmd+0x84 > Nov 20 16:06:28 localhost kernel: #3 0xffffffff8476c0e9 at iwl_mvm_send_cmd_pdu+0x49 > Nov 20 16:06:28 localhost kernel: #4 0xffffffff84742321 at iwl_mvm_mld_rm_sta+0x391 > Nov 20 16:06:28 localhost kernel: #5 0xffffffff84735fc7 at iwl_mvm_mac_sta_state_common+0xcf7 > Nov 20 16:06:28 localhost kernel: #6 0xffffffff80ded8a8 at lkpi_80211_mo_sta_state+0xa8 > Nov 20 16:06:28 localhost kernel: #7 0xffffffff80de7d43 at _lkpi_sta_assoc_to_down+0x5d3 > Nov 20 16:06:28 localhost kernel: #8 0xffffffff80ddcd5e at lkpi_sta_assoc_to_auth+0xe > Nov 20 16:06:28 localhost kernel: #9 0xffffffff80dead7e at lkpi_iv_newstate+0x43e > Nov 20 16:06:28 localhost kernel: #10 0xffffffff80d127e8 at ieee80211_newstate_cb+0x1f8 > Nov 20 16:06:28 localhost kernel: #11 0xffffffff80bd4a42 at taskqueue_run_locked+0x182 > Nov 20 16:06:28 localhost kernel: #12 0xffffffff80bd5c12 at taskqueue_thread_loop+0xc2 > Nov 20 16:06:28 localhost kernel: #13 0xffffffff80b274cb at fork_exit+0x7b > Nov 20 16:06:28 localhost kernel: #14 0xffffffff81050b6e at fork_trampoline+0xe > Nov 20 16:06:28 localhost kernel: iwlwifi0: Failed to remove station. Id=0 > Nov 20 16:06:28 localhost kernel: iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5 > Nov 20 16:06:28 localhost kernel: iwlwifi0: failed to update MAC 0xfffffe019666ef12M > Nov 20 16:06:28 localhost kernel: iwlwifi0: failed to update power mode > Nov 20 16:06:28 localhost kernel: iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5 > Nov 20 16:06:28 localhost kernel: iwlwifi0: Failed to send LINK_CONFIG_CMD (action:3): -5 > Nov 20 16:06:28 localhost kernel: iwlwifi0: Failed to send LINK_CONFIG_CMD (action:1): -5 > Nov 20 16:06:28 localhost kernel: iwlwifi0: PHY ctxt cmd error. ret=-5 > Nov 20 16:06:28 localhost kernel: iwlwifi0: lkpi_ic_ampdu_rx_stop: lsta 0 ni 0xfffffe0198069000 vap 0xfffffe019666e010, lsta is NULL > Nov 20 16:06:28 localhost syslogd: last message repeated 3 times > Nov 20 16:06:28 localhost kernel: iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). -- Bjoern A. Zeeb r15:7 --0-558494834-1763757467=:11296--