coolsnowwolf / lede

Lean's LEDE source
Other
29.83k stars 19.52k forks source link

R2S 不能软重启 #9861

Closed supppig closed 2 years ago

supppig commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

之前一直可以的,最近更新到 commit 3211a973de1351e8387eced77526190947e39598 之后重新编译,发现软重启后,路由就挂了,WAN口黄灯常亮,LAN口没有灯。必须拔插电源才能重新工作。

(2) 路由器型号和固件版本

友善 R2S, commit 3211a973de1351e8387eced77526190947e39598

(3) 详细日志

使用logread -f,然后在web页面使用软重启,抓取到log

root@OpenWrt:/tmp/log# logread -f Sat Jul 30 08:46:37 2022 authpriv.info dropbear[26265]: Child connection from 192.168.8.8:9034 Sat Jul 30 08:46:37 2022 authpriv.notice dropbear[26265]: Password auth succeeded for 'root' from 192.168.8.8:9034 Sat Jul 30 08:47:35 2022 daemon.info procd: - shutdown - Sat Jul 30 08:47:35 2022 daemon.notice ksmbd: Stopping Ksmbd userspace service. Sat Jul 30 08:47:35 2022 daemon.info : 00[DMN] SIGINT received, shutting down Sat Jul 30 08:47:35 2022 daemon.notice procd: /etc/rc.d/K10serverchan: serverchan exit ... Sat Jul 30 08:47:35 2022 authpriv.info ipsec_starter[3090]: charon stopped after 200 ms Sat Jul 30 08:47:35 2022 authpriv.info ipsec_starter[3090]: ipsec starter stopped Sat Jul 30 08:47:35 2022 user.notice softethervpn: Stopping softether vpnserver service. Sat Jul 30 08:47:35 2022 user.notice ddns-scripts[4812]: f3322: PID '4812' terminated by 'SIGTERM' at 2022-07-30 08:47 Sat Jul 30 08:47:35 2022 user.notice ddns-scripts[4813]: tx_ipv4: PID '4813' terminated by 'SIGTERM' at 2022-07-30 08:47 Sat Jul 30 08:47:36 2022 daemon.notice netifd: Network device 'tap_sevpn' link is down Sat Jul 30 08:47:36 2022 kern.info kernel: [ 4701.564114] br-lan: port 2(tap_sevpn) entered disabled state Sat Jul 30 08:47:36 2022 kern.info kernel: [ 4701.567323] device tap_sevpn left promiscuous mode Sat Jul 30 08:47:36 2022 kern.info kernel: [ 4701.567809] br-lan: port 2(tap_sevpn) entered disabled state Sat Jul 30 08:47:36 2022 daemon.notice softethervpn-server[10896]: Writing vpn_server.config (AutoSaveConfigSpan set to < 21000 > seconds) Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: Section @defaults[0] requires unavailable target extension FLOWOFFLOAD, disabling Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: Section @zone[1] (wan) cannot resolve device of network 'wan6' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: Section @defaults[0] requires unavailable target extension FLOWOFFLOAD, disabling Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv4 filter table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv4 nat table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv4 mangle table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv4 raw table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv4 filter table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-DHCP-Renew' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-Ping' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-IGMP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-IPSec-ESP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-ISAKMP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'supppig-apps' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'ssrs' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'kms' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Redirect '外网FTP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Redirect '房间PC远程桌面' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Forward 'lan' -> 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv4 nat table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Redirect '外网FTP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Redirect '房间PC远程桌面' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: wan will enable FULLCONE-NAT Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv4 mangle table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv4 raw table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Redirect '外网FTP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: - Auto-selected conntrack helper 'ftp' based on proto/port Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: - Using automatic conntrack helper attachment Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv6 filter table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv6 nat table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv6 mangle table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Clearing IPv6 raw table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv6 filter table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-DHCPv6' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-MLD' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-ICMPv6-Input' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-ICMPv6-Forward' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-IPSec-ESP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'Allow-ISAKMP' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'supppig-apps' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'ssrs' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Rule 'kms' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Forward 'lan' -> 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv6 nat table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_lan_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_lan_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_wan_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_wan_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_rule' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv6 mangle table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Populating IPv6 raw table Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'lan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: - Using automatic conntrack helper attachment Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Zone 'wan' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Set tcp_ecn to off Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Set tcp_syncookies to on Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Set tcp_window_scaling to on Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/passwall.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/passwall_server.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/socat.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/ssr_mudb_server.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/openclash.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/shadowsocksr.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/unblockmusic.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/var/etc/v2ray_server.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: ! Skipping due to path error: No such file or directory Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/etc/zerotier.start' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/usr/share/miniupnpd/firewall.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/etc/mia.include' Sat Jul 30 08:47:36 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/usr/share/softethervpn/firewall.include' Sat Jul 30 08:47:37 2022 daemon.notice procd: /etc/rc.d/K10softethervpn: Running script '/etc/wrtbwmon.include' Sat Jul 30 08:47:37 2022 daemon.notice miniupnpd[1810]: shutting down MiniUPnPd Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(路由R2S) at 08:47:37.

Type `help' to learn how to use Xshell prompt. [C:\~]$

supppig commented 2 years ago

刚刚测试了,一直reset到 4f98c23f5ea39566f9c39f6cb557ff5f102033b8,就是5.15版本,终于正常了。 应该是5.18缺少了什么补丁导致的。。。。 望大佬们修复~~~