Wifi preventing suspend with kernels higher than 4.8

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
yobro

Wifi preventing suspend with kernels higher than 4.8

Post by yobro »

Hello Forum!

I am facing a problem with my wifi module:
When I try to suspend my computer and wifi is turned on, my laptop will freeze for a couple of seconds and return to the login screen.
Afterwards, wifi is unavailable and the computer. Additionally, after such a "wifi-crash", the laptop will not shut down anymore (infinite LM-logo).

If I turn off wifi manually before suspend, I am not facing any problems.

The problem only arises in kernel versions higher than 4.8, I've tested those present in the update manager.

Is this a bug in the kernel? If so, I would like to write a bug report, but I am not too sure about it. What are your thoughts?

Greetings,
Nico

lspci -nn gives:

Code: Select all

03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 20)
dmseg gives:

Code: Select all

[  919.253305] wlp3s0: deauthenticating from (mac-adress) by local choice (Reason: 3=DEAUTH_LEAVING)
[  919.343758] ath10k_pci 0000:03:00.0: firmware crashed! (uuid fd4c12f4-9367-4382-8b8c-5ddce1d0ce35)
[  919.343765] ath10k_pci 0000:03:00.0: qca6174 hw2.1 target 0x05010000 chip_id 0x003405ff sub 11ad:0804
[  919.343767] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  919.344099] ath10k_pci 0000:03:00.0: firmware ver SW_RM.1.1.1-00157-QCARMSWPZ-1 api 5 features ignore-otp,no-4addr-pad crc32 10bf8e08
[  919.344273] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 ae2e275a
[  919.344275] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  919.346287] ath10k_pci 0000:03:00.0: firmware register dump:
[  919.346293] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0xF38E985A
[  919.346295] ath10k_pci 0000:03:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
[  919.346298] ath10k_pci 0000:03:00.0: [08]: 0xF38E9846 0x00400000 0x00000000 0x000A5C88
[  919.346300] ath10k_pci 0000:03:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
[  919.346302] ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x000B4295 0x00000000 0x009287BD
[  919.346304] ath10k_pci 0000:03:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
[  919.346306] ath10k_pci 0000:03:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
[  919.346309] ath10k_pci 0000:03:00.0: [28]: 0x80942BC4 0x0041A790 0xF38E9846 0x00400000
[  919.346311] ath10k_pci 0000:03:00.0: [32]: 0x80947BA7 0x0041A7B0 0x00404D88 0x0040E074
[  919.346313] ath10k_pci 0000:03:00.0: [36]: 0x809BDECC 0x0041A7D0 0x00404D88 0x0040E074
[  919.346316] ath10k_pci 0000:03:00.0: [40]: 0x8099638C 0x0041A7F0 0x00404D88 0x00000000
[  919.346318] ath10k_pci 0000:03:00.0: [44]: 0x80992076 0x0041A810 0x0044FD68 0x0046FFE8
[  919.346320] ath10k_pci 0000:03:00.0: [48]: 0x80996BD3 0x0041A830 0x0044FD68 0x00000000
[  919.346322] ath10k_pci 0000:03:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
[  919.346325] ath10k_pci 0000:03:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA20
[  919.346327] ath10k_pci 0000:03:00.0: Copy Engine register dump:
[  919.346341] ath10k_pci 0000:03:00.0: [00]: 0x00034400   1   1   3   3
[  919.346353] ath10k_pci 0000:03:00.0: [01]: 0x00034800   9   9  12  13
[  919.346366] ath10k_pci 0000:03:00.0: [02]: 0x00034c00   3   3   2   3
[  919.346379] ath10k_pci 0000:03:00.0: [03]: 0x00035000  30  30  31  30
[  919.346392] ath10k_pci 0000:03:00.0: [04]: 0x00035400 5643 5643  71   7
[  919.346405] ath10k_pci 0000:03:00.0: [05]: 0x00035800   0   0   0   0
[  919.346417] ath10k_pci 0000:03:00.0: [06]: 0x00035c00  23  23  23  23
[  919.346430] ath10k_pci 0000:03:00.0: [07]: 0x00036000   1   1   1   1
[  919.470362] ieee80211 phy0: Hardware restart was requested
[  919.470401] ath10k_pci 0000:03:00.0: failed to delete WMI vdev 1: -108
[  929.373705] PM: Syncing filesystems ... done.
[  929.379170] PM: Preparing system for sleep (mem)
[  929.379652] Freezing user space processes ... 
[  949.382800] Freezing of tasks failed after 20.003 seconds (6 tasks refusing to freeze, wq_busy=0):
[  949.382860] wpa_supplicant  D    0  1333      1 0x00000004
[  949.382866] Call Trace:
[  949.382879]  __schedule+0x3c2/0x890
[  949.382884]  schedule+0x36/0x80
[  949.382890]  schedule_timeout+0x17a/0x360
[  949.382896]  ? call_timer_fn+0x140/0x140
[  949.382901]  msleep+0x2e/0x40
[  949.382904]  ? msleep+0x2e/0x40
[  949.382915]  ath10k_pci_hif_stop+0x60/0xc0 [ath10k_pci]
[  949.382937]  ath10k_core_stop+0x45/0x70 [ath10k_core]
[  949.382953]  ath10k_halt+0x102/0x160 [ath10k_core]
[  949.382968]  ath10k_stop+0x39/0x80 [ath10k_core]
[  949.383011]  drv_stop+0x33/0xf0 [mac80211]
[  949.383055]  ieee80211_stop_device+0x43/0x50 [mac80211]
[  949.383092]  ieee80211_do_stop+0x4fc/0x840 [mac80211]
[  949.383099]  ? __rtnl_unlock+0x2a/0x50
[  949.383106]  ? nla_memcpy+0x26/0x50
[  949.383142]  ieee80211_sdata_stop+0x1e/0x30 [mac80211]
[  949.383177]  ieee80211_stop_p2p_device+0x12/0x20 [mac80211]
[  949.383214]  cfg80211_stop_p2p_device+0x6c/0x180 [cfg80211]
[  949.383248]  nl80211_stop_p2p_device+0x2e/0x40 [cfg80211]
[  949.383255]  genl_family_rcv_msg+0x1f5/0x3d0
[  949.383260]  ? __netlink_sendskb+0x3e/0x60
[  949.383267]  genl_rcv_msg+0x4c/0x90
[  949.383272]  ? genl_family_rcv_msg+0x3d0/0x3d0
[  949.383277]  netlink_rcv_skb+0xe7/0x120
[  949.383283]  genl_rcv+0x28/0x40
[  949.383288]  netlink_unicast+0x18c/0x240
[  949.383293]  netlink_sendmsg+0x2dd/0x3c0
[  949.383299]  sock_sendmsg+0x38/0x50
[  949.383304]  ___sys_sendmsg+0x2e3/0x2f0
[  949.383309]  ? netlink_sendmsg+0x133/0x3c0
[  949.383315]  ? security_file_free+0x3e/0x50
[  949.383321]  ? kfree+0x162/0x170
[  949.383326]  ? dput+0xc7/0x1f0
[  949.383330]  ? mntput+0x24/0x40
[  949.383335]  __sys_sendmsg+0x54/0x90
[  949.383339]  ? __sys_sendmsg+0x54/0x90
[  949.383345]  SyS_sendmsg+0x12/0x20
[  949.383351]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383355] RIP: 0033:0x7f807bb40490
[  949.383357] RSP: 002b:00007ffdb6c21b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[  949.383362] RAX: ffffffffffffffda RBX: 000055d0e14dbb20 RCX: 00007f807bb40490
[  949.383364] RDX: 0000000000000000 RSI: 00007ffdb6c21c20 RDI: 0000000000000006
[  949.383366] RBP: 000055d0e14da6c0 R08: 0000000000000000 R09: 000055d0e14eed60
[  949.383368] R10: 0000000000001000 R11: 0000000000000246 R12: 000055d0e14da6e0
[  949.383370] R13: 0000000000000001 R14: 000055d0e14dc9c8 R15: 000055d0e14dc02c
[  949.383380] ntpd            D    0  1541      1 0x00000004
[  949.383385] Call Trace:
[  949.383391]  __schedule+0x3c2/0x890
[  949.383395]  schedule+0x36/0x80
[  949.383400]  schedule_preempt_disabled+0xe/0x10
[  949.383404]  __mutex_lock.isra.2+0x2ae/0x4e0
[  949.383411]  ? aa_label_sk_perm+0x13e/0x170
[  949.383416]  __mutex_lock_slowpath+0x13/0x20
[  949.383420]  ? __mutex_lock_slowpath+0x13/0x20
[  949.383424]  mutex_lock+0x2f/0x40
[  949.383429]  rtnetlink_rcv+0x19/0x30
[  949.383434]  netlink_unicast+0x18c/0x240
[  949.383440]  netlink_sendmsg+0x2dd/0x3c0
[  949.383445]  sock_sendmsg+0x38/0x50
[  949.383449]  SYSC_sendto+0x101/0x190
[  949.383454]  ? SYSC_getsockname+0xc7/0xe0
[  949.383460]  ? fd_install+0x25/0x30
[  949.383464]  ? sock_map_fd+0x44/0x70
[  949.383469]  SyS_sendto+0xe/0x10
[  949.383474]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383477] RIP: 0033:0x7f2f284e7513
[  949.383479] RSP: 002b:00007ffe060e7fa0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  949.383483] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2f284e7513
[  949.383485] RDX: 0000000000000014 RSI: 00007ffe060e9000 RDI: 0000000000000004
[  949.383487] RBP: 0000000001eab694 R08: 00007ffe060e8fe0 R09: 000000000000000c
[  949.383489] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000030
[  949.383491] R13: 0000000000000000 R14: 00007ffe060e95b0 R15: 0000000000000000
[  949.383541] goa-daemon      D    0  2537      1 0x00000004
[  949.383545] Call Trace:
[  949.383551]  __schedule+0x3c2/0x890
[  949.383555]  schedule+0x36/0x80
[  949.383560]  schedule_preempt_disabled+0xe/0x10
[  949.383564]  __mutex_lock.isra.2+0x2ae/0x4e0
[  949.383569]  __mutex_lock_slowpath+0x13/0x20
[  949.383573]  ? __mutex_lock_slowpath+0x13/0x20
[  949.383577]  mutex_lock+0x2f/0x40
[  949.383582]  rtnetlink_rcv+0x19/0x30
[  949.383587]  netlink_unicast+0x18c/0x240
[  949.383592]  netlink_sendmsg+0x2dd/0x3c0
[  949.383597]  sock_sendmsg+0x38/0x50
[  949.383601]  SYSC_sendto+0x101/0x190
[  949.383608]  ? eventfd_read+0x4b/0x90
[  949.383612]  ? __vfs_read+0x18/0x40
[  949.383615]  ? vfs_read+0x93/0x130
[  949.383621]  SyS_sendto+0xe/0x10
[  949.383626]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383628] RIP: 0033:0x7f14557b29ff
[  949.383631] RSP: 002b:00007ffff4fb0940 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[  949.383635] RAX: ffffffffffffffda RBX: 0000000001a72060 RCX: 00007f14557b29ff
[  949.383637] RDX: 0000000000000014 RSI: 00007ffff4fb09d0 RDI: 0000000000000008
[  949.383639] RBP: 00000000000061a8 R08: 0000000000000000 R09: 0000000000000000
[  949.383641] R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000
[  949.383642] R13: 00007f143800c690 R14: 0000000001a6d2d0 R15: 0000000001a7d6a0
[  949.383671] dropbox         D    0  2808      1 0x00000004
[  949.383675] Call Trace:
[  949.383680]  __schedule+0x3c2/0x890
[  949.383685]  schedule+0x36/0x80
[  949.383688]  schedule_preempt_disabled+0xe/0x10
[  949.383692]  __mutex_lock.isra.2+0x2ae/0x4e0
[  949.383698]  __mutex_lock_slowpath+0x13/0x20
[  949.383702]  ? __mutex_lock_slowpath+0x13/0x20
[  949.383705]  mutex_lock+0x2f/0x40
[  949.383710]  rtnetlink_rcv+0x19/0x30
[  949.383715]  netlink_unicast+0x18c/0x240
[  949.383720]  netlink_sendmsg+0x2dd/0x3c0
[  949.383725]  sock_sendmsg+0x38/0x50
[  949.383729]  SYSC_sendto+0x101/0x190
[  949.383734]  ? SYSC_getsockname+0x89/0xe0
[  949.383741]  ? fd_install+0x25/0x30
[  949.383744]  ? sock_map_fd+0x44/0x70
[  949.383749]  SyS_sendto+0xe/0x10
[  949.383754]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383757] RIP: 0033:0x7f8a49b69513
[  949.383759] RSP: 002b:00007f8986fd2aa0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  949.383763] RAX: ffffffffffffffda RBX: 00007f8a28052700 RCX: 00007f8a49b69513
[  949.383765] RDX: 0000000000000014 RSI: 00007f8986fd3b00 RDI: 0000000000000092
[  949.383767] RBP: 00007f8a28052550 R08: 00007f8986fd3ae0 R09: 000000000000000c
[  949.383769] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000002c18618
[  949.383770] R13: 00007f89f0060e20 R14: 00007f8a495fbf98 R15: 00007f8a14c60cb8
[  949.383787] pcloud          D    0  2975   2215 0x00000004
[  949.383791] Call Trace:
[  949.383796]  __schedule+0x3c2/0x890
[  949.383801]  schedule+0x36/0x80
[  949.383805]  schedule_preempt_disabled+0xe/0x10
[  949.383809]  __mutex_lock.isra.2+0x2ae/0x4e0
[  949.383815]  __mutex_lock_slowpath+0x13/0x20
[  949.383818]  ? __mutex_lock_slowpath+0x13/0x20
[  949.383822]  mutex_lock+0x2f/0x40
[  949.383827]  rtnetlink_rcv+0x19/0x30
[  949.383832]  netlink_unicast+0x18c/0x240
[  949.383837]  netlink_sendmsg+0x2dd/0x3c0
[  949.383842]  sock_sendmsg+0x38/0x50
[  949.383846]  SYSC_sendto+0x101/0x190
[  949.383851]  ? SYSC_getsockname+0x89/0xe0
[  949.383857]  ? fd_install+0x25/0x30
[  949.383861]  ? sock_map_fd+0x44/0x70
[  949.383866]  SyS_sendto+0xe/0x10
[  949.383871]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383873] RIP: 0033:0x7f126080f513
[  949.383875] RSP: 002b:00007f124e5e0850 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  949.383879] RAX: ffffffffffffffda RBX: 00002623eb916700 RCX: 00007f126080f513
[  949.383881] RDX: 0000000000000014 RSI: 00007f124e5e18b0 RDI: 000000000000006c
[  949.383883] RBP: 00002623ebaa5c28 R08: 00007f124e5e1890 R09: 000000000000000c
[  949.383885] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000010
[  949.383887] R13: 0000000000000000 R14: 0000000000000001 R15: 00002623eb916700
[  949.383907] DNS Resolver #4 D    0  4792   2508 0x00000004
[  949.383911] Call Trace:
[  949.383916]  __schedule+0x3c2/0x890
[  949.383921]  schedule+0x36/0x80
[  949.383925]  schedule_preempt_disabled+0xe/0x10
[  949.383929]  __mutex_lock.isra.2+0x2ae/0x4e0
[  949.383935]  __mutex_lock_slowpath+0x13/0x20
[  949.383938]  ? __mutex_lock_slowpath+0x13/0x20
[  949.383942]  mutex_lock+0x2f/0x40
[  949.383947]  rtnetlink_rcv+0x19/0x30
[  949.383952]  netlink_unicast+0x18c/0x240
[  949.383957]  netlink_sendmsg+0x2dd/0x3c0
[  949.383962]  sock_sendmsg+0x38/0x50
[  949.383966]  SYSC_sendto+0x101/0x190
[  949.383971]  ? SYSC_getsockname+0x89/0xe0
[  949.383977]  ? fd_install+0x25/0x30
[  949.383980]  ? sock_map_fd+0x44/0x70
[  949.383985]  SyS_sendto+0xe/0x10
[  949.383990]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  949.383993] RIP: 0033:0x7faa888ce513
[  949.383995] RSP: 002b:00007faa5d9faa60 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  949.383999] RAX: ffffffffffffffda RBX: 00007faa5d9fc700 RCX: 00007faa888ce513
[  949.384001] RDX: 0000000000000014 RSI: 00007faa5d9fbb20 RDI: 000000000000004d
[  949.384003] RBP: 00007ffc34c50950 R08: 00007faa5d9fbb00 R09: 000000000000000c
[  949.384005] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[  949.384007] R13: 00007ffc34c508af R14: 0000000000800000 R15: 00007faa68cb2ed0
[  949.384064] OOM killer enabled.
[  949.384065] Restarting tasks ... done.
[  949.398372] PM: Syncing filesystems ... done.
[  949.402588] PM: Preparing system for sleep (freeze)
[  949.402779] Freezing user space processes ... 
[  969.405916] Freezing of tasks failed after 20.003 seconds (7 tasks refusing to freeze, wq_busy=0):
[  969.405976] cups-browsed    D    0  1208      1 0x00000004
[  969.405982] Call Trace:
[  969.405995]  __schedule+0x3c2/0x890
[  969.406001]  ? dequeue_entity+0xed/0x4c0
[  969.406005]  schedule+0x36/0x80
[  969.406009]  schedule_preempt_disabled+0xe/0x10
[  969.406013]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.406021]  ? aa_label_sk_perm+0x13e/0x170
[  969.406026]  __mutex_lock_slowpath+0x13/0x20
[  969.406029]  ? __mutex_lock_slowpath+0x13/0x20
[  969.406033]  mutex_lock+0x2f/0x40
[  969.406039]  rtnetlink_rcv+0x19/0x30
[  969.406045]  netlink_unicast+0x18c/0x240
[  969.406051]  netlink_sendmsg+0x2dd/0x3c0
[  969.406057]  sock_sendmsg+0x38/0x50
[  969.406061]  SYSC_sendto+0x101/0x190
[  969.406066]  ? SYSC_getsockname+0x89/0xe0
[  969.406073]  ? fd_install+0x25/0x30
[  969.406076]  ? sock_map_fd+0x44/0x70
[  969.406081]  SyS_sendto+0xe/0x10
[  969.406087]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.406091] RIP: 0033:0x7f562d84d513
[  969.406093] RSP: 002b:00007fffadf4fbf0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  969.406098] RAX: ffffffffffffffda RBX: 0000000001f3bbc0 RCX: 00007f562d84d513
[  969.406100] RDX: 0000000000000014 RSI: 00007fffadf50c50 RDI: 000000000000000c
[  969.406102] RBP: 0000000000000003 R08: 00007fffadf50c30 R09: 000000000000000c
[  969.406104] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000001f22cf0
[  969.406106] R13: 0000000000002579 R14: 00007f562dfd6280 R15: 0000000000000003
[  969.406113] wpa_supplicant  D    0  1333      1 0x00000004
[  969.406117] Call Trace:
[  969.406122]  __schedule+0x3c2/0x890
[  969.406127]  schedule+0x36/0x80
[  969.406131]  schedule_timeout+0x17a/0x360
[  969.406136]  ? call_timer_fn+0x140/0x140
[  969.406140]  msleep+0x2e/0x40
[  969.406143]  ? msleep+0x2e/0x40
[  969.406154]  ath10k_pci_hif_stop+0x60/0xc0 [ath10k_pci]
[  969.406176]  ath10k_core_stop+0x45/0x70 [ath10k_core]
[  969.406192]  ath10k_halt+0x102/0x160 [ath10k_core]
[  969.406208]  ath10k_stop+0x39/0x80 [ath10k_core]
[  969.406251]  drv_stop+0x33/0xf0 [mac80211]
[  969.406297]  ieee80211_stop_device+0x43/0x50 [mac80211]
[  969.406336]  ieee80211_do_stop+0x4fc/0x840 [mac80211]
[  969.406343]  ? __rtnl_unlock+0x2a/0x50
[  969.406350]  ? nla_memcpy+0x26/0x50
[  969.406389]  ieee80211_sdata_stop+0x1e/0x30 [mac80211]
[  969.406430]  ieee80211_stop_p2p_device+0x12/0x20 [mac80211]
[  969.406467]  cfg80211_stop_p2p_device+0x6c/0x180 [cfg80211]
[  969.406500]  nl80211_stop_p2p_device+0x2e/0x40 [cfg80211]
[  969.406507]  genl_family_rcv_msg+0x1f5/0x3d0
[  969.406513]  ? __netlink_sendskb+0x3e/0x60
[  969.406520]  genl_rcv_msg+0x4c/0x90
[  969.406525]  ? genl_family_rcv_msg+0x3d0/0x3d0
[  969.406530]  netlink_rcv_skb+0xe7/0x120
[  969.406535]  genl_rcv+0x28/0x40
[  969.406540]  netlink_unicast+0x18c/0x240
[  969.406545]  netlink_sendmsg+0x2dd/0x3c0
[  969.406551]  sock_sendmsg+0x38/0x50
[  969.406555]  ___sys_sendmsg+0x2e3/0x2f0
[  969.406561]  ? netlink_sendmsg+0x133/0x3c0
[  969.406567]  ? security_file_free+0x3e/0x50
[  969.406573]  ? kfree+0x162/0x170
[  969.406577]  ? dput+0xc7/0x1f0
[  969.406581]  ? mntput+0x24/0x40
[  969.406586]  __sys_sendmsg+0x54/0x90
[  969.406590]  ? __sys_sendmsg+0x54/0x90
[  969.406597]  SyS_sendmsg+0x12/0x20
[  969.406602]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.406605] RIP: 0033:0x7f807bb40490
[  969.406608] RSP: 002b:00007ffdb6c21b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[  969.406612] RAX: ffffffffffffffda RBX: 000055d0e14dbb20 RCX: 00007f807bb40490
[  969.406614] RDX: 0000000000000000 RSI: 00007ffdb6c21c20 RDI: 0000000000000006
[  969.406616] RBP: 000055d0e14da6c0 R08: 0000000000000000 R09: 000055d0e14eed60
[  969.406618] R10: 0000000000001000 R11: 0000000000000246 R12: 000055d0e14da6e0
[  969.406620] R13: 0000000000000001 R14: 000055d0e14dc9c8 R15: 000055d0e14dc02c
[  969.406630] ntpd            D    0  1541      1 0x00000004
[  969.406635] Call Trace:
[  969.406640]  __schedule+0x3c2/0x890
[  969.406645]  schedule+0x36/0x80
[  969.406649]  schedule_preempt_disabled+0xe/0x10
[  969.406653]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.406659]  ? aa_label_sk_perm+0x13e/0x170
[  969.406664]  __mutex_lock_slowpath+0x13/0x20
[  969.406668]  ? __mutex_lock_slowpath+0x13/0x20
[  969.406672]  mutex_lock+0x2f/0x40
[  969.406677]  rtnetlink_rcv+0x19/0x30
[  969.406682]  netlink_unicast+0x18c/0x240
[  969.406687]  netlink_sendmsg+0x2dd/0x3c0
[  969.406692]  sock_sendmsg+0x38/0x50
[  969.406696]  SYSC_sendto+0x101/0x190
[  969.406702]  ? SYSC_getsockname+0xc7/0xe0
[  969.406708]  ? fd_install+0x25/0x30
[  969.406712]  ? sock_map_fd+0x44/0x70
[  969.406716]  SyS_sendto+0xe/0x10
[  969.406722]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.406724] RIP: 0033:0x7f2f284e7513
[  969.406726] RSP: 002b:00007ffe060e7fa0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  969.406730] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2f284e7513
[  969.406732] RDX: 0000000000000014 RSI: 00007ffe060e9000 RDI: 0000000000000004
[  969.406734] RBP: 0000000001eab694 R08: 00007ffe060e8fe0 R09: 000000000000000c
[  969.406736] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000030
[  969.406738] R13: 0000000000000000 R14: 00007ffe060e95b0 R15: 0000000000000000
[  969.406789] goa-daemon      D    0  2537      1 0x00000004
[  969.406793] Call Trace:
[  969.406798]  __schedule+0x3c2/0x890
[  969.406803]  schedule+0x36/0x80
[  969.406807]  schedule_preempt_disabled+0xe/0x10
[  969.406811]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.406817]  __mutex_lock_slowpath+0x13/0x20
[  969.406820]  ? __mutex_lock_slowpath+0x13/0x20
[  969.406824]  mutex_lock+0x2f/0x40
[  969.406829]  rtnetlink_rcv+0x19/0x30
[  969.406834]  netlink_unicast+0x18c/0x240
[  969.406839]  netlink_sendmsg+0x2dd/0x3c0
[  969.406844]  sock_sendmsg+0x38/0x50
[  969.406848]  SYSC_sendto+0x101/0x190
[  969.406855]  ? eventfd_read+0x4b/0x90
[  969.406859]  ? __vfs_read+0x18/0x40
[  969.406862]  ? vfs_read+0x93/0x130
[  969.406867]  SyS_sendto+0xe/0x10
[  969.406872]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.406875] RIP: 0033:0x7f14557b29ff
[  969.406877] RSP: 002b:00007ffff4fb0940 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
[  969.406881] RAX: ffffffffffffffda RBX: 0000000001a72060 RCX: 00007f14557b29ff
[  969.406883] RDX: 0000000000000014 RSI: 00007ffff4fb09d0 RDI: 0000000000000008
[  969.406885] RBP: 00000000000061a8 R08: 0000000000000000 R09: 0000000000000000
[  969.406887] R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000
[  969.406889] R13: 00007f143800c690 R14: 0000000001a6d2d0 R15: 0000000001a7d6a0
[  969.406917] dropbox         D    0  2808      1 0x00000004
[  969.406921] Call Trace:
[  969.406926]  __schedule+0x3c2/0x890
[  969.406931]  schedule+0x36/0x80
[  969.406935]  schedule_preempt_disabled+0xe/0x10
[  969.406939]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.406944]  __mutex_lock_slowpath+0x13/0x20
[  969.406948]  ? __mutex_lock_slowpath+0x13/0x20
[  969.406952]  mutex_lock+0x2f/0x40
[  969.406956]  rtnetlink_rcv+0x19/0x30
[  969.406961]  netlink_unicast+0x18c/0x240
[  969.406967]  netlink_sendmsg+0x2dd/0x3c0
[  969.406972]  sock_sendmsg+0x38/0x50
[  969.406976]  SYSC_sendto+0x101/0x190
[  969.406981]  ? SYSC_getsockname+0x89/0xe0
[  969.406987]  ? fd_install+0x25/0x30
[  969.406991]  ? sock_map_fd+0x44/0x70
[  969.406996]  SyS_sendto+0xe/0x10
[  969.407000]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.407003] RIP: 0033:0x7f8a49b69513
[  969.407005] RSP: 002b:00007f8986fd2aa0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  969.407009] RAX: ffffffffffffffda RBX: 00007f8a28052700 RCX: 00007f8a49b69513
[  969.407011] RDX: 0000000000000014 RSI: 00007f8986fd3b00 RDI: 0000000000000092
[  969.407013] RBP: 00007f8a28052550 R08: 00007f8986fd3ae0 R09: 000000000000000c
[  969.407015] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000002c18618
[  969.407017] R13: 00007f89f0060e20 R14: 00007f8a495fbf98 R15: 00007f8a14c60cb8
[  969.407033] pcloud          D    0  2975   2215 0x00000004
[  969.407037] Call Trace:
[  969.407042]  __schedule+0x3c2/0x890
[  969.407047]  schedule+0x36/0x80
[  969.407051]  schedule_preempt_disabled+0xe/0x10
[  969.407054]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.407060]  __mutex_lock_slowpath+0x13/0x20
[  969.407064]  ? __mutex_lock_slowpath+0x13/0x20
[  969.407068]  mutex_lock+0x2f/0x40
[  969.407072]  rtnetlink_rcv+0x19/0x30
[  969.407077]  netlink_unicast+0x18c/0x240
[  969.407082]  netlink_sendmsg+0x2dd/0x3c0
[  969.407088]  sock_sendmsg+0x38/0x50
[  969.407092]  SYSC_sendto+0x101/0x190
[  969.407097]  ? SYSC_getsockname+0x89/0xe0
[  969.407103]  ? fd_install+0x25/0x30
[  969.407106]  ? sock_map_fd+0x44/0x70
[  969.407111]  SyS_sendto+0xe/0x10
[  969.407116]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.407118] RIP: 0033:0x7f126080f513
[  969.407120] RSP: 002b:00007f124e5e0850 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  969.407124] RAX: ffffffffffffffda RBX: 00002623eb916700 RCX: 00007f126080f513
[  969.407126] RDX: 0000000000000014 RSI: 00007f124e5e18b0 RDI: 000000000000006c
[  969.407128] RBP: 00002623ebaa5c28 R08: 00007f124e5e1890 R09: 000000000000000c
[  969.407130] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000010
[  969.407132] R13: 0000000000000000 R14: 0000000000000001 R15: 00002623eb916700
[  969.407154] DNS Resolver #4 D    0  4792   2508 0x00000004
[  969.407158] Call Trace:
[  969.407163]  __schedule+0x3c2/0x890
[  969.407168]  schedule+0x36/0x80
[  969.407171]  schedule_preempt_disabled+0xe/0x10
[  969.407175]  __mutex_lock.isra.2+0x2ae/0x4e0
[  969.407181]  __mutex_lock_slowpath+0x13/0x20
[  969.407185]  ? __mutex_lock_slowpath+0x13/0x20
[  969.407188]  mutex_lock+0x2f/0x40
[  969.407193]  rtnetlink_rcv+0x19/0x30
[  969.407198]  netlink_unicast+0x18c/0x240
[  969.407203]  netlink_sendmsg+0x2dd/0x3c0
[  969.407208]  sock_sendmsg+0x38/0x50
[  969.407212]  SYSC_sendto+0x101/0x190
[  969.407217]  ? SYSC_getsockname+0x89/0xe0
[  969.407223]  ? fd_install+0x25/0x30
[  969.407227]  ? sock_map_fd+0x44/0x70
[  969.407232]  SyS_sendto+0xe/0x10
[  969.407236]  entry_SYSCALL_64_fastpath+0x1e/0x81
[  969.407239] RIP: 0033:0x7faa888ce513
[  969.407241] RSP: 002b:00007faa5d9faa60 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[  969.407245] RAX: ffffffffffffffda RBX: 00007faa5d9fc700 RCX: 00007faa888ce513
[  969.407247] RDX: 0000000000000014 RSI: 00007faa5d9fbb20 RDI: 000000000000004d
[  969.407249] RBP: 00007ffc34c50950 R08: 00007faa5d9fbb00 R09: 000000000000000c
[  969.407250] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
[  969.407252] R13: 00007ffc34c508af R14: 0000000000800000 R15: 00007faa68cb2ed0
[  969.407312] OOM killer enabled.
[  969.407314] Restarting tasks ... done.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13781
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi preventing suspend with kernels higher than 4.8

Post by JeremyB »

The simple solution seems like the best one in this situation, install and use the newest 4.4.0 kernel. The 4.4 is supported until 2021 and even 4.13 will be EOL this coming August, 4.8 was EOL the past August and 4.10 was scheduled to be EOL at the end of this month
yobro

Re: Wifi preventing suspend with kernels higher than 4.8

Post by yobro »

JeremyB wrote:The simple solution seems like the best one in this situation, install and use the newest 4.4.0 kernel.
I just installed the kernel, but with 4.4.0 bluetooth is not working...
Sir Charles

Re: Wifi preventing suspend with kernels higher than 4.8

Post by Sir Charles »

Is that 4.4.0-109?
yobro

Re: Wifi preventing suspend with kernels higher than 4.8

Post by yobro »

Marziano wrote:Is that 4.4.0-109?
Yes, it is.
Sorry for not being specific.
Sir Charles

Re: Wifi preventing suspend with kernels higher than 4.8

Post by Sir Charles »

It's alright! You can try to run the following line in a terminal to restart the Bluetooth. I am not sure if it will work but it doesn't harm to try:

Code: Select all

sudo service /etc/init.d/bluetooth restart


If not, run the following in a terminal and post the result:

Code: Select all

rfkill list 
then:

Code: Select all

dmesg | grep Blue
and wait for someone to help you with further troubleshooting, since it is beyond me :) If your issue with the wifi is solved you might consider changing the title of your post to something like "Bluetooth not functioning with 4.4.0.109" to get attention for this specific issue.
Good luck!
JeremyB
Level 21
Level 21
Posts: 13781
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi preventing suspend with kernels higher than 4.8

