You are not logged in.

#1 2017-04-09 06:14:06

djagoo
Member
Registered: 2016-07-04
Posts: 4

iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

On the new 5th Gen Lenovo X1 Carbon and Intel 8265 on a fresh Arch install iwlwifi keeps crashing the moment network is coming up. Happens on both core/linux-firmware 20170309.695f2d6-1 and aur/linux-firmware-iwlwifi-git 20160725.26a5c2a-1.

After it's crashing it's impossible to rmmod iwlmvm and iwlwifi, all netctl and ip commands are hanging, sudo isn't working and even shutdown isn't working.

Tried netctl and NetworkManager. Netctl sometimes work for a few minutes before it crashes, NetworkManager is chrashing after a few seconds.

Someone reported a bug with Intel 7265D card wich looks exactly the same. https://bugs.archlinux.org/task/53317

The firmware files for 8265 found in /lib/firmware are:
- iwlwifi-8265-21.ucode
- iwlwifi-8265-22.ucode
- iwlwifi-8265-27.ucode

➜  ~ ethtool -i wlp4s0 | grep firmware
firmware-version: 27.455470.0


[ 3.897621] Intel(R) Wireless WiFi driver for Linux
[ 3.897622] Copyright(c) 2003- 2015 Intel Corporation
[ 3.898175] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 3.904046] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
[ 3.904056] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
[ 3.904226] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
[ 3.904235] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
[ 3.909304] iwlwifi 0000:04:00.0: loaded firmware version 22.391740.0 op_mode iwlmvm
[ 3.928373] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[ 3.930341] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 3.931437] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 4.061532] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 4.061774] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[ 4.061786] thermal thermal_zone3: failed to read out thermal zone (-5)
[ 4.067692] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
[ 67.259974] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 67.260316] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 67.378283] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 67.378743] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 67.443846] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 70.865677] wlp4s0: authenticate with e8:94:f6:33:98:b6
[ 70.874118] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 70.874127] iwlwifi 0000:04:00.0: CSR values:
[ 70.874131] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 70.874212] iwlwifi 0000:04:00.0: CSR_HW_IF_CONFIG_REG: 0X00489000
[ 70.874266] iwlwifi 0000:04:00.0: CSR_INT_COALESCING: 0X00000040
[ 70.874319] iwlwifi 0000:04:00.0: CSR_INT: 0X80000000
[ 70.874372] iwlwifi 0000:04:00.0: CSR_INT_MASK: 0X00000000
[ 70.874425] iwlwifi 0000:04:00.0: CSR_FH_INT_STATUS: 0X00010000
[ 70.874478] iwlwifi 0000:04:00.0: CSR_GPIO_IN: 0X00000010
[ 70.874531] iwlwifi 0000:04:00.0: CSR_RESET: 0X00000000
[ 70.874584] iwlwifi 0000:04:00.0: CSR_GP_CNTRL: 0X08040005
[ 70.874637] iwlwifi 0000:04:00.0: CSR_HW_REV: 0X00000230
[ 70.874693] iwlwifi 0000:04:00.0: CSR_EEPROM_REG: 0Xd55555d5
[ 70.874746] iwlwifi 0000:04:00.0: CSR_EEPROM_GP: 0Xd55555d5
[ 70.874800] iwlwifi 0000:04:00.0: CSR_OTP_GP_REG: 0Xd55555d5
[ 70.874853] iwlwifi 0000:04:00.0: CSR_GIO_REG: 0X001f0042
[ 70.874906] iwlwifi 0000:04:00.0: CSR_GP_UCODE_REG: 0X00000000
[ 70.874959] iwlwifi 0000:04:00.0: CSR_GP_DRIVER_REG: 0X00000000
[ 70.875012] iwlwifi 0000:04:00.0: CSR_UCODE_DRV_GP1: 0X00000000
[ 70.875065] iwlwifi 0000:04:00.0: CSR_UCODE_DRV_GP2: 0X00000000
[ 70.875119] iwlwifi 0000:04:00.0: CSR_LED_REG: 0X00000060
[ 70.875172] iwlwifi 0000:04:00.0: CSR_DRAM_INT_TBL_REG: 0X8848dcd1
[ 70.875225] iwlwifi 0000:04:00.0: CSR_GIO_CHICKEN_BITS: 0X07800200
[ 70.875278] iwlwifi 0000:04:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
[ 70.875331] iwlwifi 0000:04:00.0: CSR_MONITOR_STATUS_REG: 0Xc03803c0
[ 70.875384] iwlwifi 0000:04:00.0: CSR_HW_REV_WA_REG: 0X0001001a
[ 70.875437] iwlwifi 0000:04:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
[ 70.875440] iwlwifi 0000:04:00.0: FH register values:
[ 70.875573] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X4878f200
[ 70.875638] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0487b650
[ 70.875698] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000040
[ 70.875760] iwlwifi 0000:04:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801054
[ 70.875821] iwlwifi 0000:04:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 70.875882] iwlwifi 0000:04:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07830000
[ 70.875943] iwlwifi 0000:04:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 70.876008] iwlwifi 0000:04:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0000
[ 70.876068] iwlwifi 0000:04:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
[ 70.876234] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[ 70.876238] iwlwifi 0000:04:00.0: Status: 0x00000000, count: 6
[ 70.876241] iwlwifi 0000:04:00.0: Loaded firmware version: 22.391740.0
[ 70.876245] iwlwifi 0000:04:00.0: 0x000014FD | ADVANCED_SYSASSERT 
[ 70.876248] iwlwifi 0000:04:00.0: 0x000002F0 | trm_hw_status0
[ 70.876251] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1
[ 70.876254] iwlwifi 0000:04:00.0: 0x0000E258 | branchlink2
[ 70.876257] iwlwifi 0000:04:00.0: 0x00027324 | interruptlink1
[ 70.876260] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
[ 70.876263] iwlwifi 0000:04:00.0: 0x0000002A | data1
[ 70.876266] iwlwifi 0000:04:00.0: 0xDEADBEEF | data2
[ 70.876268] iwlwifi 0000:04:00.0: 0xDEADBEEF | data3
[ 70.876271] iwlwifi 0000:04:00.0: 0x000B71BF | beacon time
[ 70.876274] iwlwifi 0000:04:00.0: 0x0034A95C | tsf low
[ 70.876277] iwlwifi 0000:04:00.0: 0x00000000 | tsf hi
[ 70.876280] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
[ 70.876283] iwlwifi 0000:04:00.0: 0x0034A965 | time gp2
[ 70.876286] iwlwifi 0000:04:00.0: 0x00000000 | uCode revision type
[ 70.876289] iwlwifi 0000:04:00.0: 0x00000016 | uCode version major
[ 70.876292] iwlwifi 0000:04:00.0: 0x0005FA3C | uCode version minor
[ 70.876295] iwlwifi 0000:04:00.0: 0x00000230 | hw version
[ 70.876298] iwlwifi 0000:04:00.0: 0x00489000 | board version
[ 70.876328] iwlwifi 0000:04:00.0: 0x00340108 | hcmd
[ 70.876332] iwlwifi 0000:04:00.0: 0x00022080 | isr0
[ 70.876335] iwlwifi 0000:04:00.0: 0x00000000 | isr1
[ 70.876339] iwlwifi 0000:04:00.0: 0x08205802 | isr2
[ 70.876343] iwlwifi 0000:04:00.0: 0x00400080 | isr3
[ 70.876347] iwlwifi 0000:04:00.0: 0x00000000 | isr4
[ 70.876351] iwlwifi 0000:04:00.0: 0x04000118 | last cmd Id
[ 70.876355] iwlwifi 0000:04:00.0: 0x00000000 | wait_event
[ 70.876359] iwlwifi 0000:04:00.0: 0x00001BFB | l2p_control
[ 70.876367] iwlwifi 0000:04:00.0: 0x00000020 | l2p_duration
[ 70.876371] iwlwifi 0000:04:00.0: 0x00000000 | l2p_mhvalid
[ 70.876375] iwlwifi 0000:04:00.0: 0x00000000 | l2p_addr_match
[ 70.876379] iwlwifi 0000:04:00.0: 0x0000008F | lmpm_pmg_sel
[ 70.876383] iwlwifi 0000:04:00.0: 0x25091923 | timestamp
[ 70.876388] iwlwifi 0000:04:00.0: 0x00004050 | flow_handler
[ 70.876560] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[ 70.876564] iwlwifi 0000:04:00.0: Status: 0x00000000, count: 7
[ 70.876570] iwlwifi 0000:04:00.0: 0x00000070 | ADVANCED_SYSASSERT
[ 70.876574] iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1
[ 70.876579] iwlwifi 0000:04:00.0: 0xC0082F64 | umac branchlink2
[ 70.876585] iwlwifi 0000:04:00.0: 0xC0081000 | umac interruptlink1
[ 70.876590] iwlwifi 0000:04:00.0: 0xC0081000 | umac interruptlink2
[ 70.876595] iwlwifi 0000:04:00.0: 0x00000800 | umac data1
[ 70.876600] iwlwifi 0000:04:00.0: 0xC0081000 | umac data2
[ 70.876605] iwlwifi 0000:04:00.0: 0xDEADBEEF | umac data3
[ 70.876610] iwlwifi 0000:04:00.0: 0x00000016 | umac major
[ 70.876615] iwlwifi 0000:04:00.0: 0x0005FA3C | umac minor
[ 70.876620] iwlwifi 0000:04:00.0: 0xC0886280 | frame pointer
[ 70.876625] iwlwifi 0000:04:00.0: 0xC0886280 | stack pointer
[ 70.876629] iwlwifi 0000:04:00.0: 0x00340108 | last host cmd
[ 70.876633] iwlwifi 0000:04:00.0: 0x00000000 | isr status reg
[ 70.876642] ieee80211 phy0: Hardware restart was requested
[ 70.876712] iwlwifi 0000:04:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD
[ 70.876720] CPU: 2 PID: 2927 Comm: wpa_supplicant Not tainted 4.10.8-1-ARCH #1
[ 70.876722] Hardware name: LENOVO 20HQS02200/20HQS02200, BIOS N1MET31W (1.16 ) 03/10/2017
[ 70.876724] Call Trace:
[ 70.876736] dump_stack+0x63/0x83
[ 70.876750] iwl_trans_pcie_send_hcmd+0x430/0x560 [iwlwifi]
[ 70.876756] ? wake_atomic_t_function+0x60/0x60
[ 70.876763] iwl_trans_send_cmd+0x59/0xb0 [iwlwifi]
[ 70.876777] iwl_mvm_send_cmd+0x29/0x80 [iwlmvm]
[ 70.876789] iwl_mvm_send_cmd_pdu+0x4f/0x70 [iwlmvm]
[ 70.876800] iwl_mvm_phy_ctxt_apply.constprop.1+0xfc/0x1a0 [iwlmvm]
[ 70.876813] ? iwl_mvm_bt_coex_notif_handle+0x13e/0x1f0 [iwlmvm]
[ 70.876824] iwl_mvm_phy_ctxt_changed+0x22/0x30 [iwlmvm]
[ 70.876833] iwl_mvm_change_chanctx+0x79/0xc0 [iwlmvm]
[ 70.876862] ieee80211_recalc_chanctx_min_def+0x172/0x370 [mac80211]
[ 70.876886] ieee80211_assign_vif_chanctx+0x214/0x510 [mac80211]
[ 70.876907] ieee80211_vif_use_channel+0x178/0x2c0 [mac80211]
[ 70.876929] ieee80211_prep_connection+0x195/0x8e0 [mac80211]
[ 70.876951] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 70.876971] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 70.876998] ieee80211_auth+0x18/0x20 [mac80211]
[ 70.877017] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 70.877035] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 70.877044] genl_family_rcv_msg+0x1e1/0x3c0
[ 70.877050] ? free_one_page+0x1e0/0x3b0
[ 70.877056] genl_rcv_msg+0x3d/0x80
[ 70.877061] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 70.877065] netlink_rcv_skb+0xa4/0xc0
[ 70.877070] genl_rcv+0x28/0x40
[ 70.877074] netlink_unicast+0x17c/0x240
[ 70.877082] netlink_sendmsg+0x348/0x3b0
[ 70.877088] sock_sendmsg+0x17/0x30
[ 70.877093] ___sys_sendmsg+0x2cd/0x2e0
[ 70.877101] ? __check_object_size+0x54/0x1d7
[ 70.877105] ? _copy_to_user+0x54/0x60
[ 70.877112] ? unix_ioctl+0x55/0x60
[ 70.877117] ? sock_do_ioctl+0x25/0x50
[ 70.877121] ? sock_ioctl+0x1f9/0x2c0
[ 70.877127] __sys_sendmsg+0x54/0x90
[ 70.877133] SyS_sendmsg+0x12/0x20
[ 70.877138] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 70.877142] RIP: 0033:0x7f98b9356567
[ 70.877145] RSP: 002b:00007ffe3d0260b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 70.877151] RAX: ffffffffffffffda RBX: 0000000000b92f70 RCX: 00007f98b9356567
[ 70.877154] RDX: 0000000000000000 RSI: 00007ffe3d0260f0 RDI: 0000000000000004
[ 70.877157] RBP: 0000000000b96080 R08: 0000000000000000 R09: 00000000000000f0
[ 70.877159] R10: 0000000000000050 R11: 0000000000000246 R12: 0000000000b94480
[ 70.877162] R13: 0000000000b95f20 R14: 0000000000000000 R15: 0000000000000000
[ 70.877200] iwlwifi 0000:04:00.0: PHY ctxt cmd error. ret=-5
[ 70.877212] iwlwifi 0000:04:00.0: Failed to send MAC context (action:2): -5
[ 70.877218] iwlwifi 0000:04:00.0: failed to update MAC 00:28:f8:2c:1c:30
[ 70.877230] iwlwifi 0000:04:00.0: Failed to send MAC context (action:2): -5
[ 70.877235] iwlwifi 0000:04:00.0: failed to update MAC 00:28:f8:2c:1c:30
[ 70.877283] BUG: unable to handle kernel NULL pointer dereference at 000000000000011c
[ 70.877421] IP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 70.877496] PGD 48622b067 
[ 70.877498] PUD 458ba2067 
[ 70.877541] PMD 0 

