FS#53317 - [linux-firmware] 20161222 and newer kills my iwlwifi

Attached to Project: Arch Linux
Opened by Olivier (nemolivier) - Wednesday, 15 March 2017, 07:16 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 05 January 2019, 14:16 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After linux-firmware update, I’ve loose wifi, attempt to connect freeze all my computer (Asus UX305F). I’ve tried to switch from Network-manager to netctl without efect (but I can connect with ethernet, that was not possible with Network-manager). Downgrade to 20161222 solve the issue.

Additional info:
* package version(s) : all after 20161222 (even the testing 20170309)
* config and/or log files etc.

dmesg extract :
[ 3.032802] Intel(R) Wireless WiFi driver for Linux
[ 3.032802] Copyright(c) 2003- 2015 Intel Corporation
[ 3.034250] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2
[ 3.034281] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2
[ 3.034297] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
[ 3.034312] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
[ 3.035227] AVX2 version of gcm_enc/dec engaged.
[ 3.035228] AES CTR mode by8 optimization enabled
[ 3.040803] iwlwifi 0000:02:00.0: loaded firmware version 22.391740.0 op_mode iwlmvm
[ 3.057945] asus_wmi: ASUS WMI generic driver loaded
[ 3.063160] asus_wmi: Initialization: 0x1
[ 3.063212] asus_wmi: BIOS WMI version: 7.9
[ 3.063286] asus_wmi: SFUN value: 0xa2077
[ 3.065063] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input24
[ 3.068829] asus_wmi: Number of fans: 1
[ 3.087040] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 3.089653] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 3.090101] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[…]
[ 93.420307] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.420853] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.488253] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.488799] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.514394] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 96.949908] wlp2s0: authenticate with 14:0c:76:cb:8c:0c
[ 96.953440] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 96.953453] iwlwifi 0000:02:00.0: CSR values:
[ 96.953459] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 96.953574] iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X00489200
[ 96.953725] iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X0000ff40
[ 96.953877] iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
[ 96.954029] iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
[ 96.954182] iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
[ 96.954334] iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
[ 96.954487] iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
[ 96.954640] iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403cd
[ 96.954834] iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000210
[ 96.954988] iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0Xd55555d5
[ 96.955140] iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X00000000
[ 96.955293] iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0Xd55555d5
[ 96.955444] iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X001f0042
[ 96.955596] iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
[ 96.955748] iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
[ 96.955901] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
[ 96.956053] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
[ 96.956206] iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
[ 96.956359] iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8810c4a5
[ 96.956511] iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
[ 96.956662] iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
[ 96.956815] iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0Xc3b7f757
[ 96.956967] iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
[ 96.957026] iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000
[ 96.957032] iwlwifi 0000:02:00.0: FH register values:
[ 96.957186] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X10bc3300
[ 96.957338] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X010bc320
[ 96.957490] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000078
[ 96.957642] iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
[ 96.957795] iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 96.957948] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
[ 96.958129] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 96.958281] iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
[ 96.958433] iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
[ 96.958833] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[ 96.958839] iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
[ 96.958844] iwlwifi 0000:02:00.0: Loaded firmware version: 22.391740.0
[ 96.958850] iwlwifi 0000:02:00.0: 0x000014FC | ADVANCED_SYSASSERT
[ 96.958854] iwlwifi 0000:02:00.0: 0x002002E0 | trm_hw_status0
[ 96.958859] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[ 96.958863] iwlwifi 0000:02:00.0: 0x00043850 | branchlink2
[ 96.958868] iwlwifi 0000:02:00.0: 0x0004A5E8 | interruptlink1
[ 96.958873] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
[ 96.958878] iwlwifi 0000:02:00.0: 0x00026800 | data1
[ 96.958885] iwlwifi 0000:02:00.0: 0x00000191 | data2
[ 96.958890] iwlwifi 0000:02:00.0: 0x05010000 | data3
[ 96.958895] iwlwifi 0000:02:00.0: 0x000D09EA | beacon time
[ 96.958900] iwlwifi 0000:02:00.0: 0x0034BDB4 | tsf low
[ 96.958904] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[ 96.958909] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ 96.958913] iwlwifi 0000:02:00.0: 0x0034BDB5 | time gp2
[ 96.958918] iwlwifi 0000:02:00.0: 0x00000000 | uCode revision type
[ 96.958923] iwlwifi 0000:02:00.0: 0x00000016 | uCode version major
[ 96.958927] iwlwifi 0000:02:00.0: 0x0005FA3C | uCode version minor
[ 96.958931] iwlwifi 0000:02:00.0: 0x00000210 | hw version
[ 96.958936] iwlwifi 0000:02:00.0: 0x00489200 | board version
[ 96.958941] iwlwifi 0000:02:00.0: 0x00300108 | hcmd
[ 96.958945] iwlwifi 0000:02:00.0: 0x00022080 | isr0
[ 96.958950] iwlwifi 0000:02:00.0: 0x01000000 | isr1
[ 96.958954] iwlwifi 0000:02:00.0: 0x00000002 | isr2
[ 96.958959] iwlwifi 0000:02:00.0: 0x00417C80 | isr3
[ 96.958963] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ 96.958968] iwlwifi 0000:02:00.0: 0x01000112 | last cmd Id
[ 96.958973] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ 96.958978] iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
[ 96.958982] iwlwifi 0000:02:00.0: 0x00008020 | l2p_duration
[ 96.958987] iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
[ 96.958991] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[ 96.958996] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel
[ 96.959000] iwlwifi 0000:02:00.0: 0x25091923 | timestamp
[ 96.959005] iwlwifi 0000:02:00.0: 0x00007888 | flow_handler
[ 96.959012] ieee80211 phy0: Hardware restart was requested
[ 96.959050] iwlwifi 0000:02:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD
[ 96.959062] CPU: 2 PID: 1188 Comm: wpa_supplicant Not tainted 4.10.1-1-ARCH #1
[ 96.959065] Hardware name: ASUSTeK COMPUTER INC. UX305FA/UX305FA, BIOS UX305FA.211 07/02/2015
[ 96.959066] Call Trace:
[ 96.959079] dump_stack+0x63/0x83
[ 96.959092] iwl_trans_pcie_send_hcmd+0x430/0x560 [iwlwifi]
[ 96.959097] ? wake_atomic_t_function+0x60/0x60
[ 96.959105] iwl_trans_send_cmd+0x59/0xb0 [iwlwifi]
[ 96.959119] iwl_mvm_send_cmd+0x29/0x80 [iwlmvm]
[ 96.959129] iwl_mvm_send_cmd_pdu+0x4f/0x70 [iwlmvm]
[ 96.959144] iwl_mvm_phy_ctxt_apply.constprop.1+0xfc/0x1a0 [iwlmvm]
[ 96.959156] ? iwl_mvm_bt_coex_notif_handle+0x13e/0x1f0 [iwlmvm]
[ 96.959168] iwl_mvm_phy_ctxt_changed+0x22/0x30 [iwlmvm]
[ 96.959178] iwl_mvm_change_chanctx+0x79/0xc0 [iwlmvm]
[ 96.959206] ieee80211_recalc_chanctx_min_def+0x172/0x370 [mac80211]
[ 96.959230] ieee80211_assign_vif_chanctx+0x214/0x510 [mac80211]
[ 96.959252] ieee80211_vif_use_channel+0x178/0x2c0 [mac80211]
[ 96.959275] ieee80211_prep_connection+0x195/0x8e0 [mac80211]
[ 96.959298] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 96.959318] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 96.959345] ieee80211_auth+0x18/0x20 [mac80211]
[ 96.959363] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 96.959382] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 96.959390] genl_family_rcv_msg+0x1e1/0x3c0
[ 96.959396] ? free_one_page+0x1e0/0x3b0
[ 96.959402] genl_rcv_msg+0x3d/0x80
[ 96.959407] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 96.959412] netlink_rcv_skb+0xa4/0xc0
[ 96.959416] genl_rcv+0x28/0x40
[ 96.959421] netlink_unicast+0x17c/0x240
[ 96.959426] netlink_sendmsg+0x348/0x3b0
[ 96.959432] sock_sendmsg+0x17/0x30
[ 96.959437] ___sys_sendmsg+0x2cd/0x2e0
[ 96.959445] ? __check_object_size+0x54/0x1d7
[ 96.959449] ? _copy_to_user+0x54/0x60
[ 96.959456] ? unix_ioctl+0x55/0x60
[ 96.959460] ? sock_do_ioctl+0x25/0x50
[ 96.959464] ? sock_ioctl+0x1f9/0x2c0
[ 96.959470] __sys_sendmsg+0x54/0x90
[ 96.959476] SyS_sendmsg+0x12/0x20
[ 96.959480] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 96.959487] RIP: 0033:0x7f8b50d86567
[ 96.959489] RSP: 002b:00007ffd7617b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 96.959495] RAX: ffffffffffffffda RBX: 000000000000005b RCX: 00007f8b50d86567
[ 96.959497] RDX: 0000000000000000 RSI: 00007ffd7617b1a0 RDI: 0000000000000004
[ 96.959500] RBP: 0000000000002710 R08: 0000000000000000 R09: 00000000000000f0
[ 96.959503] R10: 00007f8b51038018 R11: 0000000000000246 R12: 00007f8b51037b38
[ 96.959505] R13: 0000000000000160 R14: 000000000241ef00 R15: 00007f8b51037ae0
[ 96.959514] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5
[ 96.959527] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[ 96.959533] iwlwifi 0000:02:00.0: failed to update MAC 60:57:18:32:89:cb
[ 96.959545] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[ 96.959550] iwlwifi 0000:02:00.0: failed to update MAC 60:57:18:32:89:cb
[ 96.959594] BUG: unable to handle kernel NULL pointer dereference at 000000000000011c
[ 96.959684] IP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 96.959721] PGD 50641067
[ 96.959722] PUD 526f4067
[ 96.959742] PMD 0

