From nobody Sun Oct 29 17:53:49 2023 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 4SJPCf1mcYz4y0Vl for ; Sun, 29 Oct 2023 17:53:50 +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 4SJPCf0fRsz4J9V for ; Sun, 29 Oct 2023 17:53:50 +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=1698602030; 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=Hb79/RCJfouhsB1pRhM8sS4vgkNxXZx1O3nw6YC3dcs=; b=QVEi0USfAQ8Yc36qKHHKwaWQXbuhfGqKEwmw/B/kNwsjUn1H4DOYststMcdQVM3ygKHUdQ 7yYRbSdYyDlqlBdkAM7sswIDD04RD6Ueig7Lz/03fD3Q1S2LjSxWYJUsqJK+LuMZrWGaXF 58gl9B9snZE/ranUs+eFbl9bFR/iSdb2rBuakAzwXQrtKCe3hEghOQFEGxjrW4NTFXMg+O 7VpirDmYL3smyo4gTVx3WjoOMVhzix9MTHr8h+k629wtpuv0LiNRhDtvFAO9+YvrsGi/04 b9riIV9FLtVSH1lP8tkBABZFJ58LUd7HOSk+GTNrpqZqMrkJHe3E7JpkppzGMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698602030; a=rsa-sha256; cv=none; b=R2Sv+ZXP3pov6ZAsE637WpRLyOUxB+McQ/3ifDMW1EE+5zS/SICVFLCHxQs+CFyD/69ba5 R2RanOCzL8S2B4bGcIJudgUsKHSoqGpWCfnlFHH6Np/KQJC85CsdtPN+nV5N0wJcLlP1/H gcsZ0IDLhEWkrG/2UKPpsZ6cs1YU+T3Mdw0Hv1YckyVwPKu7lWvlGNod9CH+TlrE1V/LRl dseUdB87VvRQE+HTkPWKYwaJROOZBVPeBfgV773FepiGL1YwFQ994M1O21+Ou5sEws1xgl GSVsqc7FTcYiu8vmpI0eI5SsHbpVcunkVTN388Kk9wshei5ZfijqnjTSLgJ0og== 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 4SJPCd6dpYznqW for ; Sun, 29 Oct 2023 17:53:49 +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 39THrn82013130 for ; Sun, 29 Oct 2023 17:53:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39THrngK013129 for wireless@FreeBSD.org; Sun, 29 Oct 2023 17:53:49 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 263613] iwlwifi0 on framework laptop crashes (kernel panic) when setting IP Date: Sun, 29 Oct 2023 17:53:49 +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: arrowd@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 #34 from Gleb Popov --- It started working for me! I'm writing this comment while being connected v= ia iwlwifi. The "service netif restart" stopped panicing too, however it spits the following messages: Oct 29 20:32:53 sbreeze kernel: wlan0: link state changed to DOWN Oct 29 20:32:53 sbreeze kernel: iwlwifi0: Couldn't drain frames for staid 0, status 0x8 Oct 29 20:32:53 sbreeze kernel: iwlwifi0: lkpi_sta_run_to_init:1954: mo_sta_state(NOTEXIST) failed: -5 Oct 29 20:32:53 sbreeze kernel: iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Microcode SW error detected.=20 Restarting 0x2000000. Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Start IWL Error Log Dump: Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Transport status: 0x0000004B, val= id: 6 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Loaded firmware version: 29.4063824552.0 7265D-29.ucode Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00003418 | ADVANCED_SYSASSERT= =20=20=20=20=20=20=20 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000220 | trm_hw_status0 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | trm_hw_status1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00043D6C | branchlink2 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x0004B002 | interruptlink1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | interruptlink2 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0xDEADBEEF | data1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0xDEADBEEF | data2 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0xDEADBEEF | data3 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x210046B6 | beacon time Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0xD39E294A | tsf low Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000135 | tsf hi Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | time gp1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x014E3B60 | time gp2 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000001 | uCode revision type Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x0000001D | uCode version major Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0xF2390AA8 | uCode version minor Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000210 | hw version Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00489200 | board version Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x005C0128 | hcmd Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x24022080 | isr0 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | isr1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000002 | isr2 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x004150C0 | isr3 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | isr4 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x005B0118 | last cmd Id Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | wait_event Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x000000D4 | l2p_control Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00018010 | l2p_duration Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000007 | l2p_mhvalid Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | l2p_addr_match Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000005 | lmpm_pmg_sel Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x03031934 | timestamp Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x0000C0C8 | flow_handler Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Fseq Registers: Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_ERROR_CODE Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_TOP_INIT_VERSION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_CNVIO_INIT_VERS= ION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_OTP_VERSION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_TOP_CONTENT_VER= SION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_ALIVE_TOKEN Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_CNVI_ID Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_CNVR_ID Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | CNVI_AUX_MISC_CHIP Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | CNVR_AUX_MISC_CHIP Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_PREV_CNVIO_INIT_VERSION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_WIFI_FSEQ_VERSI= ON Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_BT_FSEQ_VERSION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: 0x00000000 | FSEQ_CLASS_TP_VERSION Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Collecting data: trigger 2 fired. Oct 29 20:32:54 sbreeze kernel: iwlwifi0: FW error in SYNC CMD MAC_CONTEXT_= CMD Oct 29 20:32:54 sbreeze kernel: #0 0xffffffff80a5fb9b at linux_dump_stack+0= x1b Oct 29 20:32:54 sbreeze kernel: #1 0xffffffff82cf6773 at iwl_trans_txq_send_hcmd+0x3f3 Oct 29 20:32:54 sbreeze kernel: #2 0xffffffff82c9229e at iwl_trans_send_cmd+0xce Oct 29 20:32:54 sbreeze kernel: #3 0xffffffff82cd5319 at iwl_mvm_send_cmd_pdu+0x49 Oct 29 20:32:54 sbreeze kernel: #4 0xffffffff82ca27ba at iwl_mvm_mac_ctxt_remove+0x7a Oct 29 20:32:54 sbreeze kernel: #5 0xffffffff82cadbcc at iwl_mvm_mac_remove_interface+0x1ec Oct 29 20:32:54 sbreeze kernel: #6 0xffffffff80a59cae at lkpi_80211_mo_remove_interface+0x8e Oct 29 20:32:54 sbreeze kernel: #7 0xffffffff80a555a6 at lkpi_ic_vap_delete+0xd6 Oct 29 20:32:54 sbreeze kernel: #8 0xffffffff8095f362 at wlan_clone_destroy+0x12 Oct 29 20:32:54 sbreeze kernel: #9 0xffffffff80914811 at if_clone_destroy+0= x91 Oct 29 20:32:54 sbreeze kernel: #10 0xffffffff80910719 at ifioctl+0x899 Oct 29 20:32:54 sbreeze kernel: #11 0xffffffff8085ad45 at kern_ioctl+0x255 Oct 29 20:32:54 sbreeze kernel: #12 0xffffffff8085aa83 at sys_ioctl+0x123 Oct 29 20:32:54 sbreeze kernel: #13 0xffffffff80c21eb9 at amd64_syscall+0x1= 09 Oct 29 20:32:54 sbreeze kernel: #14 0xffffffff80bf77bb at fast_syscall_common+0xf8 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Failed to send MAC_CONTEXT_CMD (action:3): -5 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Failed to disable queue 1 (ret=3D= -5) Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Failed to remove station. Id=3D1 Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Failed sending remove station Oct 29 20:32:54 sbreeze kernel: iwlwifi0: Applying debug destination EXTERNAL_DRAM Oct 29 20:32:54 sbreeze syslogd: last message repeated 1 times Oct 29 20:32:54 sbreeze kernel: iwlwifi0: FW already configured (0) - re-configuring Oct 29 20:32:54 sbreeze kernel: WARNING !!!(({ __typeof(((volatile const unsigned long *)(&mvm->status))[((IWL_MVM_STATUS_IN_HW_RESTART) / 64)]) __v= ar =3D ({ __asm__ __volatile__("": : :"memory"); (*(const volatile __typeof(((vola= tile const unsigned long *)(&mvm->status))[((IWL_MVM_STATUS_IN_HW_RESTART) / 64)= ]) *)&(((volatile const unsigned long *)(&mvm->status))[((IWL_MVM_STATUS_IN_HW_RESTART) / 64)])); }); __asm__ __volatile__("": : :"memory"); __var; }) & (1UL << ((IWL_MVM_STATUS_IN_HW_RESTART) & (64 - 1)))) && ctxt->ref failed at /usr/src/sys/contrib/dev/iwlwifi/mvm/phy-ctxt.c:269 Oct 29 20:32:54 sbreeze kernel: wlan0: Ethernet address: 9c:da:3e:77:91:d3 Oct 29 20:32:56 sbreeze kernel: wlan0: link state changed to UP I will keep running iwlwifi on my laptop and will report back any issues I'= ll encounter. Thanks again for the great work! --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun Oct 29 21:00:56 2023 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 4SJTMY2qpwz4yCgd for ; Sun, 29 Oct 2023 21:00: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 4SJTMX5ylPz4bXL for ; Sun, 29 Oct 2023 21:00: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=1698613256; 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=Lr4XQxOO197gIYiuaEHlMMnScEJAJjQlRggViEiaERA=; b=JRhnyFPGmDGd7hJCAuVQy+xqje9MRrujuI3JGKWVssKC7b1uvtOhL8ZB4wyBelCmNxkFTW FQfPrkN5IVpFlQpKtXt4q+8TVJWpniPzDpL00Pf+3aQREugoc8NYqJNt92nArGd2AJRG0K T8jkCYylxzg/Q63xNGy7cgSIPRhOafm9eZdoYNsxDOi93cXVDez2KdtzkZGV+nB6lZCm6A yAm/O0Cb6lwpZmLfGG9QQspzDdKgVUQ+sGoJwv1yTf6GWnizToG/zPvAh7PPs/qYrT963E GFeDnGUE+EeNo08X/QN3o5Pdracj22/l7uL9D8erhJjNWu4A1PhaPdMnsX19NQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698613256; a=rsa-sha256; cv=none; b=Zh3ZIth3PEWe1dRclowwyC3Ui/d4uIsMHvgTm/KsB7ws9+qecRgmFUzOeWCVIVYqkmDmV8 9JCeT/onCSF+HPkQJxyK+rLNvrJpjtJW4YfOgdshgGSZ8sN9mfwWbPhtfmPVpz6G1PEfkr Oz2bJgEQnQ/ZL8NYdtLbrEtvMccwzj6JAHCn+h5ihdBlfrok0Q9EUSZSn20M1S7jyiHHIa m1BJWAJ9Ws9IxB/X+tixt1alX/6oS/zyl1Owr44TFI7954cFJLSFfrKc+diytZ85WztxKB 0uWH42OQ3PQMLfBPzddELQu+1sf994s9S/HCK8A7zvfOuBM1Pa4Kqe5NbH2VxQ== 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 4SJTMX52wwzsyS for ; Sun, 29 Oct 2023 21:00: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 39TL0uTM001714 for ; Sun, 29 Oct 2023 21:00:56 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39TL0uZU001713 for wireless@FreeBSD.org; Sun, 29 Oct 2023 21:00:56 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202310292100.39TL0uZU001713@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, 29 Oct 2023 21:00:56 +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="16986132564.E702d0A.95754" Content-Transfer-Encoding: 7bit --16986132564.E702d0A.95754 Date: Sun, 29 Oct 2023 21:00:56 +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 | 236918 | Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node Open | 238636 | ath: Fix kernel addresses printed in if_ath_sysct 2 problems total for which you should take action. --16986132564.E702d0A.95754 Date: Sun, 29 Oct 2023 21:00:56 +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        |    236918 | Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node
Open        |    238636 | ath: Fix kernel addresses printed in if_ath_sysct