[ 70.877646] Oops: 0000 [#1] PREEMPT SMP
[ 70.877704] Modules linked in: fuse qcserial usb_wwan joydev mousedev cdc_mbim cdc_wdm cdc_ncm usbnet usbserial mii snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus bnep arc4 iTCO_wdt iTCO_vendor_support mei_wdt intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm mac80211 irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc iwlwifi nls_iso8859_1 nls_cp437 i915 snd_hda_intel aesni_intel snd_hda_codec snd_hda_core aes_x86_64 crypto_simd glue_helper cryptd evdev vfat snd_hwdep pcspkr cfg80211 uvcvideo drm_kms_helper videobuf2_vmalloc input_leds e1000e fat mac_hid psmouse snd_pcm ptp videobuf2_memops videobuf2_v4l2
[ 70.878721] pps_core i2c_i801 snd_timer videobuf2_core thinkpad_acpi drm rtsx_pci_ms videodev memstick media btusb intel_gtt syscopyarea sysfillrect nvram btrtl sysimgblt mei_me snd mei fb_sys_fops shpchp i2c_algo_bit intel_pch_thermal ucsi thermal soundcore led_class ac battery tpm_crb hci_uart btbcm btqca btintel bluetooth rfkill crc16 video intel_lpss_acpi intel_lpss i2c_hid hid wmi fjes acpi_pad tpm_tis tpm_tis_core button tpm sch_fq_codel sg scsi_mod ip_tables x_tables btrfs xor raid6_pq rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 crc32c_intel nvme xhci_pci nvme_core xhci_hcd rtsx_pci usbcore usb_common i8042 serio
[ 70.879536] CPU: 2 PID: 2927 Comm: wpa_supplicant Not tainted 4.10.8-1-ARCH #1
[ 70.879638] Hardware name: LENOVO 20HQS02200/20HQS02200, BIOS N1MET31W (1.16 ) 03/10/2017
[ 70.879753] task: ffff880456930000 task.stack: ffffc90002258000
[ 70.879852] RIP: 0010:iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 70.879929] RSP: 0018:ffffc9000225b6b8 EFLAGS: 00010293
[ 70.880005] RAX: ffff88048e108920 RBX: 0000000000000000 RCX: 0000000000000000
[ 70.880108] RDX: 0000000000000002 RSI: 0000000080000000 RDI: ffff880487bd95a8
[ 70.880210] RBP: ffffc9000225b728 R08: ffffffffa0c1d940 R09: 0000000000000000
[ 70.880309] R10: 0000000000000004 R11: ffffffff81c8278d R12: ffff880487bd95a8
[ 70.880413] R13: 0000000000000000 R14: ffff88048e108818 R15: ffff88048e108920
[ 70.880521] FS: 00007f98ba6da7c0(0000) GS:ffff8804a1500000(0000) knlGS:0000000000000000
[ 70.880634] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 70.880717] CR2: 000000000000011c CR3: 000000048dae9000 CR4: 00000000003406e0
[ 70.880819] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 70.880921] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 70.881020] Call Trace:
[ 70.881075] iwl_mvm_mac_sta_state+0x2e3/0x5e0 [iwlmvm]
[ 70.881172] drv_sta_state+0x84/0x4b0 [mac80211]
[ 70.881261] sta_info_insert_rcu+0x379/0x680 [mac80211]
[ 70.881367] sta_info_insert+0xf/0x20 [mac80211]
[ 70.881463] ieee80211_prep_connection+0x444/0x8e0 [mac80211]
[ 70.881570] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 70.881661] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 70.881762] ieee80211_auth+0x18/0x20 [mac80211]
[ 70.881850] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 70.881942] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 70.882025] genl_family_rcv_msg+0x1e1/0x3c0
[ 70.882094] ? free_one_page+0x1e0/0x3b0
[ 70.882159] genl_rcv_msg+0x3d/0x80
[ 70.882214] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 70.882283] netlink_rcv_skb+0xa4/0xc0
[ 70.882343] genl_rcv+0x28/0x40
[ 70.882394] netlink_unicast+0x17c/0x240
[ 70.882455] netlink_sendmsg+0x348/0x3b0
[ 70.882519] sock_sendmsg+0x17/0x30
[ 70.882575] ___sys_sendmsg+0x2cd/0x2e0
[ 70.882638] ? __check_object_size+0x54/0x1d7
[ 70.882705] ? _copy_to_user+0x54/0x60
[ 70.882766] ? unix_ioctl+0x55/0x60
[ 70.882820] ? sock_do_ioctl+0x25/0x50
[ 70.882880] ? sock_ioctl+0x1f9/0x2c0
[ 70.882940] __sys_sendmsg+0x54/0x90
[ 70.883003] SyS_sendmsg+0x12/0x20
[ 70.883058] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 70.883124] RIP: 0033:0x7f98b9356567
[ 70.883179] RSP: 002b:00007ffe3d0260b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 70.883289] RAX: ffffffffffffffda RBX: 0000000000b92f70 RCX: 00007f98b9356567
[ 70.883390] RDX: 0000000000000000 RSI: 00007ffe3d0260f0 RDI: 0000000000000004
[ 70.883490] RBP: 0000000000b96080 R08: 0000000000000000 R09: 00000000000000f0
[ 70.883591] R10: 0000000000000050 R11: 0000000000000246 R12: 0000000000b94480
[ 70.883692] R13: 0000000000b95f20 R14: 0000000000000000 R15: 0000000000000000
[ 70.883796] Code: 47 14 00 00 00 00 83 fb 09 4d 89 3f 4d 89 7f 08 49 c7 c0 40 d9 c1 a0 41 c7 47 10 00 00 00 00 49 8b 8e 60 11 00 00 be 00 00 00 80 <0f> b6 84 11 1a 01 00 00 0f b6 92 59 88 c1 a0 89 5c 24 08 44 89 
[ 70.884148] RIP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm] RSP: ffffc9000225b6b8
[ 70.889648] CR2: 000000000000011c
[ 70.916547] ---[ end trace fae46679cb6afc56 ]---