[ 96.959792] Oops: 0000 [#1] PREEMPT SMP
[ 96.959821] Modules linked in: fuse rfcomm bnep nls_iso8859_1 nls_cp437 vfat fat arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp iTCO_wdt iTCO_vendor_support coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc iwlmvm asus_nb_wmi asus_wmi mac80211 sparse_keymap aesni_intel iwlwifi aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf input_leds cfg80211 uvcvideo snd_hda_codec_hdmi videobuf2_vmalloc psmouse videobuf2_memops btusb pcspkr videobuf2_v4l2 btrtl videobuf2_core btbcm btintel joydev evdev videodev mousedev mac_hid media bluetooth snd_hda_codec_conexant snd_hda_codec_generic rfkill crc16 i2c_i801 lpc_ich mei_me shpchp mei processor_thermal_device intel_soc_dts_iosf fan snd_soc_rt5640 thermal snd_hda_intel wmi snd_soc_rl6231 int3403_thermal
[ 96.960339] i915 snd_hda_codec battery snd_soc_core snd_hda_core snd_compress snd_soc_sst_acpi snd_pcm_dmaengine snd_hwdep snd_soc_sst_match ac97_bus snd_pcm elan_i2c i2c_hid drm_kms_helper int3406_thermal snd_timer i2c_designware_platform i2c_designware_core 8250_dw spi_pxa2xx_platform snd video acpi_als soundcore int3402_thermal asus_wireless int340x_thermal_zone tpm_crb kfifo_buf ac drm fjes industrialio int3400_thermal button acpi_thermal_rel acpi_pad intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_algo_bit tpm_tis tpm_tis_core tpm sch_fq_codel sg ip_tables x_tables btrfs xor hid_generic usbhid hid raid6_pq sd_mod serio_raw atkbd libps2 crc32c_intel ahci libahci libata xhci_pci xhci_hcd scsi_mod usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
[ 96.960845] CPU: 2 PID: 1188 Comm: wpa_supplicant Not tainted 4.10.1-1-ARCH #1
[ 96.960898] Hardware name: ASUSTeK COMPUTER INC. UX305FA/UX305FA, BIOS UX305FA.211 07/02/2015
[ 96.960958] task: ffff880065df4740 task.stack: ffffc90003b28000
[ 96.961007] RIP: 0010:iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 96.961048] RSP: 0018:ffffc90003b2b6b8 EFLAGS: 00010293
[ 96.961087] RAX: ffff88010bdb8920 RBX: 0000000000000000 RCX: 0000000000000000
[ 96.961138] RDX: 0000000000000002 RSI: 0000000080000000 RDI: ffff88010c5515a8
[ 96.961188] RBP: ffffc90003b2b728 R08: ffffffffa0b73940 R09: 0000000000000000
[ 96.961239] R10: 0000000000000004 R11: ffffffff81c8378d R12: ffff88010c5515a8
[ 96.961289] R13: 0000000000000000 R14: ffff88010bdb8818 R15: ffff88010bdb8920
[ 96.961341] FS: 00007f8b520f37c0(0000) GS:ffff88011ed00000(0000) knlGS:0000000000000000
[ 96.961395] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 96.961437] CR2: 000000000000011c CR3: 000000004d073000 CR4: 00000000003406e0
[ 96.961486] Call Trace:
[ 96.961523] iwl_mvm_mac_sta_state+0x2e3/0x5e0 [iwlmvm]
[ 96.961575] drv_sta_state+0x84/0x4b0 [mac80211]
[ 96.961619] sta_info_insert_rcu+0x379/0x680 [mac80211]
[ 96.961668] sta_info_insert+0xf/0x20 [mac80211]
[ 96.961714] ieee80211_prep_connection+0x444/0x8e0 [mac80211]
[ 96.961767] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 96.961815] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 96.961865] ieee80211_auth+0x18/0x20 [mac80211]
[ 96.961907] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 96.961953] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 96.961996] genl_family_rcv_msg+0x1e1/0x3c0
[ 96.962031] ? free_one_page+0x1e0/0x3b0
[ 96.962063] genl_rcv_msg+0x3d/0x80
[ 96.962092] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 96.962126] netlink_rcv_skb+0xa4/0xc0
[ 96.962156] genl_rcv+0x28/0x40
[ 96.962182] netlink_unicast+0x17c/0x240
[ 96.962213] netlink_sendmsg+0x348/0x3b0
[ 96.962244] sock_sendmsg+0x17/0x30
[ 96.962272] ___sys_sendmsg+0x2cd/0x2e0
[ 96.962304] ? __check_object_size+0x54/0x1d7
[ 96.962339] ? _copy_to_user+0x54/0x60
[ 96.962370] ? unix_ioctl+0x55/0x60
[ 96.962398] ? sock_do_ioctl+0x25/0x50
[ 96.962428] ? sock_ioctl+0x1f9/0x2c0
[ 96.962457] __sys_sendmsg+0x54/0x90
[ 96.962487] SyS_sendmsg+0x12/0x20
[ 96.962516] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 96.962550] RIP: 0033:0x7f8b50d86567
[ 96.962577] RSP: 002b:00007ffd7617b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 96.962631] RAX: ffffffffffffffda RBX: 000000000000005b RCX: 00007f8b50d86567
[ 96.962682] RDX: 0000000000000000 RSI: 00007ffd7617b1a0 RDI: 0000000000000004
[ 96.962733] RBP: 0000000000002710 R08: 0000000000000000 R09: 00000000000000f0
[ 96.962783] R10: 00007f8b51038018 R11: 0000000000000246 R12: 00007f8b51037b38
[ 96.962834] R13: 0000000000000160 R14: 000000000241ef00 R15: 00007f8b51037ae0
[ 96.962886] Code: 47 14 00 00 00 00 83 fb 09 4d 89 3f 4d 89 7f 08 49 c7 c0 40 39 b7 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 e8 b6 a0 89 5c 24 08 44 89
[ 96.963067] RIP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm] RSP: ffffc90003b2b6b8
[ 96.963117] CR2: 000000000000011c
[ 96.979635] ---[ end trace 9370d718d5160c45 ]---

