Bug 208425 - iwlwifi Microcode SW error detected. Restarting 0x0.
Summary: iwlwifi Microcode SW error detected. Restarting 0x0.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Default virtual assignee for network-wireless-intel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 12:35 UTC by Mathias Bavay
Modified: 2022-09-18 21:41 UTC (History)
10 users (show)

See Also:
Kernel Version: 5.7.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Various informations about the system (cpuinfo, ioports, modules...) (35.37 KB, text/plain)
2020-07-03 12:35 UTC, Mathias Bavay
Details
Kernel config (239.33 KB, text/plain)
2020-07-03 12:36 UTC, Mathias Bavay
Details

Description Mathias Bavay 2020-07-03 12:35:34 UTC
Created attachment 290081 [details]
Various informations about the system (cpuinfo, ioports, modules...)

I have a Dell XPS 15, 7590 with Killer wifi (Killer Wi-Fi 6 AX1650) that uses the iwlwifi driver. Quite often, the driver crashes and manages to properly restart and sometimes (but quite seldom) the wifi has to be turned off and back on again otherwise nothing goes through the network (although the card is associated with the access point). 

This has happened with various severity since kernels in the 5.0 series with firmware version iwlwifi-cc-a0-48.ucode until my current 5.7.6 (Xenmod) kernel with firmware version iwlwifi-cc-a0-53.ucode.

Here is a typical dmesg output:
[164519.514195] iwlwifi 0000:3b:00.0: Microcode SW error detected. Restarting 0x0.
[164519.516250] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[164519.516252] iwlwifi 0000:3b:00.0: Status: 0x00000040, count: 6
[164519.516254] iwlwifi 0000:3b:00.0: Loaded firmware version: 50.3e391d3e.0 cc-a0-50.ucode
[164519.516256] iwlwifi 0000:3b:00.0: 0x000028A9 | ADVANCED_SYSASSERT          
[164519.516258] iwlwifi 0000:3b:00.0: 0x000022F0 | trm_hw_status0
[164519.516259] iwlwifi 0000:3b:00.0: 0x00000000 | trm_hw_status1
[164519.516261] iwlwifi 0000:3b:00.0: 0x004F9608 | branchlink2
[164519.516262] iwlwifi 0000:3b:00.0: 0x004E4578 | interruptlink1
[164519.516263] iwlwifi 0000:3b:00.0: 0x004E4578 | interruptlink2
[164519.516265] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data1
[164519.516266] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data2
[164519.516268] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data3
[164519.516269] iwlwifi 0000:3b:00.0: 0x1580004D | beacon time
[164519.516270] iwlwifi 0000:3b:00.0: 0x328EEFB9 | tsf low
[164519.516272] iwlwifi 0000:3b:00.0: 0x00000026 | tsf hi
[164519.516273] iwlwifi 0000:3b:00.0: 0x00000000 | time gp1
[164519.516275] iwlwifi 0000:3b:00.0: 0xC88816FA | time gp2
[164519.516276] iwlwifi 0000:3b:00.0: 0x00000001 | uCode revision type
[164519.516277] iwlwifi 0000:3b:00.0: 0x00000032 | uCode version major
[164519.516279] iwlwifi 0000:3b:00.0: 0x3E391D3E | uCode version minor
[164519.516280] iwlwifi 0000:3b:00.0: 0x00000340 | hw version
[164519.516282] iwlwifi 0000:3b:00.0: 0x00C89000 | board version
[164519.516283] iwlwifi 0000:3b:00.0: 0x80D2FD0B | hcmd
[164519.516284] iwlwifi 0000:3b:00.0: 0x00020000 | isr0
[164519.516286] iwlwifi 0000:3b:00.0: 0x00000000 | isr1
[164519.516287] iwlwifi 0000:3b:00.0: 0x08F84802 | isr2
[164519.516288] iwlwifi 0000:3b:00.0: 0x4CC37FDC | isr3
[164519.516290] iwlwifi 0000:3b:00.0: 0x00000002 | isr4
[164519.516293] iwlwifi 0000:3b:00.0: 0x03EB001C | last cmd Id
[164519.516296] iwlwifi 0000:3b:00.0: 0x004F4A70 | wait_event
[164519.516300] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_control
[164519.516305] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_duration
[164519.516308] iwlwifi 0000:3b:00.0: 0x0000003F | l2p_mhvalid
[164519.516312] iwlwifi 0000:3b:00.0: 0x000000CE | l2p_addr_match
[164519.516315] iwlwifi 0000:3b:00.0: 0x0000000B | lmpm_pmg_sel
[164519.516319] iwlwifi 0000:3b:00.0: 0x00000000 | timestamp
[164519.516322] iwlwifi 0000:3b:00.0: 0x00008058 | flow_handler
[164519.517302] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[164519.517306] iwlwifi 0000:3b:00.0: Status: 0x00000040, count: 7
[164519.517308] iwlwifi 0000:3b:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[164519.517309] iwlwifi 0000:3b:00.0: 0x00000000 | umac branchlink1
[164519.517311] iwlwifi 0000:3b:00.0: 0x80465A16 | umac branchlink2
[164519.517312] iwlwifi 0000:3b:00.0: 0x80483248 | umac interruptlink1
[164519.517314] iwlwifi 0000:3b:00.0: 0x80483248 | umac interruptlink2
[164519.517315] iwlwifi 0000:3b:00.0: 0x00000400 | umac data1
[164519.517317] iwlwifi 0000:3b:00.0: 0x80483248 | umac data2
[164519.517318] iwlwifi 0000:3b:00.0: 0x00000000 | umac data3
[164519.517319] iwlwifi 0000:3b:00.0: 0x00000032 | umac major
[164519.517321] iwlwifi 0000:3b:00.0: 0x3E391D3E | umac minor
[164519.517322] iwlwifi 0000:3b:00.0: 0xC888175D | frame pointer
[164519.517324] iwlwifi 0000:3b:00.0: 0xC0886284 | stack pointer
[164519.517325] iwlwifi 0000:3b:00.0: 0x0086010C | last host cmd
[164519.517326] iwlwifi 0000:3b:00.0: 0x00000000 | isr status reg
[164519.517403] iwlwifi 0000:3b:00.0: Fseq Registers:
[164519.517456] iwlwifi 0000:3b:00.0: 0x60000100 | FSEQ_ERROR_CODE
[164519.517509] iwlwifi 0000:3b:00.0: 0x00290011 | FSEQ_TOP_INIT_VERSION
[164519.517562] iwlwifi 0000:3b:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[164519.517617] iwlwifi 0000:3b:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[164519.517758] iwlwifi 0000:3b:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[164519.517811] iwlwifi 0000:3b:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[164519.517864] iwlwifi 0000:3b:00.0: 0x00100530 | FSEQ_CNVI_ID
[164519.517918] iwlwifi 0000:3b:00.0: 0x00000532 | FSEQ_CNVR_ID
[164519.517971] iwlwifi 0000:3b:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[164519.518028] iwlwifi 0000:3b:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[164519.518187] iwlwifi 0000:3b:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[164519.518243] iwlwifi 0000:3b:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[164519.522107] iwlwifi 0000:3b:00.0: WRT: Collecting data: ini trigger 4 fired.
[164519.522114] ieee80211 phy0: Hardware restart was requested

When the card is associated but nothing goes through the network, here are typical examples of dmesg outputs:
[52529.973261] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52529.973354] wlp59s0: Connection to AP ac:22:05:83:cd:8d lost
[52530.330451] wlp59s0: send auth to ac:22:05:83:cd:8d (try 2/3)
[52531.226916] wlp59s0: send auth to ac:22:05:83:cd:8d (try 3/3)
[52532.125912] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52532.125955] wlp59s0: Connection to AP ac:22:05:83:cd:8d lost
[52532.217812] wlp59s0: authentication with ac:22:05:83:cd:8d timed out
[52542.252729] wlp59s0: authenticate with ac:22:05:83:ce:3c
[52542.258736] wlp59s0: send auth to ac:22:05:83:ce:3c (try 1/3)
[52543.158015] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52543.158106] wlp59s0: Connection to AP ac:22:05:83:ce:3c lost
[52543.210675] wlp59s0: send auth to ac:22:05:83:ce:3c (try 2/3)
[52544.109377] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52544.109477] wlp59s0: Connection to AP ac:22:05:83:ce:3c lost
[52544.218379] wlp59s0: send auth to ac:22:05:83:ce:3c (try 3/3)
[52545.117366] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52545.117443] wlp59s0: Connection to AP ac:22:05:83:ce:3c lost
[52545.209765] wlp59s0: authentication with ac:22:05:83:ce:3c timed out
[52556.087441] wlp59s0: authenticate with ac:22:05:83:ce:3c
[52556.092715] wlp59s0: send auth to ac:22:05:83:ce:3c (try 1/3)
[52556.991951] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52556.992044] wlp59s0: Connection to AP ac:22:05:83:ce:3c lost
[52557.210817] wlp59s0: send auth to ac:22:05:83:ce:3c (try 2/3)
[52558.109601] iwlwifi 0000:3b:00.0: No beacon heard and the session protection is over already...
[52558.109688] wlp59s0: Connection to AP ac:22:05:83:ce:3c lost

Could this also be addressed by the patch for Bug 208285 ?

Feel free to request any additional information!
Comment 1 Mathias Bavay 2020-07-03 12:36:33 UTC
Created attachment 290083 [details]
Kernel config
Comment 2 Mathias Bavay 2020-07-09 07:20:50 UTC
I've add another crash with firmware 53 and this time, a call trace:

[255823.564814] iwlwifi 0000:3b:00.0: Microcode SW error detected. Restarting 0x0.
[255823.567132] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[255823.567139] iwlwifi 0000:3b:00.0: Status: 0x00000040, count: 6
[255823.567144] iwlwifi 0000:3b:00.0: Loaded firmware version: 53.c31ac674.0 cc-a0-53.ucode
[255823.567149] iwlwifi 0000:3b:00.0: 0x000028A9 | ADVANCED_SYSASSERT          
[255823.567153] iwlwifi 0000:3b:00.0: 0x000022F0 | trm_hw_status0
[255823.567156] iwlwifi 0000:3b:00.0: 0x00000000 | trm_hw_status1
[255823.567160] iwlwifi 0000:3b:00.0: 0x004F9A5E | branchlink2
[255823.567163] iwlwifi 0000:3b:00.0: 0x00000E16 | interruptlink1
[255823.567167] iwlwifi 0000:3b:00.0: 0x00000E16 | interruptlink2
[255823.567170] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data1
[255823.567173] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data2
[255823.567177] iwlwifi 0000:3b:00.0: 0xDEADBEEF | data3
[255823.567180] iwlwifi 0000:3b:00.0: 0xB901412F | beacon time
[255823.567183] iwlwifi 0000:3b:00.0: 0x417F3EDC | tsf low
[255823.567187] iwlwifi 0000:3b:00.0: 0x0000009A | tsf hi
[255823.567190] iwlwifi 0000:3b:00.0: 0x00000000 | time gp1
[255823.567194] iwlwifi 0000:3b:00.0: 0x1D896E10 | time gp2
[255823.567197] iwlwifi 0000:3b:00.0: 0x00000001 | uCode revision type
[255823.567205] iwlwifi 0000:3b:00.0: 0x00000035 | uCode version major
[255823.567217] iwlwifi 0000:3b:00.0: 0xC31AC674 | uCode version minor
[255823.567227] iwlwifi 0000:3b:00.0: 0x00000340 | hw version
[255823.567237] iwlwifi 0000:3b:00.0: 0x00C89000 | board version
[255823.567245] iwlwifi 0000:3b:00.0: 0x0071019C | hcmd
[255823.567254] iwlwifi 0000:3b:00.0: 0x00020000 | isr0
[255823.567270] iwlwifi 0000:3b:00.0: 0x00000000 | isr1
[255823.567278] iwlwifi 0000:3b:00.0: 0x28F04002 | isr2
[255823.567281] iwlwifi 0000:3b:00.0: 0x04C37FDC | isr3
[255823.567285] iwlwifi 0000:3b:00.0: 0x00000000 | isr4
[255823.567288] iwlwifi 0000:3b:00.0: 0x0071019C | last cmd Id
[255823.567292] iwlwifi 0000:3b:00.0: 0x004F4BBC | wait_event
[255823.567295] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_control
[255823.567298] iwlwifi 0000:3b:00.0: 0x00000000 | l2p_duration
[255823.567302] iwlwifi 0000:3b:00.0: 0x0000003F | l2p_mhvalid
[255823.567305] iwlwifi 0000:3b:00.0: 0x000000CE | l2p_addr_match
[255823.567308] iwlwifi 0000:3b:00.0: 0x0000000B | lmpm_pmg_sel
[255823.567312] iwlwifi 0000:3b:00.0: 0x00000000 | timestamp
[255823.567315] iwlwifi 0000:3b:00.0: 0x000098E0 | flow_handler
[255823.568323] iwlwifi 0000:3b:00.0: Start IWL Error Log Dump:
[255823.568328] iwlwifi 0000:3b:00.0: Status: 0x00000040, count: 7
[255823.568333] iwlwifi 0000:3b:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[255823.568336] iwlwifi 0000:3b:00.0: 0x00000000 | umac branchlink1
[255823.568340] iwlwifi 0000:3b:00.0: 0x80467420 | umac branchlink2
[255823.568343] iwlwifi 0000:3b:00.0: 0x80483454 | umac interruptlink1
[255823.568348] iwlwifi 0000:3b:00.0: 0x80483454 | umac interruptlink2
[255823.568351] iwlwifi 0000:3b:00.0: 0x00000400 | umac data1
[255823.568354] iwlwifi 0000:3b:00.0: 0x80483454 | umac data2
[255823.568358] iwlwifi 0000:3b:00.0: 0x00000000 | umac data3
[255823.568361] iwlwifi 0000:3b:00.0: 0x00000035 | umac major
[255823.568364] iwlwifi 0000:3b:00.0: 0xC31AC674 | umac minor
[255823.568368] iwlwifi 0000:3b:00.0: 0x1D896E78 | frame pointer
[255823.568371] iwlwifi 0000:3b:00.0: 0xC088626C | stack pointer
[255823.568376] iwlwifi 0000:3b:00.0: 0x0071019C | last host cmd
[255823.568379] iwlwifi 0000:3b:00.0: 0x00000000 | isr status reg
[255823.568566] iwlwifi 0000:3b:00.0: Fseq Registers:
[255823.568709] iwlwifi 0000:3b:00.0: 0x60000000 | FSEQ_ERROR_CODE
[255823.568850] iwlwifi 0000:3b:00.0: 0x80290011 | FSEQ_TOP_INIT_VERSION
[255823.568991] iwlwifi 0000:3b:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[255823.569133] iwlwifi 0000:3b:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[255823.569275] iwlwifi 0000:3b:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[255823.569416] iwlwifi 0000:3b:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[255823.569556] iwlwifi 0000:3b:00.0: 0x00100530 | FSEQ_CNVI_ID
[255823.569714] iwlwifi 0000:3b:00.0: 0x00000532 | FSEQ_CNVR_ID
[255823.569866] iwlwifi 0000:3b:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[255823.570025] iwlwifi 0000:3b:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[255823.570179] iwlwifi 0000:3b:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[255823.570318] iwlwifi 0000:3b:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[255823.574837] iwlwifi 0000:3b:00.0: WRT: Collecting data: ini trigger 4 fired.
[255823.574839] ieee80211 phy0: Hardware restart was requested
[255823.574887] iwlwifi 0000:3b:00.0: FW error in SYNC CMD STATISTICS_CMD
[255823.574890] CPU: 2 PID: 965 Comm: NetworkManager Tainted: G           OE     5.7.7-xanmod1 #0
[255823.574891] Hardware name: Dell Inc. XPS 15 7590/0VYV0G, BIOS 1.7.0 05/11/2020
[255823.574891] Call Trace:
[255823.574898]  dump_stack+0x64/0x88
[255823.574912]  iwl_trans_pcie_gen2_send_hcmd+0x3c2/0x3d0 [iwlwifi]
[255823.574917]  ? wait_woken+0x80/0x80
[255823.574922]  iwl_trans_send_cmd+0x51/0xb0 [iwlwifi]
[255823.574937]  iwl_mvm_send_cmd+0x1b/0x40 [iwlmvm]
[255823.574942]  iwl_mvm_request_statistics+0x67/0xf0 [iwlmvm]
[255823.574945]  iwl_mvm_mac_sta_statistics+0x174/0x3b0 [iwlmvm]
[255823.574967]  sta_set_sinfo+0xbf/0xaf0 [mac80211]
[255823.574975]  ? sta_info_get_bss+0xab/0xd0 [mac80211]
[255823.574984]  ieee80211_get_station+0x51/0x70 [mac80211]
[255823.575008]  rdev_get_station+0x3e/0x110 [cfg80211]
[255823.575018]  nl80211_get_station+0x7b/0x170 [cfg80211]
[255823.575021]  ? get_page_from_freelist+0xf0c/0x1170
[255823.575025]  genl_rcv_msg+0x19e/0x2f0
[255823.575026]  ? genl_family_rcv_msg_attrs_parse.isra.0+0x100/0x100
[255823.575028]  netlink_rcv_skb+0x47/0x110
[255823.575029]  genl_rcv+0x24/0x40
[255823.575030]  netlink_unicast+0x239/0x340
[255823.575031]  netlink_sendmsg+0x243/0x480
[255823.575034]  sock_sendmsg+0x5e/0x60
[255823.575035]  ____sys_sendmsg+0x227/0x270
[255823.575036]  ? sendmsg_copy_msghdr+0x7c/0xa0
[255823.575038]  ? __check_object_size+0x46/0x13c
[255823.575039]  ? _copy_from_user+0x2e/0x60
[255823.575041]  ___sys_sendmsg+0x75/0xb0
[255823.575042]  ? ___sys_recvmsg+0x8e/0x100
[255823.575044]  ? wake_up_q+0xa0/0xa0
[255823.575045]  ? __wake_up_common+0x7a/0x140
[255823.575046]  ? _copy_from_user+0x2e/0x60
[255823.575048]  ? __fget_files+0x6c/0x90
[255823.575049]  __sys_sendmsg+0x59/0xa0
[255823.575051]  do_syscall_64+0x5f/0x150
[255823.575053]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[255823.575055] RIP: 0033:0x7f1d777702ad
[255823.575057] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ea ec ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 48 89 44 24 08 e8 1e ed ff ff 48
[255823.575057] RSP: 002b:00007ffde48dc2b0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[255823.575058] RAX: ffffffffffffffda RBX: 0000561d25899380 RCX: 00007f1d777702ad
[255823.575059] RDX: 0000000000000000 RSI: 00007ffde48dc300 RDI: 000000000000000b
[255823.575059] RBP: 00007ffde48dc300 R08: 0000000000000000 R09: 0000000000001000
[255823.575060] R10: 0000561d2586c010 R11: 0000000000000293 R12: 0000561d25899380
[255823.575060] R13: 0000561d25899500 R14: 00007f1d778aa280 R15: 0000561d259a5f40
Comment 3 Vinu Moses 2021-02-25 13:55:24 UTC
I have the same problem. It occurs more frequently when using a 5GHz link over a 2.4GHz link.


DMI: System manufacturer System Product Name/TUF GAMING X570-PLUS (WI-FI), BIOS 3405 02/01/2021

iwlwifi 0000:04:00.0: Detected Intel(R) Wireless-AC 9260 160MHz, REV=0x324

Kernel: 5.11.1-arch1-1 #1 SMP PREEMPT

ArchLinux system with all updates applied.

Excerpt from dmesg:
[  802.810033] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x0.
[  802.824496] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[  802.824497] iwlwifi 0000:04:00.0: Status: 0x00000040, count: 6
[  802.824498] iwlwifi 0000:04:00.0: Loaded firmware version: 46.4d093a30.0 9260-th-b0-jf-b0-46.ucode
[  802.824499] iwlwifi 0000:04:00.0: 0x00001043 | ADVANCED_SYSASSERT          
[  802.824500] iwlwifi 0000:04:00.0: 0x05B02EF7 | trm_hw_status0
[  802.824501] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1
[  802.824502] iwlwifi 0000:04:00.0: 0x00481062 | branchlink2
[  802.824503] iwlwifi 0000:04:00.0: 0x00471536 | interruptlink1
[  802.824503] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
[  802.824504] iwlwifi 0000:04:00.0: 0x000006E4 | data1
[  802.824504] iwlwifi 0000:04:00.0: 0x00001F14 | data2
[  802.824505] iwlwifi 0000:04:00.0: 0x000011DE | data3
[  802.824506] iwlwifi 0000:04:00.0: 0x86012655 | beacon time
[  802.824506] iwlwifi 0000:04:00.0: 0xE9E90974 | tsf low
[  802.824507] iwlwifi 0000:04:00.0: 0x0000000A | tsf hi
[  802.824508] iwlwifi 0000:04:00.0: 0x000125F1 | time gp1
[  802.824508] iwlwifi 0000:04:00.0: 0x2F950C20 | time gp2
[  802.824509] iwlwifi 0000:04:00.0: 0x00000001 | uCode revision type
[  802.824510] iwlwifi 0000:04:00.0: 0x0000002E | uCode version major
[  802.824510] iwlwifi 0000:04:00.0: 0x4D093A30 | uCode version minor
[  802.824511] iwlwifi 0000:04:00.0: 0x00000321 | hw version
[  802.824511] iwlwifi 0000:04:00.0: 0x00C89004 | board version
[  802.824512] iwlwifi 0000:04:00.0: 0x0CDE001C | hcmd
[  802.824513] iwlwifi 0000:04:00.0: 0xAEEA3801 | isr0
[  802.824513] iwlwifi 0000:04:00.0: 0x11C40000 | isr1
[  802.824514] iwlwifi 0000:04:00.0: 0x08001912 | isr2
[  802.824514] iwlwifi 0000:04:00.0: 0x4041FDCF | isr3
[  802.824515] iwlwifi 0000:04:00.0: 0x00000000 | isr4
[  802.824516] iwlwifi 0000:04:00.0: 0x0CDE001C | last cmd Id
[  802.824516] iwlwifi 0000:04:00.0: 0x0001AE90 | wait_event
[  802.824517] iwlwifi 0000:04:00.0: 0x000000C4 | l2p_control
[  802.824517] iwlwifi 0000:04:00.0: 0x00003C20 | l2p_duration
[  802.824518] iwlwifi 0000:04:00.0: 0x00000007 | l2p_mhvalid
[  802.824519] iwlwifi 0000:04:00.0: 0x00000081 | l2p_addr_match
[  802.824519] iwlwifi 0000:04:00.0: 0x0000000D | lmpm_pmg_sel
[  802.824520] iwlwifi 0000:04:00.0: 0x02100002 | timestamp
[  802.824521] iwlwifi 0000:04:00.0: 0x0000081C | flow_handler
[  802.830544] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[  802.830545] iwlwifi 0000:04:00.0: Status: 0x00000040, count: 7
[  802.830546] iwlwifi 0000:04:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL
[  802.830546] iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1
[  802.830547] iwlwifi 0000:04:00.0: 0xC0088BEE | umac branchlink2
[  802.830548] iwlwifi 0000:04:00.0: 0xC0084484 | umac interruptlink1
[  802.830548] iwlwifi 0000:04:00.0: 0xC0084484 | umac interruptlink2
[  802.830549] iwlwifi 0000:04:00.0: 0x00000800 | umac data1
[  802.830550] iwlwifi 0000:04:00.0: 0xC0084484 | umac data2
[  802.830550] iwlwifi 0000:04:00.0: 0xDEADBEEF | umac data3
[  802.830551] iwlwifi 0000:04:00.0: 0x0000002E | umac major
[  802.830551] iwlwifi 0000:04:00.0: 0x4D093A30 | umac minor
[  802.830552] iwlwifi 0000:04:00.0: 0x2F950C35 | frame pointer
[  802.830553] iwlwifi 0000:04:00.0: 0xC088627C | stack pointer
[  802.830553] iwlwifi 0000:04:00.0: 0x00E0014E | last host cmd
[  802.830554] iwlwifi 0000:04:00.0: 0x00000000 | isr status reg
[  802.831195] iwlwifi 0000:04:00.0: Fseq Registers:
[  802.831512] iwlwifi 0000:04:00.0: 0x3524D65B | FSEQ_ERROR_CODE
[  802.831830] iwlwifi 0000:04:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[  802.832140] iwlwifi 0000:04:00.0: 0x42E38F34 | FSEQ_CNVIO_INIT_VERSION
[  802.832467] iwlwifi 0000:04:00.0: 0x0000A371 | FSEQ_OTP_VERSION
[  802.832809] iwlwifi 0000:04:00.0: 0xF4E3D3D4 | FSEQ_TOP_CONTENT_VERSION
[  802.833120] iwlwifi 0000:04:00.0: 0x2261CAE3 | FSEQ_ALIVE_TOKEN
[  802.833443] iwlwifi 0000:04:00.0: 0xF6C61311 | FSEQ_CNVI_ID
[  802.833769] iwlwifi 0000:04:00.0: 0x08C4907C | FSEQ_CNVR_ID
[  802.834080] iwlwifi 0000:04:00.0: 0x01000200 | CNVI_AUX_MISC_CHIP
[  802.834408] iwlwifi 0000:04:00.0: 0x01300202 | CNVR_AUX_MISC_CHIP
[  802.834745] iwlwifi 0000:04:00.0: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[  802.835121] iwlwifi 0000:04:00.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[  802.835452] iwlwifi 0000:04:00.0: WRT: Collecting data: ini trigger 4 fired.
[  802.835456] ieee80211 phy0: Hardware restart was requested
[  876.709624] iwlwifi 0000:04:00.0: Scan failed! ret -5
[  876.879166] iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0x07fe0001]
Comment 4 Vinu Moses 2021-02-25 14:04:28 UTC
Similar bugs reported in Fedora and Arch with the latest kernels (5.10.x and 5.11) and linux-firmware packages

https://bugzilla.redhat.com/show_bug.cgi?id=1875222

https://bugs.archlinux.org/task/45101
Comment 5 Nick Price 2021-03-24 17:51:44 UTC
Some similar/related discussion here

https://bbs.archlinux.org/viewtopic.php?id=254766

Changing the module options as someone suggested resolved the issue for me
Comment 6 Christian Kujau 2021-06-05 11:58:47 UTC
Same here with 5.12.7-300.fc34.x86_64 and:

$ lspci -s 04:00.0 -v
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Flags: bus master, fast devsel, latency 0, IRQ 135
        Memory at ec100000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number e4-70-b8-ff-ff-3f-cc-8f
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] L1 PM Substates
        Kernel modules: iwlwifi

=== Full dmesg at: https://clbin.com/jhsk7
Comment 7 jadziadax30 2021-08-20 22:35:45 UTC
Same here on Linux Mint 20.2 Uma Edge version:

uname -a
5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

The problem started around 2 weeks ago. Before all was fine. 


[ 9924.008616] iwlwifi 0000:94:00.0: regular scan timed out
[ 9924.010433] iwlwifi 0000:94:00.0: Microcode SW error detected. Restarting 0x0.
[ 9924.010699] iwlwifi 0000:94:00.0: Start IWL Error Log Dump:
[ 9924.010702] iwlwifi 0000:94:00.0: Status: 0x00000040, count: 6
[ 9924.010705] iwlwifi 0000:94:00.0: Loaded firmware version: 59.601f3a66.0 ty-a0-gf-a0-59.ucode
[ 9924.010708] iwlwifi 0000:94:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[ 9924.010712] iwlwifi 0000:94:00.0: 0x000002F0 | trm_hw_status0
[ 9924.010714] iwlwifi 0000:94:00.0: 0x00000000 | trm_hw_status1
[ 9924.010716] iwlwifi 0000:94:00.0: 0x004D9BDC | branchlink2
[ 9924.010719] iwlwifi 0000:94:00.0: 0x004CFB22 | interruptlink1
[ 9924.010721] iwlwifi 0000:94:00.0: 0x004CFB22 | interruptlink2
[ 9924.010723] iwlwifi 0000:94:00.0: 0x00014292 | data1
[ 9924.010725] iwlwifi 0000:94:00.0: 0x01000000 | data2
[ 9924.010727] iwlwifi 0000:94:00.0: 0x00000000 | data3
[ 9924.010729] iwlwifi 0000:94:00.0: 0x88C0D1B4 | beacon time
[ 9924.010731] iwlwifi 0000:94:00.0: 0xF7837F90 | tsf low
[ 9924.010733] iwlwifi 0000:94:00.0: 0x000000DD | tsf hi
[ 9924.010735] iwlwifi 0000:94:00.0: 0x00000000 | time gp1
[ 9924.010737] iwlwifi 0000:94:00.0: 0x4F1CE0F7 | time gp2
[ 9924.010739] iwlwifi 0000:94:00.0: 0x00000001 | uCode revision type
[ 9924.010741] iwlwifi 0000:94:00.0: 0x0000003B | uCode version major
[ 9924.010743] iwlwifi 0000:94:00.0: 0x601F3A66 | uCode version minor
[ 9924.010745] iwlwifi 0000:94:00.0: 0x00000420 | hw version
[ 9924.010747] iwlwifi 0000:94:00.0: 0x00489002 | board version
[ 9924.010749] iwlwifi 0000:94:00.0: 0x80EFFC04 | hcmd
[ 9924.010751] iwlwifi 0000:94:00.0: 0x00020000 | isr0
[ 9924.010753] iwlwifi 0000:94:00.0: 0x00080000 | isr1
[ 9924.010755] iwlwifi 0000:94:00.0: 0x48F00002 | isr2
[ 9924.010757] iwlwifi 0000:94:00.0: 0x00C37FCC | isr3
[ 9924.010759] iwlwifi 0000:94:00.0: 0x00200000 | isr4
[ 9924.010761] iwlwifi 0000:94:00.0: 0x049E001C | last cmd Id
[ 9924.010763] iwlwifi 0000:94:00.0: 0x00014292 | wait_event
[ 9924.010765] iwlwifi 0000:94:00.0: 0x000000D4 | l2p_control
[ 9924.010767] iwlwifi 0000:94:00.0: 0x00000020 | l2p_duration
[ 9924.010769] iwlwifi 0000:94:00.0: 0x00000007 | l2p_mhvalid
[ 9924.010771] iwlwifi 0000:94:00.0: 0x00000048 | l2p_addr_match
[ 9924.010773] iwlwifi 0000:94:00.0: 0x00000009 | lmpm_pmg_sel
[ 9924.010775] iwlwifi 0000:94:00.0: 0x00000000 | timestamp
[ 9924.010777] iwlwifi 0000:94:00.0: 0x0000D8B8 | flow_handler
[ 9924.010936] iwlwifi 0000:94:00.0: Start IWL Error Log Dump:
[ 9924.010938] iwlwifi 0000:94:00.0: Status: 0x00000040, count: 7
[ 9924.010940] iwlwifi 0000:94:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[ 9924.010943] iwlwifi 0000:94:00.0: 0x00000000 | umac branchlink1
[ 9924.010945] iwlwifi 0000:94:00.0: 0x8045D8DE | umac branchlink2
[ 9924.010947] iwlwifi 0000:94:00.0: 0x804815AC | umac interruptlink1
[ 9924.010949] iwlwifi 0000:94:00.0: 0x804815AC | umac interruptlink2
[ 9924.010951] iwlwifi 0000:94:00.0: 0x01000000 | umac data1
[ 9924.010953] iwlwifi 0000:94:00.0: 0x804815AC | umac data2
[ 9924.010955] iwlwifi 0000:94:00.0: 0x00000000 | umac data3
[ 9924.010957] iwlwifi 0000:94:00.0: 0x0000003B | umac major
[ 9924.010959] iwlwifi 0000:94:00.0: 0x601F3A66 | umac minor
[ 9924.010961] iwlwifi 0000:94:00.0: 0x4F1CE5EC | frame pointer
[ 9924.010963] iwlwifi 0000:94:00.0: 0xC0886264 | stack pointer
[ 9924.010965] iwlwifi 0000:94:00.0: 0x008F0400 | last host cmd
[ 9924.010967] iwlwifi 0000:94:00.0: 0x00000400 | isr status reg
[ 9924.011099] iwlwifi 0000:94:00.0: IML/ROM dump:
[ 9924.011101] iwlwifi 0000:94:00.0: 0x00000B03 | IML/ROM error/state
[ 9924.011160] iwlwifi 0000:94:00.0: 0x000077AE | IML/ROM data1
[ 9924.011216] iwlwifi 0000:94:00.0: Fseq Registers:
[ 9924.011269] iwlwifi 0000:94:00.0: 0x60000000 | FSEQ_ERROR_CODE
[ 9924.011322] iwlwifi 0000:94:00.0: 0x80440000 | FSEQ_TOP_INIT_VERSION
[ 9924.011374] iwlwifi 0000:94:00.0: 0x00040090 | FSEQ_CNVIO_INIT_VERSION
[ 9924.011426] iwlwifi 0000:94:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[ 9924.011478] iwlwifi 0000:94:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[ 9924.011530] iwlwifi 0000:94:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[ 9924.011583] iwlwifi 0000:94:00.0: 0x00400410 | FSEQ_CNVI_ID
[ 9924.011636] iwlwifi 0000:94:00.0: 0x00400410 | FSEQ_CNVR_ID
[ 9924.011689] iwlwifi 0000:94:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[ 9924.011743] iwlwifi 0000:94:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[ 9924.011798] iwlwifi 0000:94:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 9924.011852] iwlwifi 0000:94:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 9924.012228] iwlwifi 0000:94:00.0: WRT: Collecting data: ini trigger 4 fired.
[ 9924.012235] ieee80211 phy0: Hardware restart was requested
[ 9924.679999] iwlwifi 0000:94:00.0: Failed to send the temperature measurement command (err=-5)
Comment 8 Brad Baker 2022-06-22 20:42:42 UTC
(In reply to Vinu Moses from comment #3)
> I have the same problem. It occurs more frequently when using a 5GHz link
> over a 2.4GHz link.
> 
> 
> DMI: System manufacturer System Product Name/TUF GAMING X570-PLUS (WI-FI),
> BIOS 3405 02/01/2021
> 
> iwlwifi 0000:04:00.0: Detected Intel(R) Wireless-AC 9260 160MHz, REV=0x324
> 
> Kernel: 5.11.1-arch1-1 #1 SMP PREEMPT
> 
> ArchLinux system with all updates applied.
> 
> Excerpt from dmesg:
> [  802.810033] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting
> 0x0.
> [  802.824496] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [  802.824497] iwlwifi 0000:04:00.0: Status: 0x00000040, count: 6
> [  802.824498] iwlwifi 0000:04:00.0: Loaded firmware version: 46.4d093a30.0
> 9260-th-b0-jf-b0-46.ucode

I'm also seeing this with Intel 9260 using 
Pop-OS 22.04 kernel 5.17.5
firmware 46.fae53a8b.0 9260-th-b0-jf-b0-46.ucode
https://bugzilla.kernel.org/show_bug.cgi?id=215635#c15
The workaround was also related to the above mentioned 5hz which I disabled.
Comment 9 Brad Baker 2022-06-22 22:09:39 UTC
I narrowed the workaround to *only* changing the b/g/n wifi router to use channel_width=20Mhz versus "Auto" (20Mhz/40Mhz). I think this is the same as 2.4Ghz only setting.  No other changes were needed to make it work.
Comment 10 Brad Baker 2022-06-23 01:52:16 UTC
It looks to be fixed with Kernel 5.18.6

https://bugzilla.kernel.org/show_bug.cgi?id=215635#c18

Note You need to log in before you can comment on or make changes to this bug.