Last edited by djagoo (2017-04-09 08:24:32)

Offline

#2 2017-04-09 06:45:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-09 06:54:05

djagoo
Member
Registered: 2016-07-04
Posts: 4

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

Thanks for the tip. Now it's wrapped in a code tag.

Offline

#4 2017-04-10 08:07:57

djagoo
Member
Registered: 2016-07-04
Posts: 4

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

Offline

#5 2017-05-16 23:39:27

GenericNumber
Member
Registered: 2017-01-25
Posts: 9

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

I' m also experiencing this bug on an up-to-date installation of arch on a dell xps 13 9360

Offline

#6 2017-05-17 00:04:58

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

@GenericNumber please help with the upstream bug report if you are able see Reporting_bug_guidelines#Upstream_or_Arch.3F for Arch's policy on upstream bugs.
If you need help applying a patch that upstream has requested for testing etc please ask.

Offline

#7 2017-05-19 19:32:51

slok
Member
Registered: 2017-05-19
Posts: 1

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

I've encontered this bug and is very tricky, in the meantime while there is a working patch. You can detect which firmware was loaded and remove (make a backup) the loaded firmware so it fallsback to a older version. It worked for me.

$ dmesg | grep iwlwifi

[   10.131995] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[   10.132327] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2
[   10.132340] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2
[   10.132352] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
[   10.132362] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
[   10.135536] iwlwifi 0000:02:00.0: loaded firmware version 22.391740.0 op_mode iwlmvm
[   10.156036] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
....

In this case it loaded: /usr/lib/firmware/iwlwifi-7265D-22.ucode
Backup and remove this file.

It will load the previous version ( /usr/lib/firmware/iwlwifi-7265D-21.ucode), in this case, this version doesn't have the bug. I guess that should work on other iwlwifi versions like 8265

Offline

#8 2017-11-09 23:00:51

cortexalf
Member
From: Indonesia
Registered: 2017-11-03
Posts: 5

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

I also encounter this problem. this problem occurs if I don't turn off my WiFi before shutting down.
but if I turn off my WiFi before shutting down, there is no boot message like that.
I have tried to use the ucode as module and also compile it into the kernel, both of them show same problem. the message only disappear if the WiFi is turn of before shutting down. so I use systemd to automate the process.

I also have 7265D card and also couldn't connect to 5GHz band

Offline

#9 2017-11-09 23:06:17

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: iwlwifi crashing on X1 Carbon 5th Gen "Microcode SW error detected"

@cortexalf the upstream bug report indicates it should be resolved in 4.14-rc1 have you tried 4.14-rc8 to test if it is?

Offline

Board footer

Powered by FluxBB