路由器刷 OpenWRT 之后经常 莫名重启

2022-02-25 10:45:23 +08:00
 monetto

路由器是 小米 mini R1C 先刷了 Breed ,又刷了 OpenWRT Lean

刷完之后会不定时自动重启... 问题是重启就一次时间很长,特别影响体验...

Google 了一下,有说因为开了 SFE 的,但是我看固件里不包含 SFE 啊。 还有说因为闪存太小。我重新把系统 root 挂在点设置在了外置 U 盘,但是还是会重启。

有遇到类似情况的大佬吗... 是固件不稳定,还是小米路由器 mini 有问题呀...

CPU 是 MT7620 单核,性能确实不高,但是也不应该这样啊。

2372 次点击
所在节点    OpenWrt
12 条回复
monetto
2022-02-25 10:46:58 +08:00
最后几条系统日志如下

Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: ACS: Survey is missing noise floor
Fri Feb 25 08:27:11 2022 daemon.notice hostapd: wlan1-1: ACS-COMPLETED freq=2462 channel=11
Fri Feb 25 08:27:12 2022 daemon.notice hostapd: wlan1-1: interface state ACS->ENABLED
Fri Feb 25 08:27:12 2022 daemon.notice hostapd: wlan1-1: AP-ENABLED
Fri Feb 25 08:27:12 2022 daemon.notice netifd: Interface 'wwan' is enabled
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: SME: Trying to authenticate with a8:61:df:1c:d3:b8 (SSID='CMCC-tt51' freq=2427 MHz)
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.645303] wlan1: authenticate with a8:61:df:1c:d3:b8
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.675371] wlan1: send auth to a8:61:df:1c:d3:b8 (try 1/3)
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: Trying to associate with a8:61:df:1c:d3:b8 (SSID='CMCC-tt51' freq=2427 MHz)
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.692685] wlan1: authenticated
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.705583] wlan1: associate with a8:61:df:1c:d3:b8 (try 1/3)
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.718839] wlan1: RX AssocResp from a8:61:df:1c:d3:b8 (capab=0x431 status=0 aid=1)
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.727170] wlan1: associated
Fri Feb 25 08:27:13 2022 daemon.notice netifd: Network device 'wlan1' link is up
Fri Feb 25 08:27:13 2022 daemon.notice netifd: Interface 'wwan' has link connectivity
Fri Feb 25 08:27:13 2022 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: Associated with a8:61:df:1c:d3:b8
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: WPA: Key negotiation completed with a8:61:df:1c:d3:b8 [PTK=CCMP GTK=CCMP]
Fri Feb 25 08:27:13 2022 daemon.notice wpa_supplicant[1435]: wlan1: CTRL-EVENT-CONNECTED - Connection to a8:61:df:1c:d3:b8 completed [id=0 id_str=]
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 82.826206] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 83.208382] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 83.215385] br-lan: port 2(wlan1-1) entered blocking state
Fri Feb 25 08:27:13 2022 kern.info kernel: [ 83.220989] br-lan: port 2(wlan1-1) entered forwarding state
Fri Feb 25 08:27:13 2022 daemon.notice netifd: Network device 'wlan1-1' link is up
Fri Feb 25 08:27:13 2022 daemon.notice netifd: wwan (3434): udhcpc: started, v1.35.0
Fri Feb 25 08:27:14 2022 daemon.notice netifd: wwan (3434): udhcpc: broadcasting discover
Fri Feb 25 08:27:14 2022 daemon.notice netifd: wwan (3434): udhcpc: broadcasting select for 192.168.1.7, server 192.168.1.1
Fri Feb 25 08:27:15 2022 daemon.notice netifd: wwan (3434): udhcpc: lease of 192.168.1.7 obtained from 192.168.1.1, lease time 86400
Fri Feb 25 08:27:15 2022 daemon.notice netifd: Interface 'wwan' is now up
Fri Feb 25 08:27:16 2022 user.notice firewall: Reloading firewall due to ifup of wwan (wlan1)
Fri Feb 25 08:27:18 2022 user.notice nlbwmon: Reloading nlbwmon due to ifup of wwan (wlan1)
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: ttyd 1.6.3 (libwebsockets 4.1.6-20211107-361-g8cbe8fa4e)
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: tty configuration:
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: start command: /bin/login
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: close signal: SIGHUP (1)
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: terminal type: xterm-256color
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: LWS: 4.1.6-20211107-361-g8cbe8fa4e, loglevel 7
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: NET CLI SRV H1 H2 WS IPV6-off
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: /usr/lib/libwebsockets-evlib_uv.so
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: Using foreign event loop...
Fri Feb 25 08:27:22 2022 daemon.notice ttyd[3907]: Listening on port: 7681
Fri Feb 25 09:16:54 2022 daemon.notice procd: /etc/rc.d/S99zerotier: disabled in config
Fri Feb 25 09:16:55 2022 daemon.info procd: - init complete -
Fri Feb 25 09:17:14 2022 daemon.info hostapd: wlan1-1: STA c2:c9:73:b7:a9:ff IEEE 802.11: authenticated
Fri Feb 25 09:17:14 2022 daemon.info hostapd: wlan1-1: STA c2:c9:73:b7:a9:ff IEEE 802.11: associated (aid 1)
Fri Feb 25 09:17:14 2022 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED c2:c9:73:b7:a9:ff
Fri Feb 25 09:17:14 2022 daemon.info hostapd: wlan1-1: STA c2:c9:73:b7:a9:ff RADIUS: starting accounting session 9D3CBC8C99FBFE6B
Fri Feb 25 09:17:14 2022 daemon.info hostapd: wlan1-1: STA c2:c9:73:b7:a9:ff WPA: pairwise key handshake completed (RSN)
Fri Feb 25 09:17:14 2022 daemon.notice hostapd: EAPOL-4WAY-HS-COMPLETED c2:c9:73:b7:a9:ff
Fri Feb 25 09:17:23 2022 daemon.info hostapd: wlan0: STA a4:5e:60:e5:38:bb IEEE 802.11: authenticated
Fri Feb 25 09:17:23 2022 daemon.info hostapd: wlan0: STA a4:5e:60:e5:38:bb IEEE 802.11: associated (aid 1)
Fri Feb 25 09:17:23 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED a4:5e:60:e5:38:bb
Fri Feb 25 09:17:23 2022 daemon.info hostapd: wlan0: STA a4:5e:60:e5:38:bb RADIUS: starting accounting session 232888D40C5B612E
Fri Feb 25 09:17:23 2022 daemon.info hostapd: wlan0: STA a4:5e:60:e5:38:bb WPA: pairwise key handshake completed (RSN)
Fri Feb 25 09:17:23 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED a4:5e:60:e5:38:bb
monetto
2022-02-25 10:47:36 +08:00
最后几条内核日志如下

