Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3582 - bad eraseblock causes unreadable factory partition on Netgear R6800 (mt7621) #8612

Open
openwrt-bot opened this issue Jan 20, 2021 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Jan 20, 2021

Colani1200:

  • 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=144096
    [ 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 0x000002040000, 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 0x20000 bytes.

@openwrt-bot
Copy link
Author

openwrt-bot commented Jan 21, 2021

danitool:

Hi, this patch may fix the problem:

http://patchwork.ozlabs.org/project/openwrt/patch/20200628232747.1367531-1-jan@3e8.eu/

@openwrt-bot
Copy link
Author

openwrt-bot commented Jan 21, 2021

Colani1200:

The patch indeed fixes the problem, many thanks!

dmesg with the patch:
[ 0.000000] Linux version 5.4.91 (colani1200@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15556-20a0d435d8)) #0 SMP Thu Jan 21 19:08:26 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 s26736 r8192 d22416 u57344
[ 0.000000] pcpu-alloc: s26736 r8192 d22416 u57344 alloc=144096
[ 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=000111b0
[ 0.000000] Readback ErrCtl register=000111b0
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 250592K/262144K available (5805K kernel code, 207K rwdata, 1248K rodata, 1240K init, 230K bss, 11552K 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.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.015478] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[ 0.055815] pid_max: default: 32768 minimum: 301
[ 0.065167] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.079571] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.097543] rcu: Hierarchical SRCU implementation.
[ 0.107617] smp: Bringing up secondary CPUs ...
[ 0.106445] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.106457] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.106468] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.106567] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.144755] Synchronize counters for CPU 1: done.
[ 0.197264] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.197272] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.197281] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.197339] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.243244] Synchronize counters for CPU 2: done.
[ 0.292691] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.292699] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.292707] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.292766] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.330846] Synchronize counters for CPU 3: done.
[ 0.390456] smp: Brought up 1 node, 4 CPUs
[ 0.403792] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.423090] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.436909] pinctrl core: initialized pinctrl subsystem
[ 0.448675] NET: Registered protocol family 16
[ 0.469322] FPU Affinity set after 4688 emulations
[ 0.484556] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.505259] clocksource: Switched to clocksource GIC
[ 0.517013] NET: Registered protocol family 2
[ 0.526242] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.542783] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.557972] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.572150] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.584864] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.597765] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.611834] NET: Registered protocol family 1
[ 0.620403] PCI: CLS 0 bytes, default 32
[ 0.717185] 4 CPUs re-calibrate udelay(lpj = 1167360)
[ 0.727468] random: fast init done
[ 0.728768] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.758913] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.770399] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.792739] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.804152] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.815406] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.827231] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.841238] printk: console [ttyS0] disabled
[ 0.849680] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 0.867625] printk: console [ttyS0] enabled
[ 0.884177] printk: bootconsole [early0] disabled
[ 0.905129] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[ 0.920096] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[ 0.932758] nand: Macronix MX30LF1G18AC
[ 0.940400] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.955487] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 0.968529] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 0.983098] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 0.997665] Scanning device for bad blocks
[ 1.334894] Bad eraseblock 258 at 0x000002040000
[ 2.364558] scpart: valid 'SC PART MAP' found (29 partitions)
[ 2.376195] 29 scpart partitions found on MTD device mt7621-nand
[ 2.388166] Creating 29 MTD partitions on "mt7621-nand":
[ 2.398765] 0x000000000000-0x000000100000 : "u-boot"
[ 2.410002] 0x000000100000-0x000000200000 : "SC PART_MAP"
[ 2.421923] 0x000000200000-0x000000600000 : "kernel"
[ 2.432913] 0x000000600000-0x000002e20000 : "ubi"
[ 2.443641] 0x000002e20000-0x000003020000 : "English UI"
[ 2.455355] 0x000003020000-0x000003220000 : "ML1"
[ 2.465912] 0x000003220000-0x000003420000 : "ML2"
[ 2.476390] 0x000003420000-0x000003620000 : "ML3"
[ 2.486889] 0x000003620000-0x000003820000 : "ML4"
[ 2.497461] 0x000003820000-0x000003a20000 : "ML5"
[ 2.508048] 0x000003a20000-0x000003c20000 : "ML6"
[ 2.518596] 0x000003c20000-0x000003e20000 : "ML7"
[ 2.529093] 0x000003e20000-0x000004020000 : "ML8"
[ 2.539628] 0x000004020000-0x000004220000 : "ML9"
[ 2.550168] 0x000004220000-0x000004420000 : "ML10"
[ 2.560848] 0x000004420000-0x000004620000 : "ML11"
[ 2.571524] 0x000004620000-0x000004820000 : "factory"
[ 2.582770] 0x000004820000-0x000004a20000 : "SC Private Data"
[ 2.595383] 0x000004a20000-0x000004c20000 : "POT"
[ 2.605958] 0x000004c20000-0x000004e20000 : "Traffic Meter"
[ 2.618229] 0x000004e20000-0x000005020000 : "SC PID"
[ 2.629359] 0x000005020000-0x000005220000 : "SC Nvram"
[ 2.640715] 0x000005220000-0x000005420000 : "Ralink Nvram"
[ 2.652818] 0x000005420000-0x000005620000 : "reserved0"
[ 2.664361] 0x000005620000-0x000005820000 : "reserved1"
[ 2.675997] 0x000005820000-0x000005a20000 : "reserved2"
[ 2.687572] 0x000005a20000-0x000005c20000 : "reserved3"
[ 2.699141] 0x000005c20000-0x000005e20000 : "reserved4"
[ 2.710706] 0x000005e20000-0x000007f80000 : "reserved5"
[ 2.723775] libphy: Fixed MDIO Bus: probed
[ 2.759668] libphy: mdio: probed
[ 2.766369] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.782933] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 2.800755] i2c-mt7621 1e000900.i2c: clock 100 kHz
[ 2.811666] mt7621-pci 1e140000.pcie: Parsing DT failed
[ 2.824494] NET: Registered protocol family 10
[ 2.834795] Segment Routing with IPv6
[ 2.842258] NET: Registered protocol family 17
[ 2.851470] 8021q: 802.1Q VLAN Support v1.8
[ 2.861919] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.885161] libphy: dsa slave smi: probed
[ 2.893637] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[ 2.911533] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[ 2.929540] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 2.947427] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 2.965470] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[ 2.983214] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 3.000865] DSA: tree 0 setup
[ 3.007152] rt2880-pinmux pinctrl: pcie is already enabled
[ 3.018110] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[ 3.033178] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[ 3.048131] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[ 3.163016] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[ 3.174138] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[ 3.285311] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 3.299184] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 3.308900] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 3.318628] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 3.337377] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 3.350063] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 3.363764] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 3.377477] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.388446] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 3.400448] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 3.412943] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[ 3.425502] pci 0000:00:00.0: supports D1
[ 3.433494] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 3.445440] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 3.457441] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 3.469936] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[ 3.482483] pci 0000:00:01.0: supports D1
[ 3.490475] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 3.503786] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 3.515838] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 3.529535] 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.558759] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.569211] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 3.581357] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 3.594884] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 3.609284] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.622698] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[ 3.634735] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 3.648432] 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.677673] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 3.688093] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 3.700238] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 3.713770] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 3.728165] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 3.741396] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 3.754577] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.768452] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 3.781645] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.795522] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 3.809052] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 3.823450] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 3.836980] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[ 3.851378] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[ 3.864913] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[ 3.878449] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff]
[ 3.891983] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff]
[ 3.905525] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 3.920106] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.930005] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff]
[ 3.943532] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 3.957059] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 3.971462] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[ 3.986039] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 3.995931] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff]
[ 4.009462] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 4.022988] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 4.038724] UBI: auto-attach mtd3
[ 4.045402] ubi0: attaching mtd3
[ 4.052199] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[ 4.462136] ubi0: scanning is finished
[ 4.486122] ubi0: attached mtd3 (name "ubi", size 40 MiB)
[ 4.496894] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.510591] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.524108] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.537974] ubi0: good PEBs: 320, bad PEBs: 1, corrupted PEBs: 0
[ 4.549933] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 4.564318] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 1610490449
[ 4.582506] ubi0: available PEBs: 1, total reserved PEBs: 319, PEBs reserved for bad PEB handling: 19
[ 4.600888] ubi0: background thread "ubi_bgt0d" started, PID 541
[ 4.602848] block ubiblock0_0: created from ubi0:0(rootfs)
[ 4.623784] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 4.637664] hctosys: unable to open rtc device (rtc0)
[ 4.654565] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.673150] Freeing unused kernel memory: 1240K
[ 4.682199] This architecture does not have kernel memory protection.
[ 4.695020] Run /sbin/init as init process
[ 5.253258] init: Console is alive
[ 5.260287] init: - watchdog -
[ 6.020647] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 6.121734] usbcore: registered new interface driver usbfs
[ 6.132780] usbcore: registered new interface driver hub
[ 6.143511] usbcore: registered new device driver usb
[ 6.163212] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[ 6.180544] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[ 6.198289] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.208912] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 6.229381] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 6.247698] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[ 6.260418] hub 1-0:1.0: USB hub found
[ 6.268025] hub 1-0:1.0: 2 ports detected
[ 6.276624] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 6.287255] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 6.302179] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[ 6.315062] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.332053] hub 2-0:1.0: USB hub found
[ 6.339613] hub 2-0:1.0: 1 port detected
[ 6.352152] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.369563] init: - preinit -
[ 7.026812] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 7.042898] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7.059770] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.236446] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.305847] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.371967] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.682194] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 7.695820] 8021q: adding VLAN 0 to HW filter on device lan1
[ 10.761732] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 10.776696] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[ 11.887042] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 11.898642] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 670
[ 11.996461] UBIFS (ubi0:1): recovery needed
[ 12.031451] urandom_read: 6 callbacks suppressed
[ 12.031472] random: procd: uninitialized urandom read (4 bytes read)
[ 12.169034] UBIFS (ubi0:1): recovery completed
[ 12.178041] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 12.193635] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 12.213380] UBIFS (ubi0:1): FS size: 32886784 bytes (31 MiB, 259 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[ 12.234157] UBIFS (ubi0:1): reserved for root: 1553323 bytes (1516 KiB)
[ 12.247329] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 8974BB14-A314-4630-8059-A6F5B4B02C1B, small LPT model
[ 12.284317] mount_root: switching to ubifs overlay
[ 12.313227] urandom-seed: Seeding with /etc/urandom.seed
[ 12.422319] mt7530 mdio-bus:1f lan1: Link is Down
[ 12.446080] procd: - early -
[ 12.451938] procd: - watchdog -
[ 13.105420] procd: - watchdog -
[ 13.116307] procd: - ubus -
[ 13.183940] procd: - init -
[ 13.727976] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.787045] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 13.801974] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 13.866724] urngd: v1.0.2 started.
[ 13.878047] xt_time: kernel timezone is -0000
[ 13.937946] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[ 13.948743] pci 0000:00:00.0: enabling device (0006 -> 0007)
[ 13.960023] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[ 13.984259] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.989072] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[ 14.000002] pci 0000:00:01.0: enabling device (0006 -> 0007)
[ 14.011345] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[ 14.031954] random: crng init done
[ 14.048782] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 14.074037] PPP generic driver version 2.4.2
[ 14.085665] NET: Registered protocol family 24
[ 14.118580] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[ 14.118580]
[ 14.121497] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[ 14.121497]
[ 14.212331] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 14.440123] mt7615e 0000:01:00.0: N9 Firmware Version: reserved, Build Time: 20200814163649
[ 14.457538] mt7615e 0000:02:00.0: N9 Firmware Version: reserved, Build Time: 20200814163649
[ 14.522973] mt7615e 0000:01:00.0: CR4 Firmware Version: reserved, Build Time: 20190121161307
[ 14.523630] mt7615e 0000:02:00.0: CR4 Firmware Version: reserved, Build Time: 20190121161307
[ 20.644425] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[ 20.656638] mtk_soc_eth 1e100000.ethernet: PPE table busy
[ 20.676243] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 20.692306] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 20.696415] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 20.723235] 8021q: adding VLAN 0 to HW filter on device lan1
[ 20.737489] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.750947] br-lan: port 1(lan1) entered blocking state
[ 20.761711] br-lan: port 1(lan1) entered disabled state
[ 20.772950] device lan1 entered promiscuous mode
[ 20.782221] device eth0 entered promiscuous mode
[ 20.812540] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 20.826342] 8021q: adding VLAN 0 to HW filter on device lan2
[ 20.843143] br-lan: port 2(lan2) entered blocking state
[ 20.853640] br-lan: port 2(lan2) entered disabled state
[ 20.865368] device lan2 entered promiscuous mode
[ 20.883640] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 20.897628] 8021q: adding VLAN 0 to HW filter on device lan3
[ 20.912020] br-lan: port 3(lan3) entered blocking state
[ 20.922524] br-lan: port 3(lan3) entered disabled state
[ 20.934308] device lan3 entered promiscuous mode
[ 20.953499] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 20.967293] 8021q: adding VLAN 0 to HW filter on device lan4
[ 20.982008] br-lan: port 4(lan4) entered blocking state
[ 20.992523] br-lan: port 4(lan4) entered disabled state
[ 21.004970] device lan4 entered promiscuous mode
[ 21.029476] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[ 21.043150] 8021q: adding VLAN 0 to HW filter on device wan
[ 23.785725] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 23.800708] br-lan: port 1(lan1) entered blocking state
[ 23.811142] br-lan: port 1(lan1) entered listening state
[ 26.057224] br-lan: port 1(lan1) entered learning state
[ 28.073220] br-lan: port 1(lan1) entered forwarding state
[ 28.084446] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

@openwrt-bot
Copy link
Author

openwrt-bot commented May 21, 2021

Colani1200:

So, 21.02.0-rc1 is out, but the patch does not seem to be included. This will cause problems for many users of affected Netgear devices. What can we get do to have the patch included?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant