You are not logged in.

#1 2019-01-23 19:21:12

Malikos
Member
Registered: 2015-12-12
Posts: 46

Weird, predictible WiFi freezes

Hi,
I searched for a similar problem but could not find something like that, I hope you can help me solve this.

I have a Dell Precision M3800 and I have a weird problem with WiFi.
Thing to note is that these problems started about maybe 5 months ago and kept going away/coming back, but since a few weeks they're regular.
I'm on the newest CK kernel.

The problem is that now, every single day, after a few hours of work my WiFi freezes.
By freezes I mean that I don't have internet access, my applet (I use KDE Plasma) shows an exclamation mark and tells me that my connection does not provide internet access. Indeed, I cannot load any webpages.
What's more, the list of the available networks is empty, it cannot find anything while I'm sure, and my phone confirms it, that a few networks are available.
Then, when I want to turn WiFi on and off through the applet, the whole panel freezes for a couple of seconds, when usually it just turns on and off almost instantly.

Restarting NetworkManager helps nothing, restaring wpa_supplicant also, but the wpa_supplicant restart takes a dozen or so seconds.
Basically the only thing that helps to fix this is a full reboot, but reboot takes longer than usual as there is a message "A stop job is running for wpa_supplicant".
After reboot it basically newer freezes, until I shut it down completely and start to work for a few hours the next day.

Also, this happens both, on my home WiFi and on my work WiFi.

Does anybody have any ideas how to fix or diagnose this?

[EDIT]
dmesg output right after the "freeze"

[ 3279.107173] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3279.107227] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3279.125795] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3279.125920] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3281.111490] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3281.111571] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3285.103907] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3285.103929] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3285.122593] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3285.122640] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3286.109053] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3286.109129] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3287.850865] ------------[ cut here ]------------
[ 3287.850868] Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
[ 3287.850903] WARNING: CPU: 0 PID: 1715 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2003 iwl_trans_pcie_grab_nic_access+0x1de/0x210 [iwlwifi]
[ 3287.850904] Modules linked in: uinput cmac rfcomm ccm uas usb_storage lz4 lz4_compress bnep btusb btrtl uvcvideo btbcm btintel videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic hid_multitouch hid_generic snd_hda_codec_hdmi zram usbhid hid joydev mousedev vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user arc4 pn544_mei mei_phy pn544 hci nfc i915 intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvmgt vfio_mdev mac80211 mdev vfio_iommu_type1 vfio kvm irqbypass crct10dif_pclmul i2c_algo_bit iwlwifi crc32_pclmul ghash_clmulni_intel drm_kms_helper ofpart cmdlinepart intel_spi_platform intel_spi spi_nor snd_hda_codec_realtek aesni_intel msr aes_x86_64 snd_hda_codec_generic drm mtd iTCO_wdt iTCO_vendor_support cfg80211 dell_wmi snd_hda_intel wmi_bmof mxm_wmi intel_wmi_thunderbolt sparse_keymap snd_hda_codec dell_laptop crypto_simd dell_smbios cryptd glue_helper dell_wmi_descriptor intel_cstate
[ 3287.850935]  intel_uncore dcdbas psmouse snd_hda_core intel_rapl_perf mei_me snd_hwdep input_leds i2c_i801 snd_pcm intel_gtt intel_pch_thermal agpgart snd_timer ipmi_devintf mei ipmi_msghandler lpc_ich snd syscopyarea sysfillrect sysimgblt soundcore rtsx_pci_ms acpi_als fb_sys_fops kfifo_buf memstick ie31200_edac industrialio evdev wmi mac_hid battery int3403_thermal ac int3400_thermal dell_rbtn dell_smo8800 acpi_thermal_rel int3402_thermal rfkill int340x_thermal_zone pcc_cpufreq bbswitch(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto sd_mod rtsx_pci_sdmmc ahci serio_raw mmc_core libahci atkbd libps2 libata xhci_pci ehci_pci xhci_hcd scsi_mod crc32c_intel rtsx_pci ehci_hcd i8042 serio
[ 3287.850964] CPU: 0 PID: 1715 Comm: chromium Tainted: P     U  W  OE     4.20.4-1-ck-haswell #1
[ 3287.850965] Hardware name: Dell Inc. Dell Precision M3800/Dell Precision M3800, BIOS A10 08/17/2015
[ 3287.850971] RIP: 0010:iwl_trans_pcie_grab_nic_access+0x1de/0x210 [iwlwifi]
[ 3287.850973] Code: 23 f3 49 8d 55 08 bf 40 01 00 00 e8 7c 82 fa f1 e9 33 ff ff ff 89 c6 48 c7 c7 20 b1 d1 c0 c6 05 1e 3e 03 00 01 e8 9c d9 f8 f1 <0f> 0b e9 ee fe ff ff 48 8b 7b 30 48 c7 c1 88 b1 d1 c0 31 d2 31 f6
[ 3287.850974] RSP: 0018:ffff943cef803df8 EFLAGS: 00010082
[ 3287.850975] RAX: 0000000000000000 RBX: ffff943cdd250018 RCX: 0000000000000000
[ 3287.850976] RDX: 0000000000000007 RSI: ffffffffb3ca04ce RDI: 00000000ffffffff
[ 3287.850977] RBP: ffff943cdd25a27c R08: 0000000000000001 R09: 000000000000048f
[ 3287.850978] R10: 0000000000000001 R11: 0000000000000000 R12: ffff943cef803e20
[ 3287.850978] R13: 00000000ffffffff R14: 000000000000000d R15: ffff943cea7ee9c0
[ 3287.850980] FS:  00007fd43b46c600(0000) GS:ffff943cef800000(0000) knlGS:0000000000000000
[ 3287.850981] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3287.850982] CR2: 00003f90d558a000 CR3: 000000044b992003 CR4: 00000000001606f0
[ 3287.850983] Call Trace:
[ 3287.850985]  <IRQ>
[ 3287.850991]  iwl_read_prph+0x32/0x80 [iwlwifi]
[ 3287.850998]  iwl_trans_pcie_log_scd_error+0x137/0x210 [iwlwifi]
[ 3287.851003]  ? perf_event_task_tick+0x64/0x330
[ 3287.851008]  iwl_pcie_txq_stuck_timer+0x44/0x60 [iwlwifi]
[ 3287.851013]  ? iwl_pcie_txq_inc_wr_ptr+0x100/0x100 [iwlwifi]
[ 3287.851018]  ? iwl_pcie_txq_inc_wr_ptr+0x100/0x100 [iwlwifi]
[ 3287.851021]  call_timer_fn+0x2b/0x160
[ 3287.851025]  ? iwl_pcie_txq_inc_wr_ptr+0x100/0x100 [iwlwifi]
[ 3287.851027]  expire_timers+0x99/0x110
[ 3287.851029]  run_timer_softirq+0x89/0x160
[ 3287.851032]  ? sched_clock+0x5/0x10
[ 3287.851034]  ? sched_clock_cpu+0xe/0xd0
[ 3287.851037]  __do_softirq+0x10b/0x350
[ 3287.851040]  irq_exit+0xd9/0xf0
[ 3287.851042]  smp_apic_timer_interrupt+0x87/0x180
[ 3287.851045]  apic_timer_interrupt+0xf/0x20
[ 3287.851046]  </IRQ>
[ 3287.851048] RIP: 0010:kill_fasync+0x9/0x90
[ 3287.851050] Code: 14 45 89 e8 44 89 f9 44 89 f2 48 89 de 48 89 c7 e8 6c f2 ff ff e8 07 74 e7 ff eb bb 0f 1f 44 00 00 0f 1f 44 00 00 48 83 3f 00 <74> 7a 41 54 41 89 d4 55 89 f5 53 48 89 fb e8 b4 44 e7 ff 48 8b 1b
[ 3287.851050] RSP: 0018:ffffac91c1f03df8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[ 3287.851052] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 3287.851053] RDX: 0000000000000002 RSI: 000000000000001d RDI: ffff943cd283cc70
[ 3287.851053] RBP: 0000000000000000 R08: 0000000000000104 R09: ffffac91c1f03d98
[ 3287.851054] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
[ 3287.851055] R13: 0000000000000001 R14: ffff943ceba91258 R15: ffff943cd283cc00
[ 3287.851059]  pipe_read+0x13f/0x2d0
[ 3287.851063]  __vfs_read+0x133/0x190
[ 3287.851066]  vfs_read+0x8a/0x130
[ 3287.851068]  ksys_read+0x4f/0xb0
[ 3287.851072]  do_syscall_64+0x5b/0x170
[ 3287.851074]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 3287.851075] RIP: 0033:0x7fd448ca2184
[ 3287.851076] Code: c3 0f 1f 44 00 00 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 5b fc ff ff 4c 89 e2 48 89 ee 89 df 41 89 c0 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 48 89 44 24 08 e8 97 fc ff ff 48
[ 3287.851077] RSP: 002b:00007ffc16f91f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 3287.851078] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fd448ca2184
[ 3287.851079] RDX: 0000000000000002 RSI: 00007ffc16f91f90 RDI: 0000000000000011
[ 3287.851080] RBP: 00007ffc16f91f90 R08: 0000000000000000 R09: 0000000000000000
[ 3287.851081] R10: 000011d9686526e0 R11: 0000000000000246 R12: 0000000000000002
[ 3287.851082] R13: 00007ffc16f91fd8 R14: 00007ffc16f91f90 R15: 00007fd448ca2140
[ 3287.851084] ---[ end trace 35107a3980b1a6fe ]---
[ 3287.851087] iwlwifi 0000:06:00.0: iwlwifi transaction failed, dumping registers
[ 3287.851088] iwlwifi 0000:06:00.0: iwlwifi device config registers:
[ 3287.851134] iwlwifi 0000:06:00.0: 00000000: 08b18086 00100000 028000bb 00000000 00000004 00000000 00000000 00000000
[ 3287.851137] iwlwifi 0000:06:00.0: 00000020: 00000000 00000000 00000000 c4708086 00000000 000000c8 00000000 00000100
[ 3287.851138] iwlwifi 0000:06:00.0: iwlwifi device memory mapped registers:
[ 3287.851172] iwlwifi 0000:06:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 3287.851174] iwlwifi 0000:06:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[ 3287.851179] iwlwifi 0000:06:00.0: iwlwifi device AER capability structure:
[ 3287.851208] iwlwifi 0000:06:00.0: 00000000: 14010001 00100000 00000000 00462031 000031c1 00002000 00000014 40000001
[ 3287.851209] iwlwifi 0000:06:00.0: 00000020: 0000000f ec900460 00000000
[ 3287.851211] iwlwifi 0000:06:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[ 3287.851226] iwlwifi 0000:00:1c.2: 00000000: 8c148086 00100007 060400d5 00810010 00000000 00000000 00060600 200000f0
[ 3287.851228] iwlwifi 0000:00:1c.2: 00000020: ec90ec90 0001fff1 00000000 00000000 00000000 00000040 00000000 00100303
[ 3287.907289] iwlwifi 0000:06:00.0: Queue 13 is active on fifo 2 and stuck for 10000 ms. SW [126, 127] HW [90, 90] FH TRB=0x05a5a5a5a
[ 3290.466609] iwlwifi 0000:06:00.0: Queue 11 is active on fifo 2 and stuck for 10000 ms. SW [194, 207] HW [90, 90] FH TRB=0x05a5a5a5a
[ 3291.109948] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3291.109995] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3291.128427] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3291.128470] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3291.147010] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3291.147037] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3296.111086] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3296.111164] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3297.109705] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3297.109750] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3297.128413] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3297.128471] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3301.106995] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3301.107071] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3303.107269] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3303.107324] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3303.126239] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3303.126269] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3306.109425] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3306.109479] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3309.105499] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3309.105624] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3309.124223] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3309.124416] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3311.112357] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3311.112413] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3315.106403] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3315.106513] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3315.125038] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3315.125092] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3316.111307] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3316.111432] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3321.108559] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3321.108597] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3321.127138] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3321.127191] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3321.145867] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3321.145904] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3326.110461] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3326.110542] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3327.104370] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3327.104405] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3327.123202] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3327.123253] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3331.112368] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3331.112426] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3333.104281] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3333.104320] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3333.122929] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3333.122973] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3336.110073] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3336.110362] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3339.105440] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3339.105476] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3339.124256] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3339.124304] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3341.108134] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3341.108205] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3346.120300] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3346.120324] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3351.112245] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3351.112323] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3356.121194] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3356.121291] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3361.109457] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3361.109541] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3366.121445] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3366.121532] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3371.109366] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3371.109449] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3376.121719] iwlwifi 0000:06:00.0: Failed to wake NIC for hcmd
[ 3376.121837] iwlwifi 0000:06:00.0: Error sending STATISTICS_CMD: enqueue_hcmd failed: -5
[ 3377.945639] audit: type=1130 audit(1548506258.210:70): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Last edited by Malikos (2019-01-26 12:51:39)

Offline

#2 2019-01-23 19:33:13

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,245

Re: Weird, predictible WiFi freezes

systemctl list-unit-files --state=enabled

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2019-01-23 19:35:09

Malikos
Member
Registered: 2015-12-12
Posts: 46

Re: Weird, predictible WiFi freezes

Right now:

UNIT FILE                                   STATE  
autovt@.service                             enabled
bluetooth.service                           enabled
dbus-org.bluez.service                      enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service  enabled
display-manager.service                     enabled
getty@.service                              enabled
lm_sensors.service                          enabled
NetworkManager-dispatcher.service           enabled
NetworkManager.service                      enabled
repair-wakeup.service                       enabled
sddm.service                                enabled
systemd-swap.service                        enabled
systemd-timesyncd.service                   enabled
tlp-sleep.service                           enabled
tlp.service                                 enabled
remote-fs.target                            enabled

17 unit files listed.

Offline

#4 2019-01-23 19:48:16

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,245

Re: Weird, predictible WiFi freezes

OK, that's that idea ruled out smile
I was checking to see if you had multiple conflicting networking services running.

What wireless hardware is this? Relevant output of either lsusb or lspci please.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2019-01-23 20:03:34

Malikos
Member
Registered: 2015-12-12
Posts: 46

Re: Weird, predictible WiFi freezes

It is this card: https://ark.intel.com/products/75439/In … ss-AC-7260

lspci says:

...
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)

Offline

#6 2019-01-26 13:00:19

Malikos
Member
Registered: 2015-12-12
Posts: 46

Re: Weird, predictible WiFi freezes

Updated the main post with dmesg output right after today's freeze.

After the freeze I wanted to somehow restart/unblock the device without restarting the whole laptop so I did the following (in this order and none worked):

sudo systemctl restart wpa_supplicant
sudo systemctl restart NetworkManager

sudo ifconfig wlp6s0 down
sudo ifconfig wlp6s0 up 

Here the following error appeared: "SIOCSIFFLAGS: Input/output error", so I tried the below:

sudo rmmod iwlmvm
sudo rmmod iwlwifi
sudo modprobe iwlwifi
sudo modprobe iwlmvm

But here after modeprobing the device was not visible in ifconfig and I could not try to "up" it.

Maybe someone at least has some idea how to restart the wifi hardware without restarting the whole system so I could try it?

Offline

#7 2019-01-26 14:58:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 6,443

Re: Weird, predictible WiFi freezes

This might stem from some incompatibility with the latest firmware  and certain wifi chips, can you try on older iwlwifi firmware? This seems to be the last update for this chipset but it fits within the ~5 months timeframe. for an easy test you could try to

sudo mv /usr/lib/firmware/iwlwifi-7260-17.ucode /usr/lib/firmware/iwlwifi-7260-17.ucode.bak

to force the driver to fall back to an older firmware.

If that happens to fix this and you want to be actively involved in properly resolving this, the following page contains more information on how the extract debug logs and where to report the issue to.

Last edited by V1del (2019-01-26 15:09:08)

Offline

#8 2019-01-27 10:07:18

Malikos
Member
Registered: 2015-12-12
Posts: 46

Re: Weird, predictible WiFi freezes

Thanks, this seems like a good idea, however I cannot make it to fallback to older firmware.
It seems that kernel needs this exact version. After renaming 17 and reboot the following error appears in dmesg:

[    2.887323] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/input8
[    2.887485] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
[    2.888096] iwlwifi 0000:06:00.0: Direct firmware load for iwlwifi-7260-17.ucode failed with error -2
[    2.888101] iwlwifi 0000:06:00.0: no suitable firmware found!
[    2.888103] iwlwifi 0000:06:00.0: iwlwifi-7260-17 is required
[    2.888104] iwlwifi 0000:06:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Offline

#9 2019-01-27 11:10:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 6,443

Re: Weird, predictible WiFi freezes

Well that's weird, I think that's the first time I've seen a chip that can't fall back to older revisions at all, in that case I'd try to use an older version of linux-firmware from a date before the 3rd october (see the ALA) or at least get yourself that specific firmware file iwlwifi-7260-17.ucode from an older date - should be relevantly findable on the linux-firmware git page

Offline

#10 2019-02-05 19:02:01

Malikos
Member
Registered: 2015-12-12
Posts: 46

Re: Weird, predictible WiFi freezes

I did what you said and waited until I could come to any conclusions:

  • changing firmware to the older version didn't help, I still had freezes (I noticed that they were somewhat less common, but it could be just placebo)

  • in the meantime it got interesting: I started to more often use docker on my laptop and noticed that there were some changes in Linux-ck kernel that in fact rendered docker unusable on systemd 240 without downgrade, so I was forced to fallback to my second-choice kernel - Linux-zen. Now I use this kernel on day-to-day basis and I didn't have any wifi freezes since I switched to zen. I honestly hope that this state will last. What's more, I had a few issues in the past, like disconnections of the external HD when there were many things connected to my laptop or flickering of the second external monitor when I had both connected. All seem to be power-related issues and interestingly, I did not encounter any of these problems since I changed my kernel to zen. I don't know if I used CK in the wrong way or didn't configure my system properly but it looks like using linux-ck caused some power delivery problems and wifi freeze was one of the effects.

So far all works well. I guess my thinking will collapse when I'll encounter that freeze once more, but the HD disconnections and external monitor flickering is indeed resolved, at least for now.

Offline

Board footer

Powered by FluxBB