kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.82k stars 3.14k forks source link

x86 0519版本 WAN口断线后有概率导致network进程崩溃无法连网 #717

Open wuyifan66 opened 2 years ago

wuyifan66 commented 2 years ago

固件版本 | OpenWrt 05.19.2022 by Kiddin' / LuCI Master git-0582823

WAN口断开后(包括接口断开/ PPPOE断线 / PPPOE对端踢下线),有一定概率出现该问题。 日志中出现的: 1.jpg

LUCI界面中无法正常加载接口信息: 2.jpg

service 命令查看服务,发现network已经停止运行 3.jpg

wuyifan66 commented 2 years ago

完整日志如下:(从网线断开后开始起,IP地址、MAC地址信息已做虚假处理) Mon May 23 03:51:48 2022 daemon.info pppd[416]: No response to 5 echo-requests Mon May 23 03:51:48 2022 daemon.notice pppd[416]: Serial link appears to be disconnected. Mon May 23 03:51:48 2022 daemon.info pppd[416]: Connect time 0.5 minutes. Mon May 23 03:51:48 2022 daemon.info pppd[416]: Sent 92482 bytes, received 62646 bytes. Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for 223.10.11.56 on pppoe-wan. Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface pppoe-wan.IPv4 with address 223.10.11.56. Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Interface pppoe-wan.IPv4 no longer relevant for mDNS. Mon May 23 03:51:48 2022 daemon.err miniupnpd[1657]: ioctl(s, SIOCGIFADDR, ...): Address not available Mon May 23 03:51:48 2022 daemon.err miniupnpd[1657]: Failed to get IP for interface pppoe-wan Mon May 23 03:51:48 2022 daemon.warn miniupnpd[1657]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping Mon May 23 03:51:48 2022 daemon.notice netifd: Network device 'pppoe-wan' link is down Mon May 23 03:51:48 2022 daemon.notice netifd: Network alias 'pppoe-wan' link is down Mon May 23 03:51:48 2022 daemon.notice netifd: Interface 'wan_6' has link connectivity loss Mon May 23 03:51:48 2022 daemon.err odhcp6c[1558]: Failed to send RELEASE message to ff02::1:2 (Network unreachable) Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Interface pppoe-wan.IPv6 no longer relevant for mDNS. Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface pppoe-wan.IPv6 with address 240e:388:2f3:755:2cd1:9176:145c:d7b6. Mon May 23 03:51:48 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for 240e:388:2f3:755:2cd1:9176:145c:d7b6 on pppoe-wan. Mon May 23 03:51:48 2022 daemon.notice netifd: Interface 'wan' has lost the connection Mon May 23 03:51:48 2022 daemon.notice netifd: wan_6 (1558): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan_6" } (Permission denied) Mon May 23 03:51:49 2022 user.notice ddns-scripts[1999]: ali: PID '1999' terminated by 'SIGTERM' at 2022-05-23 03:51 Mon May 23 03:51:49 2022 daemon.err odhcp6c[1558]: Failed to send SOLICIT message to ff02::1:2 (Network unreachable) Mon May 23 03:51:49 2022 daemon.notice netifd: Interface 'wan_6' is now down Mon May 23 03:51:49 2022 daemon.notice netifd: Interface 'wan_6' is disabled Mon May 23 03:51:49 2022 daemon.info procd: Instance network::instance1 s in a crash loop 6 crashes, 62 seconds since last crash Mon May 23 03:51:49 2022 kern.info kernel: [ 588.127818] netifd[30360]: segfault at 7fe524a3b0d8 ip 000000000040d6e7 sp 00007ffc764db510 error 4 in netifd[404000+1d000] Mon May 23 03:51:49 2022 kern.info kernel: [ 588.127962] Code: 01 75 31 48 8b 55 58 be ed 18 42 00 bf 02 00 00 00 31 c0 e8 b2 91 ff ff 48 89 ef e8 86 df ff ff c7 85 98 00 00 00 00 00 00 00 <48> 8b 7d 68 5d e9 11 82 ff ff 5d c3 41 57 41 56 41 55 41 54 49 89 Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Interface ztj58cdsay.IPv6 no longer relevant for mDNS. Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface ztj58cdsay.IPv6 with address fe80::c45f:a3ff:faa7:cc0c. Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Interface ztj58cdsay.IPv4 no longer relevant for mDNS. Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface ztj58cdsay.IPv4 with address 172.168.255.2. Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for fe80::c45f:a3ff:faa7:cc0c on ztj58cdsay. Mon May 23 03:51:50 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for 172.168.255.2 on ztj58cdsay. Mon May 23 03:51:51 2022 daemon.notice pppd[416]: Connection terminated. Mon May 23 03:51:51 2022 daemon.info pppd[416]: Connect time 0.5 minutes. Mon May 23 03:51:51 2022 daemon.info pppd[416]: Sent 92482 bytes, received 62646 bytes. Mon May 23 03:51:52 2022 daemon.info pppd[416]: Exit. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Interface ztrfsfsdy3.IPv6 no longer relevant for mDNS. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface ztrfsfsdy3.IPv6 with address fe80::f867:4bff:fea2:243e. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Interface ztrfsfsdy3.IPv4 no longer relevant for mDNS. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Leaving mDNS multicast group on interface ztrfsfsdy3.IPv4 with address 172.23.99.148. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for fe80::f867:4bff:fea2:243e on ztrfsfsdy3. Mon May 23 03:51:53 2022 daemon.info avahi-daemon[2503]: Withdrawing address record for 172.23.99.148 on ztrfsfsdy3. Mon May 23 03:51:54 2022 daemon.err zerotier-one[3977]: sendto: Network unreachable Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: Joining mDNS multicast group on interface ztj58cdsay.IPv6 with address fe80::c45f:a3ff:faa7:cc0c. Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: New relevant interface ztj58cdsay.IPv6 for mDNS. Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: Registering new address record for fe80::c45f:a3ff:faa7:cc0c on ztj58cdsay.*. Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: Joining mDNS multicast group on interface ztrfsfsdy3.IPv6 with address fe80::f867:4bff:fea2:243e. Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: New relevant interface ztrfsfsdy3.IPv6 for mDNS. Mon May 23 03:51:56 2022 daemon.info avahi-daemon[2503]: Registering new address record for fe80::f867:4bff:fea2:243e on ztrfsfsdy3.*. Mon May 23 03:56:59 2022 daemon.err zerotier-one[3977]: sendto: Network unreachable Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: smartctl: not found Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: blkid: not found Mon May 23 04:01:15 2022 daemon.info uwsgi-luci: Mon May 23 04:01:19 2022 daemon.info uwsgi-luci: Respawned uWSGI worker 1 (new pid: 12809) Mon May 23 04:01:25 2022 daemon.info uwsgi-luci: date: invalid date '+%s' Mon May 23 04:02:04 2022 daemon.err zerotier-one[3977]: sendto: Network unreachable Mon May 23 04:02:09 2022 daemon.info uwsgi-luci: uWSGI worker 2 cheaped. Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: smartctl: not found Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: blkid: not found Mon May 23 04:02:11 2022 daemon.info uwsgi-luci: Mon May 23 04:02:14 2022 daemon.info uwsgi-luci: Respawned uWSGI worker 2 (new pid: 14841) Mon May 23 04:02:21 2022 daemon.info uwsgi-luci: date: invalid date '+%s' Mon May 23 04:02:21 2022 daemon.info uwsgi-luci: Mon May 23 04:02:21 2022 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /luci/admin/services/gpsysupgrade/sysversion_check?token=5e3e04b7dsfsdfsdfd26aa2sdffdsfd58c&model=&1653249729882 (10.68.38.119) Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: smartctl: not found Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: sh: Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: blkid: not found Mon May 23 04:02:22 2022 daemon.info uwsgi-luci: Mon May 23 04:02:32 2022 daemon.info uwsgi-luci: date: invalid date '+%s'

wuyifan66 commented 2 years ago

已尝试重装环境,但此问题仍然有发生。

环境为esxi下,安装的插件有zerotier、ddns、kms、wireguard

不知接下来该如何排查问题