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

Dead wan port on testing kernel - TP-Link Archer C6U #14673

Closed
1 task done
KliXeR opened this issue Feb 18, 2024 · 8 comments
Closed
1 task done

Dead wan port on testing kernel - TP-Link Archer C6U #14673

KliXeR opened this issue Feb 18, 2024 · 8 comments
Labels
bug issue report with a confirmed bug Self Built Image SNAPSHOT Supported Device target/ramips pull request/issue for ramips target

Comments

@KliXeR
Copy link

KliXeR commented Feb 18, 2024

Describe the bug

On testing kernel 6.1 on mt7621 TP-Link Archer C6U v1 wan port is completely dead. On 5.15 works fine.

mtk_soc_eth 1e100000.ethernet wan: validation of with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
mtk_soc_eth 1e100000.ethernet wan: mtk_open: could not attach PHY: -22

OpenWrt version

r24132-359a6e36e9

OpenWrt release

SNAPSHOT

OpenWrt target/subtarget

ramips/mt7621

Device

TP-Link Archer C6U v1

Image kind

Self-built image

Steps to reproduce

Compile snapshot for TP-Link Archer C6U with testing kernel, flash to device.

Actual behaviour

Wan port is dead.

Expected behaviour

Wan port is working.

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@KliXeR KliXeR added the bug issue report with a confirmed bug label Feb 18, 2024
@brada4
Copy link

brada4 commented Feb 19, 2024

Try detecting phy address on running system:
mii-tool -v -p 0 wan
...
mii-tool -v -p 4 wan

One that shows viable speeds should be edited in this line

(the mux patch took out switch port 4 and made it wan)

@KliXeR
Copy link
Author

KliXeR commented Feb 19, 2024

On 5.15 -p 0 is correct phy.

On 6.1 i got this on any phy (0, 1, 2, 3, 4):

SIOCGMIIPHY on 'wan' failed: Not supported

@brada4
Copy link

brada4 commented Feb 19, 2024

As a temporary workaround you may find unused "LAN" port, remove it from br-lan and transfer WAN-related configurations to it. But otherwise indeed it is broken.

@KosmiK2001
Copy link

KosmiK2001 commented Feb 24, 2024

Tp-link AX23 v1.x
Same problem. Dead wan port. Snapshot!

Well, commit "cc4d01cd6043edbe8191cbddea8133b6879b25ef" from 2024.02.10 - is the Last commit, when wan port works.

Kernel 6.6.23. Commit "4d3f41130e3c681d40c3599653a17bbff5d00306". Nope.

@brada4 brada4 mentioned this issue Mar 20, 2024
1 task
@calin2k
Copy link

calin2k commented Mar 27, 2024

bug also present on xiaomi_redmi-router-ax6s mediatek 7622 target

@KosmiK2001
Copy link

Check snapshot.
WAN in AX23 v1 now works fine.

@Borromini
Copy link

@KliXeR Can you test a recent snapshot build? This should be fixed now (see my EAP235-Wall bug report).

@KliXeR
Copy link
Author

KliXeR commented May 2, 2024

Yeah, thanks. Everything is working now!

@KliXeR KliXeR closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug Self Built Image SNAPSHOT Supported Device target/ramips pull request/issue for ramips target
Projects
None yet
Development

No branches or pull requests

5 participants