From nobody Wed Jan 29 01:32:39 2025 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 4YjPm70f56z5lWP6 for ; Wed, 29 Jan 2025 01:32:39 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjPm675Xrz3kth for ; Wed, 29 Jan 2025 01:32:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738114359; 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=hR0e9eOIW7xIM+bqypzLJEZ6r6owPAS9SlYCUyNNDiA=; b=mu9YaZ+o9R7eE1B1u/JRFEp0mYxLazwJwbkUTOxPtA/zFAYezhOxuo6N5O7mV45Am+U+uM dPAtnM/3EN4i0HtlMQGV3aisTjdf/CvvF4q/2XhN3TdSlbHdWLwDAUsNgzqillV0O/Lk/p hHSBJgy7q3rgvQR1icIKvtsc20nBMDyTjBgCX524pdO7PIHsRSEfi3qkSmYuXBCx3cvCb5 0hBw4O3EMy6+ov/Z+MACVzGlu0O1cmafuT9URWQzrN69KFKPPCuXMWpg+9Md/epmT+EMNb RRjRFzkA3Dyp6FaCeaQ7oAW1zsP4NHwTEjbnEZGOgloMyPUiF4jbU/HH+/hoUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738114359; 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=hR0e9eOIW7xIM+bqypzLJEZ6r6owPAS9SlYCUyNNDiA=; b=KhrdXCfzn2TtaGZs0thCTNncsu8H+kvQvLTPUvU+0EEgPjmUYSWm63/V3oiAOLWdEnlH5I Qd9SuCvblIXM1KkCVAGd2JRWqslzBH2KWc8flvqKAI7MoUvQ8On/T3wSdjiHNbYn/riqsR BFyA6fn4I/yWNcE+3tFITBHGx6BnhMEfqVS7X9vA0FuY5VUnSXi2sbSBMjO2fuhrB5Tysg fjJDBywrTyrbEoPshrJyuyI6Jkna/gl0qqJnN79AH+vt9Pb1HQC7YFHOo8NfY7sHqN9xOi 8Kf0+m2IsFB2/trUVRDgo1hAkac12xdhmqrox0C2M5M26uNAgVTdRv9gkqJm0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738114359; a=rsa-sha256; cv=none; b=HiGuu8oul8W9ldejMBMxfWEe9UZ3ON3/4Ozit+slveRc/TNiKXws+2ety5oS45THtvYMDR W6V73idEUtEtD5tJlTnACOBm4QCoJbT8mn4HOVrwkJk1TOxmwbRe8j4ESVP4WLw//CZ8T9 egjM0xtdPNXYUGsHnm4RfKRvWJn9ym0ONTYAxXsAmiqA97QKJ9QL9QxBJZg1kgaOnqUIax //zCD6iMCJc4uLSAMSJ/cEqcsebePL1eQ8PbDCj9QmT9+vD4RdwVRt2pq5VoTFQYKVEKyv js191W/WHZqt3UfbB1su7t4qKNossv2a0O0LdXe1mvHbMRT5zlq7X7k+jYv2Ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YjPm66Qtmzh98 for ; Wed, 29 Jan 2025 01:32:38 +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 50T1WctB049399 for ; Wed, 29 Jan 2025 01:32:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50T1WcpH049398 for wireless@FreeBSD.org; Wed, 29 Jan 2025 01:32:38 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 284421] iwlwifi: kernel panic: lkpi_sta_scan_to_auth:1346: mo_sta_state(NONE) failed: -5 Date: Wed, 29 Jan 2025 01:32:39 +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 Only Me X-Bugzilla-Who: mshirk@daemon-security.com 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284421 --- Comment #2 from Shirkdog --- (In reply to Bjoern A. Zeeb from comment #1) >>>>>So you left the laptop over night and then you typed in ifconfig wlan0= down and that immediately led to what's below in the log? After a period of time, I come back and wlan0 has lost carrier with the wireless network, I will see "no carrier" under "status" when I do "ifconfig wlan0". When I do a netif restart or "ifconfig wlan0 down" or anything with= the interface that is when the kernel will panic.=20 >>>>Now it will not come up by itself if this was a manual ifconfig down or= netif stop. So something else happened that very second or the crash was = not produced by manual intervention. When I see the wlan0 interface is no longer connected to the network, everything else related to the OS or kernel are fine. >>>>>Did you by any chance run a netif wlan0 restart (not stop) or somethin= g else happened in parallel? Do you have wpa logs for that time (ideally l= et it log to console as well so we have a chance to see -- and remove sensi= tive information). I typically would do "service netif restart" and not specifically for wlan0= . I will get wpa_supplicant setup so I will have more detailed logs. The only t= hing I see before I try to "service netif restart" is the following in /var/log/messages: Jan 21 08:45:58 15-CURRENT-HOST kernel: ---<>--- BEFORE THIS ENTRY system booted up, these are the first logs seen regarding wireless Jan 21 09:25:05 15-CURRENT-HOST kernel: [2373] iwlwifi0: linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb0= 10 state RUN Jan 21 09:25:05 15-CURRENT-HOST syslogd: last message repeated 1 times Jan 21 09:25:05 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3DBSSID-MAC reason=3D0 Jan 21 09:25:05 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID BSSID-MAC into ignore list, ignoring for 10 seconds Jan 21 09:25:05 15-CURRENT-HOST kernel: [2373] wlan0: link state changed to DOWN Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Trying to associate with BSSID-MAC-2 (SSID=3D'AWESOME-SSID-NAME' freq=3D2417 MHz) Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: FT: Invalid key management type (2) Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Associated wi= th BSSID-MAC-2 Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: WPA: Key negotiation completed with BSSID-MAC-2 [PTK=3DCCMP GTK=3DCCMP] Jan 21 09:25:06 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: CTRL-EVENT-CONNECTED - Connection to BSSID-MAC-2 completed [id=3D2 id_str= =3D] Jan 21 09:25:06 15-CURRENT-HOST kernel: [2374] wlan0: link state changed to= UP Jan 21 09:25:06 15-CURRENT-HOST dhclient[15178]: New IP Address (wlan0): 192.168.1.112 Jan 21 09:25:06 15-CURRENT-HOST dhclient[16695]: New Subnet Mask (wlan0): 255.255.255.0 Jan 21 09:25:06 15-CURRENT-HOST dhclient[17849]: New Broadcast Address (wla= n0): 192.168.1.255 Jan 21 09:25:06 15-CURRENT-HOST dhclient[18673]: New Routers (wlan0): 192.168.1.1 Jan 21 12:50:56 15-CURRENT-HOST kernel: [14724] iwlwifi0: linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb0= 10 state RUN Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] iwlwifi0: linuxkpi_ieee80211_beacon_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb0= 10 state RUN Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3DBSSID-MAC-2 reason=3D0 Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Removed BSSID BSSID-MAC from ignore list (expired) Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID BSSID-MAC-2 into ignore list, ignoring for 10 seconds Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: ioctl[SIOCS80211, op= =3D20, val=3D0, arg_len=3D7]: Can't assign requested address Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0143dfbe80 vap 0xfffffe0143dfb010 state RUN Jan 21 12:51:01 15-CURRENT-HOST kernel: [14729] wlan0: link state changed to DOWN Jan 21 12:51:01 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Removed BSSID BSSID-MAC-2 from ignore list (clear) Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Trying to associate with BSSID-MAC-3 (SSID=3D'AWESOME-SSID-NAME' freq=3D2417 MHz) Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: FT: Invalid key management type (2) Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Associated wi= th BSSID-MAC-3 Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: WPA: Key negotiation completed with BSSID-MAC-3 [PTK=3DCCMP GTK=3DCCMP] Jan 21 12:51:12 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: CTRL-EVENT-CONNECTED - Connection to BSSID-MAC-3 completed [id=3D2 id_str= =3D] Jan 21 12:51:12 15-CURRENT-HOST kernel: [14740] wlan0: link state changed t= o UP This IP is picked up from DHCPD running on a bridge interface I use for run= ning bhyve VMs, the wireless connection is gone and wlan0 picks this up from localhost: Jan 21 12:51:13 15-CURRENT-HOST dhclient[40302]: New IP Address (wlan0): 172.16.66.142 Jan 21 12:51:13 15-CURRENT-HOST dhclient[42209]: New Subnet Mask (wlan0): 255.255.255.0 Jan 21 12:51:13 15-CURRENT-HOST dhclient[43952]: New Broadcast Address (wla= n0): 172.16.66.255 Jan 21 12:51:13 15-CURRENT-HOST dhclient[46038]: New Routers (wlan0): 172.16.66.6 When I see the wireless is not working, I do "service netif restart" and th= ese are the logs that follow. (matching what I already posted) Jan 21 12:56:39 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3DBSSID-MAC-3 reason=3D0 Jan 21 12:56:39 15-CURRENT-HOST wpa_supplicant[75193]: wlan0: Added BSSID BSSID-MAC-3 into ignore list, ignoring for 10 seconds Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] wlan0: link state changed to DOWN Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Microcode SW error detected. Restarting 0x2000000. Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Start IWL Error L= og Dump: Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Transport status: 0x0000004B, valid: 6 Jan 21 12:56:39 15-CURRENT-HOST kernel: [15067] iwlwifi0: Loaded firmware version: 36.ca7b901d.0 8000C-36.ucode ... same logs from before --=20 You are receiving this mail because: You are the assignee for the bug.=