- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Base system
- Assigned To No-one
- Operating System All
- Severity High
- Priority Very Low
- Reported Version Trunk
- Due in Version Undecided
-
Due Date
Undecided
- Private
FS#3582 - bad eraseblock causes unreadable factory partition on Netgear R6800 (mt7621)
- Device problem occurs on
Netgear R6800
- Software version of OpenWrt
current snapshot
dmesg of the affected device:
[ 0.000000] Linux version 5.4.89 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15541-e87c0d934c)) #0 SMP Tue Jan 19 12:01:03 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 Netgear R6800 [ 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 s26768 r8192 d22384 u57344 [ 0.000000] pcpu-alloc: s26768 r8192 d22384 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,57600 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=00011190 [ 0.000000] Readback ErrCtl register=00011190 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 250272K/262144K available (6060K kernel code, 204K rwdata, 1288K rodata, 1268K init, 238K bss, 11872K 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+0x340/0x558 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.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.015488] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360) [ 0.055815] pid_max: default: 32768 minimum: 301 [ 0.065164] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.079568] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.097530] rcu: Hierarchical SRCU implementation. [ 0.107607] smp: Bringing up secondary CPUs ... [ 0.133505] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.133516] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.133528] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.133626] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.144747] Synchronize counters for CPU 1: done. [ 0.224318] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.224327] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.224335] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.224392] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.243222] Synchronize counters for CPU 2: done. [ 0.319738] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.319746] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.319754] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.319814] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.330823] Synchronize counters for CPU 3: done. [ 0.390434] smp: Brought up 1 node, 4 CPUs [ 0.403083] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.422382] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.436204] pinctrl core: initialized pinctrl subsystem [ 0.448120] NET: Registered protocol family 16 [ 0.467941] FPU Affinity set after 4688 emulations [ 0.484349] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.505771] clocksource: Switched to clocksource GIC [ 0.517235] random: fast init done [ 0.519932] NET: Registered protocol family 2 [ 0.533512] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.550071] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.565232] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.579410] TCP: Hash tables configured (established 2048 bind 2048) [ 0.592145] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.605030] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.619125] NET: Registered protocol family 1 [ 0.627683] PCI: CLS 0 bytes, default 32 [ 0.725705] 4 CPUs re-calibrate udelay(lpj = 1163264) [ 0.737308] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 0.762216] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.773732] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.794941] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.811403] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.822747] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.834003] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.845943] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.862253] printk: console [ttyS0] disabled [ 0.870712] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.888650] printk: console [ttyS0] enabled [ 0.905190] printk: bootconsole [early0] disabled [ 0.926457] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388 [ 0.941280] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 [ 0.953951] nand: Macronix MX30LF1G18AC [ 0.961590] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.976676] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits [ 0.989741] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134 [ 1.004308] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134 [ 1.018871] Scanning device for bad blocks [ 1.354795] Bad eraseblock 258 at 0x000002040000 [ 2.333921] 7 fixed-partitions partitions found on MTD device mt7621-nand [ 2.347453] Creating 7 MTD partitions on "mt7621-nand": [ 2.357876] 0x000000000000-0x000000100000 : "u-boot" [ 2.369215] 0x000000100000-0x000000200000 : "SC PART_MAP" [ 2.381223] 0x000000200000-0x000000600000 : "kernel" [ 2.392538] 0x000000600000-0x000002e00000 : "ubi" [ 2.403387] 0x000002e00000-0x000004600000 : "reserved0" [ 2.415314] 0x000004600000-0x000004800000 : "factory" [ 2.426712] 0x000004800000-0x000008000000 : "reserved1" [ 2.440236] libphy: Fixed MDIO Bus: probed [ 2.476139] libphy: mdio: probed [ 2.482841] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.498374] mtk_soc_eth 1e100000.ethernet: generated random MAC address fa:25:cd:89:6b:20 [ 2.515564] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 2.533374] i2c-mt7621 1e000900.i2c: clock 100 kHz [ 2.544345] mt7621-pci 1e140000.pcie: Parsing DT failed [ 2.557366] NET: Registered protocol family 10 [ 2.567638] Segment Routing with IPv6 [ 2.575077] NET: Registered protocol family 17 [ 2.584024] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.610098] 8021q: 802.1Q VLAN Support v1.8 [ 2.620267] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.645577] libphy: dsa slave smi: probed [ 2.654066] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] [ 2.671990] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] [ 2.690018] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 2.707897] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 2.725954] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 2.743767] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 2.761395] DSA: tree 0 setup [ 2.767651] rt2880-pinmux pinctrl: pcie is already enabled [ 2.778618] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back [ 2.793671] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 2.808637] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 2.923192] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 2.934315] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 3.045148] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 3.059026] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 3.068744] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 3.078473] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 3.097178] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 3.109861] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 3.123561] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 3.137262] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.148239] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 3.160249] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.172743] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff] [ 3.185301] pci 0000:00:00.0: supports D1 [ 3.193293] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 3.205112] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 3.217129] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.229624] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff] [ 3.242183] pci 0000:00:01.0: supports D1 [ 3.250175] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 3.263178] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280 [ 3.275220] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 3.288923] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link) [ 3.317844] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 3.328268] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 3.340414] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 3.353947] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 3.368342] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.381778] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280 [ 3.393804] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 3.407503] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link) [ 3.436377] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 3.446812] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 3.458957] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 3.472485] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 3.486883] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 3.500109] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 3.513290] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.527169] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 3.540349] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.554228] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 3.567766] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 3.582164] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 3.595696] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 3.610094] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 3.623628] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 3.637159] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 3.650693] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 3.664233] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 3.678813] pci 0000:00:00.0: PCI bridge to [bus 01] [ 3.688707] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 3.702245] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 3.715774] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 3.730177] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit] [ 3.744750] pci 0000:00:01.0: PCI bridge to [bus 02] [ 3.754648] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 3.768175] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 3.781719] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 3.796709] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 3.797818] UBI: auto-attach mtd3 [ 3.817037] ubi0: attaching mtd3 [ 4.228815] ubi0: scanning is finished [ 4.252554] ubi0: attached mtd3 (name "ubi", size 40 MiB) [ 4.263330] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 4.277018] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 4.290537] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 4.304401] ubi0: good PEBs: 319, bad PEBs: 1, corrupted PEBs: 0 [ 4.316361] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 4.330744] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1610490449 [ 4.348928] ubi0: available PEBs: 0, total reserved PEBs: 319, PEBs reserved for bad PEB handling: 19 [ 4.367314] ubi0: background thread "ubi_bgt0d" started, PID 486 [ 4.369678] block ubiblock0_0: created from ubi0:0(rootfs) [ 4.390224] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 4.404092] hctosys: unable to open rtc device (rtc0) [ 4.420757] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 4.439415] Freeing unused kernel memory: 1268K [ 4.448460] This architecture does not have kernel memory protection. [ 4.461282] Run /sbin/init as init process [ 5.015980] init: Console is alive [ 5.023014] init: - watchdog - [ 5.788477] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.889330] usbcore: registered new interface driver usbfs [ 5.900381] usbcore: registered new interface driver hub [ 5.911069] usbcore: registered new device driver usb [ 5.930998] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator [ 5.948312] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator [ 5.966019] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 5.976632] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 5.997854] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010 [ 6.016150] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000 [ 6.028879] hub 1-0:1.0: USB hub found [ 6.036452] hub 1-0:1.0: 2 ports detected [ 6.045096] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.055717] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 6.070642] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed [ 6.083508] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.100520] hub 2-0:1.0: USB hub found [ 6.108083] hub 2-0:1.0: 1 port detected [ 6.120758] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.146084] init: - preinit - [ 6.801631] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 6.817788] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 6.834653] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.012235] random: jshn: uninitialized urandom read (4 bytes read) [ 7.081996] random: jshn: uninitialized urandom read (4 bytes read) [ 7.148308] random: jshn: uninitialized urandom read (4 bytes read) [ 7.459020] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 7.472618] 8021q: adding VLAN 0 to HW filter on device lan1 [ 10.538231] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx [ 10.553186] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready [ 11.662660] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 11.674294] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 616 [ 11.716258] urandom_read: 6 callbacks suppressed [ 11.716270] random: procd: uninitialized urandom read (4 bytes read) [ 11.757609] UBIFS (ubi0:1): recovery needed [ 11.949230] UBIFS (ubi0:1): recovery completed [ 11.958261] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 11.973860] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.993611] UBIFS (ubi0:1): FS size: 32759808 bytes (31 MiB, 258 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs) [ 12.014396] UBIFS (ubi0:1): reserved for root: 1547326 bytes (1511 KiB) [ 12.027574] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 354D5F9F-B560-4EBC-B79F-1976C57BD526, small LPT model [ 12.065167] mount_root: switching to ubifs overlay [ 12.093230] urandom-seed: Seeding with /etc/urandom.seed [ 12.203684] mt7530 mdio-bus:1f lan1: Link is Down [ 12.231835] procd: - early - [ 12.237737] procd: - watchdog - [ 12.845910] procd: - watchdog - [ 12.856805] procd: - ubus - [ 12.922792] procd: - init - [ 13.697474] urngd: v1.0.2 started. [ 13.746355] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.843832] random: crng init done [ 14.012758] Key type cifs.idmap registered [ 14.180204] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1 [ 14.195181] Backport generated by backports.git v5.8.18-1-0-ga630fd46 [ 14.254645] xt_time: kernel timezone is -0000 [ 14.320718] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23 [ 14.331525] pci 0000:00:00.0: enabling device (0006 -> 0007) [ 14.342810] mt7615e 0000:01:00.0: enabling device (0000 -> 0002) [ 14.362949] mt7615e 0000:01:00.0: Invalid MAC address, using random address 02:0f:65:aa:94:7b [ 14.385122] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 14.389324] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24 [ 14.400208] pci 0000:00:01.0: enabling device (0006 -> 0007) [ 14.411687] mt7615e 0000:02:00.0: enabling device (0000 -> 0002) [ 14.438077] mt7615e 0000:02:00.0: Invalid MAC address, using random address 22:3b:71:93:43:43 [ 14.470145] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 14.507102] PPP generic driver version 2.4.2 [ 14.517369] NET: Registered protocol family 24 [ 14.527918] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a [ 14.527918] [ 14.539280] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a [ 14.539280] [ 14.606704] kmodloader: done loading kernel modules from /etc/modules.d/* [ 14.852492] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649 [ 14.869935] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649 [ 14.935755] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307 [ 14.936807] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307 [ 21.063778] mtk_soc_eth 1e100000.ethernet eth0: Link is Down [ 21.076662] mtk_soc_eth 1e100000.ethernet: PPE table busy [ 21.100322] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode [ 21.116356] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 21.124458] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode [ 21.147789] 8021q: adding VLAN 0 to HW filter on device lan1 [ 21.163286] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 21.177053] br-lan: port 1(lan1) entered blocking state [ 21.187810] br-lan: port 1(lan1) entered disabled state [ 21.200543] device lan1 entered promiscuous mode [ 21.209932] device eth0 entered promiscuous mode [ 21.254001] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode [ 21.268901] 8021q: adding VLAN 0 to HW filter on device lan2 [ 21.286171] br-lan: port 2(lan2) entered blocking state [ 21.296704] br-lan: port 2(lan2) entered disabled state [ 21.308856] device lan2 entered promiscuous mode [ 21.327955] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode [ 21.345826] 8021q: adding VLAN 0 to HW filter on device lan3 [ 21.362764] br-lan: port 3(lan3) entered blocking state [ 21.373269] br-lan: port 3(lan3) entered disabled state [ 21.385022] device lan3 entered promiscuous mode [ 21.405777] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode [ 21.420558] 8021q: adding VLAN 0 to HW filter on device lan4 [ 21.435572] br-lan: port 4(lan4) entered blocking state [ 21.446096] br-lan: port 4(lan4) entered disabled state [ 21.459275] device lan4 entered promiscuous mode [ 21.488788] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode [ 21.502867] 8021q: adding VLAN 0 to HW filter on device wan [ 24.234221] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx [ 24.249195] br-lan: port 1(lan1) entered blocking state [ 24.259657] br-lan: port 1(lan1) entered listening state [ 26.313720] br-lan: port 1(lan1) entered learning state [ 28.329713] br-lan: port 1(lan1) entered forwarding state [ 28.341012] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
The dmesg shows a bad eraseblock 258 at 0×000002040000, this results in an unreadably factory partition. Symptoms: unreadable MAC addresses (as shown in the dmesg) and TX power on the radios limited to 6dBm, probably because of unreadable calibration data.
A hexdump of the factory partition shows correct contents, but shifted by 0×20000 bytes.
Hi, this patch may fix the problem:
http://patchwork.ozlabs.org/project/openwrt/patch/20200628232747.1367531-1-jan@3e8.eu/
The patch indeed fixes the problem, many thanks!
dmesg with the patch: