New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel: 5.4.68 编译的固件PPPoE频繁断连 #5599
Comments
我的XY-C5也遇到这个问题,启动后大概10多分钟就丢失了pppoe-wan连接,看日志是peer发了LCP reset |
旧内核升级到新的内核 还是建议别保存配置升级! |
不保存配置也是一样的,下面是系统日志 Sun Oct 4 13:45:54 2020 daemon.notice pppd[2855]: PAP authentication succeeded |
物理机 纯路由 没有遇到这个问题!开机3个多小时都没有断过 |
HC5962,跟你问题类似,wan+man方式,man有问题,关掉man就正常了。 |
不知道怎么去抓你这个commit去编译,git玩的不熟 ^_^ |
pppoe报错rename,然后拨号链接显示连上的,但是网络实际是断了,MAN口的iptv还可以使用。 |
昨天 |
This comment has been minimized.
This comment has been minimized.
开机一小时,PPPoE网络连接正常,未发现断网。 |
HC5962的这个问题能不能一并解决一下?同样存在相同的问题。 |
HC5962也是mt7621设备吧,是的话此pr应该一并修复了 |
对,就是mt7621的,现在再用5.4的内核。 |
此pr是针对mediatek芯片修复的,HC5962也已经修复了,等待合并即可 |
合并了我测试一哈。 |
有没有试过4.19.138 内核? |
没有试过,也不知道怎么更换lean的内核版本 |
云端编一个试试看! |
所以怎么编译4.19.138 内核的版本?不是编程出身的,不会呀。😂 看P3TERXActions-OpenWrt中文教程,才会的Fork |
用P3TERX的Actions-OpenWrt 在云端编译就可以了! |
ramips 那就没办法了! |
重新编译,刷了,问题依旧。 目前回退到commit 0ecfa0d4fa08c72595dae904f8f326e5ad94fb89编译的固件,安装上面的操作,使用一切正常。 [ 27.139386] br-lan: port 3(lan3) entered disabled state |
Q:是否搜索了issue (使用 "x" 选择)
2. 详细叙述
(1) 具体问题
A:昨天更新源码后,保留配置升级,PPPoE频繁断连,关闭Flow Offloading没有效果,自己Fork到自己仓库,Revert "kernel: bump 5.4 to 5.4.68 (#5555)"后正常。
(2) 路由器型号和固件版本
A:XY-C5,最新源码,Github Actions编译
(3) 详细日志
A:在18:00时,概览虽显示PPPoE已连接,但此时已经断网
Sun Oct 4 12:26:38 2020 kern.notice kernel: [ 0.000000] Linux version 5.4.68 (Ljzkirito@GitHub Actions) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0-71e335c)) #0 SMP Fri Oct 2 16:41:31 2020
Sun Oct 4 12:26:44 2020 daemon.notice netifd: Network device 'wan' link is up
Sun Oct 4 12:26:44 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Sun Oct 4 12:26:44 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Oct 4 12:26:44 2020 daemon.err insmod: module is already loaded - slhc
Sun Oct 4 12:26:44 2020 daemon.err insmod: module is already loaded - ppp_generic
Sun Oct 4 12:26:44 2020 daemon.err insmod: module is already loaded - pppox
Sun Oct 4 12:26:44 2020 daemon.err insmod: module is already loaded - pppoe
Sun Oct 4 12:26:44 2020 daemon.notice netifd: wan (2556): uci: Entry not found
Sun Oct 4 12:26:44 2020 daemon.notice netifd: wan (2556): sh: out of range
Sun Oct 4 12:26:44 2020 daemon.info pppd[2566]: Plugin rp-pppoe.so loaded.
Sun Oct 4 12:26:44 2020 daemon.info pppd[2566]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Sun Oct 4 12:26:44 2020 daemon.notice pppd[2566]: pppd 2.4.8 started by root, uid 0
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 66.689886] mt7530 mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 66.704855] br-lan: port 3(lan3) entered blocking state
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 66.715279] br-lan: port 3(lan3) entered forwarding state
Sun Oct 4 12:26:45 2020 daemon.notice netifd: Network device 'lan3' link is up
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 66.726935] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sun Oct 4 12:26:45 2020 daemon.notice netifd: bridge 'br-lan' link is up
Sun Oct 4 12:26:45 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 67.521894] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 67.536569] br-lan: port 1(lan1) entered blocking state
Sun Oct 4 12:26:45 2020 kern.info kernel: [ 67.546997] br-lan: port 1(lan1) entered forwarding state
Sun Oct 4 12:26:45 2020 daemon.notice netifd: Network device 'lan1' link is up
Sun Oct 4 12:26:46 2020 daemon.err odhcpd[1605]: Failed to send to ff02::1%lan@br-lan (Address not available)
Sun Oct 4 12:26:46 2020 daemon.info dnsmasq[2596]: Connected to system UBus
Sun Oct 4 12:26:46 2020 daemon.notice procd: /etc/rc.d/S60flowoffload: udhcpc: no lease, failing
Sun Oct 4 12:26:46 2020 daemon.notice procd: /etc/rc.d/S60flowoffload: DNSMASQ change
Sun Oct 4 12:26:47 2020 daemon.err dnscache[2715]: * 10/04 12:26:47| pdnsd: info: pdnsd-1.2.9b-par starting.
Sun Oct 4 12:26:47 2020 daemon.notice procd: /etc/rc.d/S90kms: KMS Server has started.
Sun Oct 4 12:26:49 2020 daemon.info pppd[2566]: PPP session is 17311
Sun Oct 4 12:26:49 2020 daemon.warn pppd[2566]: Connected to 00:00:5e:00:01:46 via interface wan
Sun Oct 4 12:26:49 2020 kern.info kernel: [ 71.114017] pppoe-wan: renamed from ppp0
Sun Oct 4 12:26:49 2020 daemon.info pppd[2566]: Renamed interface ppp0 to pppoe-wan
Sun Oct 4 12:26:49 2020 daemon.info pppd[2566]: Using interface pppoe-wan
Sun Oct 4 12:26:49 2020 daemon.notice pppd[2566]: Connect: pppoe-wan <--> wan
Sun Oct 4 12:26:52 2020 daemon.info pppd[2566]: syncppp not active
Sun Oct 4 12:26:57 2020 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Oct 4 12:26:57 2020 user.notice upnp daemon: external interface not found, not starting
Sun Oct 4 12:27:18 2020 cron.err crond[5617]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 12:27:19 2020 daemon.notice procd: /etc/rc.d/S97unblockmusic: ipset v7.4: Missing second mandatory argument to command add
Sun Oct 4 12:27:19 2020 daemon.notice procd: /etc/rc.d/S97unblockmusic: Try `ipset help' for more information.
Sun Oct 4 12:27:30 2020 daemon.info procd: - init complete -
Sun Oct 4 12:27:30 2020 daemon.info urandom_seed[6280]: Seed saved (/etc/urandom.seed)
Sun Oct 4 12:27:40 2020 daemon.info dnsmasq[6558]: Connected to system UBus
Sun Oct 4 12:27:52 2020 daemon.info pppd[2566]: LCP terminated by peer
Sun Oct 4 12:27:52 2020 daemon.notice pppd[2566]: Modem hangup
Sun Oct 4 12:27:52 2020 daemon.notice pppd[2566]: Connection terminated.
Sun Oct 4 12:27:52 2020 daemon.info pppd[2566]: Sent PADT
Sun Oct 4 12:27:52 2020 daemon.info pppd[2566]: Exit.
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Oct 4 12:27:52 2020 kern.info kernel: [ 134.319294] mt7530 mdio-bus:1f wan: Link is Down
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is disabled
Sun Oct 4 12:27:52 2020 kern.info kernel: [ 134.355683] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
Sun Oct 4 12:27:52 2020 kern.info kernel: [ 134.369341] 8021q: adding VLAN 0 to HW filter on device wan
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is enabled
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Network device 'wan' link is down
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is disabled
Sun Oct 4 12:27:52 2020 kern.info kernel: [ 134.506292] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
Sun Oct 4 12:27:52 2020 kern.info kernel: [ 134.519836] 8021q: adding VLAN 0 to HW filter on device wan
Sun Oct 4 12:27:52 2020 daemon.notice netifd: Interface 'wan' is enabled
Sun Oct 4 12:27:54 2020 cron.err crond[7251]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 12:27:55 2020 cron.err crond[7385]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 12:27:56 2020 kern.info kernel: [ 137.602071] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
Sun Oct 4 12:27:56 2020 kern.info kernel: [ 137.624450] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Sun Oct 4 12:27:56 2020 daemon.notice netifd: Network device 'wan' link is up
Sun Oct 4 12:27:56 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Sun Oct 4 12:27:56 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Oct 4 12:27:56 2020 daemon.err insmod: module is already loaded - slhc
Sun Oct 4 12:27:56 2020 daemon.err insmod: module is already loaded - ppp_generic
Sun Oct 4 12:27:56 2020 daemon.err insmod: module is already loaded - pppox
Sun Oct 4 12:27:56 2020 daemon.err insmod: module is already loaded - pppoe
Sun Oct 4 12:27:56 2020 daemon.notice netifd: wan (7401): uci: Entry not found
Sun Oct 4 12:27:56 2020 daemon.notice netifd: wan (7401): sh: out of range
Sun Oct 4 12:27:56 2020 daemon.info pppd[7451]: Plugin rp-pppoe.so loaded.
Sun Oct 4 12:27:56 2020 daemon.info pppd[7451]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Sun Oct 4 12:27:56 2020 daemon.notice pppd[7451]: pppd 2.4.8 started by root, uid 0
Sun Oct 4 12:27:56 2020 daemon.info pppd[7451]: PPP session is 10144
Sun Oct 4 12:27:56 2020 daemon.warn pppd[7451]: Connected to 00:00:5e:00:01:46 via interface wan
Sun Oct 4 12:27:56 2020 kern.info kernel: [ 137.971740] pppoe-wan: renamed from ppp0
Sun Oct 4 12:27:56 2020 daemon.info pppd[7451]: Renamed interface ppp0 to pppoe-wan
Sun Oct 4 12:27:56 2020 daemon.info pppd[7451]: Using interface pppoe-wan
Sun Oct 4 12:27:56 2020 daemon.notice pppd[7451]: Connect: pppoe-wan <--> wan
Sun Oct 4 12:27:59 2020 daemon.info pppd[7451]: syncppp not active
Sun Oct 4 12:27:59 2020 daemon.info pppd[7451]: CHAP authentication succeeded: Authentication success,Welcome!
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: CHAP authentication succeeded
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: peer from calling number 00:00:5E:00:01:46 authorized
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: local LL address fe80::ed80:d46a:1b64:e9c2
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: remote LL address fe80::0200:5eff:fe00:0146
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: local IP address 100.69.73.11
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: remote IP address 100.69.64.1
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: primary DNS address 211.137.191.26
Sun Oct 4 12:27:59 2020 daemon.notice pppd[7451]: secondary DNS address 218.201.96.130
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Network device 'pppoe-wan' link is up
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Network alias 'pppoe-wan' link is up
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Interface 'wan_6' is enabled
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sun Oct 4 12:27:59 2020 daemon.notice netifd: Interface 'wan_6' is setting up now
Sun Oct 4 12:28:01 2020 daemon.notice netifd: Interface 'wan_6' is now up
Sun Oct 4 12:28:09 2020 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Sun Oct 4 12:28:11 2020 cron.err crond[8133]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 12:28:11 2020 daemon.info dnsmasq[8098]: Connected to system UBus
Sun Oct 4 12:28:12 2020 cron.err crond[8261]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 12:28:13 2020 daemon.err miniupnpd[8457]: could not open lease file: /var/upnp.leases
Sun Oct 4 12:28:13 2020 daemon.notice miniupnpd[8457]: HTTP listening on port 5000
Sun Oct 4 12:28:13 2020 daemon.notice miniupnpd[8457]: Listening for NAT-PMP/PCP traffic on port 5351
Sun Oct 4 12:28:14 2020 user.notice firewall: Reloading firewall due to ifupdate of wan (pppoe-wan)
Sun Oct 4 12:28:15 2020 user.notice ddns-scripts[8486]: openwrt_ipv6: PID '8486' started at 2020-10-04 12:28
Sun Oct 4 12:28:15 2020 cron.err crond[9096]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 17:55:53 2020 cron.err crond[9454]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 17:55:55 2020 daemon.info pppd[7451]: System time change detected.
Sun Oct 4 17:56:05 2020 user.notice firewall: Reloading firewall due to ifup of wan_6 (pppoe-wan)
Sun Oct 4 17:56:06 2020 cron.err crond[12047]: crond (busybox 1.31.1) started, log level 5
Sun Oct 4 17:56:07 2020 cron.err crond[12219]: crond (busybox 1.31.1) started, log level 5
The text was updated successfully, but these errors were encountered: