alan6854321
Senior Member
Hi there,
I have a issue where dnsmasq crashes when my WAN connection goes down (If think this is somehow connected to YazDHCP), but it's not really a problem as the watchdog restarts it after a few seconds.
However, I've had a few instances recently when the watchdog has failed to restart the process.
This means everything that is working, stays working but no new clients can connect and get an IP address allocated.
Obviously, a reboot resolves this and also restarting dnsmasq from scMerlin works as well.
Using 'ps' there's only one dnsmasq process running when it's in this state, there's usually two.
Also there are still syslog entries from "dnsmasq-dhcp" which I assume is the remaining process.
Any ideas what to look at or do?
I have a issue where dnsmasq crashes when my WAN connection goes down (If think this is somehow connected to YazDHCP), but it's not really a problem as the watchdog restarts it after a few seconds.
However, I've had a few instances recently when the watchdog has failed to restart the process.
This means everything that is working, stays working but no new clients can connect and get an IP address allocated.
Obviously, a reboot resolves this and also restarting dnsmasq from scMerlin works as well.
Using 'ps' there's only one dnsmasq process running when it's in this state, there's usually two.
Also there are still syslog entries from "dnsmasq-dhcp" which I assume is the remaining process.
Any ideas what to look at or do?
Code:
#
# Crash following WAN disconnected
#'
<30>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C lldpd[1736]: removal request for address of 99.99.99.99%13, but no knowledge of it
<13>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C custom_script: Running /jffs/scripts/wan-event (args: 0 disconnected)
<30>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C dnsmasq[3019]: read /etc/hosts - 24 names
<30>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C dnsmasq[3019]: read /jffs/addons/YazDHCP.d/.hostnames - 32 names
<14>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: potentially unexpected fatal signal 11.
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: CPU: 0 PID: 3019 Comm: dnsmasq Tainted: P O 4.1.52 #2
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: Hardware name: Broadcom-v8A (DT)
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: task: ffffffc010971580 ti: ffffffc009480000 task.ti: ffffffc009480000
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: PC is at 0xf732d654
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: LR is at 0x209ac
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: pc : [<00000000f732d654>] lr : [<00000000000209ac>] pstate: 20010010
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: sp : 00000000ffddaff8
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x12: 0000000000000072
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x11: 0000000000005528 x10: 000000000009a70c
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x9 : 0000000000005528 x8 : 00000000ffffffff
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x7 : 000000000009a70c x6 : 000000000036d318
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x5 : 00000000f73da5c0 x4 : 00000000ffddaea0
<12>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C kernel: x3 : 0000000000000000 x2 : 0000000000000120
<13>Feb 11 12:31:44 RT-AX86S-F750-225CCF0-C custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
#
# Usually followed by a restart (This is the bit that get missadd)
#
<13>Feb 11 12:32:13 RT-AX86S-F750-225CCF0-C rc_service: watchdog 1610:notify_rc start_dnsmasq
<13>Feb 11 12:32:13 RT-AX86S-F750-225CCF0-C custom_script: Running /jffs/scripts/service-event (args: start dnsmasq)
<13>Feb 11 12:32:13 RT-AX86S-F750-225CCF0-C custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
<13>Feb 11 12:32:13 RT-AX86S-F750-225CCF0-C custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: started, version 2.89 cachesize 1500
<31>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: 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
<31>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: warning: interface br2 does not currently exist
<31>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: warning: interface br1 does not currently exist
<31>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: warning: interface pptp* does not currently exist
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: asynchronous logging enabled, queue limit is 5 messages
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq-dhcp[3636]: DHCP, IP range 192.168.102.2 -- 192.168.102.254, lease time 1d
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq-dhcp[3636]: DHCP, IP range 192.168.101.2 -- 192.168.101.254, lease time 1d
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq-dhcp[3636]: DHCP, IP range 192.168.1.100 -- 192.168.1.254, lease time 1d
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using only locally-known addresses for local
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: read /etc/hosts - 24 names
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: read /jffs/addons/YazDHCP.d/.hostnames - 32 names
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq-dhcp[3636]: read /jffs/addons/YazDHCP.d/.staticlist
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq-dhcp[3636]: read /jffs/addons/YazDHCP.d/.optionslist
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using nameserver 208.67.222.222#53
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using nameserver 208.67.220.220#53
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using only locally-known addresses for local
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using nameserver 208.67.222.222#53
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using nameserver 208.67.220.220#53
<30>Feb 11 12:32:14 RT-AX86S-F750-225CCF0-C dnsmasq[3636]: using only locally-known addresses for local
Last edited: