coolsnowwolf / lede

Lean's LEDE source
Other
29.64k stars 19.5k forks source link

请教7621+7612+7603机器网络不正常 #8052

Open hzjnet opened 2 years ago

hzjnet commented 2 years ago

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

1.关于你要提交的问题

WSG1500 Z.00 启动无任何网络

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

2. 详细叙述

(1) 具体问题

A: 刷了友华1200的breed,能刷入能正常编译的友华1200固件,但是使用21.10.1版本TTL显示无网络,老是提示Segmentation fault等错误,同时恩山论坛中的友华固件能正常工作:https://www.right.com.cn/forum/thread-4049046-1-1.html,请教应该如何处理

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

A: 源码:commit 53d63e38a9557fa33e923c83081d11aca65483e2 瑞士康达 WSG1500 Z.00 版本 ,是7612+7603的无线方案,SPI 16M,刷机用breed

(3) 详细日志

A: Boot and Recovery Environment for Embedded Devices Copyright (C) 2020 HackPascal hackpascal@gmail.com Build date 2020-01-14 [git-b25d507] Version 1.1 (r1280)

DRAM: 64MB Platform: MediaTek MT7621A ver 1, eco 3 Board: PandoraBox PBR-M1 / Newifi Y2S Clocks: CPU: 875MHz, DDR: 800MHz, Bus: 218MHz, Ref: 25MHz Flash: Winbond W25Q128 (16MB) on mt7621-spi.0 rt2880-eth: MAC address from EEPROM is invalid, using default settings. rt2880-eth: Using MAC address 00:0c:43:00:00:01 eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 4
Autoboot aborted due to key press.

Starting breed built-in shell

breed> Upgrade completed. Rebooting in 2 seconds ... Resetting ...

Boot and Recovery Environment for Embedded Devices Copyright (C) 2020 HackPascal hackpascal@gmail.com Build date 2020-01-14 [git-b25d507] Version 1.1 (r1280)

DRAM: 64MB Platform: MediaTek MT7621A ver 1, eco 3 Board: PandoraBox PBR-M1 / Newifi Y2S Clocks: CPU: 875MHz, DDR: 800MHz, Bus: 218MHz, Ref: 25MHz Flash: Winbond W25Q128 (16MB) on mt7621-spi.0 rt2880-eth: MAC address from EEPROM is invalid, using default settings. rt2880-eth: Using MAC address 00:0c:43:00:00:01 eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ... Reading data into memory ... U-Boot firmware image header detected. Image Name: MIPS OpenWrt Linux-5.4.150 Data Size: 2750574 Bytes Load Address: 80001000 Entry Point: 80001000 Uncompressing data (LZMA) ... done. Flushing cache ... done.

Starting kernel at 0x80001000...

