[Bug 262150] iwlwifi: intermittent failure with wpa on Framework laptop, Intel AX210

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Mar 2022 14:22:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262150

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |junchoon@dec.sakura.ne.jp

--- Comment #6 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Encountered with Intel(R) Wireless-AC 9560 160MHz, REV=0x312, WITHOUT PANIC.
So possibly different problem as Bug 261075, that panics.

On main, there were too many commits between sane boot and error detected.
Today I got same error on stable/13, updated from git 4f69c575996e (OK) to git
6663718bb496 (NG).

Maybe-essential part of dmesg are as below. They appears after broken update.

iwlwifi0: Microcode SW error detected. Restarting 0x0.
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 6
iwlwifi0: Loaded firmware version: 46.4e1ceb39.0 9000-pu-b0-jf-b0-46.ucode
iwlwifi0: 0x00003520 | ADVANCED_SYSASSERT          
iwlwifi0: 0x00A0A200 | trm_hw_status0
iwlwifi0: 0x00000000 | trm_hw_status1
iwlwifi0: 0x004895DE | branchlink2
iwlwifi0: 0x00479056 | interruptlink1
iwlwifi0: 0x00000000 | interruptlink2
iwlwifi0: 0xDEADBEEF | data1
iwlwifi0: 0xDEADBEEF | data2
iwlwifi0: 0xDEADBEEF | data3
iwlwifi0: 0x00000000 | beacon time
iwlwifi0: 0x00618D12 | tsf low
iwlwifi0: 0x00000000 | tsf hi
iwlwifi0: 0x00000000 | time gp1
iwlwifi0: 0x00618D13 | time gp2
iwlwifi0: 0x00000001 | uCode revision type
iwlwifi0: 0x0000002E | uCode version major
iwlwifi0: 0x4E1CEB39 | uCode version minor
iwlwifi0: 0x00000312 | hw version
iwlwifi0: 0x00489002 | board version
iwlwifi0: 0x8042F404 | hcmd
iwlwifi0: 0x24022000 | isr0
iwlwifi0: 0x01000000 | isr1
iwlwifi0: 0x08201802 | isr2
iwlwifi0: 0x00416CC0 | isr3
iwlwifi0: 0x00000000 | isr4
iwlwifi0: 0x0501001C | last cmd Id
iwlwifi0: 0x0001B568 | wait_event
iwlwifi0: 0x00000010 | l2p_control
iwlwifi0: 0x00018034 | l2p_duration
iwlwifi0: 0x0000003F | l2p_mhvalid
iwlwifi0: 0x000000CF | l2p_addr_match
iwlwifi0: 0x0000000D | lmpm_pmg_sel
iwlwifi0: 0x20120103 | timestamp
iwlwifi0: 0x00004064 | flow_handler
iwlwifi0: Start IWL Error Log Dump:
iwlwifi0: Transport status: 0x0000004B, valid: 7
iwlwifi0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
iwlwifi0: 0x00000000 | umac branchlink1
iwlwifi0: 0xC0088BBA | umac branchlink2
iwlwifi0: 0x010195B4 | umac interruptlink1
iwlwifi0: 0xC00851E8 | umac interruptlink2
iwlwifi0: 0x00000800 | umac data1
iwlwifi0: 0xC00851E8 | umac data2
iwlwifi0: 0xDEADBEEF | umac data3
iwlwifi0: 0x0000002E | umac major
iwlwifi0: 0x4E1CEB39 | umac minor
iwlwifi0: 0x00618D2F | frame pointer
iwlwifi0: 0xC0887530 | stack pointer
iwlwifi0: 0x003A0128 | last host cmd
iwlwifi0: 0x00000000 | isr status reg
iwlwifi0: IML/ROM dump:
iwlwifi0: 0x00000000 | IML/ROM error/state
iwlwifi0: 0x00000003 | IML/ROM data1
iwlwifi0: Fseq Registers:
iwlwifi0: 0x8A5F44DB | FSEQ_ERROR_CODE
iwlwifi0: 0x00000000 | FSEQ_TOP_INIT_VERSION
iwlwifi0: 0xCFDBE2F7 | FSEQ_CNVIO_INIT_VERSION
iwlwifi0: 0x0000A384 | FSEQ_OTP_VERSION
iwlwifi0: 0xBDB46C5F | FSEQ_TOP_CONTENT_VERSION
iwlwifi0: 0x232BA404 | FSEQ_ALIVE_TOKEN
iwlwifi0: 0x84A3F03C | FSEQ_CNVI_ID
iwlwifi0: 0xE43BE075 | FSEQ_CNVR_ID
iwlwifi0: 0x01000100 | CNVI_AUX_MISC_CHIP
iwlwifi0: 0x01300202 | CNVR_AUX_MISC_CHIP
iwlwifi0: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi0: FW error in SYNC CMD MAC_CONTEXT_CMD
#0 0xffffffff80e99b23 at linux_dump_stack+0x23
#1 0xffffffff834af844 at iwl_trans_txq_send_hcmd+0x424
#2 0xffffffff83455bde at iwl_trans_send_cmd+0xce
#3 0xffffffff83496259 at iwl_mvm_send_cmd_pdu+0x49
#4 0xffffffff83465b70 at iwl_mvm_mac_ctx_send+0x4b0
#5 0xffffffff8346e6c4 at iwl_mvm_bss_info_changed+0x184
#6 0xffffffff80e8fb68 at lkpi_sta_assoc_to_run+0x2a8
#7 0xffffffff80e9399b at lkpi_iv_newstate+0x1bb
#8 0xffffffff80dd6d0a at ieee80211_newstate_cb+0x18a
#9 0xffffffff80cb0cd7 at taskqueue_run_locked+0x187
#10 0xffffffff80cb1ff2 at taskqueue_thread_loop+0xc2
#11 0xffffffff80c09352 at fork_exit+0x82
#12 0xffffffff810d1d7e at fork_trampoline+0xe
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: failed to update MAC 0xfffffe010ae9dc9eM
iwlwifi0: mcast filter cmd error. ret=-5
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: failed to update power mode
iwlwifi0: mcast filter cmd error. ret=-5
iwlwifi0: Failed to synchronize multicast groups update
WARNING iwl_mvm_enable_beacon_filter(mvm, vif, 0) failed at
/usr/src/sys/contrib/dev/iwlwifi/mvm/mac80211.c:3510
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: failed to update MAC 0xfffffe010ae9dc9eM
iwlwifi0: mcast filter cmd error. ret=-5
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: mcast filter cmd error. ret=-5
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: Failed to send flush command (-5)
iwlwifi0: flush request fail
iwlwifi0: Couldn't remove the time event
iwlwifi0: Couldn't send TIME_EVENT_CMD: -5
iwlwifi0: iwl_trans_wait_tx_queues_empty bad state = 0
iwlwifi0: Failed to trigger RX queues sync (-5)
wlan0: link state changed to DOWN
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: failed to update MAC 0xfffffe010ae9dc9eM
iwlwifi0: Failed to remove station. Id=0
iwlwifi0: failed to remove AP station
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: failed to update MAC 0xfffffe010ae9dc9eM (clear after unassoc)
iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: Failed to send MAC context (action:2): -5
iwlwifi0: failed to update MAC 0xfffffe010ae9dc9eM
iwlwifi0: Failed to send binding (action:3): -5
iwlwifi0: PHY ctxt cmd error. ret=-5
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5

(snip 11 sets of 2 lines above)

iwlwifi0: Failed to synchronize multicast groups update
iwlwifi0: Scan failed! ret -5
iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5


And then repeats last 2 lines until I forcibly do `ifconfig wlan0 delete`.


When OK, I saw messages below instead.

iwlwifi0: lkpi_sta_scan_to_auth: waiting for 5 queues to be allocated by driver
iwlwifi0: Couldn't drain frames for staid 0, status 0x8
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0
(INIT)

-- 
You are receiving this mail because:
You are on the CC list for the bug.