[ 1.062368] Run /sbin/init as init process
[ 2.569804] random: fast init done
[ 4.338106] init: Console is alive
[ 4.342299] init: - watchdog -
[ 8.830150] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 10.074631] usbcore: registered new interface driver usbfs
[ 10.080411] usbcore: registered new interface driver hub
[ 10.085937] usbcore: registered new device driver usb
[ 10.106679] ANTFS Module: Version 07.19-b41ba529
[ 10.114912] exfat: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.127610] exFAT: Version 1.3.0
[ 10.172224] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 10.189258] SCSI subsystem initialized
[ 10.200486] ehci-fsl: Freescale EHCI Host controller driver
[ 10.208399] ehci-platform: EHCI generic platform driver
[ 10.224185] phy phy-usbphy.0: remote usb device wakeup disabled
[ 10.230253] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 10.234790] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 10.240708] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 10.248917] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 10.263825] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 10.271322] hub 1-0:1.0: USB hub found
[ 10.275708] hub 1-0:1.0: 1 port detected
[ 10.287203] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 10.295586] ohci-platform: OHCI generic platform driver
[ 10.301217] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 10.308278] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 10.316496] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 10.348649] hub 2-0:1.0: USB hub found
[ 10.352938] hub 2-0:1.0: 1 port detected
[ 10.361169] uhci_hcd: USB Universal Host Controller Interface driver
[ 10.378391] usbcore: registered new interface driver usb-storage
[ 10.385893] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 10.398105] init: - preinit -
[ 10.817846] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 11.945535] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 12.637608] scsi host0: usb-storage 1-1:1.0
[ 12.967135] random: procd: uninitialized urandom read (4 bytes read)
[ 13.702508] scsi 0:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS
[ 13.990621] sd 0:0:0:0: [sda] 249737216 512-byte logical blocks: (128 GB/119 GiB)
[ 14.004597] random: jshn: uninitialized urandom read (4 bytes read)
[ 14.011172] sd 0:0:0:0: [sda] Write Protect is off
[ 14.016070] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 14.017061] sd 0:0:0:0: [sda] No Caching mode page found
[ 14.022587] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 14.401476] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 14.513219] random: jshn: uninitialized urandom read (4 bytes read)
[ 14.673492] random: jshn: uninitialized urandom read (4 bytes read)
[ 19.036750] 8021q: adding VLAN 0 to HW filter on device eth0
[ 21.217424] mount_root: loading kmods from internal overlay
[ 21.300416] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 21.315823] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 24.093056] jffs2: notice: (537) jffs2_build_xattr_subsystem: complete building xattr subsystem, 36 of xdatum (31 unchecked, 4 orphan) and 50 of xref (4 dead, 1 orphan) found.
[ 24.110122] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 24.733852] EXT4-fs (sda): recovery complete
[ 24.739052] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts:
[ 24.756456] mount_root: switched to extroot
[ 24.769803] urandom-seed: Seeding with /etc/urandom.seed
[ 24.933037] procd: - early -
[ 24.936554] procd: - watchdog -
[ 25.257242] urandom_read: 4 callbacks suppressed
[ 25.257251] random: jshn: uninitialized urandom read (4 bytes read)
[ 25.461689] random: jshn: uninitialized urandom read (4 bytes read)
[ 25.604459] procd: - watchdog -
[ 25.613111] procd: - ubus -
[ 25.671976] procd: - init -
Illusionary
2022-02-25 10:47:50 +08:00
上 x86 吧,这种冷门型号不稳定很正常,说不定是驱动不好
monetto
2022-02-25 10:47:56 +08:00
从日志上看起来好像没啥问题呀...
有遇到过类似情况的大佬吗..
monetto
2022-02-25 10:49:06 +08:00
@Illusionary 唉,专门海鲜市场买了一个回家玩玩...这也太坑了。
0o0O0o0O0o
2022-02-25 10:51:03 +08:00
这是 openwrt 的一个 fork 吧,这个型号 openwrt.org 也支持,你可以先试试原版
banricho
2022-02-25 10:54:50 +08:00
路由器刷 OpenWrt 本来就有可能不稳定,我之前 R7800 试了无数个版本,还是会不定时出点小问题。
后来我老老实实,主路由用官方固件,OpenWrt 做旁路由,每天半夜定时重启,再也没出过问题。

旁路由才是 yyds ,那次搞完以后大半年过去了网络再也没出过问题,也不用折腾了~
blueboyggh
2022-02-25 10:56:18 +08:00
MTK 的可以试试 padavan 的固件,适配的比较好,openwrt 还是适合 arm 和 x86
jsq2627
2022-02-25 13:37:49 +08:00
试试刷原版 openwrt

我之前也是刷 lean ,编译了很多次,尝试了很多种软件组合,总是会遇到隔几天死机重启
前段时间自从刷回了原版 openwrt ,特别稳,最长 uptime 60 多天,最后还是因为家里停电关机了
monetto
2022-02-25 15:25:42 +08:00
jsq2627
2022-02-25 19:58:40 +08:00
@monetto 是的
Acoffice
2022-02-26 06:11:48 +08:00
翻车雕,正常

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/836325

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX