Mt7621-pci 1e140000.pcie: Parsing DT failed

Have an DT parsing error at self builded trunk:

[    1.028161]	mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.140760]	mt7621-pci 1e140000.pcie: Error applying setting, reverse things back

I think that is a reason why wifi adapter does not work:

[ 1.578901] pci002:00.0: [168c:ff1c] type 00 class 0x020000

Please note device ID, its shown as 168c:ff1c but adapter has 168c:002a, here is dmesg output from 19.07.3:

[ 2.261853] pci002:00.0: [168c:002a] type 00 class 0x028000

Device is Unielec U7621-06, adapter Atheros AR9280 mini pcie. Tested configurations when adapters in both slots and with one or two adapters installed. I tested with two AR9280, one full mini pcie, second is half size card, also tested with AR9287 with the same results.

Also please note that trunk image, downloaded from openwrt.org does not run at all.

These are the related git entries:

$ git log --oneline|grep -i u7621
df3e0b5806 ramips: add support for UniElec U7621-06-512M-64M variant
509d02a3d1 ramips: use generic board detection for Unielec u7621-06
46ab81e405 ramips: add support for UniElec U7621-06

Maybe looking through those (or pinging some of the people who worked on it) might help?

It looks like common problem for mt7621 chipset:

https://bugs.openwrt.org/index.php?do=details&task_id=3093

Also it looks much more interesting:

user@user-VB:~/openwrt$ git log --oneline | grep -i mt7621 |grep -i  pci
51c6b14092 ramips: mt7621: backport more pcie driver fixes
9ebb85c372 ramips: mt7621: update PCIe node in dtsi
d21d6ea454 ramips: mt7621: backport PCIe driver fixes from staging-test
79f9cadd00 ramips: fix MT7621 PCI driver on 4.14
0f4600c275 ramips: fix pcie irq mapping for mt7621 on v4.9
622e268710 ramips: mt7621: setup memory region for pcie controller memory
070f67aa9b ramips: register mt7621 pcie through device tree
50a5cd829c ralink: sync mt7621 pcie driver with latest SDK
604a3e5134 ralink: fix a regression that broke pcie on mt7621

Also huge amount of mt7621 (universal, not onlu u7621!) pci patches:

user@user-VB:~/openwrt$ find . -name *mt7621-pci*
./build_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/linux-5.4.52/drivers/staging/mt7621-pci-phy
./build_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/linux-5.4.52/drivers/staging/mt7621-pci-phy/mediatek,mt7621-pci-phy.txt
./build_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/linux-5.4.52/drivers/staging/mt7621-pci
./build_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/linux-5.4.52/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
./build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.52/drivers/staging/mt7621-pci-phy
./build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.52/drivers/staging/mt7621-pci-phy/mediatek,mt7621-pci-phy.txt
./build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.52/drivers/staging/mt7621-pci
./build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.52/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
./target/linux/ramips/patches-5.4/0107-staging-mt7621-pci-fix-io-space-and-properly-set-res.patch
./target/linux/ramips/patches-5.4/0110-staging-mt7621-pci-phy-avoid-to-create-to-different-.patch
./target/linux/ramips/patches-5.4/0108-staging-mt7621-pci-fix-register-to-set-up-virtual-br.patch
./target/linux/ramips/patches-5.4/0101-staging-mt7621-pci-enable-clock-bit-for-each-port.patch
./target/linux/ramips/patches-5.4/0111-staging-mt7621-pci-use-only-two-phys-from-device-tre.patch
./target/linux/ramips/patches-5.4/0115-staging-mt7621-pci-delete-release-gpios-related-code.patch
./target/linux/ramips/patches-5.4/0118-staging-mt7621-pci-phy-re-do-xtal_mode-detection.patch
./target/linux/ramips/patches-5.4/0113-staging-mt7621-pci-be-sure-gpio-descriptor-is-null-o.patch
./target/linux/ramips/patches-5.4/0121-staging-mt7621-pci-fix-PCIe-interrupt-mapping.patch
./target/linux/ramips/patches-5.4/0100-staging-mt7621-pci-simplify-mt7621_pcie_init_virtual.patch
./target/linux/ramips/patches-5.4/0104-staging-mt7621-pci-release-gpios-after-pci-initializ.patch
./target/linux/ramips/patches-5.4/0117-staging-mt7621-pci-phy-use-builtin_platform_driver.patch
./target/linux/ramips/patches-5.4/0120-staging-mt7621-pci-properly-power-off-dual-ported-pc.patch
./target/linux/ramips/patches-5.4/0119-staging-mt7621-pci-avoid-to-set-iomem_resource-addre.patch
./target/linux/ramips/patches-5.4/0105-staging-mt7621-pci-delete-no-more-needed-mt7621_rese.patch
./target/linux/ramips/patches-5.4/0114-staging-mt7621-pci-avoid-to-poweroff-the-phy-for-slo.patch
./target/linux/ramips/patches-5.4/0103-staging-mt7621-pci-change-value-for-PERST_DELAY_MS.patch
./target/linux/ramips/patches-5.4/0116-staging-mt7621-pci-use-builtin_platform_driver.patch
./target/linux/ramips/patches-5.4/0106-staging-mt7621-pci-phy-add-mt7621_phy_rmw-to-simplif.patch
./target/linux/ramips/patches-5.4/0109-staging-mt7621-pci-don-t-return-if-get-gpio-fails.patch
./target/linux/ramips/patches-5.4/0102-staging-mt7621-pci-use-gpios-for-properly-reset.patch
./target/linux/ramips/patches-5.4/0112-staging-mt7621-pci-change-variable-to-print-for-slot.patch

This error still appear in latest snapshot, I'm running on Redmi AC2100
mt7621-pci 1e140000.pcie: Parsing DT failed
Is it harmless?
Should a bug be opened?

btw there are additional failures seen in dmesg:

pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]

Full dmesg output:

[    0.000000] Linux version 5.4.61 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14311-e5e54e52f7)) #0 SMP Mon Aug 31 00:15:41 2020
[    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 Redmi Router AC2100
[    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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00048440
[    0.000000] Readback ErrCtl register=00048440
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120584K/131072K available (5928K kernel code, 208K rwdata, 1272K rodata, 1284K init, 238K bss, 10488K 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.007802] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.042000] pid_max: default: 32768 minimum: 301
[    0.046776] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054002] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.064431] rcu: Hierarchical SRCU implementation.
[    0.069868] smp: Bringing up secondary CPUs ...
[    2.310616] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.310627] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.310640] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.310742] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.102635] Synchronize counters for CPU 1: done.
[    2.371944] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.371953] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.371961] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.372021] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.167352] Synchronize counters for CPU 2: done.
[    2.433341] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.433349] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.433359] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.433422] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.225219] Synchronize counters for CPU 3: done.
[    0.255098] smp: Brought up 1 node, 4 CPUs
[    0.263496] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.273189] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.280264] pinctrl core: initialized pinctrl subsystem
[    0.287170] NET: Registered protocol family 16
[    0.302597] FPU Affinity set after 4688 emulations
[    0.318493] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.329822] clocksource: Switched to clocksource GIC
[    0.336512] NET: Registered protocol family 2
[    0.342183] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.350705] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.358291] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.365282] TCP: Hash tables configured (established 1024 bind 1024)
[    0.371750] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.378236] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.385426] NET: Registered protocol family 1
[    0.389748] PCI: CLS 0 bytes, default 32
[    0.485764] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.492467] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.499155] random: fast init done
[    0.510856] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.516636] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.528109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.537375] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.543233] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.549003] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.555440] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.565435] printk: console [ttyS0] disabled
[    0.569717] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.578703] printk: console [ttyS0] enabled
[    0.586957] printk: bootconsole [early0] disabled
[    0.598969] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.606533] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    0.612869] nand: ESMT PSU1GA30DT
[    0.616182] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.623735] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.630278] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.637568] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.644859] Scanning device for bad blocks
[    2.624605] 10 fixed-partitions partitions found on MTD device mt7621-nand
[    2.631464] Creating 10 MTD partitions on "mt7621-nand":
[    2.636770] 0x000000000000-0x000000080000 : "Bootloader"
[    2.643419] 0x000000080000-0x0000000c0000 : "Config"
[    2.649884] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.656017] 0x000000100000-0x000000140000 : "factory"
[    2.662565] 0x000000140000-0x000000180000 : "crash"
[    2.668730] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.675607] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.682197] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.689116] 0x000000600000-0x000000a00000 : "kernel"
[    2.695397] 0x000000a00000-0x000007f80000 : "ubi"
[    2.703647] libphy: Fixed MDIO Bus: probed
[    2.732237] libphy: mdio: probed
[    2.735683] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.743472] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    2.753852] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.761648] NET: Registered protocol family 10
[    2.767736] Segment Routing with IPv6
[    2.771523] NET: Registered protocol family 17
[    2.776104] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.789300] 8021q: 802.1Q VLAN Support v1.8
[    2.795419] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.812910] libphy: dsa slave smi: probed
[    2.817336] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.827162] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.836853] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.846594] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    2.856392] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.867599] DSA: tree 0 setup
[    2.870881] rt2880-pinmux pinctrl: pcie is already enabled
[    2.876367] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.883972] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.891549] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.998961] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    3.004537] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    3.110049] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.116995] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    3.121867] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    3.126741] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    3.136181] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    3.142537] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.149396] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.156260] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.161791] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.167817] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.174079] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    3.180400] pci 0000:00:00.0: supports D1
[    3.184406] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.190514] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    3.196544] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.202807] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    3.209118] pci 0000:00:01.0: supports D1
[    3.213125] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.220263] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    3.226324] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.233259] 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.248242] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.253469] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.259555] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.266332] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.273541] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.280351] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    3.286392] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.292781] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    3.300089] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.305317] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.311404] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.318190] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.325397] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.332044] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.338648] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.345595] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.352196] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.359148] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.365926] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.373133] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.379912] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.387122] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.393905] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.400681] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.407460] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.414245] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.421547] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.426508] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.433280] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.440056] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.447276] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    3.454055] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.459011] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.465792] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.472565] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.480311] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    3.481461] UBI: auto-attach mtd9
[    3.490560] ubi0: attaching mtd9
[    4.706914] ubi0: scanning is finished
[    4.728090] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    4.733592] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.740452] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.747223] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.754169] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    4.760162] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.767367] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1594157890
[    4.776472] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    4.785688] ubi0: background thread "ubi_bgt0d" started, PID 491
[    4.787695] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.797168] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.804122] hctosys: unable to open rtc device (rtc0)
[    4.815825] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.827310] Freeing unused kernel memory: 1284K
[    4.831859] This architecture does not have kernel memory protection.
[    4.838284] Run /sbin/init as init process
[    5.384000] init: Console is alive
[    5.387666] init: - watchdog -
[    5.994189] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.085167] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.098122] init: - preinit -
[    6.707623] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.715966] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.724542] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.865681] random: jshn: uninitialized urandom read (4 bytes read)
[    6.927677] random: jshn: uninitialized urandom read (4 bytes read)
[    6.970895] random: jshn: uninitialized urandom read (4 bytes read)
[    7.202898] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.209981] 8021q: adding VLAN 0 to HW filter on device lan1
[   11.298309] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   11.305687] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   11.390442] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.396461] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 607
[   11.478839] UBIFS (ubi0:1): recovery needed
[   11.651944] UBIFS (ubi0:1): recovery completed
[   11.656559] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.664383] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.674285] UBIFS (ubi0:1): FS size: 111738880 bytes (106 MiB, 880 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[   11.684868] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   11.691482] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 1DB1C0D5-B9E9-43CD-86AC-B0DE9BD6F17A, small LPT model
[   11.716088] mount_root: switching to ubifs overlay
[   11.738654] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
[   11.754443] urandom-seed: Seeding with /etc/urandom.seed
[   11.902294] mt7530 mdio-bus:1f lan1: Link is Down
[   11.920739] procd: - early -
[   11.923749] procd: - watchdog -
[   12.525933] procd: - watchdog -
[   12.529405] procd: - ubus -
[   12.593479] procd: - init -
[   13.645695] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.668302] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   13.675538] Backport generated by backports.git v5.8-1-0-g79400d9e
[   13.698093] xt_time: kernel timezone is -0000
[   13.755985] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   13.761443] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   13.767124] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   13.773404] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   13.865911] urngd: v1.0.2 started.
[   14.006781] random: crng init done
[   14.010195] random: 7 urandom warning(s) missed due to ratelimiting
[   14.399244] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   14.404839] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   14.437815] mt7603e 0000:02:00.0: firmware init done
[   14.615881] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.627946] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   14.633403] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   14.639084] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.661145] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   14.686477] PPP generic driver version 2.4.2
[   14.694042] NET: Registered protocol family 24
[   14.714580] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.784117] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.784117]
[   15.090369] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   15.145122] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   20.591381] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   20.606599] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   20.614897] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.618397] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   20.630653] 8021q: adding VLAN 0 to HW filter on device lan1
[   20.639644] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.646833] br-lan: port 1(lan1) entered blocking state
[   20.652215] br-lan: port 1(lan1) entered disabled state
[   20.658620] device lan1 entered promiscuous mode
[   20.663340] device eth0 entered promiscuous mode
[   20.683741] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   20.690956] 8021q: adding VLAN 0 to HW filter on device lan2
[   20.700466] br-lan: port 2(lan2) entered blocking state
[   20.705779] br-lan: port 2(lan2) entered disabled state
[   20.712258] device lan2 entered promiscuous mode
[   20.726889] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   20.734486] 8021q: adding VLAN 0 to HW filter on device lan3
[   20.744250] br-lan: port 3(lan3) entered blocking state
[   20.749602] br-lan: port 3(lan3) entered disabled state
[   20.756560] device lan3 entered promiscuous mode
[   20.783604] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   20.790991] 8021q: adding VLAN 0 to HW filter on device wan
[   23.166614] br-lan: port 4(wlan0) entered blocking state
[   23.172010] br-lan: port 4(wlan0) entered disabled state
[   23.178175] device wlan0 entered promiscuous mode
[   23.714451] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   24.701870] br-lan: port 1(lan1) entered blocking state
[   24.707131] br-lan: port 1(lan1) entered forwarding state
[   24.713315] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.720628] br-lan: port 5(wlan1) entered blocking state
[   24.726033] br-lan: port 5(wlan1) entered disabled state
[   24.731984] device wlan1 entered promiscuous mode
[   31.876220] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.882993] br-lan: port 4(wlan0) entered blocking state
[   31.888348] br-lan: port 4(wlan0) entered forwarding state

Hey guys,

I thought that DT error message was a real issue as well, but apparently it isn't. I'm seeing that on all six of my MT7621 devices, by the way. So far I haven't noticed anything.

See also the explanation by the author of the MT7621 PCI driver when I raised the same question on the 5.10 PR for ramips.

1 Like