coolsnowwolf / lede

Lean's LEDE source
Other
29.97k stars 19.55k forks source link

MT7621 工具链编译出错 #10226

Open Destroy-God opened 2 years ago

Destroy-God commented 2 years ago

1.关于你要提交的问题

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

2. 详细叙述

MT7621 小米R3G编译最新版出错,使用来自Mtk SDK的Hwnat驱动

(1) 具体问题

A:编译最新版出错

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

A: 小米R3G

(3) 详细日志

u171785@s099-n018:~/lede$ make V=s -j1 WARNING: Makefile 'package/feeds/kenzo/luci-app-bypass/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist make[1]: Entering directory '/home/u171785/lede' make[2]: Entering directory '/home/u171785/lede'

S0SL commented 2 years ago

依赖没安装吧 curses configure: error: no enhanced curses library found; disable TUI

Destroy-God commented 2 years ago

谢谢,编译问题已经解决了,但是现在还有一个问题,就是使用MTK的HWNAT时wan状态好长一段时间都是未连接,要等一段时间才能用,这是为什么啊 内核日志在这里: [ 0.000000] Linux version 5.4.215 (runner@fv-az341-509) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r5209-758af54df)) #0 SMP Tue Oct 4 03:37:15 2022 [ 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 Xiaomi Mi Router 3G [ 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-0x000000000fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] percpu: Embedded 14 pages/cpu s27184 r8192 d21968 u57344 [ 0.000000] pcpu-alloc: s27184 r8192 d21968 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Writing ErrCtl register=00000848 [ 0.000000] Readback ErrCtl register=00000848 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 249828K/262144K available (6378K kernel code, 273K rwdata, 1320K rodata, 1292K init, 236K bss, 12316K 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] CPU Clock: 880MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007887] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.074058] pid_max: default: 32768 minimum: 301 [ 0.078856] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.086057] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096892] rcu: Hierarchical SRCU implementation. [ 0.102376] smp: Bringing up secondary CPUs ... [ 1.254391] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 1.254402] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 1.254415] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 1.254520] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.167178] Synchronize counters for CPU 1: done. [ 2.563069] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 2.563078] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 2.563086] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 2.563140] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.258080] Synchronize counters for CPU 2: done. [ 2.327024] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 2.327033] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 2.327041] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 2.327101] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.343276] Synchronize counters for CPU 3: done. [ 0.373144] smp: Brought up 1 node, 4 CPUs [ 0.382061] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391848] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398884] pinctrl core: initialized pinctrl subsystem [ 0.406079] NET: Registered protocol family 16 [ 0.423888] FPU Affinity set after 11720 emulations [ 0.444267] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.455688] clocksource: Switched to clocksource GIC [ 0.462279] NET: Registered protocol family 2 [ 0.466927] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.475031] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.483390] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.491018] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.498100] TCP: Hash tables configured (established 2048 bind 2048) [ 0.504546] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.511027] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.518274] NET: Registered protocol family 1 [ 0.522566] PCI: CLS 0 bytes, default 32 [ 0.765615] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 0.772363] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 0.791170] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.796965] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.810987] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.816898] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.822712] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.829201] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.837415] printk: console [ttyS0] disabled [ 0.841688] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.850698] printk: console [ttyS0] enabled [ 0.858958] printk: bootconsole [early0] disabled [ 0.870703] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388 [ 0.878134] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1 [ 0.884454] nand: ESMT NAND 128MiB 3,3V 8-bit [ 0.888825] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.896381] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits [ 0.902902] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388 [ 0.910194] Scanning device for bad blocks [ 0.939941] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 0.947144] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 0.954327] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 3.032957] 10 fixed-partitions partitions found on MTD device mt7621-nand [ 3.039821] Creating 10 MTD partitions on "mt7621-nand": [ 3.045134] 0x000000000000-0x000000080000 : "Bootloader" [ 3.051883] 0x000000080000-0x0000000c0000 : "Config" [ 3.058389] 0x0000000c0000-0x000000100000 : "Bdata" [ 3.064583] 0x000000100000-0x000000140000 : "factory" [ 3.070999] 0x000000140000-0x000000180000 : "crash" [ 3.077406] 0x000000180000-0x0000001c0000 : "crash_syslog" [ 3.084223] 0x0000001c0000-0x000000200000 : "reserved0" [ 3.091035] 0x000000200000-0x000000600000 : "kernel_stock" [ 3.097950] 0x000000600000-0x000000a00000 : "kernel" [ 3.104493] 0x000000a00000-0x000007f80000 : "ubi" [ 3.115372] [mtk_hw_init] reset_lock:0, force:0 [ 3.119958] [mtk_hw_init] execute fe cold reset [ 3.136215] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 3.144058] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 3.152444] (unnamed net_device) (dummy): netif_napi_add() called with weight 256 [ 3.162433] mt7621-pci 1e140000.pcie: Parsing DT failed [ 3.170684] NET: Registered protocol family 10 [ 3.176918] Segment Routing with IPv6 [ 3.180674] NET: Registered protocol family 17 [ 3.185192] Bridge firewalling registered [ 3.189556] 8021q: 802.1Q VLAN Support v1.8 [ 3.198178] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 3.223105] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] [ 3.233019] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 3.242983] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 3.253032] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 3.264170] DSA: tree 0 setup [ 3.267529] rt2880-pinmux pinctrl: pcie is already enabled [ 3.273151] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 3.280766] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 3.288232] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22 [ 3.395384] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 3.400965] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 3.506475] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 3.513408] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 3.518278] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 3.523138] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 3.532609] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 3.538991] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 3.545861] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 3.552705] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.558228] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 3.564240] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.570504] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 3.576838] pci 0000:00:00.0: supports D1 [ 3.580829] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 3.587014] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 3.593029] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.599314] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 3.605613] pci 0000:00:01.0: supports D1 [ 3.609624] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 3.616969] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.624951] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.633190] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000 [ 3.639258] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 3.645673] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 3.653349] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 3.658595] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 3.664662] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 3.671450] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref] [ 3.678667] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.685526] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000 [ 3.691601] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 3.698421] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 3.705198] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 3.712879] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 3.718124] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 3.724191] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff] [ 3.730968] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref] [ 3.738184] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 3.744819] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 3.751424] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.758378] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 3.764961] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.771915] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 3.778698] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 3.785912] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 3.792670] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 3.799890] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 3.806678] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 3.813437] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 3.820217] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 3.827005] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff] [ 3.833765] pci 0000:00:00.0: PCI bridge to [bus 01] [ 3.838728] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 3.845486] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 3.852263] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 3.859489] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit] [ 3.866800] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref] [ 3.873989] pci 0000:00:01.0: PCI bridge to [bus 02] [ 3.878951] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 3.885730] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 3.892486] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 3.901145] UBI: auto-attach mtd9 [ 3.904472] ubi0: attaching mtd9 [ 3.917395] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx [ 4.647913] UBI: EOF marker found, PEBs from 534 will be erased [ 4.654260] ubi0: scanning is finished [ 4.703604] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 384 LEBs [ 4.711261] ubi0: attached mtd9 (name "ubi", size 117 MiB) [ 4.716761] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 4.723600] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 4.730368] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 4.737308] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0 [ 4.743284] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 4.750485] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1664854635 [ 4.759586] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20 [ 4.768802] ubi0: background thread "ubi_bgt0d" started, PID 491 [ 4.773418] block ubiblock0_0: created from ubi0:0(rootfs) [ 4.780314] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 4.787283] hctosys: unable to open rtc device (rtc0) [ 4.813930] VFS: Mounted root (squashfs filesystem) readonly on device 259:0. [ 4.826471] Freeing unused kernel memory: 1292K [ 4.831005] This architecture does not have kernel memory protection. [ 4.837453] Run /sbin/init as init process [ 6.160560] init: Console is alive [ 6.164334] init: - watchdog - [ 9.032881] kmodloader: loading kernel modules from /etc/modules-boot.d/ [ 9.586454] Key type encrypted registered [ 9.605201] usbcore: registered new interface driver usbfs [ 9.610811] usbcore: registered new interface driver hub [ 9.616236] usbcore: registered new device driver usb [ 9.623907] exfat: module is from the staging directory, the quality is unknown, you have been warned. [ 9.634912] exFAT: Version 1.3.0 [ 9.673980] SCSI subsystem initialized [ 9.688681] usbcore: registered new interface driver usb-storage [ 9.695454] kmodloader: done loading kernel modules from /etc/modules-boot.d/ [ 9.706154] init: - preinit - [ 12.301988] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 12.310429] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 12.318905] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 13.256921] random: jshn: uninitialized urandom read (4 bytes read) [ 13.334375] random: jshn: uninitialized urandom read (4 bytes read) [ 13.373718] random: jshn: uninitialized urandom read (4 bytes read) [ 17.037432] mount_root: loading kmods from internal overlay [ 17.100798] kmodloader: loading kernel modules from //etc/modules-boot.d/ [ 17.111073] kmodloader: done loading kernel modules from //etc/modules-boot.d/ [ 17.888615] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 17.895889] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 17.903075] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 17.910118] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0 [ 17.921011] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 17.928219] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 17.935402] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 17.942617] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 17.949658] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0 [ 17.960543] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.0 [ 17.967751] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.1 [ 17.974934] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.2 [ 17.982139] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.3 [ 17.989180] blk_update_request: I/O error, dev mtdblock5, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0 [ 18.000151] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.0 [ 18.007360] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.1 [ 18.014543] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.2 [ 18.021748] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.3 [ 18.028789] blk_update_request: I/O error, dev mtdblock5, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 18.040661] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 18.047943] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 18.055128] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 18.062172] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 18.072504] Buffer I/O error on dev mtdblock5, logical block 0, async page read [ 18.080878] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.0 [ 18.088106] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.1 [ 18.095293] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.2 [ 18.102493] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.3 [ 18.109534] blk_update_request: I/O error, dev mtdblock5, sector 32 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0 [ 18.120525] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.0 [ 18.127729] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.1 [ 18.134914] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.2 [ 18.142113] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.3 [ 18.149150] blk_update_request: I/O error, dev mtdblock5, sector 40 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 0 [ 18.168482] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 18.175708] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 18.182894] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 18.190094] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 18.197137] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 18.207454] Buffer I/O error on dev mtdblock5, logical block 1, async page read [ 18.416893] block: attempting to load /etc/config/fstab [ 18.425910] block: unable to load configuration (fstab: Entry not found) [ 18.432796] block: no usable configuration [ 18.452950] UBIFS (ubi0:1): default file-system created [ 18.459647] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 18.465570] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 669 [ 18.599319] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 18.607180] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 18.617081] UBIFS (ubi0:1): FS size: 47489024 bytes (45 MiB, 374 LEBs), journal size 2412544 bytes (2 MiB, 19 LEBs) [ 18.627480] UBIFS (ubi0:1): reserved for root: 2243023 bytes (2190 KiB) [ 18.634067] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID EAF2B8B2-8754-4054-8947-114D57EC9091, small LPT model [ 18.840436] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 18.847702] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 18.854887] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 18.861954] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0 [ 18.872841] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 18.880041] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 18.887239] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 18.894424] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 18.901455] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0 [ 18.912340] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.0 [ 18.919540] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.1 [ 18.926738] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.2 [ 18.933923] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.3 [ 18.941170] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.0 [ 18.948369] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.1 [ 18.955552] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.2 [ 18.962749] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.3 [ 18.970906] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 18.978106] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 18.985290] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 18.992324] Buffer I/O error on dev mtdblock5, logical block 0, async page read [ 19.000537] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.0 [ 19.007778] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.1 [ 19.014965] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.2 [ 19.022190] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.3 [ 19.029455] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.0 [ 19.036656] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.1 [ 19.043839] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.2 [ 19.051039] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.3 [ 19.066647] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 19.073835] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 19.081034] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 19.088235] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 19.095258] Buffer I/O error on dev mtdblock5, logical block 1, async page read [ 19.312699] block: attempting to load /etc/config/fstab [ 19.318182] block: unable to load configuration (fstab: Entry not found) [ 19.325003] block: no usable configuration [ 19.331544] mount_root: overlay filesystem has not been fully initialized yet [ 19.339524] mount_root: switching to ubifs overlay [ 19.358608] urandom-seed: Seed file not found (/etc/urandom.seed) [ 19.500622] procd: - early - [ 19.503741] procd: - watchdog - [ 20.236003] procd: - watchdog - [ 20.241648] procd: - ubus - [ 20.596400] random: ubusd: uninitialized urandom read (4 bytes read) [ 20.605168] random: ubusd: uninitialized urandom read (4 bytes read) [ 20.612129] random: ubusd: uninitialized urandom read (4 bytes read) [ 20.622663] procd: - init - [ 21.429797] kmodloader: loading kernel modules from /etc/modules.d/ [ 21.533357] NET: Registered protocol family 38 [ 21.564534] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 21.584016] Key type dns_resolver registered [ 21.606873] RPC: Registered named UNIX socket transport module. [ 21.612808] RPC: Registered udp transport module. [ 21.617558] RPC: Registered tcp transport module. [ 21.622244] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 21.642245] ntfs3: Max link count 4000 [ 21.646031] ntfs3: Enabled Linux POSIX ACLs support [ 21.650881] ntfs3: Read-only LZX/Xpress compression included [ 21.668933] NET: Registered protocol family 15 [ 21.677915] Initializing XFRM netlink socket [ 21.718746] tun: Universal TUN/TAP device driver, 1.6 [ 21.747830] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 21.773851] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 21.830687] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 21.855305] NFS: Registering the id_resolver key type [ 21.860728] Key type id_resolver registered [ 21.864945] Key type id_legacy registered [ 21.989929] cryptodev: driver 1.12 loaded. [ 22.003477] mediatek_soc_hnat 1e100000.hnat: wan = wan [ 22.008721] mediatek_soc_hnat 1e100000.hnat: lan = lan [ 22.013908] mediatek_soc_hnat 1e100000.hnat: ppd = lan [ 22.019134] mediatek_soc_hnat 1e100000.hnat: gmac num = 1 [ 22.024526] mediatek_soc_hnat 1e100000.hnat: wan dsa port = 4 [ 22.030268] mediatek_soc_hnat 1e100000.hnat: ppe num = 1 [ 22.036186] mediatek_soc_hnat 1e100000.hnat: ext devices = ra0 [ 22.042059] mediatek_soc_hnat 1e100000.hnat: ext devices = rai0 [ 22.048054] mediatek_soc_hnat 1e100000.hnat: ext devices = rax0 [ 22.053966] mediatek_soc_hnat 1e100000.hnat: ext devices = apcli0 [ 22.060073] mediatek_soc_hnat 1e100000.hnat: ext devices = apclii0 [ 22.066317] mediatek_soc_hnat 1e100000.hnat: ext devices = apclix0 [ 22.077110] mediatek_soc_hnat 1e100000.hnat: PPE0 entry number = 16384 [ 22.097485] mediatek_soc_hnat 1e100000.hnat: PPE0 hwnat start [ 22.103366] hnat roaming work enable [ 22.116357] fuse: init (API version 7.31) [ 22.137968] Loading modules backported from Linux version v5.15.33-0-g06f50ca83ace [ 22.145554] Backport generated by backports.git v5.15.33-1-0-g183c4ab2 [ 22.167263] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized. [ 22.385234] usbcore: registered new interface driver ums-alauda [ 22.393882] usbcore: registered new interface driver ums-cypress [ 22.402684] usbcore: registered new interface driver ums-datafab [ 22.411331] usbcore: registered new interface driver ums-freecom [ 22.420028] usbcore: registered new interface driver ums-isd200 [ 22.428885] usbcore: registered new interface driver ums-jumpshot [ 22.437563] usbcore: registered new interface driver ums-karma [ 22.446911] usbcore: registered new interface driver ums-sddr09 [ 22.455584] usbcore: registered new interface driver ums-sddr55 [ 22.464687] usbcore: registered new interface driver ums-usbat [ 22.474076] usbcore: registered new interface driver usblp [ 22.523909] xt_time: kernel timezone is -0000 [ 22.647394] PPP generic driver version 2.4.2 [ 22.653601] PPP MPPE Compression module registered [ 22.660309] NET: Registered protocol family 24 [ 22.669596] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 22.677447] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 22.691563] kmodloader: done loading kernel modules from /etc/modules.d/ [ 24.034851] random: jshn: uninitialized urandom read (4 bytes read) [ 24.113298] random: jshn: uninitialized urandom read (4 bytes read) [ 24.153306] random: jshn: uninitialized urandom read (4 bytes read) [ 25.053957] random: dd: uninitialized urandom read (1 bytes read) [ 27.695687] random: crng init done [ 27.699097] random: 33 urandom warning(s) missed due to ratelimiting [ 35.075754] usb_vbus: disabling [ 56.280477] mtk_soc_eth 1e100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached. [ 56.292690] mtk_soc_eth 1e100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached. [ 92.450400] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 92.457658] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 92.465008] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 92.472091] print_req_error: 6 callbacks suppressed [ 92.472105] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0 [ 92.487918] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 92.495204] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 92.502460] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 92.509774] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 92.516863] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 0 [ 92.527911] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.0 [ 92.535188] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.1 [ 92.542489] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.2 [ 92.549791] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.3 [ 92.556895] blk_update_request: I/O error, dev mtdblock5, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0 [ 92.567965] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.0 [ 92.575242] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.1 [ 92.582510] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.2 [ 92.589799] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.3 [ 92.596889] blk_update_request: I/O error, dev mtdblock5, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 92.608889] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1 [ 92.616181] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2 [ 92.623383] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3 [ 92.630456] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 92.640816] Buffer I/O error on dev mtdblock5, logical block 0, async page read [ 92.649260] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.0 [ 92.656663] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.1 [ 92.663943] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.2 [ 92.671334] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.3 [ 92.678431] blk_update_request: I/O error, dev mtdblock5, sector 32 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0 [ 92.689485] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.0 [ 92.696894] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.1 [ 92.704199] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.2 [ 92.711573] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.3 [ 92.718665] blk_update_request: I/O error, dev mtdblock5, sector 40 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 0 [ 92.740161] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0 [ 92.747473] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1 [ 92.754881] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2 [ 92.762238] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3 [ 92.769335] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 [ 92.779718] Buffer I/O error on dev mtdblock5, logical block 1, async page read [ 95.617054] mtk_soc_eth 1e100000.ethernet eth0: Link is Down [ 95.658833] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 95.668057] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 95.670629] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 95.683763] 8021q: adding VLAN 0 to HW filter on device lan1 [ 95.692935] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 95.700786] br-lan: port 1(lan1) entered blocking state [ 95.706078] br-lan: port 1(lan1) entered disabled state [ 95.712766] device lan1 entered promiscuous mode [ 95.717450] device eth0 entered promiscuous mode [ 95.755077] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode [ 95.762392] 8021q: adding VLAN 0 to HW filter on device lan2 [ 95.771956] br-lan: port 2(lan2) entered blocking state [ 95.777263] br-lan: port 2(lan2) entered disabled state [ 95.783919] device lan2 entered promiscuous mode [ 95.808496] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode [ 95.815753] 8021q: adding VLAN 0 to HW filter on device wan [ 99.316338] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx [ 99.323855] br-lan: port 2(lan2) entered blocking state [ 99.329135] br-lan: port 2(lan2) entered forwarding state [ 99.337150] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 109.716464] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off [ 109.727359] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready [ 127.469127] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 127.477127] NFSD: Using legacy client tracking operations. [ 127.482609] NFSD: starting 10-second grace period (net f00000a0) [ 260.356051] mt7530 mdio-bus:1f wan: Link is Down [ 262.436155] mt7530 mdio-bus:1f lan2: Link is Down [ 262.441106] br-lan: port 2(lan2) entered disabled state [ 276.996236] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx [ 277.003756] br-lan: port 2(lan2) entered blocking state [ 277.009025] br-lan: port 2(lan2) entered forwarding state [ 295.716315] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off

Destroy-God commented 2 years ago

又发现一个问题,无线直接给干没了,就好像设备里根本就没有无线一样,什么错误也没有出现

xsj520 commented 2 years ago

没有无线的问题修复好了吗?