This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 05 January 2019, 14:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed upstream in 4.14. Please re-open if still broken.
Comment by barbary christian (barbary christian) - Monday, 20 March 2017, 07:07 GMT
Hello,

There are several have the same bug, for this type of computer (Asus UX305F) waiting for an answer we thank you in advance wishing you a good day.




Description:
After linux-firmware update, I’ve loose wifi, attempt to connect freeze all my computer (Asus UX305F). I’ve tried to switch from Network-manager to netctl without efect (but I can connect with ethernet, that was not possible with Network-manager). Downgrade to 20161222 solve the issue.
Additional info:
* package version(s) : all after 20161222 (even the testing 20170309)
* config and/or log files etc.

dmesg extract :
[ 3.032802] Intel(R) Wireless WiFi driver for Linux
[ 3.032802] Copyright(c) 2003- 2015 Intel Corporation
[ 3.034250] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2
[ 3.034281] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2
[ 3.034297] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
[ 3.034312] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
[ 3.035227] AVX2 version of gcm_enc/dec engaged.
[ 3.035228] AES CTR mode by8 optimization enabled
[ 3.040803] iwlwifi 0000:02:00.0: loaded firmware version 22.391740.0 op_mode iwlmvm
[ 3.057945] asus_wmi: ASUS WMI generic driver loaded
[ 3.063160] asus_wmi: Initialization: 0x1
[ 3.063212] asus_wmi: BIOS WMI version: 7.9
[ 3.063286] asus_wmi: SFUN value: 0xa2077
[ 3.065063] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input24
[ 3.068829] asus_wmi: Number of fans: 1
[ 3.087040] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 3.089653] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 3.090101] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[…]
[ 93.420307] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.420853] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.488253] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.488799] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 93.514394] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 96.949908] wlp2s0: authenticate with 14:0c:76:cb:8c:0c
[ 96.953440] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
[ 96.953453] iwlwifi 0000:02:00.0: CSR values:
[ 96.953459] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 96.953574] iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X00489200
[ 96.953725] iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X0000ff40
[ 96.953877] iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
[ 96.954029] iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
[ 96.954182] iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
[ 96.954334] iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
[ 96.954487] iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
[ 96.954640] iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403cd
[ 96.954834] iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000210
[ 96.954988] iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0Xd55555d5
[ 96.955140] iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X00000000
[ 96.955293] iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0Xd55555d5
[ 96.955444] iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X001f0042
[ 96.955596] iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
[ 96.955748] iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
[ 96.955901] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
[ 96.956053] iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
[ 96.956206] iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
[ 96.956359] iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8810c4a5
[ 96.956511] iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
[ 96.956662] iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
[ 96.956815] iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0Xc3b7f757
[ 96.956967] iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
[ 96.957026] iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000
[ 96.957032] iwlwifi 0000:02:00.0: FH register values:
[ 96.957186] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X10bc3300
[ 96.957338] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X010bc320
[ 96.957490] iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000078
[ 96.957642] iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
[ 96.957795] iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 96.957948] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
[ 96.958129] iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 96.958281] iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
[ 96.958433] iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
[ 96.958833] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[ 96.958839] iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
[ 96.958844] iwlwifi 0000:02:00.0: Loaded firmware version: 22.391740.0
[ 96.958850] iwlwifi 0000:02:00.0: 0x000014FC | ADVANCED_SYSASSERT
[ 96.958854] iwlwifi 0000:02:00.0: 0x002002E0 | trm_hw_status0
[ 96.958859] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[ 96.958863] iwlwifi 0000:02:00.0: 0x00043850 | branchlink2
[ 96.958868] iwlwifi 0000:02:00.0: 0x0004A5E8 | interruptlink1
[ 96.958873] iwlwifi 0000:02:00.0: 0x00000000 | interruptlink2
[ 96.958878] iwlwifi 0000:02:00.0: 0x00026800 | data1
[ 96.958885] iwlwifi 0000:02:00.0: 0x00000191 | data2
[ 96.958890] iwlwifi 0000:02:00.0: 0x05010000 | data3
[ 96.958895] iwlwifi 0000:02:00.0: 0x000D09EA | beacon time
[ 96.958900] iwlwifi 0000:02:00.0: 0x0034BDB4 | tsf low
[ 96.958904] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[ 96.958909] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ 96.958913] iwlwifi 0000:02:00.0: 0x0034BDB5 | time gp2
[ 96.958918] iwlwifi 0000:02:00.0: 0x00000000 | uCode revision type
[ 96.958923] iwlwifi 0000:02:00.0: 0x00000016 | uCode version major
[ 96.958927] iwlwifi 0000:02:00.0: 0x0005FA3C | uCode version minor
[ 96.958931] iwlwifi 0000:02:00.0: 0x00000210 | hw version
[ 96.958936] iwlwifi 0000:02:00.0: 0x00489200 | board version
[ 96.958941] iwlwifi 0000:02:00.0: 0x00300108 | hcmd
[ 96.958945] iwlwifi 0000:02:00.0: 0x00022080 | isr0
[ 96.958950] iwlwifi 0000:02:00.0: 0x01000000 | isr1
[ 96.958954] iwlwifi 0000:02:00.0: 0x00000002 | isr2
[ 96.958959] iwlwifi 0000:02:00.0: 0x00417C80 | isr3
[ 96.958963] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ 96.958968] iwlwifi 0000:02:00.0: 0x01000112 | last cmd Id
[ 96.958973] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ 96.958978] iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
[ 96.958982] iwlwifi 0000:02:00.0: 0x00008020 | l2p_duration
[ 96.958987] iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
[ 96.958991] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[ 96.958996] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel
[ 96.959000] iwlwifi 0000:02:00.0: 0x25091923 | timestamp
[ 96.959005] iwlwifi 0000:02:00.0: 0x00007888 | flow_handler
[ 96.959012] ieee80211 phy0: Hardware restart was requested
[ 96.959050] iwlwifi 0000:02:00.0: FW error in SYNC CMD PHY_CONTEXT_CMD
[ 96.959062] CPU: 2 PID: 1188 Comm: wpa_supplicant Not tainted 4.10.1-1-ARCH #1
[ 96.959065] Hardware name: ASUSTeK COMPUTER INC. UX305FA/UX305FA, BIOS UX305FA.211 07/02/2015
[ 96.959066] Call Trace:
[ 96.959079] dump_stack+0x63/0x83
[ 96.959092] iwl_trans_pcie_send_hcmd+0x430/0x560 [iwlwifi]
[ 96.959097] ? wake_atomic_t_function+0x60/0x60
[ 96.959105] iwl_trans_send_cmd+0x59/0xb0 [iwlwifi]
[ 96.959119] iwl_mvm_send_cmd+0x29/0x80 [iwlmvm]
[ 96.959129] iwl_mvm_send_cmd_pdu+0x4f/0x70 [iwlmvm]
[ 96.959144] iwl_mvm_phy_ctxt_apply.constprop.1+0xfc/0x1a0 [iwlmvm]
[ 96.959156] ? iwl_mvm_bt_coex_notif_handle+0x13e/0x1f0 [iwlmvm]
[ 96.959168] iwl_mvm_phy_ctxt_changed+0x22/0x30 [iwlmvm]
[ 96.959178] iwl_mvm_change_chanctx+0x79/0xc0 [iwlmvm]
[ 96.959206] ieee80211_recalc_chanctx_min_def+0x172/0x370 [mac80211]
[ 96.959230] ieee80211_assign_vif_chanctx+0x214/0x510 [mac80211]
[ 96.959252] ieee80211_vif_use_channel+0x178/0x2c0 [mac80211]
[ 96.959275] ieee80211_prep_connection+0x195/0x8e0 [mac80211]
[ 96.959298] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 96.959318] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 96.959345] ieee80211_auth+0x18/0x20 [mac80211]
[ 96.959363] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 96.959382] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 96.959390] genl_family_rcv_msg+0x1e1/0x3c0
[ 96.959396] ? free_one_page+0x1e0/0x3b0
[ 96.959402] genl_rcv_msg+0x3d/0x80
[ 96.959407] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 96.959412] netlink_rcv_skb+0xa4/0xc0
[ 96.959416] genl_rcv+0x28/0x40
[ 96.959421] netlink_unicast+0x17c/0x240
[ 96.959426] netlink_sendmsg+0x348/0x3b0
[ 96.959432] sock_sendmsg+0x17/0x30
[ 96.959437] ___sys_sendmsg+0x2cd/0x2e0
[ 96.959445] ? __check_object_size+0x54/0x1d7
[ 96.959449] ? _copy_to_user+0x54/0x60
[ 96.959456] ? unix_ioctl+0x55/0x60
[ 96.959460] ? sock_do_ioctl+0x25/0x50
[ 96.959464] ? sock_ioctl+0x1f9/0x2c0
[ 96.959470] __sys_sendmsg+0x54/0x90
[ 96.959476] SyS_sendmsg+0x12/0x20
[ 96.959480] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 96.959487] RIP: 0033:0x7f8b50d86567
[ 96.959489] RSP: 002b:00007ffd7617b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 96.959495] RAX: ffffffffffffffda RBX: 000000000000005b RCX: 00007f8b50d86567
[ 96.959497] RDX: 0000000000000000 RSI: 00007ffd7617b1a0 RDI: 0000000000000004
[ 96.959500] RBP: 0000000000002710 R08: 0000000000000000 R09: 00000000000000f0
[ 96.959503] R10: 00007f8b51038018 R11: 0000000000000246 R12: 00007f8b51037b38
[ 96.959505] R13: 0000000000000160 R14: 000000000241ef00 R15: 00007f8b51037ae0
[ 96.959514] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5
[ 96.959527] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[ 96.959533] iwlwifi 0000:02:00.0: failed to update MAC 60:57:18:32:89:cb
[ 96.959545] iwlwifi 0000:02:00.0: Failed to send MAC context (action:2): -5
[ 96.959550] iwlwifi 0000:02:00.0: failed to update MAC 60:57:18:32:89:cb
[ 96.959594] BUG: unable to handle kernel NULL pointer dereference at 000000000000011c
[ 96.959684] IP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 96.959721] PGD 50641067
[ 96.959722] PUD 526f4067
[ 96.959742] PMD 0