Post by JeremyB »

Post results for

Code: Select all

lsusb; dmesg | egrep -i 'blue|firm'
yobro

Re: Wifi preventing suspend with kernels higher than 4.8

Post by yobro »

EDITED: Bluetooth does not work after suspend.
JeremyB wrote:Post results for

Code: Select all

lsusb; dmesg | egrep -i 'blue|firm'
I am now running kernel 4.4.109 and bluetooth works fine until I suspend the system.

lsusb; dmesg | egrep -i 'blue|firm' gives:

Code: Select all

Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 04f2:b469 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 04ca:3011 Lite-On Technology Corp. 
Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[    1.042297] [Firmware Bug]: ACPI(PXSX) defines _DOD but not _DOS
[    8.731191] Bluetooth: Core ver 2.21
[    8.731205] Bluetooth: HCI device and connection manager initialized
[    8.731208] Bluetooth: HCI socket layer initialized
[    8.731211] Bluetooth: L2CAP socket layer initialized
[    8.731216] Bluetooth: SCO socket layer initialized
[    8.752445] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   10.355531] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.355534] Bluetooth: BNEP filters: protocol multicast
[   10.355538] Bluetooth: BNEP socket layer initialized
[ 5871.834602] Bluetooth: RFCOMM TTY layer initialized
[ 5871.834610] Bluetooth: RFCOMM socket layer initialized
[ 5871.834616] Bluetooth: RFCOMM ver 1.11
[ 9199.838621] ath10k_pci 0000:03:00.0: firmware crashed! (uuid 4454d97a-6149-49eb-80f0-029684eee3db)
[ 9199.840636] ath10k_pci 0000:03:00.0: firmware register dump:
The messages at 9199 arise when I suspended the system.
Marziano wrote: I am not sure if it will work but it doesn't harm to try:

Code: Select all

sudo service /etc/init.d/bluetooth restart


If not, run the following in a terminal and post the result:

Code: Select all

rfkill list 
then:

Code: Select all

dmesg | grep Blue
sudo service bluetooth restart has no effect

rfkill list gives:

Code: Select all

1: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
and dmesg | grep Blue:

Code: Select all

[    8.731191] Bluetooth: Core ver 2.21
[    8.731205] Bluetooth: HCI device and connection manager initialized
[    8.731208] Bluetooth: HCI socket layer initialized
[    8.731211] Bluetooth: L2CAP socket layer initialized
[    8.731216] Bluetooth: SCO socket layer initialized
[   10.355531] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.355534] Bluetooth: BNEP filters: protocol multicast
[   10.355538] Bluetooth: BNEP socket layer initialized
[ 5871.834602] Bluetooth: RFCOMM TTY layer initialized
[ 5871.834610] Bluetooth: RFCOMM socket layer initialized
[ 5871.834616] Bluetooth: RFCOMM ver 1.11

Thank you very much for your help :)
yobro

Re: Wifi preventing suspend with kernels higher than 4.8

Post by yobro »

Also, with kernel 4.4.0-116-generic the firmware still crashes upon suspend:
dmesg -H

Code: Select all

[  +0,025840] ath10k_pci 0000:03:00.0: firmware crashed! (uuid a014e964-596c-4d32-883a-e81e16ea3cbd)
[  +0,000016] ath10k_pci 0000:03:00.0: qca6174 hw2.1 (0x05010000, 0x003405ff sub 11ad:0804) fw SW_RM.1.1.1-00157-QCARM
[  +0,000004] ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  +0,002030] ath10k_pci 0000:03:00.0: firmware register dump:
[  +0,000008] ath10k_pci 0000:03:00.0: [00]: 0x05010000 0x00000000 0x0092E4DC 0x261388DE
[  +0,000006] ath10k_pci 0000:03:00.0: [04]: 0x0092E4DC 0x00060130 0x00000018 0x0041A760
[  +0,000003] ath10k_pci 0000:03:00.0: [08]: 0x261388CA 0x00400000 0x00000000 0x000A5C88
[  +0,000003] ath10k_pci 0000:03:00.0: [12]: 0x00000009 0x00000000 0x0096C09C 0x0096C0A7
[  +0,000002] ath10k_pci 0000:03:00.0: [16]: 0x0096BDBC 0x000B4280 0x00000000 0x009287BD
[  +0,000003] ath10k_pci 0000:03:00.0: [20]: 0x4092E4DC 0x0041A710 0x00000000 0x0F000000
[  +0,000002] ath10k_pci 0000:03:00.0: [24]: 0x809432A7 0x0041A770 0x0040D400 0xC092E4DC
[  +0,000003] ath10k_pci 0000:03:00.0: [28]: 0x80942BC4 0x0041A790 0x261388CA 0x00400000
[  +0,000003] ath10k_pci 0000:03:00.0: [32]: 0x80947BA7 0x0041A7B0 0x00404BF8 0x00413980
[  +0,000002] ath10k_pci 0000:03:00.0: [36]: 0x809BDECC 0x0041A7D0 0x00404BF8 0x00413980
[  +0,000003] ath10k_pci 0000:03:00.0: [40]: 0x8099638C 0x0041A7F0 0x00404BF8 0x00000000
[  +0,000003] ath10k_pci 0000:03:00.0: [44]: 0x80992076 0x0041A810 0x004084F0 0x00405244
[  +0,000002] ath10k_pci 0000:03:00.0: [48]: 0x80996BD3 0x0041A830 0x004084F0 0x00000000
[  +0,000003] ath10k_pci 0000:03:00.0: [52]: 0x800B4405 0x0041A850 0x00422318 0x00005002
[  +0,000003] ath10k_pci 0000:03:00.0: [56]: 0x809A6C34 0x0041A8E0 0x0042932C 0x0042CA20
[  +0,097325] ieee80211 phy0: Hardware restart was requested
Is there something wrong with the drivers for this device?
Locked

Return to “Networking”