[ 0.000000] Linux version 5.4.150 (hzjnet@bgsub18ip18) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r3801-53d63e38a)) #0 SMP Wed Oct 13 09:29:11 2021 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is YouHua WR1200JS [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2,2} total 4 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s27952 r8192 d21200 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Writing ErrCtl register=00050700 [ 0.000000] Readback ErrCtl register=00050700 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 54712K/65536K available (6621K kernel code, 331K rwdata, 1416K rodata, 1280K init, 252K bss, 10824K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, 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: 256 [ 0.000000] random: get_random_bytes called from start_kernel+0x36c/0x584 with crng_init=0 [ 0.000000] CPU Clock: 875MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xc9cd436c30, max_idle_ns: 440795235170 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4368595306 ns [ 0.000009] sched_clock: 32 bits at 437MHz, resolution 2ns, wraps every 4908533758ns [ 0.007815] Calibrating delay loop... 580.40 BogoMIPS (lpj=2902016) [ 0.073937] pid_max: default: 32768 minimum: 301 [ 0.078693] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.085920] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096707] rcu: Hierarchical SRCU implementation. [ 0.102120] smp: Bringing up secondary CPUs ... [ 7.786135] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 7.786146] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 7.786159] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 7.786277] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.166936] Synchronize counters for CPU 1: done. [ 4.469366] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 4.469375] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 4.469383] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 4.469443] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.257742] Synchronize counters for CPU 2: done. [ 6.779615] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 6.779623] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 6.779631] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 6.779695] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.342985] Synchronize counters for CPU 3: done. [ 0.372858] smp: Brought up 1 node, 4 CPUs [ 0.381647] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391415] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398509] pinctrl core: initialized pinctrl subsystem [ 0.405725] NET: Registered protocol family 16 [ 0.412028] cpuidle: using governor ladder [ 0.445810] cryptd: max_cpu_qlen set to 1000 [ 0.450630] random: fast init done [ 0.460283] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.471817] clocksource: Switched to clocksource GIC [ 0.478782] NET: Registered protocol family 2 [ 0.483309] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.491357] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.499855] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.507439] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.514429] TCP: Hash tables configured (established 1024 bind 1024) [ 0.520891] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.527377] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.534576] NET: Registered protocol family 1 [ 0.538868] PCI: CLS 0 bytes, default 32 [ 0.781737] 4 CPUs re-calibrate udelay(lpj = 2908160) [ 0.788597] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.803747] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.809536] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.870915] NET: Registered protocol family 38 [ 0.875421] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.884805] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.890534] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.896373] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.902903] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.910522] printk: console [ttyS0] disabled [ 0.914846] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.923833] printk: console [ttyS0] enabled [ 0.923833] printk: console [ttyS0] enabled [ 0.932090] printk: bootconsole [early0] disabled [ 0.932090] printk: bootconsole [early0] disabled [ 0.944453] spi-mt7621 1e000b00.spi: sys_freq: 218750000 [ 0.960927] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 0.965796] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.972139] Creating 4 MTD partitions on "spi0.0": [ 0.976919] 0x000000000000-0x000000030000 : "u-boot" [ 0.983120] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.989584] 0x000000040000-0x000000050000 : "factory" [ 0.995860] 0x000000050000-0x000001000000 : "firmware" [ 1.002437] 2 uimage-fw partitions found on MTD device firmware [ 1.008341] Creating 2 MTD partitions on "firmware": [ 1.013322] 0x000000000000-0x00000029f8ae : "kernel" [ 1.019440] 0x00000029f8ae-0x000000fb0000 : "rootfs" [ 1.025542] mtd: device 5 (rootfs) set to be root filesystem [ 1.031306] 1 squashfs-split partitions found on MTD device rootfs [ 1.037513] 0x000000ce0000-0x000000fb0000 : "rootfs_data" [ 1.045344] libphy: Fixed MDIO Bus: probed [ 1.082309] libphy: mdio: probed [ 1.085736] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.094895] mtk_soc_eth 1e100000.ethernet: generated random MAC address 32:49:f9:8a:b6:34 [ 1.103976] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 1.115625] Driver for HIFN 795x crypto accelerator chip has been successfully registered. [ 1.124654] mt7621-pci 1e140000.pcie: Parsing DT failed [ 1.132707] NET: Registered protocol family 10 [ 1.138915] Segment Routing with IPv6 [ 1.142803] NET: Registered protocol family 17 [ 1.147343] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.160569] 8021q: 802.1Q VLAN Support v1.8 [ 1.168648] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.190325] libphy: dsa slave smi: probed [ 1.194918] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] [ 1.204691] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] [ 1.214530] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 1.224468] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 1.234353] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 1.244312] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 1.255560] DSA: tree 0 setup [ 1.258947] rt2880-pinmux pinctrl: pcie is already enabled [ 1.264616] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 1.272214] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 1.379649] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 25MHz [ 1.385234] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 25MHz [ 1.490772] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 1.497724] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 1.502602] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 1.507463] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.516948] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 1.523329] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.530176] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.537039] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.542570] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.548583] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.554847] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 1.561160] pci 0000:00:00.0: supports D1 [ 1.565174] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.571356] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.577408] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.583679] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 1.589980] pci 0000:00:01.0: supports D1 [ 1.593989] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.601140] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.609162] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.617411] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 1.623492] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 1.630286] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.637070] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.644626] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.649844] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.655941] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 1.662735] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref] [ 1.669931] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.676805] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 1.682878] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.689246] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.696788] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.702042] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.708112] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff] [ 1.714889] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref] [ 1.722108] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.728746] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.735350] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.742309] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.748891] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.755842] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.762630] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 1.769820] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 1.776600] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 1.783817] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 1.790582] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 1.797363] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 1.804149] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 1.810916] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 1.818223] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 1.825440] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.830385] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 1.837162] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.843946] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.851145] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 1.857923] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.862892] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 1.869650] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.876426] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.884246] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 1.891649] hctosys: unable to open rtc device (rtc0) [ 1.906472] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.918265] Freeing unused kernel memory: 1280K [ 1.922826] This architecture does not have kernel memory protection. [ 1.929235] Run /sbin/init as init process [ 4.331690] init: Console is alive [ 4.335502] init: - watchdog - [ 4.544040] do_page_fault(): sending SIGSEGV to kmodloader for invalid read access from 77e8afeb [ 4.552828] epc = 0040254c in kmodloader[400000+3000] [ 4.557876] ra = 00401444 in kmodloader[400000+3000] [ 4.572246] init: - preinit - [ 7.205381] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.213565] epc = 0044f88c in busybox[400000+51000] [ 7.218436] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.230002] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.238189] epc = 0044f88c in busybox[400000+51000] [ 7.243077] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.253222] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.261376] epc = 0044f88c in busybox[400000+51000] [ 7.266298] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.277662] do_page_fault(): sending SIGSEGV to basename for invalid read access from 0045b203 [ 7.286297] epc = 0044f88c in busybox[400000+51000] [ 7.291169] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.304691] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.312897] epc = 0044f88c in busybox[400000+51000] [ 7.317768] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.329075] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.337272] epc = 0044f88c in busybox[400000+51000] [ 7.342162] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.352291] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.360445] epc = 0044f88c in busybox[400000+51000] [ 7.365352] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.375343] do_page_fault(): sending SIGSEGV to basename for invalid read access from 0045b203 [ 7.383969] epc = 0044f88c in busybox[400000+51000] [ 7.388840] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 7.403257] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 7.411411] epc = 0044f88c in busybox[400000+51000] [ 7.416335] ra = 00403a5c in busybox[400000+51000] Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault [ 8.076077] random: crng init done [ 8.915787] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 8.924202] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 8.932666] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Segmentation fault Segmentation fault [ 9.610738] do_page_fault: 10 callbacks suppressed [ 9.610758] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 9.623973] epc = 0044f88c in busybox[400000+51000] [ 9.628847] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 9.644199] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 9.652394] epc = 0044f88c in busybox[400000+51000] [ 9.657265] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 9.667959] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 9.676149] epc = 0044f88c in busybox[400000+51000] [ 9.681024] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 9.895708] do_page_fault(): sending SIGSEGV to jshn for invalid read access from 77eddfeb [ 9.903985] epc = 00401d6c in jshn[400000+3000] [ 9.908514] ra = 00401344 in jshn[400000+3000] Segmentation fault [ 9.925540] do_page_fault(): sending SIGSEGV to grep for invalid read access from 0045b203 [ 9.933832] epc = 0044f88c in busybox[400000+51000] [ 9.938706] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 9.953519] do_page_fault(): sending SIGSEGV to mktemp for invalid read access from 0045b203 [ 9.961965] epc = 0044f88c in busybox[400000+51000] [ 9.966841] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 9.976799] do_page_fault(): sending SIGSEGV to mktemp for invalid read access from 0045b203 [ 9.985272] epc = 0044f88c in busybox[400000+51000] [ 9.990146] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 10.000036] do_page_fault(): sending SIGSEGV to mktemp for invalid read access from 0045b203 [ 10.008537] epc = 0044f88c in busybox[400000+51000] [ 10.013428] ra = 00403a5c in busybox[400000+51000] Segmentation fault [ 10.024516] do_page_fault(): sending SIGSEGV to lock for invalid read access from 0045b203 [ 10.032790] epc = 0044f88c in busybox[400000+51000] [ 10.037664] ra = 00403a5c in busybox[400000+51000] Segmentation fault Press the [f] key and hit [enter] to enter failsafe mode Pr[ 10.048981] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 ess the [1], [2][ 10.058360] epc = 0044f88c in busybox[400000+51000] , [3] or [4] key[ 10.064549] ra = 00403a5c in busybox[400000+51000] and hit [enter] to select the debug level Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault [ 13.330271] mount_root: loading kmods from internal overlay [ 13.342425] mount_root: failed to launch kmodloader from internal overlay [ 14.501239] block: attempting to load /etc/config/fstab [ 14.512416] block: unable to load configuration (fstab: Entry not found) [ 14.519236] block: no usable configuration [ 14.524600] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 14.547804] procd: - early - [ 14.550850] procd: - watchdog - [ 14.945115] do_page_fault: 12 callbacks suppressed [ 14.945133] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 14.958184] epc = 0044f88c in busybox[400000+51000] [ 14.963089] ra = 00403a5c in busybox[400000+51000] [ 14.989831] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 14.997967] epc = 0044f88c in busybox[400000+51000] [ 15.002915] ra = 00403a5c in busybox[400000+51000] [ 15.029750] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 15.037900] epc = 0044f88c in busybox[400000+51000] [ 15.042818] ra = 00403a5c in busybox[400000+51000] [ 15.069735] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 15.077880] epc = 0044f88c in busybox[400000+51000] [ 15.082789] ra = 00403a5c in busybox[400000+51000] [ 15.109711] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 15.117845] epc = 0044f88c in busybox[400000+51000] [ 15.122745] ra = 00403a5c in busybox[400000+51000] [ 15.149684] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 15.157869] epc = 0044f88c in busybox[400000+51000] [ 15.162759] ra = 00403a5c in busybox[400000+51000] [ 15.189637] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0045b203 [ 15.197747] epc = 0044f88c in busybox[400000+51000] [ 15.202635] ra = 00403a5c in busybox[400000+51000] [ 15.232081] procd: - watchdog - [ 15.237311] procd: - ubus - [ 15.802427] procd: - init - Please press Enter to activate this console. [ 16.508086] do_page_fault(): sending SIGSEGV to find for invalid read access from 0045b203 [ 16.516378] epc = 0044f88c in busybox[400000+51000] [ 16.521257] ra = 00403a5c in busybox[400000+51000] [ 16.596903] do_page_fault(): sending SIGSEGV to date for invalid read access from 0045b203 [ 16.605180] epc = 0044f88c in busybox[400000+51000] [ 16.610052] ra = 00403a5c in busybox[400000+51000] [ 16.620865] do_page_fault(): sending SIGSEGV to date for invalid read access from 0045b203 [ 16.629172] epc = 0044f88c in busybox[400000+51000] [ 16.634068] ra = 00403a5c in busybox[400000+51000] [ 20.683678] do_page_fault: 108 callbacks suppressed [ 20.683694] do_page_fault(): sending SIGSEGV to rm for invalid read access from 0045b203 [ 20.696828] epc = 0044f88c in busybox[400000+51000] [ 20.701706] ra = 00403a5c in busybox[400000+51000] [ 33.874965] do_page_fault(): sending SIGSEGV to mkdir for invalid read access from 0045b203 [ 33.883325] epc = 0044f88c in busybox[400000+51000] [ 33.888199] ra = 00403a5c in busybox[400000+51000] [ 33.897959] do_page_fault(): sending SIGSEGV to chmod for invalid read access from 0045b203 [ 33.906380] epc = 0044f88c in busybox[400000+51000] [ 33.911255] ra = 00403a5c in busybox[400000+51000] [ 33.924940] do_page_fault(): sending SIGSEGV to chown for invalid read access from 0045b203 [ 33.933302] epc = 0044f88c in busybox[400000+51000] [ 33.938178] ra = 00403a5c in busybox[400000+51000] [ 33.954254] do_page_fault(): sending SIGSEGV to mv for invalid read access from 0045b203 [ 33.962393] epc = 0044f88c in busybox[400000+51000] [ 33.967264] ra = 00403a5c in busybox[400000+51000] [ 33.977002] do_page_fault(): sending SIGSEGV to rm for invalid read access from 0045b203 [ 33.985115] epc = 0044f88c in busybox[400000+51000] [ 33.989994] ra = 00403a5c in busybox[400000+51000] [ 34.014314] do_page_fault(): sending SIGSEGV to uci for invalid read access from 77ecbfeb [ 34.022493] epc = 0040224c in uci[400000+3000] [ 34.026935] ra = 00401024 in uci[400000+3000] [ 34.055427] do_page_fault(): sending SIGSEGV to uci for invalid read access from 77e47feb [ 34.063609] epc = 0040224c in uci[400000+3000] [ 34.068050] ra = 00401024 in uci[400000+3000] [ 34.083802] do_page_fault(): sending SIGSEGV to validate_data for invalid read access from 77eeafeb [ 34.092879] epc = 00400f6c in validate_data[400000+2000] [ 34.098185] ra = 004009b4 in validate_data[400000+2000] [ 34.109859] do_page_fault(): sending SIGSEGV to validate_data for invalid read access from 77e3dfeb [ 34.118923] epc = 00400f6c in validate_data[400000+2000] [ 34.124251] ra = 004009b4 in validate_data[400000+2000] [ 34.140905] do_page_fault(): sending SIGSEGV to jshn for invalid read access from 77eb0feb [ 34.149192] epc = 00401d6c in jshn[400000+3000] [ 34.153736] ra = 00401344 in jshn[400000+3000] [ 38.180832] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 38.187811] jffs2_build_filesystem(): unlocking the mtd device... [ 38.187841] done. [ 38.195918] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 47.983183] done. [ 47.992601] jffs2: notice: (1161) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 48.057853] do_page_fault: 115 callbacks suppressed [ 48.057868] do_page_fault(): sending SIGSEGV to cp for invalid read access from 0045b203 [ 48.070979] epc = 0044f88c in busybox[400000+51000] [ 48.075872] ra = 00403a5c in busybox[400000+51000] [ 48.086931] do_page_fault(): sending SIGSEGV to rm for invalid read access from 0045b203 [ 48.095053] epc = 0044f88c in busybox[400000+51000] [ 48.099928] ra = 00403a5c in busybox[400000+51000] [ 48.119686] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.127875] epc = 0044f88c in busybox[400000+51000] [ 48.132784] ra = 00403a5c in busybox[400000+51000] [ 48.144347] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.152542] epc = 0044f88c in busybox[400000+51000] [ 48.157413] ra = 00403a5c in busybox[400000+51000] [ 48.167557] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.175809] epc = 0044f88c in busybox[400000+51000] [ 48.180685] ra = 00403a5c in busybox[400000+51000] [ 48.190560] do_page_fault(): sending SIGSEGV to basename for invalid read access from 0045b203 [ 48.199214] epc = 0044f88c in busybox[400000+51000] [ 48.204108] ra = 00403a5c in busybox[400000+51000] [ 48.217217] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.225410] epc = 0044f88c in busybox[400000+51000] [ 48.230281] ra = 00403a5c in busybox[400000+51000] [ 48.241614] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.249837] epc = 0044f88c in busybox[400000+51000] [ 48.254726] ra = 00403a5c in busybox[400000+51000] [ 48.264997] do_page_fault(): sending SIGSEGV to cat for invalid read access from 0045b203 [ 48.273228] epc = 0044f88c in busybox[400000+51000] [ 48.278102] ra = 00403a5c in busybox[400000+51000] [ 48.287928] do_page_fault(): sending SIGSEGV to basename for invalid read access from 0045b203 [ 48.296566] epc = 0044f88c in busybox[400000+51000] [ 48.301442] ra = 00403a5c in busybox[400000+51000]

