Results 1 to 3 of 3

Thread: Wifi randomly dies; iwlwifi Microcode SW error detected

  1. #1

    Default Wifi randomly dies; iwlwifi Microcode SW error detected

    Hello,

    I'm using a Lenovo Ideapad 320 laptop, and have a problem with Opensuse Tumbleweed (fully updated) where the Wifi randomly stops working. journalctl shows the following:

    Code:
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000.
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Status: 0x00000080, count: 6
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 29.1044073957.0
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000EDC | ADVANCED_SYSASSERT          
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000220 | trm_hw_status0
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00043D54 | branchlink2
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0004AFDA | interruptlink1
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | interruptlink2
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0AE7001C | data1
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x20000067 | data2
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000180C | data3
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x9140AE9C | beacon time
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0xE023D168 | tsf low
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000011F | tsf hi
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x1D2FEEF1 | time gp2
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000001D | uCode version major
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x3E3B4DE5 | uCode version minor
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000210 | hw version
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00C89200 | board version
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x20000067 | hcmd
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x24022002 | isr0
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00800000 | isr1
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000002 | isr2
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0041FCC1 | isr3
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr4
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0AE5001C | last cmd Id
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | wait_event
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000094 | l2p_control
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00018030 | l2p_duration
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000000F | l2p_mhvalid
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000085 | l2p_addr_match
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000005 | lmpm_pmg_sel
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x14031202 | timestamp
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00007888 | flow_handler
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Fseq Registers:
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ERROR_CODE
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_OTP_VERSION
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVI_ID
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVR_ID
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Collecting data: trigger 2 fired.
    Aug 14 20:04:23 ideapad kernel: ieee80211 phy0: Hardware restart was requested
    Info about iwlwifi:
    Code:
    Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
    Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
    Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: base HW address: f8:63:3f:9e:45:b2
    Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
    Aug 14 19:56:12 ideapad NetworkManager[1111]: <info>  [1565805372.8451] rfkill2: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.1/0000:03:00.0/ieee80211/phy0/rfkill2) (driver iwlwifi)
    I can get it working again by restarting NetworkManager, but I would like it to get working properly. I see many people have had this problem, and Ubuntu reportedly fixed it in their kernel.

    I have tried the following things:

    Disabling power saving for Wifi in TLP

    Adding "options cfg80211 cfg80211_disable_40mhz_24ghz=Y" in /etc/modprobe.d/cfg80211.conf

    Adding "wifi.scan-rand-mac-address=no" in /etc/NetworkManager/NetworkManager.conf


    I didn't have this problem with Linux Mint 19.1, where I was using kernel 4.19, so perhaps it's an issue introduced in kernel 5.x.

  2. #2

    Default Re: Wifi randomly dies; iwlwifi Microcode SW error detected

    Quote Originally Posted by Langley View Post
    Hello, I'm using a Lenovo Ideapad 320 laptop, and have a problem with Opensuse Tumbleweed (fully updated) where the Wifi randomly stops working. journalctl shows the following:
    Code:
    Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000. Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump: Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Status: 0x00000080, count: 6 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 29.1044073957.0 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000EDC | ADVANCED_SYSASSERT           Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000220 | trm_hw_status0 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00043D54 | branchlink2 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0004AFDA | interruptlink1 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | interruptlink2 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0AE7001C | data1 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x20000067 | data2 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000180C | data3 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x9140AE9C | beacon time Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0xE023D168 | tsf low Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000011F | tsf hi Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x1D2FEEF1 | time gp2 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000001D | uCode version major Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x3E3B4DE5 | uCode version minor Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000210 | hw version Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00C89200 | board version Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x20000067 | hcmd Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x24022002 | isr0 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00800000 | isr1 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000002 | isr2 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0041FCC1 | isr3 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr4 Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0AE5001C | last cmd Id Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | wait_event Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000094 | l2p_control Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00018030 | l2p_duration Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x0000000F | l2p_mhvalid Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000085 | l2p_addr_match Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000005 | lmpm_pmg_sel Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x14031202 | timestamp Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00007888 | flow_handler Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Fseq Registers: Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ERROR_CODE Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_OTP_VERSION Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVI_ID Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | FSEQ_CNVR_ID Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR Aug 14 20:04:23 ideapad kernel: iwlwifi 0000:03:00.0: Collecting data: trigger 2 fired. Aug 14 20:04:23 ideapad kernel: ieee80211 phy0: Hardware restart was requested
    Info about iwlwifi:
    Code:
    Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210 Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0: base HW address: f8:63:3f:9e:45:b2 Aug 14 19:56:11 ideapad kernel: iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0 Aug 14 19:56:12 ideapad NetworkManager[1111]:   [1565805372.8451] rfkill2: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.1/0000:03:00.0/ieee80211/phy0/rfkill2) (driver iwlwifi)
    I can get it working again by restarting NetworkManager, but I would like it to get working properly. I see many people have had this problem, and Ubuntu reportedly fixed it in their kernel. I have tried the following things: Disabling power saving for Wifi in TLP Adding "options cfg80211 cfg80211_disable_40mhz_24ghz=Y" in /etc/modprobe.d/cfg80211.conf Adding "wifi.scan-rand-mac-address=no" in /etc/NetworkManager/NetworkManager.conf I didn't have this problem with Linux Mint 19.1, where I was using kernel 4.19, so perhaps it's an issue introduced in kernel 5.x.
    I had a similar issue that the wireless connection died sometimes when heavy load occured via wifi (OS: Tumbleweed). Closing and reconnecting to the wifi connection via NetworkManager (Plasma 5) did the job until the next issue.
    With Leap and Fedore the wifi was stable. After searching the web several parameters for iwlwifi where suggested and the following works for me: iwlwifi swcrypto=1
    I put it in /etc/modprobe.d/99-local.conf:
    Code:
    #
    # please add local extensions to this file
    #
    options iwlwifi swcrypto=1

  3. #3

    Default Re: Wifi randomly dies; iwlwifi Microcode SW error detected

    Sorry for the delay, for some reason I hadn't been alerted of a reply.

    Yes, I solved it in that way too, by creating /etc/modprobe.d/iwlwifi.conf where I put

    Code:
    options iwlwifi swcrypto=0 bt_coex_active=0 power_save=0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •