From nobody Sat Mar 02 10:35:46 2024 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tn1ZV3vSrz5CV6d for ; Sat, 2 Mar 2024 10:35:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tn1ZV1DsCz4RnN for ; Sat, 2 Mar 2024 10:35:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709375746; a=rsa-sha256; cv=none; b=aL9Btu0A+wkuejKhJMNBquAyMmLqauTADsXHlVmdKaw0SWZGOc07XGOjqjWV3yhlojXRfh A5QI4OSgU+rYBvootXzwk+UybP8cOz4EUS1fpvvI22ij3npwqOjYLYAMPpODXxQ6eBfrv2 7Ys56K/441Zgn/D50+RaItd6Pcz+OO/mJVOeG9IFNcAwX1TrQio5UpNhnlNtqpjvAAesDW LCZuY2rW54n+gqvv0rbp1ZuPIwnc1ERWynKfPZ7aDLN+RJjC5UiTheruqZkeGAys1No83h Fue30YE1PcZVpI+K4jbIDfkSg2uKPMiQozRIN7hvzVUYcIPvYUJwkTaerea37A== 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=1709375746; 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=S6m9yZsb7F9c2wKrlyX5qCrwGoNq2IarTZuNie64CKU=; b=qgiPZUCXofrQjSPqAGf+vCGbXFAl/bCllsQfMtHUt0rJNgb/tpauphka3jg/C2HtsyiY69 unxTmxwTsNd+CvUA2D4S7sx1bPo9kjbXRc4XCcPjUAhRZD7DUjI+ve+igu/FF8dv5O0+if sS2QYonPsm29yBSPsZ4T+S/2mk/JX96UKruz96aqgMWMRED8+iDkye8olX99C6DI8nOWfB ykSNisrXCuKnlukFIZ2bdk6/ateaUi/3odY0rLZZFCFrmlf81UpPoeQf9O7ibRhdc5JSSv QUSFZBxuS7O3uKnyjO8biD/YlSEmYn4G2BF3MIqCPDzHUsMVa0ChmGr2DYc8wg== 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 4Tn1ZV0Rlxz162s for ; Sat, 2 Mar 2024 10:35:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 422AZjND026650 for ; Sat, 2 Mar 2024 10:35:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 422AZjqc026649 for wireless@FreeBSD.org; Sat, 2 Mar 2024 10:35:45 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 277432] iwlwifi panic: Sleeping thread owns a non-sleepable lock Date: Sat, 02 Mar 2024 10:35:46 +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: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: weiss@uni-mainz.de 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=3D277432 Bug ID: 277432 Summary: iwlwifi panic: Sleeping thread owns a non-sleepable lock Product: Base System Version: 13.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: weiss@uni-mainz.de FreeBSD 13.3-RC1 FreeBSD 13.3-RC1 releng/13.3-n257425-8997b0270dae GENERIC amd64 with 13.2 userland, wireless WPA2-PSK,=20 Mar 2 10:13:14 laptop kernel: iwlwifi0: mem 0xec000000-0xec001fff irq 18 at device 0.0 on pci2 Mar 2 10:13:14 laptop kernel: iwlwifi0: Detected crf-id 0xbadcafe, cnv-id = 0x10 wfpm id 0x80000000 Mar 2 10:13:14 laptop kernel: iwlwifi0: PCI dev 24fd/0050, rev=3D0x230, rfid=3D0xd55555d5 Mar 2 10:13:14 laptop kernel: iwlwifi0: successfully loaded firmware image 'iwlwifi-8265-36.ucode' Mar 2 10:13:14 laptop kernel: iwlwifi0: loaded firmware version 36.ca7b901= d.0 8265-36.ucode op_mode iwlmvm Mar 2 10:13:14 laptop kernel: iwlwifi0: Detected Intel(R) Dual Band Wirele= ss AC 8265, REV=3D0x230 Mar 2 10:13:14 laptop kernel: iwlwifi0: base HW address: 24:ee:9a:b6:36:ea, OTP minor version: 0x0 u after about an hour of usage I got this panic: Mar 2 11:09:10 laptop kernel: iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0093b72e80 vap 0xfffffe0093b72010 state RUN Mar 2 11:09:10 laptop kernel: wlan0: link state changed to DOWN Mar 2 11:09:10 laptop wpa_supplicant[350]: wlan0: CTRL-EVENT-DISCONNECTED bssid=3Da0:f3:c1:74:98:ec reason=3D0 Mar 2 11:09:10 laptop wpa_supplicant[350]: ioctl[SIOCS80211, op=3D20, val= =3D0, arg_len=3D7]: Can't assign requested address Mar 2 11:09:10 laptop kernel: iwlwifi0: Couldn't drain frames for staid 0, status 0x8 Mar 2 11:09:10 laptop kernel: iwlwifi0: lkpi_sta_run_to_init:2173: mo_sta_state(NOTEXIST) failed: -5 Mar 2 11:09:10 laptop kernel: iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Mar 2 11:09:11 laptop kernel: iwlwifi0: lkpi_sta_scan_to_auth:1033: lvif 0xfffffe0093b72000 vap 0xfffffe0093b72010 iv_bss 0xfffffe00d21f9000 lvif_bss 0xfffff8000715c 800 lvif_bss->ni 0xfffffe00cafe2000 synched 0 Mar 2 11:09:11 laptop kernel: iwlwifi0: lkpi_iv_newstate: error 16 during state transition 1 (SCAN) -> 2 (AUTH) Mar 2 11:10:00 laptop syslogd: kernel boot file is /boot/kernel/kernel Mar 2 11:10:00 laptop kernel: Sleeping thread (tid 100876, pid 0) owns a non-sleepable lock Mar 2 11:10:00 laptop kernel: KDB: stack backtrace of thread 100876: Mar 2 11:10:00 laptop kernel: #0 0xffffffff80c11dbf at mi_switch+0xbf Mar 2 11:10:00 laptop kernel: #1 0xffffffff80c11520 at _sleep+0x1f0 Mar 2 11:10:00 laptop kernel: #2 0xffffffff80c67151 at taskqueue_thread_loop+0xb1 Mar 2 11:10:00 laptop kernel: #3 0xffffffff80bc094d at fork_exit+0x7d Mar 2 11:10:00 laptop kernel: #4 0xffffffff8109ab9e at fork_trampoline+0xe Mar 2 11:10:00 laptop kernel: panic: sleeping thread Mar 2 11:10:00 laptop kernel: cpuid =3D 1 Mar 2 11:10:00 laptop kernel: time =3D 1709374162 Mar 2 11:10:00 laptop kernel: KDB: stack backtrace: Mar 2 11:10:00 laptop kernel: #0 0xffffffff80c514c5 at kdb_backtrace+0x65 Mar 2 11:10:00 laptop kernel: #1 0xffffffff80c04e22 at vpanic+0x152 Mar 2 11:10:00 laptop kernel: #2 0xffffffff80c04cc3 at panic+0x43 Mar 2 11:10:00 laptop kernel: #3 0xffffffff80c69673 at propagate_priority+0x293 Mar 2 11:10:00 laptop kernel: #4 0xffffffff80c6a1c4 at turnstile_wait+0x314 Mar 2 11:10:00 laptop kernel: #5 0xffffffff80be1bbb at __mtx_lock_sleep+0x= 17b Mar 2 11:10:00 laptop kernel: #6 0xffffffff80e58960 at linuxkpi_ieee80211_find_sta+0xd0 Mar 2 11:10:00 laptop kernel: #7 0xffffffff80e58a0f at linuxkpi_ieee80211_find_sta_by_ifaddr+0x7f Mar 2 11:10:00 laptop kernel: #8 0xffffffff831312b8 at iwl_mvm_rx_rx_mpdu+0x1e8 Mar 2 11:10:00 laptop kernel: #9 0xffffffff8315eeb4 at iwl_pcie_rx_handle+0x444 Mar 2 11:10:00 laptop kernel: #10 0xffffffff8315e78d at iwl_pcie_napi_poll+0x2d Mar 2 11:10:00 laptop kernel: #11 0xffffffff80e674cf at lkpi_napi_task+0xf Mar 2 11:10:00 laptop kernel: #12 0xffffffff80c65ed2 at taskqueue_run_locked+0x182 Mar 2 11:10:00 laptop kernel: #13 0xffffffff80c67162 at taskqueue_thread_loop+0xc2 Mar 2 11:10:00 laptop kernel: #14 0xffffffff80bc094d at fork_exit+0x7d Mar 2 11:10:00 laptop kernel: #15 0xffffffff8109ab9e at fork_trampoline+0xe Mar 2 11:10:00 laptop kernel: Uptime: 56m26s --=20 You are receiving this mail because: You are the assignee for the bug.=