B:今天测试fe032306be87cc7a20b4ad6c6590ecd312e59379版本 openwrt-cools-m-d211012-ramips-mt7621-raisecom_msg1500-x-00-squashfs-sysupgrade.bin 刷机出现错误提示:无法判断固件类型, 而刷该版本的openwrt-cools-m-d211012-ramips-mt7621-youhua_wr1200js-squashfs-sysupgrade.bin出现以下错误: TTL前面正常,后面不正常如下: Please press Enter to activate this console. [ 15.560829] kmodloader: loading kernel modules from /etc/modules.d/* [ 15.652184] NET: Registered protocol family 38 [ 15.719069] cryptodev: driver 1.12 loaded. [ 15.726471] GACT probability on [ 15.731036] Mirror/redirect action on [ 15.745714] u32 classifier [ 15.748428] input device check on [ 15.752065] Actions configured [ 15.768806] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff [ 15.776384] Backport generated by backports.git v5.10.42-1-0-gbee5c545 [ 15.786910] mtk-eip93 1e004000.crypto: PRNG initialized [ 15.797394] mtk-eip93 1e004000.crypto: EIP93 initialized succesfull [ 15.852292] xt_time: kernel timezone is -0000 [ 15.918127] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=25 [ 15.923564] pci 0000:00:01.0: enabling device (0006 -> 0007) [ 15.929237] mt7603e 0000:02:00.0: enabling device (0000 -> 0002) [ 15.935444] mt7603e 0000:02:00.0: ASIC revision: 76030010 [ 15.943115] mt7603e 0000:02:00.0: Invalid MAC address, using random address 0e:50:3c:47:77:16 [ 16.975179] mt7603e 0000:02:00.0: Firmware Version: ap_pcie [ 16.980750] mt7603e 0000:02:00.0: Build Time: 20160107100755 [ 17.023840] mt7603e 0000:02:00.0: firmware init done [ 17.194951] ------------[ cut here ]------------ [ 17.199677] WARNING: CPU: 0 PID: 705 at backports-5.10.42-1/net/wireless/core.c:875 wiphy_register+0xd8c/0xd94 [cfg80211] [ 17.210633] Modules linked in: mt7603e(+) mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_socket xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TPROXY xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm tcp_bbr slhc sch_cake nf_tproxy_ipv6 nf_tproxy_ipv4 nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crypto_hw_eip93 crc_ccitt compat asn1_decoder sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ledtrig_usbport cryptodev xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip [ 17.210811] ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb shortcut_fe_ipv6 shortcut_fe crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha256_generic libsha256 sha1_generic seqiv jitterentropy_rng drbg md5 hmac ghash_generic gf128mul gcm ecb des_generic libdes ctr cmac ccm authenc arc4 xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common [ 17.339445] CPU: 0 PID: 705 Comm: kmodloader Not tainted 5.4.150 #0 [ 17.345681] Stack : 00000005 80080c74 80720000 80721064 80790000 8072102c 8071fec8 8233b96c [ 17.354003] 808d0000 8076cd03 806ae64c 806ae64c 00000000 00000001 8233b910 524bb3c1 [ 17.362322] 00000000 00000000 80910000 00000000 00000030 00000109 20646574 2e342e35 [ 17.370639] 00000000 00000000 00000000 00052df5 80000000 80790000 00000000 81f0122c [ 17.378959] 00000009 8187857c 00000001 00000005 00000002 80396518 00000000 808d0000 [ 17.387277] ... [ 17.389710] Call Trace: [ 17.392169] [<8000ce58>] show_stack+0x30/0x100 [ 17.396626] [<805eacfc>] dump_stack+0xa4/0xdc [ 17.400963] [<8002ed04>] warn+0xc0/0x10c [ 17.405040] [<8002edac>] warn_slowpath_fmt+0x5c/0xac [ 17.410008] [<81f0122c>] wiphy_register+0xd8c/0xd94 [cfg80211] [ 17.415974] [<81801540>] ieee80211_register_hw+0xa40/0xddc [mac80211] [ 17.422428] [<81e839e4>] mt76_register_device+0x208/0x340 [mt76] [ 17.428448] [<81f52810>] mt7603_register_device+0x9a4/0xb78 [mt7603e] [ 17.434879] [<81f5016c>] init_module+0x13816c/0x139364 [mt7603e] [ 17.440941] ---[ end trace 581e3ec4df4ab179 ]--- [ 17.447335] mt7603e: probe of 0000:02:00.0 failed with error -22 [ 17.464513] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=24 [ 17.469934] pci 0000:00:00.0: enabling device (0006 -> 0007) [ 17.475609] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002) [ 17.481836] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 17.488446] mt76x2e 0000:01:00.0: EEPROM data check failed: ffff [ 18.133887] mt76x2e 0000:01:00.0: Invalid MAC address, using random address 22:f7:83:f5:04:ef [ 18.164506] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 18.174474] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 18.179950] mt76x2e 0000:01:00.0: Build: 1 [ 18.184075] mt76x2e 0000:01:00.0: Build Time: 201507311614__ [ 18.203858] mt76x2e 0000:01:00.0: Firmware running!

Her0R0cket commented 2 years ago

我记得我是在breed里先刷的hiwifi hc5962的factory固件,进openwrt后进终端跳过机型检测强刷1500的sysupgrade固件.这套源码里msg1500没有配置factory的固件.

hzjnet commented 2 years ago

我记得我是在breed里先刷的hiwifi hc5962的factory固件,进openwrt后进终端跳过机型检测强刷1500的sysupgrade固件.这套源码里msg1500没有配置factory的固件.

不是同一个话题吧?而且用breed刷友华1200js的老版本是正常的!

Her0R0cket commented 2 years ago

我记得我是在breed里先刷的hiwifi hc5962的factory固件,进openwrt后进终端跳过机型检测强刷1500的sysupgrade固件.这套源码里msg1500没有配置factory的固件.

不是同一个话题吧?我刷友华1200js的老版本是正常的!

再看了下还真不是一个话题,你是Z.00的版本,这机器闪存也不同,这里的x.00固件你强刷过去也没用, 第二段那个明显是WiFi部分有问题. 恩山那个固件是网件 3700V5的,你要不编译个3700V5的试试. 或者再换换breed看看,如果是本地编译的话先make clean,再编译看看

hzjnet commented 2 years ago

我记得我是在breed里先刷的hiwifi hc5962的factory固件,进openwrt后进终端跳过机型检测强刷1500的sysupgrade固件.这套源码里msg1500没有配置factory的固件.

不是同一个话题吧?我刷友华1200js的老版本是正常的!

再看了下还真不是一个话题,你是Z.00的版本,这机器闪存也不同,这里的x.00固件你强刷过去也没用, 第二段那个明显是WiFi部分有问题. 恩山那个固件是网件 3700V5的,你要不编译个3700V5的试试. 或者再换换breed看看,如果是本地编译的话先make clean,再编译看看

不行,机型检测始终是固件类型错误,只能刷友华1200js的老版本固件

LINGJP commented 2 years ago

这机器ram有点小,所以需要精简插件编译,否则开机直接内存溢出。

LINGJP commented 2 years ago

我提了PR加入Z.00支持,你看看吧,我这边精简插件是能日用的,稳定几天了

hzjnet commented 2 years ago

我提了PR加入Z.00支持,你看看吧,我这边精简插件是能日用的,稳定几天了

谢谢 ,我试试