[ 96.959792] Oops: 0000 [#1] PREEMPT SMP
[ 96.959821] Modules linked in: fuse rfcomm bnep nls_iso8859_1 nls_cp437 vfat fat arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp iTCO_wdt iTCO_vendor_support coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc iwlmvm asus_nb_wmi asus_wmi mac80211 sparse_keymap aesni_intel iwlwifi aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf input_leds cfg80211 uvcvideo snd_hda_codec_hdmi videobuf2_vmalloc psmouse videobuf2_memops btusb pcspkr videobuf2_v4l2 btrtl videobuf2_core btbcm btintel joydev evdev videodev mousedev mac_hid media bluetooth snd_hda_codec_conexant snd_hda_codec_generic rfkill crc16 i2c_i801 lpc_ich mei_me shpchp mei processor_thermal_device intel_soc_dts_iosf fan snd_soc_rt5640 thermal snd_hda_intel wmi snd_soc_rl6231 int3403_thermal
[ 96.960339] i915 snd_hda_codec battery snd_soc_core snd_hda_core snd_compress snd_soc_sst_acpi snd_pcm_dmaengine snd_hwdep snd_soc_sst_match ac97_bus snd_pcm elan_i2c i2c_hid drm_kms_helper int3406_thermal snd_timer i2c_designware_platform i2c_designware_core 8250_dw spi_pxa2xx_platform snd video acpi_als soundcore int3402_thermal asus_wireless int340x_thermal_zone tpm_crb kfifo_buf ac drm fjes industrialio int3400_thermal button acpi_thermal_rel acpi_pad intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_algo_bit tpm_tis tpm_tis_core tpm sch_fq_codel sg ip_tables x_tables btrfs xor hid_generic usbhid hid raid6_pq sd_mod serio_raw atkbd libps2 crc32c_intel ahci libahci libata xhci_pci xhci_hcd scsi_mod usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
[ 96.960845] CPU: 2 PID: 1188 Comm: wpa_supplicant Not tainted 4.10.1-1-ARCH #1
[ 96.960898] Hardware name: ASUSTeK COMPUTER INC. UX305FA/UX305FA, BIOS UX305FA.211 07/02/2015
[ 96.960958] task: ffff880065df4740 task.stack: ffffc90003b28000
[ 96.961007] RIP: 0010:iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm]
[ 96.961048] RSP: 0018:ffffc90003b2b6b8 EFLAGS: 00010293
[ 96.961087] RAX: ffff88010bdb8920 RBX: 0000000000000000 RCX: 0000000000000000
[ 96.961138] RDX: 0000000000000002 RSI: 0000000080000000 RDI: ffff88010c5515a8
[ 96.961188] RBP: ffffc90003b2b728 R08: ffffffffa0b73940 R09: 0000000000000000
[ 96.961239] R10: 0000000000000004 R11: ffffffff81c8378d R12: ffff88010c5515a8
[ 96.961289] R13: 0000000000000000 R14: ffff88010bdb8818 R15: ffff88010bdb8920
[ 96.961341] FS: 00007f8b520f37c0(0000) GS:ffff88011ed00000(0000) knlGS:0000000000000000
[ 96.961395] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 96.961437] CR2: 000000000000011c CR3: 000000004d073000 CR4: 00000000003406e0
[ 96.961486] Call Trace:
[ 96.961523] iwl_mvm_mac_sta_state+0x2e3/0x5e0 [iwlmvm]
[ 96.961575] drv_sta_state+0x84/0x4b0 [mac80211]
[ 96.961619] sta_info_insert_rcu+0x379/0x680 [mac80211]
[ 96.961668] sta_info_insert+0xf/0x20 [mac80211]
[ 96.961714] ieee80211_prep_connection+0x444/0x8e0 [mac80211]
[ 96.961767] ieee80211_mgd_auth+0x25c/0x3c0 [mac80211]
[ 96.961815] ? cfg80211_get_bss+0x1d6/0x300 [cfg80211]
[ 96.961865] ieee80211_auth+0x18/0x20 [mac80211]
[ 96.961907] cfg80211_mlme_auth+0x101/0x230 [cfg80211]
[ 96.961953] nl80211_authenticate+0x30b/0x370 [cfg80211]
[ 96.961996] genl_family_rcv_msg+0x1e1/0x3c0
[ 96.962031] ? free_one_page+0x1e0/0x3b0
[ 96.962063] genl_rcv_msg+0x3d/0x80
[ 96.962092] ? genl_family_rcv_msg+0x3c0/0x3c0
[ 96.962126] netlink_rcv_skb+0xa4/0xc0
[ 96.962156] genl_rcv+0x28/0x40
[ 96.962182] netlink_unicast+0x17c/0x240
[ 96.962213] netlink_sendmsg+0x348/0x3b0
[ 96.962244] sock_sendmsg+0x17/0x30
[ 96.962272] ___sys_sendmsg+0x2cd/0x2e0
[ 96.962304] ? __check_object_size+0x54/0x1d7
[ 96.962339] ? _copy_to_user+0x54/0x60
[ 96.962370] ? unix_ioctl+0x55/0x60
[ 96.962398] ? sock_do_ioctl+0x25/0x50
[ 96.962428] ? sock_ioctl+0x1f9/0x2c0
[ 96.962457] __sys_sendmsg+0x54/0x90
[ 96.962487] SyS_sendmsg+0x12/0x20
[ 96.962516] entry_SYSCALL_64_fastpath+0x1a/0xa9
[ 96.962550] RIP: 0033:0x7f8b50d86567
[ 96.962577] RSP: 002b:00007ffd7617b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 96.962631] RAX: ffffffffffffffda RBX: 000000000000005b RCX: 00007f8b50d86567
[ 96.962682] RDX: 0000000000000000 RSI: 00007ffd7617b1a0 RDI: 0000000000000004
[ 96.962733] RBP: 0000000000002710 R08: 0000000000000000 R09: 00000000000000f0
[ 96.962783] R10: 00007f8b51038018 R11: 0000000000000246 R12: 00007f8b51037b38
[ 96.962834] R13: 0000000000000160 R14: 000000000241ef00 R15: 00007f8b51037ae0
[ 96.962886] Code: 47 14 00 00 00 00 83 fb 09 4d 89 3f 4d 89 7f 08 49 c7 c0 40 39 b7 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 e8 b6 a0 89 5c 24 08 44 89
[ 96.963067] RIP: iwl_mvm_add_sta+0x4e8/0x730 [iwlmvm] RSP: ffffc90003b2b6b8
[ 96.963117] CR2: 000000000000011c
[ 96.979635] ---[ end trace 9370d718d5160c45 ]---



