找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2406|回复: 5

[R3G] 【求助、讨论】R3G使用Breed刷OpenWRT以后出现Uncorrectable ECC error

[复制链接]
R3G在使用最新版Breed耍OpenWRT后出现大量Uncorrectable ECC error,这是为啥呢?论坛里翻了个变相关讨论比较少,求大佬给个科普,这是不是刷机刷出坏块了?目前暂时OpenWRT能够进入系统,但是以后还能不能继续刷机或者修复一下?求大佬科普这是刷机前的dmesg
root@XiaoQiang:~# dmesg | grep nand
[    3.680000] [mtk_nand] probe successfully!
root@XiaoQiang:~# dmesg | grep NAND
[    3.310000] # MTK NAND # : Use HW ECC
[    3.320000] NAND ID [C8 D1 80 95 42, 00809542]
[    3.330000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ESMT NAND 128M                                                                                        iB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    3.350000] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    3.590000] Creating 13 MTD partitions on "MT7621-NAND":
root@XiaoQiang:~# dmesg | grep bad
[    3.350000] Scanning device for bad blocks
[    7.170000] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[    7.190000] UBI: available PEBs: 78, total reserved PEBs: 178, PEBs reserved                                                                                         for bad PEB handling: 20
[    9.370000] UBI: good PEBs: 428, bad PEBs: 0, corrupted PEBs: 0
[    9.390000] UBI: available PEBs: 0, total reserved PEBs: 428, PEBs reserved f                                                                                        or bad PEB handling: 20
root@XiaoQiang:~# dmesg | grep Bad
这是刷机以后

root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.113 (itxiaoniao@debian-makeop) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r3166-d037aff9e)) #0 SMP Tue Apr 20 03:19:45 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 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=00072003
[    0.000000] Readback ErrCtl register=00072003
[    0.000000] mem auto-init: stackff, heap allocff, heap freeff
[    0.000000] Memory: 250596K/262144K available (5765K kernel code, 251K rwdata, 1248K rodata, 1232K init, 238K bss, 11548K 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 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x52c with crng_init=0
[    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.007797] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.042012] pid_max: default: 32768 minimum: 301
[    0.046783] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054008] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.064476] rcu: Hierarchical SRCU implementation.
[    0.069936] smp: Bringing up secondary CPUs ...
[    7.532401] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.532411] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.532423] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.532531] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.102712] Synchronize counters for CPU 1: done.
[    1.048406] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.048415] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.048423] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.048484] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.167431] Synchronize counters for CPU 2: done.
[    4.469619] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.469628] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.469635] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.469693] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.225298] Synchronize counters for CPU 3: done.
[    0.255173] smp: Brought up 1 node, 4 CPUs
[    0.263769] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.273459] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.280540] pinctrl core: initialized pinctrl subsystem
[    0.287284] NET: Registered protocol family 16
[    0.304284] FPU Affinity set after 4688 emulations
[    0.322166] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.333522] clocksource: Switched to clocksource GIC
[    0.340569] NET: Registered protocol family 2
[    0.345686] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.353986] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.361587] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.368670] TCP: Hash tables configured (established 2048 bind 2048)
[    0.375090] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.381585] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.388730] NET: Registered protocol family 1
[    0.393050] PCI: CLS 0 bytes, default 32
[    0.485473] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.492147] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.502743] random: fast init done
[    0.510934] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516705] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.529946] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.535823] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.541662] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.548105] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.555847] printk: console [ttyS0] disabled
[    0.560143] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.569130] printk: console [ttyS0] enabled
[    0.577387] printk: bootconsole [early0] disabled
[    0.589079] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.596487] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    0.602832] nand: ESMT NAND 128MiB 3,3V 8-bit
[    0.607186] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.614743] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.621280] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.628577] Scanning device for bad blocks
[    0.657574] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.0
[    0.664777] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.1
[    0.671983] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.2
[    0.679191] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.3
[    0.686445] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.0
[    0.693665] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.1
[    0.700867] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.2
[    0.708073] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 769.3
[    0.715327] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 831.0
[    0.722536] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 831.1
[    0.729742] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 831.2
[    0.736946] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 831.3
[    0.744200] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 832.0
[    0.751407] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 832.1
[    0.758613] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 832.2
[    0.765821] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 832.3
[    0.773071] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 833.0
[    0.780281] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 833.1
[    0.787491] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 833.2
[    0.794698] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 833.3
[    0.801952] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 895.0
[    0.809157] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 895.1
[    0.816363] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 895.2
[    0.823571] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 895.3
[    2.906585] 10 fixed-partitions partitions found on MTD device mt7621-nand
[    2.913444] Creating 10 MTD partitions on "mt7621-nand":
[    2.918763] 0x000000000000-0x000000080000 : "Bootloader"
[    2.925313] 0x000000080000-0x0000000c0000 : "Config"
[    2.931529] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.937757] 0x000000100000-0x000000140000 : "factory"
[    2.944128] 0x000000140000-0x000000180000 : "crash"
[    2.950371] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.957070] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.963458] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.970182] 0x000000600000-0x000000a00000 : "kernel"
[    2.976281] 0x000000a00000-0x000007f80000 : "ubi"
[    2.984267] libphy: Fixed MDIO Bus: probed
[    3.025395] libphy: mdio: probed
[    4.434837] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.441923] ralink_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.452676] mt7621-pci 1e140000.pcie: Parsing DT failed
[    4.460445] NET: Registered protocol family 10
[    4.466652] Segment Routing with IPv6
[    4.470490] NET: Registered protocol family 17
[    4.475258] 8021q: 802.1Q VLAN Support v1.8
[    4.482214] rt2880-pinmux pinctrl: pcie is already enabled
[    4.487731] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    4.495368] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    4.502955] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    4.610440] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    4.616020] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    4.721608] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    4.728557] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    4.733429] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    4.738312] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    4.747776] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    4.754155] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    4.761027] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    4.767896] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.773416] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    4.779452] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.785718] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    4.792061] pci 0000:00:00.0: supports D1
[    4.796072] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    4.802246] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    4.808288] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.814555] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    4.820876] pci 0000:00:01.0: supports D1
[    4.824887] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    4.832047] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.840062] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.848295] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    4.854359] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    4.860756] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    4.868291] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    4.873541] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    4.879630] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.886414] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    4.893632] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.900484] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
[    4.906556] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    4.913372] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    4.920172] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    4.927717] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    4.932964] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    4.939052] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    4.945844] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    4.953059] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.959714] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    4.966322] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.973273] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    4.979878] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    4.986834] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    4.993618] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    5.000830] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    5.007613] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    5.014834] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    5.021621] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    5.028403] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    5.035186] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    5.041974] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    5.048754] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.053719] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    5.060496] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.067280] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    5.074502] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    5.081814] pci 0000:02:00.0: BAR 6: assigned [mem 0x60300000-0x6030ffff pref]
[    5.089023] pci 0000:00:01.0: PCI bridge to [bus 02]
[    5.093988] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    5.100764] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    5.107544] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    5.116187] UBI: auto-attach mtd9
[    5.119568] ubi0: attaching mtd9
[    6.415331] ubi0: scanning is finished
[    6.437676] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    6.443180] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    6.450043] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    6.456814] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    6.463761] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    6.469757] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    6.476963] ubi0: max/mean erase counter: 4/3, WL threshold: 4096, image sequence number: 253381995
[    6.485988] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    6.495214] ubi0: background thread "ubi_bgt0d" started, PID 436
[    6.497812] block ubiblock0_0: created from ubi0:0(rootfs)
[    6.506689] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    6.513647] hctosys: unable to open rtc device (rtc0)
[    6.526632] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    6.538063] Freeing unused kernel memory: 1232K
[    6.542611] This architecture does not have kernel memory protection.
[    6.549036] Run /sbin/init as init process
[    7.069634] init: Console is alive
[    7.073269] init: - watchdog -
[    8.808989] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.890275] usbcore: registered new interface driver usbfs
[    8.895918] usbcore: registered new interface driver hub
[    8.901392] usbcore: registered new device driver usb
[    8.917937] ANTFS Module: Version 07.19-b41ba529
[    8.952323] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.966006] SCSI subsystem initialized
[    8.973770] ehci-fsl: Freescale EHCI Host controller driver
[    8.980733] ehci-platform: EHCI generic platform driver
[    8.989606] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.997033] ohci-platform: OHCI generic platform driver
[    9.004307] uhci_hcd: USB Universal Host Controller Interface driver
[    9.018936] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    9.028001] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    9.033359] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    9.049689] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    9.058910] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    9.066073] hub 1-0:1.0: USB hub found
[    9.070012] hub 1-0:1.0: 2 ports detected
[    9.074737] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    9.080108] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    9.087606] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    9.094182] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    9.103222] hub 2-0:1.0: USB hub found
[    9.107089] hub 2-0:1.0: 1 port detected
[    9.120949] usbcore: registered new interface driver usb-storage
[    9.127453] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.141953] init: - preinit -
[    9.811000] ralink_soc_eth 1e100000.ethernet: PPE started
[    9.998969] random: jshn: uninitialized urandom read (4 bytes read)
[   10.062894] random: jshn: uninitialized urandom read (4 bytes read)
[   10.239890] random: jshn: uninitialized urandom read (4 bytes read)
[   12.471712] urandom_read: 4 callbacks suppressed
[   12.471724] random: procd: uninitialized urandom read (4 bytes read)
[   16.664746] mount_root: loading kmods from internal overlay
[   16.705410] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   16.716252] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   17.039715] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.0
[   17.046964] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.1
[   17.054175] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.2
[   17.061382] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.3
[   17.068436] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0READ) flags 0x80700 phys_seg 4 prio class 0
[   17.079334] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0
[   17.086556] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1
[   17.093765] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2
[   17.100972] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3
[   17.108015] blk_update_request: I/O error, dev mtdblock5, sector 8 op 0x0READ) flags 0x80700 phys_seg 3 prio class 0
[   17.118910] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.0
[   17.126121] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.1
[   17.133327] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.2
[   17.140538] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.3
[   17.147581] blk_update_request: I/O error, dev mtdblock5, sector 16 op 0x0READ) flags 0x80700 phys_seg 2 prio class 0
[   17.158561] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.0
[   17.165772] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.1
[   17.172978] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.2
[   17.180187] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.3
[   17.187231] blk_update_request: I/O error, dev mtdblock5, sector 24 op 0x0READ) flags 0x80700 phys_seg 1 prio class 0
[   17.198265] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.0
[   17.205496] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.1
[   17.212700] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.2
[   17.219916] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.3
[   17.226959] blk_update_request: I/O error, dev mtdblock5, sector 0 op 0x0READ) flags 0x0 phys_seg 1 prio class 0
[   17.237284] Buffer I/O error on dev mtdblock5, logical block 0, async page read
[   17.245221] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.0
[   17.252486] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.1
[   17.259732] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.2
[   17.266948] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.3
[   17.273999] blk_update_request: I/O error, dev mtdblock5, sector 32 op 0x0READ) flags 0x80700 phys_seg 8 prio class 0
[   17.284982] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.0
[   17.292194] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.1
[   17.299405] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.2
[   17.306617] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.3
[   17.313661] blk_update_request: I/O error, dev mtdblock5, sector 40 op 0x0READ) flags 0x80700 phys_seg 7 prio class 0
[   17.324639] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.0
[   17.331851] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.1
[   17.339062] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.2
[   17.346273] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.3
[   17.353314] blk_update_request: I/O error, dev mtdblock5, sector 48 op 0x0READ) flags 0x80700 phys_seg 6 prio class 0
[   17.364297] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.0
[   17.371509] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.1
[   17.378721] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.2
[   17.385933] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.3
[   17.392973] blk_update_request: I/O error, dev mtdblock5, sector 56 op 0x0READ) flags 0x80700 phys_seg 5 prio class 0
[   17.403958] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.0
[   17.411171] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.1
[   17.418382] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.2
[   17.425612] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.3
[   17.432651] blk_update_request: I/O error, dev mtdblock5, sector 64 op 0x0READ) flags 0x80700 phys_seg 4 prio class 0
[   17.443634] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.0
[   17.450847] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.1
[   17.458059] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.2
[   17.465266] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.3
[   17.472531] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.0
[   17.479745] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.1
[   17.486957] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.2
[   17.494170] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.3
[   17.501431] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.0
[   17.508643] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.1
[   17.515856] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.2
[   17.523067] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.3
[   17.530379] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0
[   17.537614] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1
[   17.544817] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2
[   17.552029] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3
[   17.559075] Buffer I/O error on dev mtdblock5, logical block 1, async page read
[   17.765801] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   17.771701] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 627
[   17.859624] UBIFS (ubi0:1): recovery needed
[   18.152764] UBIFS (ubi0:1): recovery completed
[   18.157380] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   18.165203] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   18.175100] UBIFS (ubi0:1): FS size: 64884736 bytes (61 MiB, 511 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs)
[   18.185511] UBIFS (ubi0:1): reserved for root: 3064665 bytes (2992 KiB)
[   18.192117] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 7B2D2E2C-7305-4C06-93CF-7B7FCF9AF6E0, small LPT model
[   18.205878] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   18.221987] block: extroot: not configured
[   18.226422] UBIFS (ubi0:1): un-mount UBI device 0
[   18.231162] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   18.244104] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   18.250046] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 630
[   18.398909] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   18.406752] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   18.416648] UBIFS (ubi0:1): FS size: 64884736 bytes (61 MiB, 511 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs)
[   18.427064] UBIFS (ubi0:1): reserved for root: 3064665 bytes (2992 KiB)
[   18.433689] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 7B2D2E2C-7305-4C06-93CF-7B7FCF9AF6E0, small LPT model
[   18.643538] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.0
[   18.650770] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.1
[   18.657973] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.2
[   18.665172] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.3
[   18.672435] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0
[   18.679639] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1
[   18.686841] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2
[   18.694043] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3
[   18.701295] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.0
[   18.708498] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.1
[   18.715711] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.2
[   18.722913] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 772.3
[   18.730169] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.0
[   18.737368] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.1
[   18.744571] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.2
[   18.751773] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 774.3
[   18.759076] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.0
[   18.766282] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.1
[   18.773488] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.2
[   18.780687] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 768.3
[   18.787728] Buffer I/O error on dev mtdblock5, logical block 0, async page read
[   18.795589] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.0
[   18.802842] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.1
[   18.810075] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.2
[   18.817279] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 776.3
[   18.824547] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.0
[   18.831753] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.1
[   18.838956] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.2
[   18.846160] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 778.3
[   18.853414] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.0
[   18.860620] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.1
[   18.867823] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.2
[   18.875028] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 780.3
[   18.882286] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.0
[   18.889505] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.1
[   18.896704] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.2
[   18.903909] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 782.3
[   18.911185] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.0
[   18.918392] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.1
[   18.925613] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.2
[   18.932814] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 784.3
[   18.940071] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.0
[   18.947277] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.1
[   18.954481] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.2
[   18.961687] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 786.3
[   18.968939] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.0
[   18.976145] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.1
[   18.983349] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.2
[   18.990554] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 788.3
[   18.997810] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.0
[   19.005012] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.1
[   19.012215] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.2
[   19.019420] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 790.3
[   19.026735] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.0
[   19.033943] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.1
[   19.041142] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.2
[   19.048347] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 770.3
[   19.055387] Buffer I/O error on dev mtdblock5, logical block 1, async page read
[   19.260023] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   19.276816] block: extroot: not configured
[   19.285201] mount_root: switching to ubifs overlay
[   19.346117] urandom-seed: Seeding with /etc/urandom.seed
[   19.914858] register mt7603_drv
[   19.918160] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   19.923567] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   19.929225] mt7603_drv 0000:01:00.0: enabling device (0000 -> 0002)
[   19.940986]
              ………………………………


我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
本帖最后由 Calmact 于 2021-7-16 01:26 编辑

在OpenWRT官方论坛
https://forum.openwrt.org/t/uncorrectable-ecc-error/88736/3
有人说,这些错误格式化以后会清除,格式化那个分区呢?原文说
>> The error is due to s_env. Just format that and error would go away. Apparently, the problem happens when device fails to boot for 3 times and boots from alt partition.
<< How do I format the partition in openwrt safely ?
>>> mtd unlock s_env
>>> mtd erase s_env

对应于OpenWRT的分区,应该格式化那个呢?

[ 2.913444] Creating 10 MTD partitions on "mt7621-nand":
[ 2.918763] 0x000000000000-0x000000080000 : "Bootloader"
[ 2.925313] 0x000000080000-0x0000000c0000 : "Config"
[ 2.931529] 0x0000000c0000-0x000000100000 : "Bdata"
[ 2.937757] 0x000000100000-0x000000140000 : "factory"
[ 2.944128] 0x000000140000-0x000000180000 : "crash"
[ 2.950371] 0x000000180000-0x0000001c0000 : "crash_syslog"
[ 2.957070] 0x0000001c0000-0x000000200000 : "reserved0"
[ 2.963458] 0x000000200000-0x000000600000 : "kernel_stock"
[ 2.970182] 0x000000600000-0x000000a00000 : "kernel"
[ 2.976281] 0x000000a00000-0x000007f80000 : "ubi"


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 Calmact 于 2021-7-16 11:30 编辑

