You are not logged in.

#1 2022-06-16 05:16:53

Alphonus
Member
Registered: 2022-06-16
Posts: 3

iwlwifi Microcode error

So upgraded my system and since then i can no longer connect to wifi,
dmesg returns the following.

 [12818.013257] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
[12818.013491] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[12818.013494] iwlwifi 0000:02:00.0: Transport status: 0x0000004B, valid: 6
[12818.013497] iwlwifi 0000:02:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode
[12818.013500] iwlwifi 0000:02:00.0: 0x000014FD | ADVANCED_SYSASSERT          
[12818.013503] iwlwifi 0000:02:00.0: 0x000002A1 | trm_hw_status0
[12818.013505] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[12818.013507] iwlwifi 0000:02:00.0: 0x00000B30 | branchlink2
[12818.013509] iwlwifi 0000:02:00.0: 0x000164C0 | interruptlink1
[12818.013511] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
[12818.013513] iwlwifi 0000:02:00.0: 0xDEADBEEF | data1
[12818.013515] iwlwifi 0000:02:00.0: 0xDEADBEEF | data2
[12818.013517] iwlwifi 0000:02:00.0: 0xDEADBEEF | data3
[12818.013518] iwlwifi 0000:02:00.0: 0x000E3E08 | beacon time
[12818.013520] iwlwifi 0000:02:00.0: 0x00C671F8 | tsf low
[12818.013522] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[12818.013524] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[12818.013526] iwlwifi 0000:02:00.0: 0x00C671F9 | time gp2
[12818.013528] iwlwifi 0000:02:00.0: 0x00000000 | uCode revision type
[12818.013530] iwlwifi 0000:02:00.0: 0x00000011 | uCode version major
[12818.013531] iwlwifi 0000:02:00.0: 0xBFB58538 | uCode version minor
[12818.013533] iwlwifi 0000:02:00.0: 0x00000144 | hw version
[12818.013535] iwlwifi 0000:02:00.0: 0x40489204 | board version
[12818.013537] iwlwifi 0000:02:00.0: 0x00360108 | hcmd
[12818.013539] iwlwifi 0000:02:00.0: 0x20122080 | isr0
[12818.013540] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[12818.013542] iwlwifi 0000:02:00.0: 0x00000002 | isr2
[12818.013544] iwlwifi 0000:02:00.0: 0x00417C80 | isr3
[12818.013546] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[12818.013547] iwlwifi 0000:02:00.0: 0x01000112 | last cmd Id
[12818.013549] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[12818.013551] iwlwifi 0000:02:00.0: 0x000000D4 | l2p_control
[12818.013553] iwlwifi 0000:02:00.0: 0x00018820 | l2p_duration
[12818.013555] iwlwifi 0000:02:00.0: 0x00000007 | l2p_mhvalid
[12818.013557] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[12818.013558] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel
[12818.013560] iwlwifi 0000:02:00.0: 0x15041745 | timestamp
[12818.013562] iwlwifi 0000:02:00.0: 0x00006070 | flow_handler
[12818.013565] iwlwifi 0000:02:00.0: Fseq Registers:
[12818.013712] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE
[12818.013768] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[12818.013824] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[12818.013880] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION
[12818.013932] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[12818.013988] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[12818.014044] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID
[12818.014097] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID
[12818.014149] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[12818.014207] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[12818.014259] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[12818.014315] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[12818.014318] iwlwifi 0000:02:00.0: Collecting data: trigger 2 fired.
[12818.014347] iwlwifi 0000:02:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD
[12818.014374]  iwl_trans_txq_send_hcmd+0x43f/0x450 [iwlwifi d601d44c0a0e8baf956a0fbd620a7804fb58dd00]
[12818.014429]  iwl_trans_send_cmd+0x92/0xf0 [iwlwifi d601d44c0a0e8baf956a0fbd620a7804fb58dd00]
[12818.015165] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5

This seems to be already reported in the bugtracker. FS#74528.
But i dont know how I should go on from here on.

Offline

#2 2022-06-16 05:35:22

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: iwlwifi Microcode error

0x000014FD | ADVANCED_SYSASSERT

I can not match that error against the https://bugs.archlinux.org/task/74528
I would suggest following https://wireless.wiki.kernel.org/en/use … /debugging
Edit:
Seems to be https://bugzilla.kernel.org/show_bug.cgi?id=193641

Last edited by loqs (2022-06-16 05:42:52)

Offline

#3 2022-06-18 09:49:31

Alphonus
Member
Registered: 2022-06-16
Posts: 3

Re: iwlwifi Microcode error

I am quite overwhelmed by this.
I now posted the complete error log.

[  838.727352] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
[  838.727501] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[  838.727503] iwlwifi 0000:02:00.0: Transport status: 0x0000004B, valid: 6
[  838.727505] iwlwifi 0000:02:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode
[  838.727507] iwlwifi 0000:02:00.0: 0x000014FD | ADVANCED_SYSASSERT          
[  838.727509] iwlwifi 0000:02:00.0: 0x002002A0 | trm_hw_status0
[  838.727511] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[  838.727512] iwlwifi 0000:02:00.0: 0x00000B30 | branchlink2
[  838.727514] iwlwifi 0000:02:00.0: 0x000164C0 | interruptlink1
[  838.727515] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
[  838.727517] iwlwifi 0000:02:00.0: 0xDEADBEEF | data1
[  838.727518] iwlwifi 0000:02:00.0: 0xDEADBEEF | data2
[  838.727519] iwlwifi 0000:02:00.0: 0xDEADBEEF | data3
[  838.727521] iwlwifi 0000:02:00.0: 0x000E4436 | beacon time
[  838.727522] iwlwifi 0000:02:00.0: 0x00C6637E | tsf low
[  838.727523] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[  838.727525] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[  838.727526] iwlwifi 0000:02:00.0: 0x00C6637F | time gp2
[  838.727527] iwlwifi 0000:02:00.0: 0x00000000 | uCode revision type
[  838.727529] iwlwifi 0000:02:00.0: 0x00000011 | uCode version major
[  838.727530] iwlwifi 0000:02:00.0: 0xBFB58538 | uCode version minor
[  838.727532] iwlwifi 0000:02:00.0: 0x00000144 | hw version
[  838.727533] iwlwifi 0000:02:00.0: 0x40489204 | board version
[  838.727534] iwlwifi 0000:02:00.0: 0x00320108 | hcmd
[  838.727536] iwlwifi 0000:02:00.0: 0x00022080 | isr0
[  838.727537] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[  838.727538] iwlwifi 0000:02:00.0: 0x00000002 | isr2
[  838.727539] iwlwifi 0000:02:00.0: 0x00417C80 | isr3
[  838.727541] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[  838.727542] iwlwifi 0000:02:00.0: 0x01000112 | last cmd Id
[  838.727543] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[  838.727545] iwlwifi 0000:02:00.0: 0x00000050 | l2p_control
[  838.727546] iwlwifi 0000:02:00.0: 0x00018020 | l2p_duration
[  838.727547] iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
[  838.727548] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[  838.727549] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel
[  838.727551] iwlwifi 0000:02:00.0: 0x15041745 | timestamp
[  838.727552] iwlwifi 0000:02:00.0: 0x00005868 | flow_handler
[  838.727554] iwlwifi 0000:02:00.0: Fseq Registers:
[  838.727700] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE
[  838.727752] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[  838.727808] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[  838.727860] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION
[  838.727912] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[  838.727965] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[  838.728017] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID
[  838.728072] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID
[  838.728124] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[  838.728176] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[  838.728242] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[  838.728391] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[  838.728393] iwlwifi 0000:02:00.0: Collecting data: trigger 2 fired.
[  838.728398] ieee80211 phy0: Hardware restart was requested
[  838.728410] iwlwifi 0000:02:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD
[  838.728414] CPU: 3 PID: 987 Comm: wpa_supplicant Not tainted 5.18.5-arch1-1 #1 e9787f6018c114f5ea5c49a220d7535dfd3a932e
[  838.728419] Hardware name: Hewlett-Packard HP EliteBook 840 G1/198F, BIOS L71 Ver. 01.44 04/12/2018
[  838.728421] Call Trace:
[  838.728424]  <TASK>
[  838.728428]  dump_stack_lvl+0x48/0x5d
[  838.728436]  iwl_trans_txq_send_hcmd+0x43f/0x450 [iwlwifi b6cfb3abea0d860c42cc00ffd3acd79af5610d5b]
[  838.728472]  ? cpuacct_percpu_seq_show+0x20/0x20
[  838.728479]  iwl_trans_send_cmd+0x92/0xf0 [iwlwifi b6cfb3abea0d860c42cc00ffd3acd79af5610d5b]
[  838.728507]  iwl_mvm_send_cmd_pdu+0x62/0xb0 [iwlmvm e8c827684697ab2532555e68fc8e890248f9819f]
[  838.728533]  iwl_mvm_phy_ctxt_apply+0x1e6/0x4e0 [iwlmvm e8c827684697ab2532555e68fc8e890248f9819f]
[  838.728555]  iwl_mvm_change_chanctx+0x11e/0x170 [iwlmvm e8c827684697ab2532555e68fc8e890248f9819f]
[  838.728575]  drv_change_chanctx+0x40/0xf0 [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728651]  ieee80211_recalc_chanctx_min_def+0x43/0x60 [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728715]  ieee80211_assign_vif_chanctx+0x249/0x470 [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728778]  ieee80211_vif_use_channel+0x225/0x280 [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728842]  ieee80211_prep_connection+0x6bb/0xf30 [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728909]  ? _printk+0x6c/0x84
[  838.728916]  ieee80211_mgd_auth.cold+0xd2/0x18b [mac80211 e7ecb5aa0259da0671abdab8ce41d84d4678a3d9]
[  838.728992]  ? cfg80211_get_bss+0x1a2/0x2e0 [cfg80211 db116c5d6b36b39bbfc59c29df2bc7c00d85d719]
[  838.729051]  cfg80211_mlme_auth+0x129/0x240 [cfg80211 db116c5d6b36b39bbfc59c29df2bc7c00d85d719]
[  838.729107]  nl80211_authenticate+0x2ca/0x330 [cfg80211 db116c5d6b36b39bbfc59c29df2bc7c00d85d719]
[  838.729161]  genl_family_rcv_msg_doit+0x100/0x160
[  838.729169]  genl_rcv_msg+0xf2/0x1e0
[  838.729183]  ? nl80211_parse_key+0x320/0x320 [cfg80211 db116c5d6b36b39bbfc59c29df2bc7c00d85d719]
[  838.729229]  ? genl_get_cmd+0xd0/0xd0
[  838.729233]  netlink_rcv_skb+0x55/0x100
[  838.729239]  genl_rcv+0x28/0x40
[  838.729242]  netlink_unicast+0x243/0x390
[  838.729247]  netlink_sendmsg+0x254/0x4b0
[  838.729252]  sock_sendmsg+0x60/0x70
[  838.729256]  ____sys_sendmsg+0x264/0x2a0
[  838.729260]  ? import_iovec+0x1b/0x20
[  838.729265]  ___sys_sendmsg+0x96/0xd0
[  838.729273]  __sys_sendmsg+0x7a/0xd0
[  838.729278]  do_syscall_64+0x5f/0x90
[  838.729283]  ? syscall_exit_to_user_mode+0x26/0x50
[  838.729287]  ? do_syscall_64+0x6b/0x90
[  838.729291]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  838.729297] RIP: 0033:0x7f8c91f20717
[  838.729301] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[  838.729304] RSP: 002b:00007fff417cf3b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[  838.729308] RAX: ffffffffffffffda RBX: 000055dbcc03ab50 RCX: 00007f8c91f20717
[  838.729311] RDX: 0000000000000000 RSI: 00007fff417cf3f0 RDI: 0000000000000005
[  838.729313] RBP: 000055dbcc038b00 R08: 0000000000000004 R09: 000000000000000d
[  838.729315] R10: 00007fff417cf4d0 R11: 0000000000000246 R12: 000055dbcc040650
[  838.729318] R13: 00007fff417cf3f0 R14: 0000000000000000 R15: 0000000000000000
[  838.729322]  </TASK>
[  838.729325] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5
[  838.880303] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[  838.880311] iwlwifi 0000:02:00.0: failed to update MAC f8:16:54:aa:46:41
[  838.880317] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[  838.880319] iwlwifi 0000:02:00.0: failed to update MAC f8:16:54:aa:46:41
[  838.880344] wlan0: failed to insert STA entry for the AP (error -5)
[  838.880347] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[  838.880349] iwlwifi 0000:02:00.0: failed to update MAC f8:16:54:aa:46:41
[  838.880354] iwlwifi 0000:02:00.0: Failed to send binding (action:3): -5
[  838.880358] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[  838.880361] iwlwifi 0000:02:00.0: failed to update MAC f8:16:54:aa:46:41
[  838.880364] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5
[  838.880368] iwlwifi 0000:02:00.0: iwl_trans_wait_tx_queues_empty bad state = 0

Offline

#4 2022-06-18 10:06:32

Alphonus
Member
Registered: 2022-06-16
Posts: 3

Re: iwlwifi Microcode error

I now also tested it with the LTS Kernel and still have this problem.

Offline

#5 2022-06-18 14:49:53

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: iwlwifi Microcode error

Have you tried some tests related to this to see if it is the same issue?
For example is the connection configured for 80MHz?  If so is the issue still present when you reduce it to 40MHz.

Offline

Board footer

Powered by FluxBB