2 problems total for which you should take action.
--16986132564.E702d0A.95754-- From nobody Sun Oct 29 22:48:51 2023 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 4SJWm4427Vz4yJJN for ; Sun, 29 Oct 2023 22:48:52 +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 4SJWm325Z6z4m3J for ; Sun, 29 Oct 2023 22:48:51 +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=1698619731; 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=yCVdtMLIGluzvQrlMn0W3UTXEj7J5ioQP/6tL3WEj7s=; b=TtqRY9zaWXReheOk0IE4DnwEqqhApJSKG+woIdWabntLw5XOd1WMBX5hcP576Cn7qHWMgF ttEAm33lVzPvb5eth2YA0PEuz0twlrJR/r+dTcqSZR2/uksgly5zz0oJx09PKevsSB8ytj PwsylB4w+oLs17bwQ0UnrvpcXoRp506N4sYrKOgiq05MjAUizQv8f+kPk8SFbxg6FEylZ8 j/sbiI+lB7nfybqzWQDjkj8D+sLVvcM5dxepSRzSc2RYhXweX8AouWofgt10ObbIQh/kKk XIY27AsLRtp//p1h0umtvCTX5sc6488JmZBZDXi9C7OxW363EQLWUPe0Imy60w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698619731; a=rsa-sha256; cv=none; b=QONPkaOnsSBrhVTqAXGQis8CSinjoEsOvqq9Wca6oj4RMEqosxiP2/sf92PUKbm0/n3GJ3 JfFKNFOohTaedaNhpgfOSa/NfiN5qLyok1RrSfvFERNv4mKQZKacPQ8LZxw5daTxEx50x1 PKpkoAYyFQqeHATP9X6u6SxzZBSQjImjZ9I6eJU0flG/eaPkIx4nc42zANB95dbH4cRhzA HRyTVubNCyK/vl65qYeX5WmJ7W1Y/4LXn/SzY4e07CD8Btkm9N6WuS/0XfA/Xvr8OA1qcy crLne9u6kTGhgx7BWzDem6IsagBI9fJOAqYuR8xYGu07YfaNMwk2ia4F8fAndw== 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 4SJWm3136rzwkg for ; Sun, 29 Oct 2023 22:48:51 +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 39TMmpox066254 for ; Sun, 29 Oct 2023 22:48:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39TMmpJL066253 for wireless@FreeBSD.org; Sun, 29 Oct 2023 22:48:51 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 236918] Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node_cleanup) Date: Sun, 29 Oct 2023 22:48:51 +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: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, needs-qa X-Bugzilla-Severity: Affects Only Me 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: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: bug_status 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=3D236918 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress Assignee|wireless@FreeBSD.org |bz@FreeBSD.org CC| |bz@FreeBSD.org --- Comment #6 from Bjoern A. Zeeb --- If this is still reproducible I probably know what the cause is. But then I would wonder how anyone could use iwn with 11n really. Given there was no reply to comment #5, can we please have an update if thi= s is still relevant? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Oct 30 03:22:21 2023 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 4SJdqf2m65z4yb9V for ; Mon, 30 Oct 2023 03:22:22 +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 4SJdqf1kS9z3RBZ for ; Mon, 30 Oct 2023 03:22:22 +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=1698636142; 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=AD+bwYF3kd4A5zwdgpt/XKGDsH6vudZl0P3w5LiJ8B4=; b=WeXavd3xQ4acBJvDp3RhNXqyVlmUJDFAI8HtPtdK8lvE8OhOVAaOGfln1CEtXjz/BbUbd6 lIqc48B2DS71ClEy8xSc4ZQeXlp3tR1ndpKNiNsDqm/XOygKYuiSbCmF+SBzhDPRpZ6XPl z7djX7lBzeIyw6EqTBPsVxCU+ZMcpOSDLiie0rmxKOA7lJ7OP8EnZJwU2Jp/8KiW7FX+DZ rKxNu9kk00IDMyl1Ux1UUbRR4b/yJmCcuJvsQqqH0LAgDsd4o7OYp5B6lLExx3VL/HYaXe 7k1XqDttod4kVkM4X7gVmEmyQMWLUZYJ6eXpu9VlnESeSq7M5kHlb7HTlSv17A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698636142; a=rsa-sha256; cv=none; b=xCb/TxCesEEXJeBt7Up44+ITyB/cftNPh40btIxcRgyzgY86v/dOY41Z7wT6rL7dCr4L6e 5ZlI7rdhGFGImBHpDrTVWF5JrW71VBCTkZ5spLrb5ik86fQ4fA1AzmPk3onpsk5sUq1NTQ 3dVEAOIYBb+UfdeWexuIpvBQRouEuzTse4D+jUHpBiGd+DaBoN7/g7vhxjKXrF/37YT53x H8Lu6DBMUBrkFS2lBKj0IJvvzqEPSG4/8r32HEbbgqMSGDmEnh2CtLZmUQWrwqnKngZfFy dfrgdIbYIFPYobG/IgP0PW4llGciI25ri0pS4M2J/ggRtg5jClMNBWCqvtXaKw== 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 4SJdqf0pFDz14cg for ; Mon, 30 Oct 2023 03:22:22 +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 39U3MMwp079448 for ; Mon, 30 Oct 2023 03:22:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39U3MMxh079447 for wireless@FreeBSD.org; Mon, 30 Oct 2023 03:22:22 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 263632] Framework laptop with iwlwifi(4) crashes (freezes) a few seconds after resuming from sleep Date: Mon, 30 Oct 2023 03:22:21 +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: Unspecified X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bkidney@gmail.com 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=3D263632 --- Comment #31 from bkidney@briankidney.ca --- Still suspend/resume not working for me unless I use the workaround I posted previously. FreeBSD 15.0-CURRENT #28 main-n266169-a69b6af2024f Framework Laptop (Original 13") Intel(R) Wi-Fi 6 AX210 If you need any additional information, let me know. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 1 05:56:15 2023 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 4SKx8K3CJnz4yn8Q for ; Wed, 1 Nov 2023 05:56:17 +0000 (UTC) (envelope-from laurent@nilio.ca) Received: from nilio.ca (nilio.ca [157.230.215.236]) (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 (2048 bits) client-digest SHA256) (Client CN "nilio.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SKx8J4GKrz4f1h for ; Wed, 1 Nov 2023 05:56:16 +0000 (UTC) (envelope-from laurent@nilio.ca) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nilio.ca header.s=20230627 header.b=jeIqrb3+; spf=none (mx1.freebsd.org: domain of laurent@nilio.ca has no SPF policy when checking 157.230.215.236) smtp.mailfrom=laurent@nilio.ca; dmarc=pass (policy=none) header.from=nilio.ca DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nilio.ca; s=20230627; t=1698818175; 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=HCNINnPKvH561wIv15X+vcO0m72bbySNOY/e6136Qqo=; b=jeIqrb3+KDByNhGDBIoo281XJm1ffZXJCqqrvprbryk/8xyGH/z15Q4F1pA7Tchb7wtUpU i91ZoI7YEyyb98gQmkI4LDSf2I+rTqaauVNNMP+kcDJq1dzld6w8PvVDrVc+E4xJRLablB 4/yoI2RqdUCYQjvT6O4GJFFldotqPxQ= Received: from [10.0.0.222] (modemcable042.222-162-184.mc.videotron.ca [184.162.222.42]) by NILIO (OpenSMTPD) with ESMTPSA id 607f0412 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 1 Nov 2023 05:56:15 +0000 (UTC) Message-ID: Date: Wed, 1 Nov 2023 01:56:15 -0400 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/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: freebsd-wireless@freebsd.org From: Laurent Cimon Subject: ALFA RTL8812au connection is unstable. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[nilio.ca,none]; R_DKIM_ALLOW(-0.20)[nilio.ca:s=20230627]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ASN(0.00)[asn:14061, ipnet:157.230.208.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-wireless@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nilio.ca:+]; R_SPF_NA(0.00)[no SPF record]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SKx8J4GKrz4f1h X-Spamd-Bar: --- Hello, I have an RTL8812au card on FreeBSD 14.0-STABLE and the connection is very unstable. For example, when downloading packages with pkg, the download rate goes down to 0 for a few seconds, then goes up not above 2MB/s for a few seconds, it's often under 500KB/s and often does not last longer than a second or so, then goes back to 0 for a few seconds. I haven't felt this instability when browsing the web or pinging, it seems to happen during longer connections. Here are some system information. I've tried changing a few tunables but nothing changed. root@JOY# sysctl -a | grep rtwn rtwn0 on uhub3 rtwn0: on usbus5 rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R <118>   parent interface: rtwn0 net.wlan.0.%parent: rtwn0 net.wlan.devices: rtwn0         value:  /boot/kernel/rtwn-rtl8812aufw.ko         value:  /boot/kernel/if_rtwn_usb.ko         value:  /boot/kernel/rtwn.ko dev.rtwn.0.rx_buf_size: 48 dev.rtwn.0.ratectl_selected: 1 dev.rtwn.0.ratectl: 2 dev.rtwn.0.hwcrypto: 1 dev.rtwn.0.debug: 0 dev.rtwn.0.ht40: 0 dev.rtwn.0.%parent: uhub3 dev.rtwn.0.%pnpinfo: vendor=0x0bda product=0x8812 devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="123456" release=0x0000 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff dev.rtwn.0.%location: bus=5 hubaddr=1 port=2 devaddr=2 interface=0 ugen=ugen5.2 dev.rtwn.0.%driver: rtwn dev.rtwn.0.%desc: Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2 dev.rtwn.%parent: Thank you, Laurent From nobody Wed Nov 1 11:39:05 2023 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 4SL4ls6k44z50Jkv for ; Wed, 1 Nov 2023 11:39:05 +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 4SL4ls3vc4z3dqZ for ; Wed, 1 Nov 2023 11:39:05 +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=1698838745; 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=MF15FGO4Jg63wNsIzlXOwjRpN50X8ysqQmig+0yAcHw=; b=JZdqJQu6MqG/2pYCGYS2fbMxKk0sTCkAIozXkZSkeSHLJ1nTqr6MOAbTFLGeoKtUJ5guw8 21KOA/NJSI1lhpKS4gniPqyHXfph/An1asJOlh2R5IgVF9QEbah5AhORI1qJ9JLB5i96l/ k5cK2E7aWhKPLhhJ0IjMG/0Mvt/W9GMLCcxq0y4ZriExV0JHp/Jsi54bCT9aoSqSSn4YBV /Ovw0fmAgo38ZtXbbi6ZhmuCj1YN/2pI3XYe13YWA17qJ58i+rkH2xICFcjhs45Z97J7AQ 5RKAarQlbYp8jwsMAsCtM9lcREltlmxw5qDN6Te24M7zZsQFEjZdIh3KIkQo2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698838745; a=rsa-sha256; cv=none; b=Up+HsSzy7cFgZ0SC6PZhIuwvRNSEFxCc/5QdHr6BMnfpNItalwpO8Sp0MG+t+zdwlh+rAy smnXvSbcC3VYXhDzpweZlqwx4CofxWC/fUmy8NPvNGVodx+wS6280Ufte7TVi43rufYAtN NNWib9siLzxHfV8WxGy22xPyNmaf0CNO1KVVll24JeYti2wNUBhSFxADlFhMUf6ki5vM1l 3834glxpuNXSZ15L6MftaZxdGi0vPA6Q/6lL1buImC3gLu5VVqXXg6mjI2n8MmLTtquFQt bErN6HHISX+TunzrZYPMy6F0g1mur1Kc/vcPVeakmAMH4ONUOJ6KofhK6q8cnA== 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 4SL4ls2yWzzlG4 for ; Wed, 1 Nov 2023 11:39:05 +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 3A1Bd54I095518 for ; Wed, 1 Nov 2023 11:39:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A1Bd59G095517 for wireless@FreeBSD.org; Wed, 1 Nov 2023 11:39:05 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 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, 01 Nov 2023 11:39:05 +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: dumbbell@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=3D271979 --- Comment #27 from Jean-S=C3=A9bastien P=C3=A9dron = --- (In reply to Bjoern A. Zeeb from comment #25) Here are the steps I used to reproduce: (the if_iwlwifi module was already loaded) ifconfig wlan0 create wlandev iwlwifi0 country FR env wlans_iwlwifi0=3D"wlan0" create_args_wlan0=3D"country FR" ifconfig_wlan= 0=3D"WPA DHCP" ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" service netif restart wlan0 And here is the output with your patch: =3D=3D The last lines of /var/log/messages =3D=3D Nov 1 11:07:20 iss kernel: iwlwifi0: WRT: Invalid buffer destination Nov 1 11:07:21 iss kernel: iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20 Nov 1 11:07:21 iss kernel: iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f Nov 1 11:07:21 iss kernel: iwlwifi0: WFPM_AUTH_KEY_0: 0x90 Nov 1 11:07:21 iss kernel: iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x0 Nov 1 11:07:21 iss kernel: wlan0: Ethernet address: 04:cf:4b:1d:fe:fc Nov 1 11:07:38 iss wpa_supplicant[1534]: Successfully initialized wpa_supplicant Nov 1 11:07:38 iss wpa_supplicant[1534]: ioctl[SIOCS80211, op=3D20, val=3D= 0, arg_len=3D7]: Invalid argument Nov 1 11:07:38 iss syslogd: last message repeated 1 times Nov 1 11:07:38 iss wpa_supplicant[1535]: ioctl[SIOCS80211, op=3D103, val= =3D0, arg_len=3D128]: Operation now in progress Nov 1 11:07:38 iss wpa_supplicant[1535]: wlan0: CTRL-EVENT-SCAN-FAILED ret= =3D-1 retry=3D1 Nov 1 11:07:39 iss wpa_supplicant[1535]: ioctl[SIOCS80211, op=3D103, val= =3D0, arg_len=3D128]: Operation now in progress Nov 1 11:07:39 iss wpa_supplicant[1535]: wlan0: CTRL-EVENT-SCAN-FAILED ret= =3D-1 retry=3D1 =3D=3D kgdb =3D=3D (...) Reading symbols from /boot/kernel.drm/kernel... Reading symbols from /usr/lib/debug//boot/kernel.drm/kernel.debug... Unread portion of the kernel message buffer: <6>wlan0: ieee80211_new_state_locked:2718: pending SCAN -> AUTH transition = lost <4>Invalid TXQ id iwl_mvm_tx_mpdu:1204: fc 0x00b0 tid 8 txq_id 65535 mvm 0xfffffe01762c6408 s= kb 0 xfffff802d41a6800 { len 30 } info 0xfffffe0038f6bce8 sta 0xfffff80114044880= (if you see this please report to PR 274382) panic: lkpi_sta_auth_to_scan: lsta 0xfffff80114c1e800 state not NONE: 0, ns= tate 1 arg 1 cpuid =3D 15 time =3D 1698833262 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0175ce8= b70 vpanic() at vpanic+0x171/frame 0xfffffe0175ce8ca0 panic() at panic+0x43/frame 0xfffffe0175ce8d00 lkpi_sta_auth_to_scan() at lkpi_sta_auth_to_scan+0x2c8/frame 0xfffffe0175ce= 8d80 lkpi_iv_newstate() at lkpi_iv_newstate+0x253/frame 0xfffffe0175ce8df0 ieee80211_newstate_cb() at ieee80211_newstate_cb+0x1e7/frame 0xfffffe0175ce= 8e40 taskqueue_run_locked() at taskqueue_run_locked+0xab/frame 0xfffffe0175ce8ec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe0175ce8= ef0 fork_exit() at fork_exit+0x82/frame 0xfffffe0175ce8f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0175ce8f30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- Uptime: 5m22s Dumping 1320 out of 32422 MB:..2%..11%..21%..31%..42%..51%..61%..71%..82%..= 91% (kgdb) bt #0 __curthread () at /home/dumbbell/Documents/freebsd/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3Dtextdump@entry=3D1) at /home/dumbbell/Documents/freebsd/src/sys/kern/kern_shutdown.c:406 #2 0xffffffff80b4ffd0 in kern_reboot (howto=3D260) at /home/dumbbell/Documents/freebsd/src/sys/kern/kern_shutdown.c:527 #3 0xffffffff80b5050e in vpanic ( fmt=3D0xffffffff811e7898 "%s: lsta %p state not NONE: %#x, nstate %d ar= g %d\n ", ap=3Dap@entry=3D0xfffffe0175ce8ce0) at /home/dumbbell/Documents/freebsd/src/sys/kern/kern_shutdown.c:976 #4 0xffffffff80b50273 in panic (fmt=3D) at /home/dumbbell/Documents/freebsd/src/sys/kern/kern_shutdown.c:895 #5 0xffffffff80dd3ab8 in lkpi_sta_auth_to_scan (vap=3D0xfffffe017908f010, nstate=3DIEEE80211_S_SCAN, arg=3D1) at /home/dumbbell/Documents/freebsd/src/sys/compat/linuxkpi/common/src/= linu x_80211.c:1175 #6 0xffffffff80ddb1e3 in lkpi_iv_newstate (vap=3D0xfffffe017908f010, nstate=3DIEEE80211_S_SCAN, arg=3D1) at /home/dumbbell/Documents/freebsd/src/sys/compat/linuxkpi/common/src/= linu x_80211.c:2113 #7 0xffffffff80cfff87 in ieee80211_newstate_cb (xvap=3D0xfffffe017908f010, npending=3D) at /home/dumbbell/Documents/freebsd/src/sys/net80211/ieee80211_proto.c:= 2546 #8 0xffffffff80bb5d2b in taskqueue_run_locked ( queue=3Dqueue@entry=3D0xfffff80002a93100) at /home/dumbbell/Documents/freebsd/src/sys/kern/subr_taskqueue.c:512 #9 0xffffffff80bb6de3 in taskqueue_thread_loop ( arg=3Darg@entry=3D0xfffffe01762ca110) at /home/dumbbell/Documents/freebsd/src/sys/kern/subr_taskqueue.c:824 #10 0xffffffff80b05eb2 in fork_exit ( callout=3D0xffffffff80bb6d10 , arg=3D0xfffffe01762ca110, frame=3D0xfffffe0175ce8f40) at /home/dumbbell/Documents/freebsd/src/sys/kern/kern_fork.c:1160 #11 --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Nov 1 13:53:14 2023 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 4SL7ks1Zy7z4rt5S for ; Wed, 1 Nov 2023 13:53:25 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) 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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL7kr5mrXz4QTb for ; Wed, 1 Nov 2023 13:53:24 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none 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 D0FDF8D4A232; Wed, 1 Nov 2023 13:53:16 +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 139A42D029D6; Wed, 1 Nov 2023 13:53:16 +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 7wiuTREM_0AP; Wed, 1 Nov 2023 13:53:14 +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 CC3902D029D2; Wed, 1 Nov 2023 13:53:14 +0000 (UTC) Date: Wed, 1 Nov 2023 13:53:14 +0000 (UTC) From: "Bjoern A. Zeeb" To: Laurent Cimon cc: freebsd-wireless@freebsd.org Subject: Re: ALFA RTL8812au connection is unstable. In-Reply-To: Message-ID: References: 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: multipart/mixed; boundary="1098556516-2143944626-1698846794=:3600" X-Spamd-Bar: ---- 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:24940, ipnet:195.201.0.0/16, country:DE] X-Rspamd-Queue-Id: 4SL7kr5mrXz4QTb This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-2143944626-1698846794=:3600 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 1 Nov 2023, Laurent Cimon wrote: > Hello, > > I have an RTL8812au card on FreeBSD 14.0-STABLE and the connection is very > unstable. > For example, when downloading packages with pkg, the download rate goes down > to 0 > for a few seconds, then goes up not above 2MB/s for a few seconds, it's often > under 500KB/s > and often does not last longer than a second or so, then goes back to 0 for a > few seconds. > > I haven't felt this instability when browsing the web or pinging, it seems to > happen during longer connections. How many networks are in your neighbourhood? ifconfig wlan0 list scan will tell to some degree. /bz > Here are some system information. I've tried changing a few tunables but > nothing changed. > > root@JOY# sysctl -a | grep rtwn > rtwn0 on uhub3 > rtwn0: on usbus5 > rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R > <118>   parent interface: rtwn0 > net.wlan.0.%parent: rtwn0 > net.wlan.devices: rtwn0 >         value:  /boot/kernel/rtwn-rtl8812aufw.ko >         value:  /boot/kernel/if_rtwn_usb.ko >         value:  /boot/kernel/rtwn.ko > dev.rtwn.0.rx_buf_size: 48 > dev.rtwn.0.ratectl_selected: 1 > dev.rtwn.0.ratectl: 2 > dev.rtwn.0.hwcrypto: 1 > dev.rtwn.0.debug: 0 > dev.rtwn.0.ht40: 0 > dev.rtwn.0.%parent: uhub3 > dev.rtwn.0.%pnpinfo: vendor=0x0bda product=0x8812 devclass=0x00 > devsubclass=0x00 devproto=0x00 sernum="123456" release=0x0000 mode=host > intclass=0xff intsubclass=0xff intprotocol=0xff > dev.rtwn.0.%location: bus=5 hubaddr=1 port=2 devaddr=2 interface=0 > ugen=ugen5.2 > dev.rtwn.0.%driver: rtwn > dev.rtwn.0.%desc: Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2 > dev.rtwn.%parent: > > Thank you, > Laurent > > -- Bjoern A. Zeeb r15:7 --1098556516-2143944626-1698846794=:3600-- From nobody Wed Nov 1 15:09:51 2023 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 4SL9RD409kz4yS6r for ; Wed, 1 Nov 2023 15:10:00 +0000 (UTC) (envelope-from laurent@nilio.ca) Received: from nilio.ca (nilio.ca [157.230.215.236]) (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 (2048 bits) client-digest SHA256) (Client CN "nilio.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL9RD1w1jz4cll for ; Wed, 1 Nov 2023 15:10:00 +0000 (UTC) (envelope-from laurent@nilio.ca) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nilio.ca; s=20230627; t=1698851399; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GeAxBaxsd1QsY+sj3EB2kgrkpktjm7WNRI2jWtHfjhs=; b=YdRhfULmYgkxjg+7KpKrmx31xTgV4LWnT0nHWsxiamsrDLmStwzYtWuwDL68tEpcHOrrQb nS/mljS7g0fhRSRynvZgLoAJCj3dIEedXlYqFzaMsst9dqmfOYrkdTBpneCIEKMSGxpSDR gcw+hEg6f1ShcsP3qkVCsZCx89IcQVM= Received: from [10.0.0.222] (modemcable042.222-162-184.mc.videotron.ca [184.162.222.42]) by NILIO (OpenSMTPD) with ESMTPSA id 025466cc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 1 Nov 2023 15:09:59 +0000 (UTC) Message-ID: <294a97b7-09df-ba92-2333-0d2ae3f7440d@nilio.ca> Date: Wed, 1 Nov 2023 11:09:51 -0400 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/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: ALFA RTL8812au connection is unstable. Content-Language: en-US To: "Bjoern A. Zeeb" Cc: freebsd-wireless@freebsd.org References: From: Laurent Cimon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- 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:14061, ipnet:157.230.208.0/20, country:US] X-Rspamd-Queue-Id: 4SL9RD1w1jz4cll On 11/1/23 09:53, Bjoern A. Zeeb wrote: > On Wed, 1 Nov 2023, Laurent Cimon wrote: > >> Hello, >> >> I have an RTL8812au card on FreeBSD 14.0-STABLE and the connection is >> very unstable. >> For example, when downloading packages with pkg, the download rate >> goes down to 0 >> for a few seconds, then goes up not above 2MB/s for a few seconds, >> it's often under 500KB/s >> and often does not last longer than a second or so, then goes back to >> 0 for a few seconds. >> >> I haven't felt this instability when browsing the web or pinging, it >> seems to happen during longer connections. > > How many networks are in your neighbourhood? > > ifconfig wlan0 list scan > > will tell to some degree. > > /bz > > > >> Here are some system information. I've tried changing a few tunables >> but nothing changed. >> >> root@JOY# sysctl -a | grep rtwn >> rtwn0 on uhub3 >> rtwn0: on usbus5 >> rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R >> <118>   parent interface: rtwn0 >> net.wlan.0.%parent: rtwn0 >> net.wlan.devices: rtwn0 >>         value:  /boot/kernel/rtwn-rtl8812aufw.ko >>         value:  /boot/kernel/if_rtwn_usb.ko >>         value:  /boot/kernel/rtwn.ko >> dev.rtwn.0.rx_buf_size: 48 >> dev.rtwn.0.ratectl_selected: 1 >> dev.rtwn.0.ratectl: 2 >> dev.rtwn.0.hwcrypto: 1 >> dev.rtwn.0.debug: 0 >> dev.rtwn.0.ht40: 0 >> dev.rtwn.0.%parent: uhub3 >> dev.rtwn.0.%pnpinfo: vendor=0x0bda product=0x8812 devclass=0x00 >> devsubclass=0x00 devproto=0x00 sernum="123456" release=0x0000 >> mode=host intclass=0xff intsubclass=0xff intprotocol=0xff >> dev.rtwn.0.%location: bus=5 hubaddr=1 port=2 devaddr=2 interface=0 >> ugen=ugen5.2 >> dev.rtwn.0.%driver: rtwn >> dev.rtwn.0.%desc: Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2 >> dev.rtwn.%parent: >> >> Thank you, >> Laurent >> >> > ifconfig wlan0 list scan shows 8 including mine. Laurent