You are not logged in.

#1 2019-10-13 17:06:18

fhuddles
Member
From: San Antonio, Texas, USA
Registered: 2017-05-16
Posts: 8

iwlwifi transfer problems: "Microcode SW error detected"

I'm experiencing problems with network transfers over my LAN. Seems more common during transfer of fairly large files (say, 32M), but it can happen with smaller ones.
Symptoms are that the operation hangs up for a while. It sometimes completely stops but usually resumes, causing the operation to take a long time.
In my system journal I get these errors:

Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Oct 11 11:08:35 filo kernel: ieee80211 phy0: Hardware restart was requested
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Failing on timeout while stopping DMA channel 8 [0x07fe0001]
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575953012:0x00000000:0125
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575952991:0x000000d7:0123
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575753020:0x00001028:0217
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575753015:0x00010087:0250
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752905:0x000000e2:0353
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752904:0x00000480:0367
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752901:0x00000440:0323
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752879:0x00000000:0302
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752877:0x00000113:0106
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752805:0x000000d4:0322
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752801:0x0000002c:0322
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752800:0x0000000e:0322
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752793:0x00000002:1353
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752792:0x00000000:1352
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752792:0x00000000:1351
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752792:0x00000000:1350
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752773:0x00000440:0323
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752752:0x00000000:0302
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752750:0x00010087:0250
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: EVT_LOGT:0575752579:0x000000d4:0322
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000100 | flow_handler
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00005060 | timestamp
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x02121704 | lmpm_pmg_sel
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000005 | l2p_addr_match
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x001054F7 | l2p_mhvalid
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x000003BF | l2p_duration
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x0000002C | l2p_control
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00004288 | wait_event
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000BAB | isr_pref
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x10802112 | isr4
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x1443FCC3 | isr3
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x0000011A | isr2
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x0142E000 | isr1
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x27F63801 | isr0
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x0C27001C | hcmd
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00488704 | board version
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000054 | hw version
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00010853 | uCode version
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp3
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x2254586F | time gp2
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000002 | tsf hi
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x2FB36628 | tsf low
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x76C0F9D8 | beacon time
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000BAB | line
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x07030000 | data2
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000002 | data1
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00002402 | interruptlink2
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000916 | interruptlink1
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000820 | branchlink2
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x000005AA | branchlink1
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x000006E4 | uPc
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: 0x00000004 | NMI_INTERRUPT_WDG           
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Status: 0x0000004C, count: 5
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 8.83.5.1 build 33692
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000.
Oct 11 11:08:35 filo kernel: iwlwifi 0000:03:00.0: txq_id mismatch: 12 11
Oct 11 11:00:22 filo kernel: [drm] HPD interrupt storm detected on connector DP-2: switching from hotplug detection to polling

Here's the output of lspci for my wifi device:

03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    Subsystem: Intel Corporation WiFi Link 5100 AGN
    Physical Slot: 1
    Flags: bus master, fast devsel, latency 0, IRQ 30
    Memory at f0500000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [e0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number 00-26-c6-ff-ff-80-b1-82
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

I'm running a Thinkpad x301. I have the linux-firmware package installed.
What can you tell me?
Thanks.

Offline

#2 2019-10-21 21:49:40

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 629

Re: iwlwifi transfer problems: "Microcode SW error detected"

Offline

#3 2019-12-26 22:42:29

fhuddles
Member
From: San Antonio, Texas, USA
Registered: 2017-05-16
Posts: 8

Re: iwlwifi transfer problems: "Microcode SW error detected"

Thanks: that is good information. I did not see anything that looked as though it applied to my kernel, though.
What I did find, on my own system, in /etc/modprobe.d, was a file named iwlwifi.conb or something. Probably something I had put there and typed wrong. It contained this line:
options iwlwifi 11n_disable=1
I renamed the file to iwlwifi.conf, restarted networking or rebooted, I don't remember which, and found that I did not have those network issues. I did have some other message from time to time but it did not seem to affect performance so I lived with it. I would include what it was if I found it in my journal now but I don't see it.
In any case, the line in that file appears to be some kind of bit mask for the iwlwifi driver. I have not found out what it means, but it works for me so far, so I am passing along this information for what it is worth.
There is some more information about this kind of thing at:
https://wiki.archlinux.org/index.php/Ne … ss#iwlwifi

Offline

Board footer

Powered by FluxBB