Rpi2 + TP-Link Wifi Connection Drops After Several Hours with R3.233

Hi All,
I need help with an issue where the wifi connection drops after a few hours of running. The player continues to play but all IP access into the RPi2 ceases; this includes the Android app, a Putty session and HTTP browser. Note that my router still shows the RPi2 connected.

I am using a RPi2 running R3.233-2022-02-24 build, with a TP Link (TL-WN725N) USB wifi dongle and a HiBerry DAC +. .

Note that I did NOT have this issue with the same hardware and R2.873-2021-02-19. Note too that I tried separating the wifi dongle a distance from the RPi2 by a few feet using a USB extension cable (read somewhere that Hiberry and wifi have some issues?), still the wifi connection fails.

Here is the link to the log file that was captured after the reboot.

Edit: Below is the log link from this morning as i plugged into the ethernet port while still running but Wifi inactive.

http://logs.volumio.org/volumio/r6l3wjS.html

Hope this captures enough for debugging purposes. Thanks in advance.
Rod

Below is the putty session I was running when it crashed. a

login as: volumio
volumio@volumio's password:
                       ___
                      /\_ \                        __
         __  __    ___\//\ \    __  __    ___ ___ /\_\    ___
        /\ \/\ \  / __`\\ \ \  /\ \/\ \ /' __` __`\/\ \  / __`\
        \ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
         \ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
          \/__/   \/___/ \/____/ \/___/  \/_/\/_/\/_/\/_/\/___/

             Free Audiophile Linux Music Player - Version 3.0

          © 2015-2021 Michelangelo Guarise - Volumio Team - Volumio.org

Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Raspberry Pi (5.10.92-v7+ armv7l)
volumio@volumio:~$ top
top - 19:12:15 up 31 min,  1 user,  load average: 0.98, 1.38, 1.49
Tasks: 129 total,   1 running, 128 sleeping,   0 stopped,   0 zombie
%Cpu(s):  7.0 us,  1.7 sy,  0.0 ni, 91.1 id,  0.1 wa,  0.0 hi,  0.2 si,  0.0 st
MiB Mem :    966.8 total,    245.0 free,    189.5 used,    532.3 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.    715.3 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  841 mpd       20   0  221860  41032  29048 S  27.3   4.1   7:44.00 mpd
  570 root      20   0    1880     60      0 D   1.3   0.0   0:27.03 ifplugd
  633 root      20   0       0      0      0 I   1.3   0.0   0:24.97 kworker/2:3-events_power_ef+
 1065 volumio   20   0    6068   2692   2208 R   1.0   0.3   0:17.26 top
  696 volumio   20   0  232868 101032  38668 S   0.7  10.2   3:41.11 node
  879 volumio   20   0  148576   9912   8588 S   0.7   1.0   0:13.09 upmpdcli
  424 root      20   0       0      0      0 S   0.3   0.0   0:01.23 RTW_CMD_THREAD
  665 root      20   0   39612  12812  11104 S   0.3   1.3   0:00.76 winbindd
 1061 volumio   20   0   12288   4332   3536 S   0.3   0.4   0:02.56 sshd
 3656 root      20   0       0      0      0 I   0.3   0.0   0:00.13 kworker/u8:2-flush-179:0
    1 root      20   0   15496   8596   6744 S   0.0   0.9   0:11.80 systemd
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.02 kthreadd
    3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
    4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
    8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
    9 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_rude_
   10 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_trace
   11 root      20   0       0      0      0 S   0.0   0.0   0:04.63 ksoftirqd/0
   12 root      20   0       0      0      0 I   0.0   0.0   0:02.27 rcu_sched
   13 root      rt   0       0      0      0 S   0.0   0.0   0:00.05 migration/0
   14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
   15 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
   16 root      rt   0       0      0      0 S   0.0   0.0   0:00.05 migration/1
   17 root      20   0       0      0      0 S   0.0   0.0   0:00.21 ksoftirqd/1
   20 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
   21 root      rt   0       0      0      0 S   0.0   0.0   0:00.06 migration/2
   22 root      20   0       0      0      0 S   0.0   0.0   0:00.46 ksoftirqd/2
   25 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
   26 root      rt   0       0      0      0 S   0.0   0.0   0:00.02 migration/3
   27 root      20   0       0      0      0 S   0.0   0.0   0:00.36 ksoftirqd/3
   30 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kdevtmpfs
   31 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns
   34 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kauditd
   36 root      20   0       0      0      0 S   0.0   0.0   0:00.00 khungtaskd
   37 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
   38 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 writeback
   39 root      20   0       0      0      0 S   0.0   0.0   0:00.22 kcompactd0
   57 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kblockd
   58 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 blkcg_punt_bio
   59 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 watchdogd
   62 root       0 -20       0      0      0 I   0.0   0.0   0:00.86 kworker/2:1H-kblockd
   63 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rpciod
   64 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/u9:0
   65 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 xprtiod
   66 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kswapd0
   67 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nfsiod
   69 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_eh
   70 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_destroy
   71 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 dwc_otg
   73 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 DWC Notificatio
volumio@volumio:~$ top ?
top: unknown option '?'
Usage:
  top -hv | -bcEHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
