openwrt / openwrt/mt76

MT7915E not detected in totolink x5000r

Open
#610 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Hello everybody,
As I wrote also on the openwrt forums, I have 2 totolink x5000r routers ordered and arrived at the same time, same seller.
flashed them with openwrt and one of them detects the wifi card, one does not. The one that does not was flashed with stock firmware and wireless is working.
dmesg of working router:

root@OpenWrt:/sys/devices/platform# dmesg
...
[    0.797365] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.814030] libphy: dsa slave smi: probed
[    0.818508] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    0.828249] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    0.837962] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    0.847654] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    0.857454] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    0.867211] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    0.878446] DSA: tree 0 setup
[    0.881764] rt2880-pinmux pinctrl: pcie is already enabled
[    0.887420] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    0.895010] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.002186] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.007768] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.113033] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.119988] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.124865] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.129745] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.139221] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.145595] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.152465] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.159335] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.164856] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.170892] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.177156] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.183489] pci 0000:00:00.0: supports D1
[    1.187501] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.193632] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.199678] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.205943] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.212265] pci 0000:00:01.0: supports D1
[    1.216277] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.223369] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.231387] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.239584] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.245659] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.252891] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.260120] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.267453] pci 0000:01:00.0: supports D1 D2
[    1.271725] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.278369] 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)
[    1.293464] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.298712] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.304800] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.311583] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.318810] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.325641] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.331720] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.338950] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.346178] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.353507] pci 0000:02:00.0: supports D1 D2
[    1.357777] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.364418] 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)
[    1.379544] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.384788] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.390880] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.397659] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.404878] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.411533] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.418141] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.425095] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.431702] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.438660] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.445443] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.452668] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.459454] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    1.466671] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.473457] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.480244] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.487029] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    1.493819] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.501568] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.509316] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.517062] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.522026] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.528809] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.535593] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.542816] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    1.550565] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    1.558314] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    1.566053] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.571038] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    1.577816] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.584605] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.592615] hctosys: unable to open rtc device (rtc0)
[    1.602925] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.614419] Freeing unused kernel memory: 1268K
[    1.618972] This architecture does not have kernel memory protection.
[    1.625400] Run /sbin/init as init process
[    1.630758] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.078381] init: Console is alive
[    2.082020] init: - watchdog -
[    2.683580] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.772689] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.782455] init: - preinit -
[    3.445309] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    3.453643] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.462137] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.588703] random: jshn: uninitialized urandom read (4 bytes read)
[    3.652816] random: jshn: uninitialized urandom read (4 bytes read)
[    3.691342] random: jshn: uninitialized urandom read (4 bytes read)
[    3.910220] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    3.917246] 8021q: adding VLAN 0 to HW filter on device lan1
[    8.116920] jffs2: notice: (586) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 4 orphan) and 11 of xref (4 dead, 0 orphan) found.
[    8.134258] mount_root: switching to jffs2 overlay
[    8.144920] overlayfs: upper fs does not support tmpfile.
[    8.154989] urandom-seed: Seeding with /etc/urandom.seed
[    8.243230] procd: - early -
[    8.246257] procd: - watchdog -
[    8.834233] procd: - watchdog -
[    8.838135] procd: - ubus -
[    8.935259] procd: - init -
[    9.523157] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.542438] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[    9.550094] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[    9.576540] xt_time: kernel timezone is -0000
[    9.628704] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[    9.634148] pci 0000:00:00.0: enabling device (0004 -> 0007)
[    9.639811] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    9.646675] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[    9.652117] pci 0000:00:01.0: enabling device (0004 -> 0007)
[    9.657794] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[    9.660785] urngd: v1.0.2 started.
[    9.792713] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
[    9.792713]
[    9.802523] random: crng init done
[    9.805912] random: 7 urandom warning(s) missed due to ratelimiting
[   10.118255] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
[   10.155509] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
[   10.301645] PPP generic driver version 2.4.2
[   10.307387] NET: Registered protocol family 24
[   10.323736] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.983116] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   14.999541] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   15.007877] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.012433] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   15.023354] 8021q: adding VLAN 0 to HW filter on device lan1
[   15.032116] br-lan: port 1(lan1) entered blocking state
[   15.037505] br-lan: port 1(lan1) entered disabled state
[   15.044246] device lan1 entered promiscuous mode
[   15.049027] device eth0 entered promiscuous mode
[   15.057421] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.087040] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   15.094416] 8021q: adding VLAN 0 to HW filter on device lan2
[   15.103719] br-lan: port 2(lan2) entered blocking state
[   15.109146] br-lan: port 2(lan2) entered disabled state
[   15.115691] device lan2 entered promiscuous mode
[   15.131217] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   15.138524] 8021q: adding VLAN 0 to HW filter on device lan3
[   15.147553] br-lan: port 3(lan3) entered blocking state
[   15.152936] br-lan: port 3(lan3) entered disabled state
[   15.159783] device lan3 entered promiscuous mode
[   15.176599] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   15.184008] 8021q: adding VLAN 0 to HW filter on device lan4
[   15.193769] br-lan: port 4(lan4) entered blocking state
[   15.199223] br-lan: port 4(lan4) entered disabled state
[   15.206341] device lan4 entered promiscuous mode
[   15.227106] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   15.234377] 8021q: adding VLAN 0 to HW filter on device wan
[   16.665465] br-lan: port 5(wlan0) entered blocking state
[   16.670881] br-lan: port 5(wlan0) entered disabled state
[   16.676933] device wlan0 entered promiscuous mode
[   16.908724] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   16.915438] br-lan: port 5(wlan0) entered blocking state
[   16.920848] br-lan: port 5(wlan0) entered forwarding state
[   16.927351] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   17.144646] br-lan: port 6(wlan1) entered blocking state
[   17.150035] br-lan: port 6(wlan1) entered disabled state
[   17.155962] device wlan1 entered promiscuous mode
[   17.161261] br-lan: port 6(wlan1) entered blocking state
[   17.166652] br-lan: port 6(wlan1) entered forwarding state
[   17.688139] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  491.342727] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[  491.350281] br-lan: port 4(lan4) entered blocking state
[  491.355523] br-lan: port 4(lan4) entered forwarding state
[  502.606485] mt7530 mdio-bus:1f lan4: Link is Down
[  502.611619] br-lan: port 4(lan4) entered disabled state
[  505.678639] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[  505.686197] br-lan: port 4(lan4) entered blocking state
[  505.691437] br-lan: port 4(lan4) entered forwarding state
[  973.646535] mt7530 mdio-bus:1f lan4: Link is Down
[  973.651761] br-lan: port 4(lan4) entered disabled state
[ 1768.110795] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1768.118341] br-lan: port 1(lan1) entered blocking state
[ 1768.123601] br-lan: port 1(lan1) entered forwarding state
[ 1855.477317] br-lan: port 6(wlan1) entered disabled state
[ 1855.482825] br-lan: port 5(wlan0) entered disabled state
[ 1855.488281] br-lan: port 1(lan1) entered disabled state
[ 1855.495995] device lan1 left promiscuous mode
[ 1855.500742] br-lan: port 1(lan1) entered disabled state
[ 1855.528303] mt7530 mdio-bus:1f lan1: Link is Down
[ 1855.535167] device lan2 left promiscuous mode
[ 1855.539805] br-lan: port 2(lan2) entered disabled state
[ 1855.562008] device lan3 left promiscuous mode
[ 1855.566630] br-lan: port 3(lan3) entered disabled state
[ 1855.593744] device lan4 left promiscuous mode
[ 1855.598544] br-lan: port 4(lan4) entered disabled state
[ 1855.621600] device wlan0 left promiscuous mode
[ 1855.626228] br-lan: port 5(wlan0) entered disabled state
[ 1855.654766] device wlan1 left promiscuous mode
[ 1855.659389] br-lan: port 6(wlan1) entered disabled state
[ 1855.745205] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 1855.752423] 8021q: adding VLAN 0 to HW filter on device lan1
[ 1855.761199] br-lan: port 1(lan1) entered blocking state
[ 1855.766523] br-lan: port 1(lan1) entered disabled state
[ 1855.772795] device lan1 entered promiscuous mode
[ 1855.783592] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 1855.790785] 8021q: adding VLAN 0 to HW filter on device lan2
[ 1855.799664] br-lan: port 2(lan2) entered blocking state
[ 1855.805003] br-lan: port 2(lan2) entered disabled state
[ 1855.811656] device lan2 entered promiscuous mode
[ 1855.823689] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 1855.830865] 8021q: adding VLAN 0 to HW filter on device lan3
[ 1855.840176] br-lan: port 3(lan3) entered blocking state
[ 1855.845613] br-lan: port 3(lan3) entered disabled state
[ 1855.852179] device lan3 entered promiscuous mode
[ 1855.862826] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 1855.870042] 8021q: adding VLAN 0 to HW filter on device lan4
[ 1855.878803] br-lan: port 4(lan4) entered blocking state
[ 1855.884107] br-lan: port 4(lan4) entered disabled state
[ 1855.890888] device lan4 entered promiscuous mode
[ 1855.902008] br-lan: port 5(wlan0) entered blocking state
[ 1855.907437] br-lan: port 5(wlan0) entered disabled state
[ 1855.913477] device wlan0 entered promiscuous mode
[ 1855.921687] br-lan: port 6(wlan1) entered blocking state
[ 1855.927128] br-lan: port 6(wlan1) entered disabled state
[ 1855.933144] device wlan1 entered promiscuous mode
[ 1855.942240] br-lan: port 6(wlan1) entered blocking state
[ 1855.947615] br-lan: port 6(wlan1) entered forwarding state
[ 1855.953327] br-lan: port 5(wlan0) entered blocking state
[ 1855.958738] br-lan: port 5(wlan0) entered forwarding state
[ 1855.964445] br-lan: port 1(lan1) entered blocking state
[ 1855.969762] br-lan: port 1(lan1) entered forwarding state
[ 1856.526650] br-lan: port 1(lan1) entered disabled state
[ 1858.830889] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1858.838439] br-lan: port 1(lan1) entered blocking state
[ 1858.843710] br-lan: port 1(lan1) entered forwarding state
[ 2775.348277] mt7530 mdio-bus:1f lan1: Link is Down
[ 2775.353387] br-lan: port 1(lan1) entered disabled state
[ 2783.540531] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2783.548086] br-lan: port 1(lan1) entered blocking state
[ 2783.553342] br-lan: port 1(lan1) entered forwarding state
[ 2794.804493] mt7530 mdio-bus:1f lan1: Link is Down
[ 2794.809338] br-lan: port 1(lan1) entered disabled state
[ 2797.876688] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2797.884282] br-lan: port 1(lan1) entered blocking state
[ 2797.889577] br-lan: port 1(lan1) entered forwarding state
[ 2810.164661] mt7530 mdio-bus:1f lan1: Link is Down
[ 2810.169504] br-lan: port 1(lan1) entered disabled state
[ 2812.212849] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2812.220402] br-lan: port 1(lan1) entered blocking state
[ 2812.225655] br-lan: port 1(lan1) entered forwarding state

non working router:

root@OpenWrt:/sys/devices/platform# dmesg
...
[    0.792766] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.809665] libphy: dsa slave smi: probed
[    0.814206] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    0.823974] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    0.833661] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    0.843360] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    0.853208] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    0.862946] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    0.874205] DSA: tree 0 setup
[    0.877470] rt2880-pinmux pinctrl: pcie is already enabled
[    0.883123] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    0.890708] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    0.997890] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.003473] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.108740] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    1.115692] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.122647] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.127529] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.136974] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.143341] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.150211] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.157077] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.162602] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.168635] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.174913] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.181242] pci 0000:00:00.0: supports D1
[    1.185254] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.192530] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.198618] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.205849] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.213074] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.220412] pci 0000:01:00.0: supports D1 D2
[    1.224684] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.231329] 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)
[    1.246420] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.251653] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.257740] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.264525] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.271744] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.278391] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.284997] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.291956] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.298743] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.305968] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    1.312754] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.319546] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.327294] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.335043] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.342787] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.347752] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.354536] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.361316] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.369091] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    1.369396] hctosys: unable to open rtc device (rtc0)
[    1.386360] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.397785] Freeing unused kernel memory: 1268K
[    1.402380] This architecture does not have kernel memory protection.
[    1.408800] Run /sbin/init as init process
[    1.858640] init: Console is alive
[    1.862312] init: - watchdog -
[    2.464429] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.553529] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.562152] init: - preinit -
[    3.228541] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    3.236886] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.245382] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.371163] random: jshn: uninitialized urandom read (4 bytes read)
[    3.435351] random: jshn: uninitialized urandom read (4 bytes read)
[    3.473997] random: jshn: uninitialized urandom read (4 bytes read)
[    3.693371] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    3.700434] 8021q: adding VLAN 0 to HW filter on device lan1
[    7.782301] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.789834] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[    7.914083] jffs2: notice: (583) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (13 unchecked, 2 orphan) and 19 of xref (2 dead, 0 orphan) found.
[    7.931803] mount_root: switching to jffs2 overlay
[    7.942497] overlayfs: upper fs does not support tmpfile.
[    7.953108] urandom-seed: Seeding with /etc/urandom.seed
[    8.034055] mt7530 mdio-bus:1f lan1: Link is Down
[    8.050671] procd: - early -
[    8.053646] procd: - watchdog -
[    8.641934] procd: - watchdog -
[    8.645744] procd: - ubus -
[    8.742821] procd: - init -
[    9.341977] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.361292] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[    9.368978] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[    9.395227] xt_time: kernel timezone is -0000
[    9.450396] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=24
[    9.455847] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    9.461506] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[    9.471399] urngd: v1.0.2 started.
[    9.593086] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
[    9.593086]
[    9.614170] random: crng init done
[    9.617582] random: 7 urandom warning(s) missed due to ratelimiting
[    9.921740] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
[    9.955518] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
[   10.113178] mt7915e: probe of 0000:01:00.0 failed with error -22
[   10.133206] PPP generic driver version 2.4.2
[   10.138961] NET: Registered protocol family 24
[   10.153618] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.943842] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   15.962143] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   15.970666] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.974819] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   15.986442] 8021q: adding VLAN 0 to HW filter on device lan1
[   15.995762] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.003680] br-lan: port 1(lan1) entered blocking state
[   16.009059] br-lan: port 1(lan1) entered disabled state
[   16.015624] device lan1 entered promiscuous mode
[   16.020397] device eth0 entered promiscuous mode
[   16.055625] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   16.062908] 8021q: adding VLAN 0 to HW filter on device lan2
[   16.078014] br-lan: port 2(lan2) entered blocking state
[   16.083311] br-lan: port 2(lan2) entered disabled state
[   16.089666] device lan2 entered promiscuous mode
[   16.104770] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   16.112028] 8021q: adding VLAN 0 to HW filter on device lan3
[   16.120933] br-lan: port 3(lan3) entered blocking state
[   16.126241] br-lan: port 3(lan3) entered disabled state
[   16.133902] device lan3 entered promiscuous mode
[   16.149587] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   16.156869] 8021q: adding VLAN 0 to HW filter on device lan4
[   16.166453] br-lan: port 4(lan4) entered blocking state
[   16.171726] br-lan: port 4(lan4) entered disabled state
[   16.179025] device lan4 entered promiscuous mode
[   16.204164] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   16.211550] 8021q: adding VLAN 0 to HW filter on device wan
[   19.142303] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.149849] br-lan: port 2(lan2) entered blocking state
[   19.155112] br-lan: port 2(lan2) entered forwarding state
[   19.161444] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.102315] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.109864] br-lan: port 1(lan1) entered blocking state
[   20.115098] br-lan: port 1(lan1) entered forwarding state
[   20.294387] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   20.301658] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   21.126186] mt7530 mdio-bus:1f lan1: Link is Down
[   21.131270] br-lan: port 1(lan1) entered disabled state
[   25.222230] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   25.229800] br-lan: port 1(lan1) entered blocking state
[   25.235022] br-lan: port 1(lan1) entered forwarding state
[  997.194262] mt7530 mdio-bus:1f wan: Link is Down
[ 1001.098279] mt7530 mdio-bus:1f lan1: Link is Down
[ 1001.103396] br-lan: port 1(lan1) entered disabled state

up until the pcie0 difference all is the same on both routers.
I do not know why, and I have not opened the routers to check if there is any visible difference between the boards.

I do not know how to proceed from here, so I thought somebody here would be more interested to find out what is a miss.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the supplied dmesg from the working and failing Totolink X5000R units, focusing on PCI enumeration, the mt7915e entry points, and firmware-loading messages. Reproduce the missing MT7915E detection on the affected router and identify a repeatable driver or hardware-level failure signature; the issue is resolved when the device is detected reliably or the required diagnostic evidence is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
embedded-iot, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.