You are not logged in.

#1 2018-10-02 14:32:34

maarroyo
Member
Registered: 2018-10-02
Posts: 2

[SOLVED] iwlwifi Disconnecting Issues

Hi all,

I'm currently having problems with my Intel Wi-FI 7265D card (on a Lenovo X1 Carbon 3rd Gen). The card is randomly dropping connections after some time with the only fix being a reboot. I've looked around for solutions, but did not find anything. I've tried both the 4.18 kernel and the LTS. I even performed a clean install thinking the issue was something else, but the problem still persists. Any help would be greatly appreciated.

uname output:

Linux 4.14.72-1-lts #1 SMP Wed Sep 26 12:31:03 CEST 2018 x86_64 GNU/Linux

dmesg output:

[  571.488976] WARNING: CPU: 1 PID: 437 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1974 iwl_mvm_bss_info_changed.cold.41+0x13/0x1a [iwlmvm]
[  571.488977] Modules linked in: ccm joydev mousedev rmi_smbus rmi_core uvcvideo snd_hda_codec_hdmi videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core intel_rapl videodev x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel media snd_hda_codec_realtek arc4 snd_hda_codec_generic kvm btusb btrtl btbcm mei_wdt btintel irqbypass i915 wmi_bmof crct10dif_pclmul crc32_pclmul bluetooth iwlmvm nls_iso8859_1 ghash_clmulni_intel nls_cp437 vfat fat iTCO_wdt pcbc iTCO_vendor_support mac80211 ecdh_generic aesni_intel aes_x86_64 crypto_simd glue_helper cryptd i2c_algo_bit evdev intel_cstate input_leds intel_rapl_perf psmouse drm_kms_helper mac_hid pcspkr iwlwifi snd_hda_intel snd_hda_codec drm thermal snd_hda_core cfg80211 snd_hwdep thinkpad_acpi tpm_tis tpm_tis_core nvram tpm ac snd_pcm mei_me
[  571.489022]  e1000e battery led_class wmi i2c_i801 video snd_timer intel_gtt rfkill mei agpgart snd syscopyarea sysfillrect button sysimgblt fb_sys_fops soundcore intel_pch_thermal ptp lpc_ich pps_core shpchp pcc_cpufreq sch_fq_codel sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto dm_mod sd_mod serio_raw atkbd libps2 ahci libahci xhci_pci ehci_pci libata crc32c_intel xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio
[  571.489055] CPU: 1 PID: 437 Comm: wpa_supplicant Tainted: G        W       4.14.72-1-lts #1
[  571.489056] Hardware name: LENOVO 20BSCTO1WW/20BSCTO1WW, BIOS N14ET35W (1.13 ) 04/07/2016
[  571.489057] task: ffff9875a04c63c0 task.stack: ffffb46801578000
[  571.489066] RIP: 0010:iwl_mvm_bss_info_changed.cold.41+0x13/0x1a [iwlmvm]
[  571.489067] RSP: 0018:ffffb4680157b980 EFLAGS: 00010246
[  571.489069] RAX: 0000000000000027 RBX: ffff9875a17d1568 RCX: 0000000000000006
[  571.489070] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff9875adc565d0
[  571.489071] RBP: ffff9875a17d1560 R08: 0000000000000038 R09: 000000000000047b
[  571.489072] R10: 0000000000000000 R11: 0000000000000001 R12: 000000000080209f
[  571.489074] R13: ffff9875a1fab3c0 R14: ffff9875a1fab3c8 R15: ffff9875a17d1598
[  571.489076] FS:  00007fdbe8347480(0000) GS:ffff9875adc40000(0000) knlGS:0000000000000000
[  571.489077] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  571.489078] CR2: 00007f03e71a52f0 CR3: 00000002131e2002 CR4: 00000000003606e0
[  571.489079] Call Trace:
[  571.489102]  ieee80211_bss_info_change_notify+0xa8/0x170 [mac80211]
[  571.489123]  ieee80211_set_disassoc+0x210/0x3b0 [mac80211]
[  571.489142]  ieee80211_mgd_deauth.cold.48+0x47/0x1b1 [mac80211]
[  571.489163]  cfg80211_mlme_deauth+0xb3/0x1d0 [cfg80211]
[  571.489180]  nl80211_deauthenticate+0x11a/0x160 [cfg80211]
[  571.489185]  genl_family_rcv_msg+0x1c4/0x3a0
[  571.489188]  ? __slab_free+0x143/0x2e0
[  571.489190]  ? __slab_free+0x143/0x2e0
[  571.489193]  ? __alloc_skb+0x82/0x1e0
[  571.489195]  genl_rcv_msg+0x47/0x90
[  571.489198]  ? __kmalloc_node_track_caller+0x202/0x2b0
[  571.489200]  ? genl_family_rcv_msg+0x3a0/0x3a0
[  571.489202]  netlink_rcv_skb+0x4c/0x120
[  571.489204]  genl_rcv+0x24/0x40
[  571.489207]  netlink_unicast+0x191/0x250
[  571.489210]  netlink_sendmsg+0x1f0/0x3b0
[  571.489212]  ? netlink_unicast+0x250/0x250
[  571.489215]  ___sys_sendmsg+0x2b3/0x310
[  571.489218]  ? ___sys_recvmsg+0x15e/0x1e0
[  571.489221]  ? recalc_sigpending+0x17/0x50
[  571.489224]  ? __set_task_blocked+0x6d/0x90
[  571.489225]  ? get_signal+0xd9/0x560
[  571.489227]  ? signal_setup_done+0x94/0xb0
[  571.489230]  ? do_signal+0x18a/0x610
[  571.489232]  ? __fpu__restore_sig+0x90/0x440
[  571.489235]  __sys_sendmsg+0x51/0x90
[  571.489238]  do_syscall_64+0x67/0x100
[  571.489241]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[  571.489243] RIP: 0033:0x7fdbe8c79ef8
[  571.489244] RSP: 002b:00007ffd551f9388 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[  571.489246] RAX: ffffffffffffffda RBX: 0000561cee72c260 RCX: 00007fdbe8c79ef8
[  571.489247] RDX: 0000000000000000 RSI: 00007ffd551f93c0 RDI: 0000000000000005
[  571.489248] RBP: 0000561cee78d020 R08: 0000000000000000 R09: 000000000000000d
[  571.489249] R10: 0000561cee723010 R11: 0000000000000246 R12: 0000561cee72c170
[  571.489250] R13: 00007ffd551f93c0 R14: 0000000000000000 R15: 00007ffd551f97e0
[  571.489251] Code: c7 98 79 b4 c0 c6 05 ac ba 01 00 01 e8 00 9a 59 fa 0f 0b e9 d7 79 fd ff 48 c7 c7 f8 7a b4 c0 c6 05 90 ba 01 00 01 e8 e6 99 59 fa <0f> 0b e9 1c 8c fd ff 89 ee 4c 89 e7 c6 05 79 ba 01 00 01 e8 ce 
[  571.489286] ---[ end trace 7a3310ce21fcd9de ]---
[  571.507051] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.507069] iwlwifi 0000:04:00.0: Error sending REMOVE_STA: enqueue_hcmd failed: -5
[  571.507072] iwlwifi 0000:04:00.0: Failed to remove station. Id=0
[  571.507074] iwlwifi 0000:04:00.0: failed to remove AP station
[  571.524782] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.524801] iwlwifi 0000:04:00.0: Error sending TIME_QUOTA_CMD: enqueue_hcmd failed: -5                                                                                      
[  571.524804] iwlwifi 0000:04:00.0: Failed to send quota: -5
[  571.524806] iwlwifi 0000:04:00.0: failed to update quotas
[  571.542541] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.542556] iwlwifi 0000:04:00.0: Error sending MAC_CONTEXT_CMD: enqueue_hcmd failed: -5                                                                                     
[  571.542559] iwlwifi 0000:04:00.0: Failed to send MAC context (action:2): -5
[  571.542562] iwlwifi 0000:04:00.0: failed to update MAC 18:5e:0f:a5:f1:fe (clear after unassoc)                                                                               
[  571.560223] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.560239] iwlwifi 0000:04:00.0: Error sending MAC_PM_POWER_TABLE: enqueue_hcmd failed: -5                                                                                  
[  571.560242] iwlwifi 0000:04:00.0: failed to update power mode
[  571.577917] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.577931] iwlwifi 0000:04:00.0: Error sending TIME_QUOTA_CMD: enqueue_hcmd failed: -5                                                                                      
[  571.577934] iwlwifi 0000:04:00.0: Failed to send quota: -5
[  571.595716] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.595731] iwlwifi 0000:04:00.0: Error sending BINDING_CONTEXT_CMD: enqueue_hcmd failed: -5                                                                                 
[  571.595734] iwlwifi 0000:04:00.0: Failed to send binding (action:3): -5
[  571.613502] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.613522] iwlwifi 0000:04:00.0: Error sending MAC_PM_POWER_TABLE: enqueue_hcmd failed: -5                                                                                  
[  571.631214] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  571.631239] iwlwifi 0000:04:00.0: Error sending MAC_CONTEXT_CMD: enqueue_hcmd failed: -5                                                                                     
[  571.631243] iwlwifi 0000:04:00.0: Failed to send MAC context (action:2): -5
[  571.631246] iwlwifi 0000:04:00.0: failed to update MAC 18:5e:0f:a5:f1:fe
[  573.638896] iwlwifi 0000:04:00.0: fail to flush all tx fifo queues Q 5
[  573.709341] iwlwifi 0000:04:00.0: Queue 5 is active on fifo 2 and stuck for 10000 ms. SW [9, 10] HW [90, 90] FH TRB=0x05a5a5a5a                                              
[  573.727079] iwlwifi 0000:04:00.0: Failed to wake NIC for hcmd
[  573.727099] iwlwifi 0000:04:00.0: Error sending MAC_CONTEXT_CMD: enqueue_hcmd failed: -5                                                                                     
[  573.727104] iwlwifi 0000:04:00.0: Failed to remove MAC context: -5

Thanks!

Last edited by maarroyo (2018-10-04 00:57:27)

Offline

#2 2018-10-02 16:07:33

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] iwlwifi Disconnecting Issues

Ceterum censeo, try "net.ipv4.tcp_ecn=0" (either a kernel parameter or via sysctl)

Offline

#3 2018-10-04 00:57:07

maarroyo
Member
Registered: 2018-10-02
Posts: 2

Re: [SOLVED] iwlwifi Disconnecting Issues

So far so good, it seems to be stable. Thanks for pointing me in the right direction, I wasn't aware of this TCP feature. For those interested there's some interesting discussion here: https://github.com/systemd/systemd/issues/9748

I'll mark this as solved. Thanks again!

Offline

Board footer

Powered by FluxBB