任子行SURF G-NAT200有时候会重启
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
- [ ] 没有类似的issue 无
2. 详细叙述
(1) 具体问题
A:任子行SURF G-NAT200使用最新编译的系统R22.4.1(内核5.4.188),运行openclash刚启动时有一定概率重启。不开程序,日常使用也会重启,重启频率大约1天一次。
(2) 路由器型号和固件版本
A:任子行SURF G-NAT200 ipq8064 R22.4.1(内核5.4.188)
(3) 详细日志
A:[129479.902635] [
U-Boot 2012.07 [Standard IPQ806X.LN,r187] (Mar 21 2016 - 15:22:08)
smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
NAND: SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
544 MiB
MMC:
In: serial
Out: serial
Err: serial
Net: MAC1 addr:94:88:5e:8:e:7
S17 chip id: 0x1302
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC2 addr:94:88:5e:8:e:8
eth0, eth1
Hit any key to stop autoboot: 0
MMC Device 0 not found
MMC Device 0 not found
Device 1: nand1... is now current device
Loading from nand1, offset 0x320000 Image Name: ARM OpenWrt Linux-5.4.188 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2930656 Bytes = 2.8 MiB Load Address: 42208000 Entry Point: 42208000 Automatic boot of image at addr 0x44000000 ... Image Name: ARM OpenWrt Linux-5.4.188 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2930656 Bytes = 2.8 MiB Load Address: 42208000 Entry Point: 42208000 Verifying Checksum ... OK Loading Kernel Image ... OK OK info: "mtdparts" not set Using machid 0x1260 from environment
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.188 (j@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4458-ad34521be)) #0 SMP Thu Apr 14 12:38:40 2022
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: SURF G-NAT200
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 252224
[ 0.000000] Kernel command line:
[ 0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 996176K/1015808K available (6275K kernel code, 198K rwdata, 1572K rodata, 1024K init, 232K bss, 19632K reserved, 0K cma-reserved, 229376K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x4ec with crng_init=0
[ 0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[ 0.000006] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[ 0.000020] Switching to timer-based delay loop, resolution 160ns
[ 0.000260] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[ 0.000280] pid_max: default: 32768 minimum: 301
[ 0.000488] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000511] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001598] CPU: Testing write buffer coherency: ok
[ 0.002759] Setting up static identity map for 0x42300000 - 0x42300060
[ 0.002937] rcu: Hierarchical SRCU implementation.
[ 0.003449] smp: Bringing up secondary CPUs ...
[ 0.005372] smp: Brought up 1 node, 2 CPUs
[ 0.005387] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[ 0.005398] CPU: All CPU(s) started in SVC mode.
[ 0.016663] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[ 0.016813] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.016841] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.016985] pinctrl core: initialized pinctrl subsystem
[ 0.018144] NET: Registered protocol family 16
[ 0.018441] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.019834] cpuidle: using governor ladder
[ 0.019904] cpuidle: using governor menu
[ 0.056245] usbcore: registered new interface driver usbfs
[ 0.056327] usbcore: registered new interface driver hub
[ 0.056399] usbcore: registered new device driver usb
[ 0.056460] pps_core: LinuxPPS API ver. 1 registered
[ 0.056473] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.056508] PTP clock support registered
[ 0.057384] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.058535] clocksource: Switched to clocksource dg_timer
[ 0.059404] thermal_sys: Registered thermal governor 'step_wise'
[ 0.061885] NET: Registered protocol family 2
[ 0.062070] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.063382] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.063426] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.063486] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.063581] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.063693] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.063731] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.063979] NET: Registered protocol family 1
[ 0.064033] PCI: CLS 0 bytes, default 64
[ 0.065361] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.072431] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.072447] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.109078] bounce: pool size: 64 pages
[ 0.111239] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[ 0.111378] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[ 0.111487] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[ 0.111764] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[ 0.111837] qcom-pcie 1b700000.pci: IO 0x31e00000..0x31efffff -> 0x31e00000
[ 0.111876] qcom-pcie 1b700000.pci: MEM 0x2e000000..0x31dfffff -> 0x2e000000
[ 1.257887] qcom-pcie 1b700000.pci: Phy link never came up
[ 1.259886] qcom-pcie 1b700000.pci: cannot initialize host
[ 1.260302] qcom-pcie: probe of 1b700000.pci failed with error -110
[ 1.262846] L2 @ QSB rate. Forcing new rate.
[ 1.263064] L2 @ 384000 KHz
[ 1.263257] CPU0 @ 800000 KHz
[ 1.263271] CPU1 @ QSB rate. Forcing new rate.
[ 1.263408] CPU1 @ 384000 KHz
[ 1.267221] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[ 1.268609] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[ 1.270557] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.271402] msm_serial 16340000.serial: msm_serial: detected port #0
[ 1.271453] msm_serial 16340000.serial: uartclk = 7372800
[ 1.271532] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 38, base_baud = 460800) is a MSM
[ 1.271570] msm_serial: console setup on port #0
[ 1.813883] printk: console [ttyMSM0] enabled
[ 1.818930] msm_serial: driver initialized
[ 1.828103] loop: module loaded
[ 1.829935] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xac
[ 1.830055] nand: AMD/Spansion S34MS04G2
[ 1.836648] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[ 1.840681] 1 fixed-partitions partitions found on MTD device qcom_nand.0
[ 1.847936] Creating 1 MTD partitions on "qcom_nand.0":
[ 1.854983] 0x000000000000-0x00001eaac000 : "ubifs"
[ 1.868242] random: fast init done
[ 2.346435] crng init done
[ 3.149145] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 3.150690] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[ 3.155382] 12 fixed-partitions partitions found on MTD device spi0.0
[ 3.160374] Creating 12 MTD partitions on "spi0.0":
[ 3.166721] 0x000000000000-0x000000020000 : "SBL1"
[ 3.172490] 0x000000020000-0x000000040000 : "MIBIB"
[ 3.177196] 0x000000040000-0x000000080000 : "SBL2"
[ 3.182110] 0x000000080000-0x000000100000 : "SBL3"
[ 3.186809] 0x000000100000-0x000000110000 : "DDRCONFIG"
[ 3.191693] 0x000000110000-0x000000120000 : "SSD"
[ 3.196714] 0x000000120000-0x0000001a0000 : "TZ"
[ 3.201697] 0x0000001a0000-0x000000220000 : "RPM"
[ 3.206267] 0x000000220000-0x0000002a0000 : "APPSBL"
[ 3.210975] 0x0000002a0000-0x0000002e0000 : "APPSBLENV"
[ 3.215891] 0x0000002e0000-0x000000320000 : "ART"
[ 3.220992] 0x000000320000-0x000001d20000 : "firmware"
[ 3.227210] 2 uimage-fw partitions found on MTD device firmware
[ 3.229987] Creating 2 MTD partitions on "firmware":
[ 3.235666] 0x000000000000-0x0000002cb820 : "kernel"
[ 3.242552] 0x0000002cb820-0x000001a00000 : "rootfs"
[ 3.247205] mtd: device 14 (rootfs) set to be root filesystem
[ 3.251385] 1 squashfs-split partitions found on MTD device rootfs
[ 3.256403] 0x0000014d0000-0x000001a00000 : "rootfs_data"
[ 3.281464] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[ 4.051223] ar8327: qca,phy-rgmii-en is not specified
[ 4.052967] i2c /dev entries driver
[ 4.059893] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[ 4.060221] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[ 4.067089] sdhci: Secure Digital Host Controller Interface driver
[ 4.073425] sdhci: Copyright(c) Pierre Ossman
[ 4.079641] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.087686] NET: Registered protocol family 10
[ 4.091677] Segment Routing with IPv6
[ 4.094114] NET: Registered protocol family 17
[ 4.097840] Bridge firewalling registered
[ 4.103219] 8021q: 802.1Q VLAN Support v1.8
[ 4.106181] Registering SWP/SWPB emulation handler
[ 4.148503] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[ 4.168608] s1a: Bringing 0uV into 1050000-1050000uV
[ 4.169162] s1a: supplied by regulator-dummy
[ 4.172848] s1b: Bringing 0uV into 1050000-1050000uV
[ 4.177265] s1b: supplied by regulator-dummy
[ 4.182163] s2a: Bringing 0uV into 800000-800000uV
[ 4.186421] s2a: supplied by regulator-dummy
[ 4.190988] s2b: Bringing 0uV into 800000-800000uV
[ 4.195466] s2b: supplied by regulator-dummy
[ 4.223567] hctosys: unable to open rtc device (rtc0)
[ 4.225365] ------------[ cut here ]------------
[ 4.227616] WARNING: CPU: 1 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x178/0x180
[ 4.232287] ce5_core_clk status stuck at 'on'
[ 4.232290] Modules linked in:
[ 4.245654] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.188 #0
[ 4.248603] Hardware name: Generic DT based system
[ 4.254795] [
U-Boot 2012.07 [Standard IPQ806X.LN,r187] (Mar 21 2016 - 15:22:08)
smem ram ptable found: ver: 0 len: 5

内存越界了? 可以测试看看把内存限制到 512MB 看看
这位老哥不知道有没有修复这个问题,目前依然存在。感觉这应该不是固件问题,而是与UBOOT相关。
这位老哥不知道有没有修复这个问题,目前依然存在。感觉这应该不是固件问题,而是与UBOOT相关。
uboot啥问题?我的依然会重启,源码更新也编译过几次固件了,都不行
我也是与你一样的情况。既然源码没问题,那只好怀疑到uboot上了。当然只是猜测。这机器怕是要QSDK固件才能玩得转了。我网上爬文的时候无意有看到有人讲这种商用机的uboot怎么的,要换别的固件就得换uboot。我现在找不到这个文章了。