You are not logged in.

#1 2019-03-14 19:19:42

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 402
Website

WiFi crashes and I can only reboot to fix

I have an HP Envy x360 13" laptop that works very well on Arch Linux except sometimes the wifi stop working and I can't get it back running. I've been on different Network Managers and this problem also happened on Ubuntu after kernel 4.19.1 sometime. To be clear, I have tried restarting my NetworkManager and that doesn't work.

I looked at dmesg but if I should be searching another log, please let me know. This is one of my biggest problems and what's tempting me to move back to a Mac or Chromebook.

It's a laptop issue but I think it's kernel related so I'm posting it here. Mods, please feel free to move it if you'd prefer it elsewhere. Thanks in advance.

[11411.302990] ------------[ cut here ]------------
[11411.302991] wlo1:  Failed check-sdata-in-driver check, flags: 0x0
[11411.303027] WARNING: CPU: 4 PID: 9706 at net/mac80211/driver-ops.h:19 drv_remove_interface+0x11c/0x130 [mac80211]
[11411.303028] Modules linked in: fuse ccm edac_mce_amd amdgpu ccp arc4 joydev mousedev kvm irqbypass crct10dif_pclmul iwlmvm crc32_pclmul ghash_clmulni_intel hid_multitouch hid_generic mac80211 psmouse hp_wmi wmi_bmof sparse_keymap chash btusb btrtl amd_iommu_v2 btbcm gpu_sched snd_hda_codec_realtek btintel i2c_algo_bit uvcvideo snd_hda_codec_generic ttm ledtrig_audio videobuf2_vmalloc snd_hda_codec_hdmi bluetooth videobuf2_memops iwlwifi drm_kms_helper snd_hda_intel videobuf2_v4l2 input_leds videobuf2_common snd_hda_codec aesni_intel videodev snd_hda_core aes_x86_64 crypto_simd cryptd drm ecdh_generic glue_helper snd_hwdep media pcspkr snd_pcm cfg80211 rtsx_pci_ms agpgart sp5100_tco ucsi_acpi syscopyarea snd_timer typec_ucsi sysfillrect battery k10temp sysimgblt ac i2c_piix4 typec snd fb_sys_fops i2c_hid memstick tpm_crb hid soundcore i2c_scmi rfkill tpm_tis tpm_tis_core hp_accel tpm wmi lis3lv02d input_polldev rng_core evdev hp_wireless pinctrl_amd mac_hid pcc_cpufreq acpi_cpufreq loop sg
[11411.303081]  crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto sd_mod rtsx_pci_sdmmc serio_raw mmc_core atkbd libps2 ahci libahci libata crc32c_intel scsi_mod xhci_pci xhci_hcd rtsx_pci i8042 serio
[11411.303099] CPU: 4 PID: 9706 Comm: kworker/4:0 Tainted: G        W         5.0.0-arch1-1-ARCH #1
[11411.303101] Hardware name: HP HP ENVY x360 Convertible 13m-ag0xxx/8496, BIOS F.31 11/28/2018
[11411.303113] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[11411.303124] RIP: 0010:drv_remove_interface+0x11c/0x130 [mac80211]
[11411.303125] Code: 0f 87 87 c8 e9 4f ff ff ff 48 8b b6 40 04 00 00 48 81 c5 60 04 00 00 48 c7 c7 20 78 e0 c0 48 85 f6 48 0f 44 f5 e8 ee c4 8f c8 <0f> 0b e9 27 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f
[11411.303126] RSP: 0018:ffffb2cf80e37ca0 EFLAGS: 00010286
[11411.303127] RAX: 0000000000000000 RBX: ffff9da78c332900 RCX: 0000000000000000
[11411.303128] RDX: 0000000000000007 RSI: ffffffff8a6aa7d8 RDI: 00000000ffffffff
[11411.303129] RBP: ffff9da78c332d60 R08: 0000000000000001 R09: 0000000000001054
[11411.303130] R10: 0000000000000001 R11: 0000000000000000 R12: ffff9da78c288bc8
[11411.303131] R13: ffff9da78c288f28 R14: ffff9da78c2887a0 R15: ffff9da78c333418
[11411.303132] FS:  0000000000000000(0000) GS:ffff9da798b00000(0000) knlGS:0000000000000000
[11411.303133] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11411.303134] CR2: 00007f7f90028298 CR3: 00000001d3b7c000 CR4: 00000000003406e0
[11411.303134] Call Trace:
[11411.303149]  ieee80211_do_stop+0x579/0x850 [mac80211]
[11411.303163]  ieee80211_stop+0x16/0x20 [mac80211]
[11411.303166]  __dev_close_many+0x9c/0x110
[11411.303168]  dev_close_many+0x88/0x140
[11411.303170]  dev_close.part.18+0x44/0x70
[11411.303198]  cfg80211_shutdown_all_interfaces+0x6d/0xc0 [cfg80211]
[11411.303212]  ieee80211_reconfig+0xa6/0x1630 [mac80211]
[11411.303215]  ? rcu_exp_wait_wake+0x270/0x270
[11411.303218]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[11411.303220]  ? try_to_del_timer_sync+0x4d/0x80
[11411.303230]  ieee80211_restart_work+0xbb/0xe0 [mac80211]
[11411.303234]  process_one_work+0x1eb/0x410
[11411.303236]  worker_thread+0x2d/0x3d0
[11411.303238]  ? process_one_work+0x410/0x410
[11411.303240]  kthread+0x112/0x130
[11411.303242]  ? kthread_park+0x80/0x80
[11411.303243]  ret_from_fork+0x22/0x40
[11411.303245] ---[ end trace ec91c5003c3008e9 ]---

Last edited by viniosity (2019-03-17 14:31:29)

Offline

#2 2019-03-17 09:38:23

ivanoff
Member
Registered: 2012-03-18
Posts: 26

Re: WiFi crashes and I can only reboot to fix

Hello your wifi is certainly managed by a kernel module (mac80211 ?)
Have you tried to rmmod it and insmod or modprobe it again?

Offline

#3 2019-03-17 12:43:45

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

Re: WiFi crashes and I can only reboot to fix

Please use [ code ] tags not quote tags for pasting output. And please post more of that dmesg/journal (the entire thing would be best) as the excerpt you provided is likely to only be a follow up crash to the actual problem, which is happening earlier.

Offline

#4 2019-03-17 13:19:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,415
Website

Re: WiFi crashes and I can only reboot to fix

And what are the actual symptoms?  When the wifi "crashes" disabled all networking services and try to connect manually.  What step fails and with what error message?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2019-03-17 14:38:02

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 402
Website

Re: WiFi crashes and I can only reboot to fix

Sorry, @V1del - I updated it to use code blocks.  I have more of the dmesg trace but it seemed repetitive. Perhaps I cut that trace too soon. I'll grab more next time it crashes.
@ivanoffI, I have not tried this but I will next time it happens - thanks for the tip!
@Trilby, one second the network is there the next wifi is gone. Pings say "Network is unreachable". My wifi scanner shows no networks. If I stop NetworkManager and start an alternative like netctl, then wifi-menu similarly fails to find any networks. Restarting the laptop brings it back up.

I will try the rmmod trick next time it happens and also post a longer trace.

Thank you, everyone.

Offline

#6 2019-03-17 15:55:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,415
Website

Re: WiFi crashes and I can only reboot to fix

Go.  Through.  The.  Steps.

For example, does the interface still show up in `ip` output?  Is it up?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2019-03-17 16:41:30

seth
Member
Registered: 2012-09-03
Posts: 10,978

Re: WiFi crashes and I can only reboot to fix

Could be power saving, also there's https://bugzilla.kernel.org/show_bug.cgi?id=91171
Post a complete journal ("sudo journalctl -b") covering the issue (you can eg. dump a former boot, like "… -b -1") and "iwconfig wlo1"

iw dev wlo1 set power_save off

would disable power saving but that's pointless if this isn't the cause (The last comment in bug #91171 mentions WOL triggering this)

--------
Edit: Oh, and please outputs of lsusb/lspci before and after this happens and "rfkill" after it happened
--------

@ivanoff, mac80211 is the IEEE 802.11 subsystem, not a specific device driver.

Last edited by seth (2019-03-17 16:44:58)

Offline

Board footer

Powered by FluxBB