0

I have tried to find a solution for a very long time but any changes did not improved my WiFi performance.

System: Mac Mini (late 2014), 18.10, running headless with Kodi login environment

Issue: WiFi disconnects randomly while downloading a large portion of data from the Internet

Reproduction: When the PC is downloading w big chunk of data (eg. torrents) it disconnects from the WiFi after few minutes. Normal usage (idle system, updates) does not disconnect from WiFi.

Steps already applied: changed network manager to wicd, changed torrent downloader, changed WiFi power saver to disabled, checked effects of UFW on connection.

System information:

lspci

02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)

rfkill

ID TYPE      DEVICE        SOFT      HARD
 0 wlan      phy0     unblocked unblocked
 1 wlan      brcmwl-0 unblocked unblocked
 2 bluetooth hci0     unblocked unblocked

ifconfig

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.27  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::1e36:bbff:fe00:62f4  prefixlen 64  scopeid 0x20<link>
        ether 1c:36:bb:00:62:f4  txqueuelen 1000  (Ethernet)
        RX packets 233437  bytes 80035114 (80.0 MB)
        RX errors 0  dropped 1426  overruns 0  frame 12755
        TX packets 97468  bytes 20840255 (20.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18

iwconfig

wlp2s0    IEEE 802.11  ESSID:"###"
          Mode:Managed  Frequency:5.5 GHz  Access Point: AC:84:C9:23:D2:0F
          Bit Rate=351 Mb/s   Tx-Power=200 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=47/70  Signal level=-63 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Last syslog events (seconds before disconnect) print multiple kernel messages:

Dec 29 13:02:25 salonik-Macmini kernel: [139898.433983] swapper/0: page allocation failure: order:0, mode:0x480020(GFP_ATOMIC), nodemask=(null)
Dec 29 13:02:25 salonik-Macmini kernel: [139898.433986] swapper/0 cpuset=/ mems_allowed=0-1023
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434007] CPU: 0 PID: 0 Comm: swapper/0 Tainted: P           OE     4.18.0-13-generic #14-Ubuntu
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434008] Hardware name: Apple Inc. Macmini7,1/Mac-35C5E08120C7EEAF, BIOS MM71.88Z.0231.B00.1804091715 04/09/2018
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434010] Call Trace:
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434012]  <IRQ>
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434020]  dump_stack+0x63/0x83
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434027]  warn_alloc.cold.115+0x69/0xfc
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434032]  __alloc_pages_slowpath+0xd98/0xde0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434037]  ? tcp_rcv_established+0x57b/0x620
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434042]  ? __build_skb+0x2b/0xf0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434046]  __alloc_pages_nodemask+0x263/0x280
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434050]  page_frag_alloc+0x121/0x150
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434054]  __netdev_alloc_skb+0xa7/0x120
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434111]  osl_pktget+0x1d/0x50 [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434145]  dma_txpioloopback+0x7d0/0x15a4 [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434175]  ? dma_txpioloopback+0x2b4/0x15a4 [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434223]  wlc_bmac_recv+0x9b/0x53f [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434275]  ? wlc_intrson+0x1b3/0x1c4 [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434327]  wlc_dpc+0x175/0x26a [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434378]  wl_dpc+0x9e/0x170 [wl]
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434383]  tasklet_action_common.isra.19+0x5f/0x110
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434387]  tasklet_action+0x22/0x30
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434391]  __do_softirq+0xdc/0x2b5
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434395]  irq_exit+0xb7/0xc0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434397]  do_IRQ+0x8a/0xd0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434400]  common_interrupt+0xf/0xf
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434402]  </IRQ>
Dec 29 13:02:25 salonik-Macmini kernel: [139898.434405] RIP: 0010:cpuidle_enter_state+0xb9/0x2b0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435526] Code: ff e8 6b 67 89 ff 80 7d d3 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 d6 01 00 00 31 ff e8 6e 72 8f ff fb 66 0f 1f 44 00 00 $
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435585] RSP: 0018:ffffffff85203e00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd7
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435588] RAX: ffff8f83ef222c40 RBX: 00007f3ca47e6e58 RCX: 000000000000001f
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435590] RDX: 00007f3ca47e6e58 RSI: 0000000000000000 RDI: 0000000000000000
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435592] RBP: ffffffff85203e38 R08: 0000fe8184a9b7f8 R09: 0000000000000002
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435594] R10: 00000000ffffffff R11: ffff8f83ef221ac8 R12: 0000000000000001
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435596] R13: ffff8f83ef22cb40 R14: ffffffff85384858 R15: 00007f3ca47e6057
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435601]  cpuidle_enter+0x17/0x20
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435604]  call_cpuidle+0x23/0x40
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435607]  do_idle+0x23a/0x280
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435611]  cpu_startup_entry+0x73/0x80
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435616]  rest_init+0xae/0xb0
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435620]  start_kernel+0x539/0x55a
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435625]  x86_64_start_reservations+0x24/0x26
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435628]  x86_64_start_kernel+0x74/0x77
Dec 29 13:02:25 salonik-Macmini kernel: [139898.435631]  secondary_startup_64+0xa5/0xb0

Rebooting is the only solution that temporarily brings the connection back. Any ideas what might work?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.