Comment by djagoo (djagoo) - Saturday, 08 April 2017, 12:21 GMT
Same Problem here with the new 5th Gen Lenovo X1 Carbon and Intel 8265 on a fresh Arch install. Happens on both core/linux-firmware 20170309.695f2d6-1 and aur/linux-firmware-iwlwifi-git 20160725.26a5c2a-1.

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

[ 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 ]---
Comment by djagoo (djagoo) - Sunday, 16 April 2017, 13:01 GMT
The bug is getting handled here: https://bugzilla.kernel.org/show_bug.cgi?id=195299
Comment by Roberto Catini (robcat) - Wednesday, 19 April 2017, 16:05 GMT
As a workaround, is there an easy way to disable the 5GHz band?
Comment by Olivier (nemolivier) - Friday, 26 May 2017, 08:06 GMT
Last update (20170422.ade8332-1) didn’t solve anything :(
I can connet to wifi (netctl), it worked, then same thing : I lose connection, and trying to do a sudo downgrade linux-firmware, I can’t launch it, the prompt is stick on « password » after sudo line !
Comment by Roberto Catini (robcat) - Sunday, 28 May 2017, 13:16 GMT
Solved for me, on ASUS UX305F, linux-firmware 20170422.ade8332-1, linux 4.11.2-1
I can connect to a 5GHz network without any kernel panic.

This is the dmesg output:

[ 2.640315] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-28.ucode failed with error -2
[ 2.645047] iwlwifi 0000:02:00.0: capa flags index 3 larger than supported by driver
[ 2.645407] iwlwifi 0000:02:00.0: loaded firmware version 27.455470.0 op_mode iwlmvm
[ 2.674833] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 2.678233] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 2.678754] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 2.761966] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[ 4.590518] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.591101] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.664857] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.665315] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.693381] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.693954] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.767149] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 4.767667] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
Comment by Matthias Lisin (matthias.lisin) - Saturday, 25 November 2017, 09:30 GMT
Edit: nvm, noticed this isn't the same error.

Loading...