What's new

restarting dnsmasq triggers a flood of tokio-runtime warnings

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vaboro

Regular Contributor
Is there a known way to fix this?
Nov 12 16:08:04 GT-AC2900-1 custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)
Nov 12 16:08:04 GT-AC2900-1 kernel: do_ni_syscall: 934 callbacks suppressed
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 1 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000d
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000017
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 00000000009d6100 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000017
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 1 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000d
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000017
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 00000000009d6100 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000017
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 0 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000d
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 0000000000b69840 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 0 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000e
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 0000000000b6d030 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 0 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000e
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 0000000000b6c840 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 0 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000f
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 0000000000b6d030 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000010
Nov 12 16:08:04 GT-AC2900-1 kernel: tokio-runtime-w[25302]: syscall 397
Nov 12 16:08:04 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 16:08:04 GT-AC2900-1 kernel: CPU: 0 PID: 25302 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 16:08:04 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 16:08:04 GT-AC2900-1 kernel: task: ffffffc02c204080 ti: ffffffc0214e4000 task.ti: ffffffc0214e4000
Nov 12 16:08:04 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 16:08:04 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 16:08:04 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 16:08:04 GT-AC2900-1 kernel: sp : 00000000f6c4dfc8
Nov 12 16:08:04 GT-AC2900-1 kernel: x12: 00000000f6c4e108
Nov 12 16:08:04 GT-AC2900-1 kernel: x11: 00000000f6c4e108 x10: 000000000000000d
Nov 12 16:08:04 GT-AC2900-1 kernel: x9 : 00000000f6c4e108 x8 : 00000000f6c4e320
Nov 12 16:08:04 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000016
Nov 12 16:08:04 GT-AC2900-1 kernel: x5 : 0000000000b6abc0 x4 : 00000000f6c4e208
Nov 12 16:08:04 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 16:08:04 GT-AC2900-1 kernel: x1 : 00000000f6c4e108 x0 : 0000000000000016
 
@ColinTaylor thank you for your prompt reply.
My thinking was that tokio runtime might be part of dnsmasq.
But I will look into the other software I have installed as well.
 
Last edited:
so it's something else
Do you know what statsd is? It's on line 2 of /jffs/scripts/dnsmasq:
Bash:
#!/bin/sh
(sleep 10 && /jffs/statsd) &
/usr/sbin/dnsmasq $@
wait
Снимок экрана 2023-11-12 в 19.51.54.png

Warnings appear regularly. Last time moments ago. I omitted some of the repeating lines.
Nov 12 19:37:37 GT-AC2900-1 rc_service: service 62817:notify_rc restart_dnsmasq
Nov 12 19:37:37 GT-AC2900-1 custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
Nov 12 19:37:37 GT-AC2900-1 dnsmasq[24572]: exiting on receipt of SIGTERM
Nov 12 19:37:37 GT-AC2900-1 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Nov 12 19:37:37 GT-AC2900-1 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: started, version 2.89 cachesize 1500
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC no-ID loop-detect no-inotify no-dumpfile
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: warning: interface br1 does not currently exist
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: warning: interface pptp* does not currently exist
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: asynchronous logging enabled, queue limit is 5 messages
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.102.2 -- 192.168.102.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.101.2 -- 192.168.101.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.0.30 -- 192.168.0.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: read /etc/hosts - 24 names
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.251.33#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.255.30#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.251.33#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.255.30#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:48 GT-AC2900-1 custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)
Nov 12 19:37:48 GT-AC2900-1 kernel: do_ni_syscall: 985 callbacks suppressed
Nov 12 19:37:48 GT-AC2900-1 kernel: tokio-runtime-w[63949]: syscall 397
Nov 12 19:37:48 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 19:37:48 GT-AC2900-1 kernel: CPU: 0 PID: 63949 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 19:37:48 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 19:37:48 GT-AC2900-1 kernel: task: ffffffc02152cb40 ti: ffffffc020c40000 task.ti: ffffffc020c40000
Nov 12 19:37:48 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 19:37:48 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 19:37:48 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 19:37:48 GT-AC2900-1 kernel: sp : 00000000f6e31fc8
Nov 12 19:37:48 GT-AC2900-1 kernel: x12: 00000000f6e32108
Nov 12 19:37:48 GT-AC2900-1 kernel: x11: 00000000f6e32108 x10: 000000000000000d
Nov 12 19:37:48 GT-AC2900-1 kernel: x9 : 00000000f6e32108 x8 : 00000000f6e32320
Nov 12 19:37:48 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000016
Nov 12 19:37:48 GT-AC2900-1 kernel: x5 : 00000000008b21b0 x4 : 00000000f6e32208
Nov 12 19:37:48 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 19:37:48 GT-AC2900-1 kernel: x1 : 00000000f6e32108 x0 : 0000000000000016
...
...
Nov 12 19:37:49 GT-AC2900-1 kernel: tokio-runtime-w[63949]: syscall 397
Nov 12 19:37:49 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 19:37:49 GT-AC2900-1 kernel: CPU: 0 PID: 63949 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 19:37:49 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 19:37:49 GT-AC2900-1 kernel: task: ffffffc02152cb40 ti: ffffffc020c40000 task.ti: ffffffc020c40000
Nov 12 19:37:49 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 19:37:49 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 19:37:49 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 19:37:49 GT-AC2900-1 kernel: sp : 00000000f6e31fc8
Nov 12 19:37:49 GT-AC2900-1 kernel: x12: 00000000f6e32108
Nov 12 19:37:49 GT-AC2900-1 kernel: x11: 00000000f6e32108 x10: 000000000000000e
Nov 12 19:37:49 GT-AC2900-1 kernel: x9 : 00000000f6e32108 x8 : 00000000f6e32320
Nov 12 19:37:49 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000016
Nov 12 19:37:49 GT-AC2900-1 kernel: x5 : 0000000000a42800 x4 : 00000000f6e32208
Nov 12 19:37:49 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 19:37:49 GT-AC2900-1 kernel: x1 : 00000000f6e32108 x0 : 0000000000000016
I couldn't find PID 63949 in the process list. Maybe it couldn't start.
Do you know if AdGuardHome may be the reason for the warnings?
 
Last edited:
What third party scripts have you installed? So far I've identified statsd and tokio-rs/tokio-tls from their github repositories. Your problem is self-inflicted and I doubt anyone here can help with that, other than advise a full factory reset and not to install scripts because they'd be "cool".
 
Check whether the asterisk-app-statsd package is installed
Yes, I have asterisk. But it's installed on another identical box that hasn't showed any tokio-runtime warnings ever yet. But the box with asterisk it's running dnsmasq though. It's in AP mode.
asterisk-app-statsd package is NOT installed.
Снимок экрана 2023-11-12 в 20.48.42.png
 
Last edited:
What third party scripts have you installed? So far I've identified statsd and tokio-rs/tokio-tls from their github repositories.
On the box that shows tokio-runtime warning I have syslog, nginx, transmission and adguardhome:
ladmin@GT-AC2900-1:/tmp/mnt/Storage/entware/etc/init.d# ls -l
-rwxr-xr-x 1 ladmin root 250 Jun 12 04:09 S01syslog-ng
-rwxr-xr-x 1 ladmin root 518 Sep 1 22:07 S80nginx
-rwxr-xr-x 1 ladmin root 277 Sep 1 22:07 S88transmission
-rwxr-xr-x 1 ladmin root 625 Jun 11 01:48 S99AdGuardHome
-rw-r--r-- 1 ladmin root 2822 Dec 6 2021 rc.func
-rw-r--r-- 1 ladmin root 3597 Jul 24 2022 rc.func.AdGuardHome
-rw-r--r-- 1 ladmin root 3889 Jun 12 04:08 rc.func.syslog-ng
-rwxr-xr-x 1 ladmin root 966 Dec 6 2021 rc.unslung
The following entware packages are installed on this machine:
ladmin@GT-AC2900-1:/tmp/home/root# opkg list-installed
bind-dig - 9.18.16-1
bind-libs - 9.18.16-1
ca-bundle - 20230311-1
column - 2.39-2
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.9.0-1a
glib2 - 2.74.0-5
grep - 3.8-2
htop - 3.2.2-1
libapr - 1.7.0-4
libaprutil - 1.6.1-7
libatomic - 8.4.0-11
libattr - 2.5.1-3
libblkid - 2.39-2
libbz2 - 1.0.8-1a
libc - 2.27-11
libcurl - 8.2.1-1
libdbi - 0.9.0-5
libdeflate - 1.18-1
libevent2 - 2.1.12-1
libevent2-core - 2.1.12-1
libevent2-pthreads - 2.1.12-1
libexpat - 2.5.0-1
libffi - 3.4.2-2
libgcc - 8.4.0-11
libgdbm - 1.21-2
libiconv-full - 1.17-1
libidn2 - 2.3.4-1
libintl-full - 0.21.1-2
libjson-c - 0.16-3
liblzma - 5.4.4-1
libmbedtls - 2.28.4-1
libminiupnpc - 2.2.3-1
libmount - 2.39-2
libnatpmp - 20150609-3
libncurses - 6.4-2
libncursesw - 6.4-2
libnghttp2 - 1.51.0-1
libopenssl - 3.0.10-1
libpcre - 8.45-5
libpcre2 - 10.42-1
libpopt - 1.19-1
libpsl - 0.21.2-1
libpthread - 2.27-11
libpython3 - 3.11.4-1
libqrencode - 4.1.1-1
libreadline - 8.2-1
librt - 2.27-11
libslang2 - 2.3.3-1
libsmartcols - 2.39-2
libsqlite3 - 3410200-1
libssh2 - 1.10.0-1
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libtirpc - 1.3.3-1
libunistring - 1.1-1
libutp - 2023-02-14-c95738b1-1
libuuid - 2.39-2
libuv - 1.45.0-1
libxml2 - 2.11.4-1
locales - 2.27-9
logrotate - 3.17.0-2
mc - 4.8.27-3
nginx - 1.25.1-2
nginx-ssl - 1.25.1-2
openssh-sftp-server - 9.4p1-1
opkg - 2022-02-24-d038e5b6-2
python3 - 3.11.4-1
python3-asyncio - 3.11.4-1
python3-base - 3.11.4-1
python3-bcrypt - 3.2.2-1
python3-cffi - 1.15.1-1
python3-cgi - 3.11.4-1
python3-cgitb - 3.11.4-1
python3-codecs - 3.11.4-1
python3-ctypes - 3.11.4-1
python3-dbm - 3.11.4-1
python3-decimal - 3.11.4-1
python3-distutils - 3.11.4-1
python3-email - 3.11.4-1
python3-light - 3.11.4-1
python3-logging - 3.11.4-1
python3-lzma - 3.11.4-1
python3-multiprocessing - 3.11.4-1
python3-ncurses - 3.11.4-1
python3-openssl - 3.11.4-1
python3-pip - 23.2.1-1
python3-pkg-resources - 68.0.0-1
python3-ply - 3.11-2
python3-pycparser - 2.21-2
python3-pydoc - 3.11.4-1
python3-readline - 3.11.4-1
python3-setuptools - 68.0.0-1
python3-sqlite3 - 3.11.4-1
python3-unittest - 3.11.4-1
python3-urllib - 3.11.4-1
python3-uuid - 3.11.4-1
python3-xml - 3.11.4-1
qrencode - 4.1.1-1
rclone - 1.63.1-1
screen - 4.8.0-2
syslog-ng - 4.2.0-1
terminfo - 6.4-2
transmission-daemon - 4.0.3-4
transmission-web - 4.0.3-4
zlib - 1.2.13-1
zoneinfo-asia - 2023c-2
zoneinfo-core - 2023c-2
zoneinfo-europe - 2023c-2
Most of them were installed as dependencies of other packages or scripts.
What PIDs have you identified as tokio-rs/tokio-tls?
 