https://forum.openwrt.org/t/why- ... and-ecc-error/71362
https://forum.openwrt.org/t/ecc- ... nation-please/65167

众说纷纭

http://www.linux-mtd.infradead.org/faq/ubi.html
这里有很多说明,奈何看不懂
I see this UBI error: "ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 47:4096, read 126976 bytes"
The -74 error code is -EBADMSG and means an ECC error. In other words, UBI tried to read some data from the flash, but the flash driver found that there is an uncorrectable ECC error, and returned -EBADMSG.

There may be many reasons for this. It may be because your NAND driver is buggy, or you HW is buggy. We recommend you to validate the driver using the MTD tests.

The other possibility is that you failed to flash your UBI/UBIFS image properly. Try to erase your flash, then attach it to UBI/UBIFS without writing any image, and check if you still have these errors.

If you do not have errors when you mount empty flash, it is probably indeed related to how you flash the UBI/UBIFS images. One typical problem is related to ECC calculation algorithm - read here for more information. Make sure that you use ubiformat, or make sure either that your flashing program skips 0xFF properly (see here) or that your UBIFS image was generated with the "free space fixup" flag set (see here).

Another possibility is that your flash reports that it supports sub-pages, but does not actually support them properly.


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看一下官网
https://openwrt.org/toh/xiaomi/mir3g
里面有升级固件
http://downloads.openwrt.org/rel ... shfs-sysupgrade.bin
直接从后台升级一下,然后再SSH看看dmesg
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
好消息是还能刷机,不受影响;
坏消息是,刷了官方系统仍然显示ECC错误,而且ECC错误的page每次都是一样的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

是不是刷的超频breed?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 02:40

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表