You are not logged in.

#1 2021-08-20 00:48:03

hallofangels
Member
Registered: 2021-08-20
Posts: 1

Connection drops out after a few minutes

My connection drops out after a few minutes, sometimes it comes back, sometimes it doesn't. This notably happens when I do anything stressful to it, like downloading games on steam or watching 4k video on youtube.

dmesg: http://ix.io/3wv1

sudo journalctl -fb after it happened a few times:


-- Journal begins at Thu 2021-08-19 02:53:30 NZST. --
Aug 20 12:40:04 abyss kernel: audit: type=1104 audit(1629420004.305:444): pid=89245 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Aug 20 12:41:03 abyss rtkit-daemon[641]: Supervising 10 threads of 5 processes of 1 users.
Aug 20 12:41:03 abyss rtkit-daemon[641]: Supervising 10 threads of 5 processes of 1 users.
Aug 20 12:41:03 abyss rtkit-daemon[641]: Supervising 10 threads of 5 processes of 1 users.
Aug 20 12:41:03 abyss rtkit-daemon[641]: Supervising 10 threads of 5 processes of 1 users.
Aug 20 12:41:03 abyss rtkit-daemon[641]: Successfully made thread 89294 of process 2001 owned by '1000' RT at priority 10.
Aug 20 12:41:03 abyss rtkit-daemon[641]: Supervising 11 threads of 6 processes of 1 users.
Aug 20 12:41:10 abyss wpa_supplicant[390]: wlp0s20f0u8: WPA: Group rekeying completed with f0:b0:14:0c:23:13 [GTK=CCMP]
Aug 20 12:41:50 abyss rtkit-daemon[641]: Supervising 11 threads of 6 processes of 1 users.
Aug 20 12:41:50 abyss rtkit-daemon[641]: Supervising 11 threads of 6 processes of 1 users.

it also happens when i use usb tethering from my phone, so it's not a problem with my dongle i don't think, but just in case i'm using a TP-Link TL-WN722N

Offline

#2 2021-08-20 06:05:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,360

Re: Connection drops out after a few minutes

The dmesg only shows wlp0s20f0u8 disconnects, typical reason for the symptoms are concurrent network managing services.

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

There's also

[ 2395.483100] usb 1-9: USB disconnect, device number 5
[ 2395.777106] usb 1-9: new high-speed USB device number 11 using xhci_hcd
[ 2396.107209] usb 1-9: device descriptor read/64, error -71
[ 2396.613873] usb 1-9: device descriptor read/64, error -71
[ 2397.680481] usb usb1-port9: Cannot enable. Maybe the USB cable is bad?
[ 2397.680508] usb usb1-port9: attempt power cycle
[ 2398.290453] usb 1-9: new high-speed USB device number 13 using xhci_hcd
[ 2398.307755] usb 1-9: New USB device found, idVendor=194f, idProduct=0303, bcdDevice= 1.12
[ 2398.307757] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2398.307758] usb 1-9: Product: AudioBox USB 96
[ 2398.307759] usb 1-9: Manufacturer: PreSonus
[ 2398.307760] usb 1-9: SerialNumber: 000000000000
[ 2398.313319] usb 1-8: USB disconnect, device number 3
[ 2398.333897] wlp0s20f0u8: deauthenticating from f0:b0:14:0c:23:13 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2398.465503] ath: phy0: Failed to wakeup in 500us
[ 2398.475629] ath: phy0: Failed to wakeup in 500us
[ 2398.486467] ath: phy0: Failed to wakeup in 500us
[ 2398.496657] ath: phy0: Failed to wakeup in 500us
[ 2398.524747] audit: type=1130 audit(1629460285.744:74): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2398.540738] usb 1-8: ath9k_htc: USB layer deinitialized
[ 2398.622192] audit: type=1130 audit(1629460285.841:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2398.798391] usb 1-9: USB disconnect, device number 13
[ 2398.798480] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 2398.798482] xhci_hcd 0000:00:14.0: Looking for event-dma 00000001055d8ab0 trb-start 00000001055d8ac0 trb-end 00000001055d8ac0 seg-start 00000001055d8000 seg-end 00000001055d8ff0
[ 2399.933888] usb usb1-port9: Cannot enable. Maybe the USB cable is bad?

which could be due to https://wiki.archlinux.org/title/Power_ … utosuspend
nb. that userspace power managers like TLP can and typically will override that at runtime, so you'd have to configure the behavior there or disable them for a test.

In doubt post the system journal ("sudo journalctl -b")

Offline

Board footer

Powered by FluxBB