PIDs change.
I supposed you had a glimpse on one of my htop screenshots and identified some PIDs corresponding to statsd and tokio-rs/tokio-tls.
As far as statsd is concerned I see its PID clearly myself. Yet, I can't discern the PIDs pertaining to tokio runtime.
 
I see. What you're looking for won't exist after the runtime has crashed.
 
I see. What you're looking for won't exist after the runtime has crashed.
This is what I presumed as well.
Interestingly, the tokio-runtime warnings are trigged by dnsmasq restart. And the warnings servived both firmware upgrade and factory default reset with settings reinitalization. I recovered all the settings from nsru script backup after reset though.
 
I recovered all the settings from nsru script backup after reset though.
That script is depreciated. So unless you're running an ancient version of the firmware you'll only get a partial restoration of your settings.

This unusual script is puzzling. I still suspect malware.
Yes, putting an executable directly into /jffs is not normal for Merlin addons, or even Entware.
 
Do you know what statsd is? It's on line 2 of /jffs/scripts/dnsmasq:
Bash:
#!/bin/sh
(sleep 10 && /jffs/statsd) &
/usr/sbin/dnsmasq $@
wait

Warnings appear regularly. Last time moments ago. I omitted some of the repeating lines.
Nov 12 19:37:37 GT-AC2900-1 rc_service: service 62817:notify_rc restart_dnsmasq
Nov 12 19:37:37 GT-AC2900-1 custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
Nov 12 19:37:37 GT-AC2900-1 dnsmasq[24572]: exiting on receipt of SIGTERM
Nov 12 19:37:37 GT-AC2900-1 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Nov 12 19:37:37 GT-AC2900-1 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: started, version 2.89 cachesize 1500
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC no-ID loop-detect no-inotify no-dumpfile
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: warning: interface br1 does not currently exist
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: warning: interface pptp* does not currently exist
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: asynchronous logging enabled, queue limit is 5 messages
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.102.2 -- 192.168.102.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.101.2 -- 192.168.101.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq-dhcp[63163]: DHCP, IP range 192.168.0.30 -- 192.168.0.254, lease time 1d
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: read /etc/hosts - 24 names
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.251.33#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.255.30#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.251.33#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using nameserver 77.37.255.30#53
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 10.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for 168.192.in-addr.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for _dns.resolver.arpa
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for use-application-dns.net
Nov 12 19:37:38 GT-AC2900-1 dnsmasq[63163]: using only locally-known addresses for lan
Nov 12 19:37:48 GT-AC2900-1 custom_script: Running /jffs/scripts/service-event-end (args: restart dnsmasq)
Nov 12 19:37:48 GT-AC2900-1 kernel: do_ni_syscall: 985 callbacks suppressed
Nov 12 19:37:48 GT-AC2900-1 kernel: tokio-runtime-w[63949]: syscall 397
Nov 12 19:37:48 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 19:37:48 GT-AC2900-1 kernel: CPU: 0 PID: 63949 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 19:37:48 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 19:37:48 GT-AC2900-1 kernel: task: ffffffc02152cb40 ti: ffffffc020c40000 task.ti: ffffffc020c40000
Nov 12 19:37:48 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 19:37:48 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 19:37:48 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 19:37:48 GT-AC2900-1 kernel: sp : 00000000f6e31fc8
Nov 12 19:37:48 GT-AC2900-1 kernel: x12: 00000000f6e32108
Nov 12 19:37:48 GT-AC2900-1 kernel: x11: 00000000f6e32108 x10: 000000000000000d
Nov 12 19:37:48 GT-AC2900-1 kernel: x9 : 00000000f6e32108 x8 : 00000000f6e32320
Nov 12 19:37:48 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000016
Nov 12 19:37:48 GT-AC2900-1 kernel: x5 : 00000000008b21b0 x4 : 00000000f6e32208
Nov 12 19:37:48 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 19:37:48 GT-AC2900-1 kernel: x1 : 00000000f6e32108 x0 : 0000000000000016
...
...
Nov 12 19:37:49 GT-AC2900-1 kernel: tokio-runtime-w[63949]: syscall 397
Nov 12 19:37:49 GT-AC2900-1 kernel: Code: e3a02c11 e30037ff e1a0100b ef000000 (e3500000)
Nov 12 19:37:49 GT-AC2900-1 kernel: CPU: 0 PID: 63949 Comm: tokio-runtime-w Tainted: P O 4.1.27 #2
Nov 12 19:37:49 GT-AC2900-1 kernel: Hardware name: Broadcom-v8A (DT)
Nov 12 19:37:49 GT-AC2900-1 kernel: task: ffffffc02152cb40 ti: ffffffc020c40000 task.ti: ffffffc020c40000
Nov 12 19:37:49 GT-AC2900-1 kernel: PC is at 0x17640
Nov 12 19:37:49 GT-AC2900-1 kernel: LR is at 0x0
Nov 12 19:37:49 GT-AC2900-1 kernel: pc : [<0000000000017640>] lr : [<0000000000000000>] pstate: 00000010
Nov 12 19:37:49 GT-AC2900-1 kernel: sp : 00000000f6e31fc8
Nov 12 19:37:49 GT-AC2900-1 kernel: x12: 00000000f6e32108
Nov 12 19:37:49 GT-AC2900-1 kernel: x11: 00000000f6e32108 x10: 000000000000000e
Nov 12 19:37:49 GT-AC2900-1 kernel: x9 : 00000000f6e32108 x8 : 00000000f6e32320
Nov 12 19:37:49 GT-AC2900-1 kernel: x7 : 000000000000018d x6 : 0000000000000016
Nov 12 19:37:49 GT-AC2900-1 kernel: x5 : 0000000000a42800 x4 : 00000000f6e32208
Nov 12 19:37:49 GT-AC2900-1 kernel: x3 : 00000000000007ff x2 : 0000000000001100
Nov 12 19:37:49 GT-AC2900-1 kernel: x1 : 00000000f6e32108 x0 : 0000000000000016
I couldn't find PID 63949 in the process list. Maybe it couldn't start.
Do you know if AdGuardHome may be the reason for the warnings?
From a quick google:

What is statsd ?

Original article explaining statsd as published by Etsy.

https://github.com/statsd/statsd

It would 'appear' that you are running a rust version of statsd (hence the tokio runtime) [Example below]

i.e. https://github.com/markstory/rust-statsd

'/jffs/scripts/dnsmasq' is not a standard script created by Merlin or any of the addons as far as I know.

Something installed on your router has created the '/jffs/scripts/dnsmasq' script which is run instead of the '/usr/sbin/dnsmasq'.
This forces the line '(sleep 10 && /jffs/statsd) &' to be run everytime 'dnsmasq' is run.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top