volumio@volumio:~$ top -d 1
top - 22:41:10 up  4:00,  1 user,  load average: 1.70, 1.42, 1.50
Tasks: 128 total,   2 running, 126 sleeping,   0 stopped,   0 zombie
%Cpu(s):  7.9 us,  2.2 sy,  0.0 ni, 89.7 id,  0.0 wa,  0.0 hi,  0.2 si,  0.0 st
MiB Mem :    966.8 total,     21.9 free,    185.1 used,    759.8 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.    703.3 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  841 mpd       20   0  221860  41216  29048 S  29.1   4.2  64:54.15 mpd
 4503 volumio   20   0    6008   2796   2232 R   2.9   0.3   5:56.18 top
15832 root      20   0       0      0      0 D   2.9   0.0   1:19.18 kworker/2:2+events_power_ef+
  570 root      20   0    1880     60      0 D   1.9   0.0   3:24.88 ifplugd
  696 volumio   20   0  241576 108892  38668 S   1.0  11.0   6:27.10 node
29377 root      20   0       0      0      0 I   1.0   0.0   0:00.29 kworker/0:1-events
    1 root      20   0   15496   8596   6744 S   0.0   0.9   0:12.00 systemd
    2 root      20   0       0      0      0 S   0.0   0.0   0:00.07 kthreadd
    3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
    4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
    8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
    9 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_rude_
   10 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_trace
   11 root      20   0       0      0      0 S   0.0   0.0   0:08.64 ksoftirqd/0
   12 root      20   0       0      0      0 R   0.0   0.0   0:11.83 rcu_sched
   13 root      rt   0       0      0      0 S   0.0   0.0   0:00.07 migration/0
   14 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/0
   15 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/1
   16 root      rt   0       0      0      0 S   0.0   0.0   0:00.07 migration/1
   17 root      20   0       0      0      0 S   0.0   0.0   0:00.61 ksoftirqd/1
   20 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/2
   21 root      rt   0       0      0      0 S   0.0   0.0   0:00.14 migration/2
   22 root      20   0       0      0      0 S   0.0   0.0   0:01.99 ksoftirqd/2
   25 root      20   0       0      0      0 S   0.0   0.0   0:00.00 cpuhp/3
   26 root      rt   0       0      0      0 S   0.0   0.0   0:00.04 migration/3
   27 root      20   0       0      0      0 S   0.0   0.0   0:01.73 ksoftirqd/3
   30 root      20   0       0      0      0 S   0.0   0.0   0:00.01 kdevtmpfs
   31 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns
   34 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kauditd
   36 root      20   0       0      0      0 S   0.0   0.0   0:00.02 khungtaskd
   37 root      20   0       0      0      0 S   0.0   0.0   0:00.00 oom_reaper
   38 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 writeback
   39 root      20   0       0      0      0 S   0.0   0.0   0:01.70 kcompactd0
   57 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kblockd
   58 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 blkcg_punt_bio
   59 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 watchdogd
   62 root       0 -20       0      0      0 I   0.0   0.0   0:01.10 kworker/2:1H-kblockd
   63 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rpciod
   64 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/u9:0
   65 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 xprtiod
   66 root      20   0       0      0      0 S   0.0   0.0   0:00.71 kswapd0
   67 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 nfsiod
   69 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_eh
   70 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 iscsi_destroy
   71 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 dwc_otg
   73 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 DWC Notificatio
   75 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-slot/0
   76 root       1 -19       0      0      0 S   0.0   0.0   0:00.00 vchiq-recy/0
   77 root       0 -20       0      0      0 S   0.0   0.0   0:00.00 vchiq-sync/0
   78 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 zswap-shrink

Well, in the time since I posted this and no help coming (I can’t find my original post in the forum listings either so maybe few if any are even seeing it), I have sort of got this whittled down to the issue. I replaced the Wifi dongle (TP-Link) with a different one (EDIMAX) and it has been connected now for two days, running as intended.

So it appears that the TP-Link TL-WN725N is causing the issue. Since this dongle is in the compatibility list, someone should recheck if that is still true for R3 since it worked fine in the R2 version I was running.

I will mark this thread as resolved I guess.
Rod

I will check with the TL-WN725N v3.0. As my PI2 is in a room where I don´t need it that much I only turned it on when needed so far and had no issue when listening for 3-4 hours before turning off again.

But I will let it run for a few days and report back then…would be too bad if this dongle has problems as well.

Which EDIMAX dongle do you use now?

Thanks for the reply Bartleby.

I am not sure which Edimax dongle I have anymore. All I know is that it shipped with the RPi2 kit, as it supposedly would work with it. However, it never worked with the RPi OS and would not set up the hotspot for Volumio either. That is why I didn’t try it initially. Go figure.

You are right. Had it running till yesterday evening. At lunchtime I could still ping the machine, now I can´t anymore…connection is lost.

Hi guys!

We changed kernel for RPI platforms, it means that some wifi dongles are no more supported
TP-LINK is one of them

We are collecting info from customers about working wifi dongles.

At the moment I can say that 1 dongle works for sure : ASUS USB-AC51

My apologies for that

Davide
Volumio tech support

Hi Davide,

we know about the kernel change. The above TP-Link is one I bought to test if it works with this one.

And it is a different topic: the dongle works out of the box, so the driver is there. It just seems to lose connection after a few hours…

Greetings,
Stefan

This is not correct, there are plenty TP-LINK devices which should still be ok. What you probably meant is that the TP-LINK Archer dongles don’t work anymore, which is the case.

So the TL-WN725N is no longer supported? I bought this model last summer so it can’t be that outdated. This kernel change in R3 sounds like a problem for older systems. Will there be an effort to update the drivers for these abandoned wifi dongles?

Rod