Network ethernet device bouncing up and down: Roku Incompatible"?

I have an ethernet port that keeps bouncing up and down:

Sat Jun 25 17:01:12 2022 kern.info kernel: [  340.040814] br-lan: port 2(lan2) entered disabled state
Sat Jun 25 17:01:12 2022 daemon.notice netifd: Network device 'lan2' link is down
Sat Jun 25 17:01:14 2022 kern.info kernel: [  342.084184] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
Sat Jun 25 17:01:14 2022 kern.info kernel: [  342.091916] br-lan: port 2(lan2) entered blocking state
Sat Jun 25 17:01:14 2022 kern.info kernel: [  342.097166] br-lan: port 2(lan2) entered forwarding state
Sat Jun 25 17:01:14 2022 daemon.notice netifd: Network device 'lan2' link is up
Sat Jun 25 17:01:15 2022 kern.info kernel: [  343.108002] mt7530 mdio-bus:1f lan2: Link is Down
Sat Jun 25 17:01:15 2022 kern.info kernel: [  343.112857] br-lan: port 2(lan2) entered disabled state
Sat Jun 25 17:01:15 2022 daemon.notice netifd: Network device 'lan2' link is down
Sat Jun 25 17:01:18 2022 kern.info kernel: [  346.180212] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
Sat Jun 25 17:01:18 2022 kern.info kernel: [  346.187947] br-lan: port 2(lan2) entered blocking state
Sat Jun 25 17:01:18 2022 kern.info kernel: [  346.193220] br-lan: port 2(lan2) entered forwarding state
Sat Jun 25 17:01:18 2022 daemon.notice netifd: Network device 'lan2' link is up
Sat Jun 25 17:01:19 2022 kern.info kernel: [  347.204073] mt7530 mdio-bus:1f lan2: Link is Down
Sat Jun 25 17:01:19 2022 kern.info kernel: [  347.208930] br-lan: port 2(lan2) entered disabled state
Sat Jun 25 17:01:19 2022 daemon.notice netifd: Network device 'lan2' link is down
Sat Jun 25 17:01:26 2022 kern.info kernel: [  354.372433] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
Sat Jun 25 17:01:26 2022 kern.info kernel: [  354.380187] br-lan: port 2(lan2) entered blocking state
Sat Jun 25 17:01:26 2022 kern.info kernel: [  354.385531] br-lan: port 2(lan2) entered forwarding state
Sat Jun 25 17:01:26 2022 daemon.notice netifd: Network device 'lan2' link is up
Sat Jun 25 17:01:27 2022 kern.info kernel: [  355.396213] mt7530 mdio-bus:1f lan2: Link is Down
Sat Jun 25 17:01:27 2022 kern.info kernel: [  355.401073] br-lan: port 2(lan2) entered disabled state
Sat Jun 25 17:01:27 2022 daemon.notice netifd: Network device 'lan2' link is down

Earlier it was lan4 that was doing this and my Roku wouldn't work. I moved it to a different port and it worked there. Now today I saw it happening on lan2—where the Roku is plugged in. Last time at one point I thought I reset lan4, but maybe not, I don't see that the reset button is enabled. Just now I tried turning off IPv6 and now the reset button is enabled, and that makes it work again.

Any ideas why a device connected to my Roku would bounce up and down?

Other:

  • Previously I had the same Roku, using the same cable, plugged into two different routers (one an ancient Linksys, one a different openwrt box), and it worked with both of them.

  • Hardware is Cudy WR2100

  • Running OpenWrt 21.02.3 r16554-1d4dea6d4f / LuCI openwrt-21.02 branch git-22.167.28411-ee8170b

  • Kernel is 5.4.188

Thanks,

-kb

Try a known good cable.

[175806.937782] mt7530 mdio-bus:00 lan3: Link is Up - 100Mbps/Full - flow control off
[175806.945450] br-lan: port 3(lan3) entered blocking state
[175806.950777] br-lan: port 3(lan3) entered forwarding state
[188325.572307] mt7530 mdio-bus:00 lan3: Link is Down
[188325.577508] br-lan: port 3(lan3) entered disabled state
[188327.718475] mt7530 mdio-bus:00 lan3: Link is Up - 10Mbps/Half - flow control off
[188327.726066] br-lan: port 3(lan3) entered blocking state
[188327.731442] br-lan: port 3(lan3) entered forwarding state
[188383.202291] br-lan: port 3(lan3) entered disabled state
[188383.207999] mt7530 mdio-bus:00 lan3: Link is Down
[188386.187505] mt7530 mdio-bus:00 lan3: Link is Up - 100Mbps/Full - flow control off
[188386.195142] br-lan: port 3(lan3) entered blocking state
[188386.200482] br-lan: port 3(lan3) entered forwarding state
[235425.993586] mt7530 mdio-bus:00 lan3: Link is Down
[235425.998741] br-lan: port 3(lan3) entered disabled state
[235452.024462] mt7530 mdio-bus:00 lan2: Link is Up - 100Mbps/Full - flow control off
[235452.032129] br-lan: port 2(lan2) entered blocking state
[235452.037456] br-lan: port 2(lan2) entered forwarding state
[236264.887200] mt7530 mdio-bus:00 lan2: Link is Down
[236264.892446] br-lan: port 2(lan2) entered disabled state
[236267.260230] mt7530 mdio-bus:00 lan2: Link is Up - 10Mbps/Half - flow control off
[236267.267813] br-lan: port 2(lan2) entered blocking state
[236267.273184] br-lan: port 2(lan2) entered forwarding state
[236322.534065] mt7530 mdio-bus:00 lan2: Link is Down

Same issue here, Roku TV. Started about a week ago. I have tried factory resetting the AP, updating the AP, different cables, switch ports to no avail.

OpenWRT:

Model|Linksys E8450 (UBI)
Target Platform mediatek/mt7622
Firmware Version OpenWrt SNAPSHOT r20011-265f402fbd / LuCI Master git-22.167.28356-8effea5
Kernel Version 5.15.50

Connecting the Roku to another by wire to another WiFi6 AP with its original firmware seems to solve the problem.

I have more data: My Roku has been working great, until last weekend,
when it happened again. I tried swapping in a new cable, that did not
fix it. I moved the Roku to a different port and in my case that did fix it.

Why did I see the problem last weekend? Well, the problem re-started
after I made a configuration change and I restarted the OpenWRT box.

My theory: There is something about how OpenWRT initializes that gets in
a fight with my model Roku.

Suggested experiment: Boot the router without the Roku plugged in. Let
it stabilize and get happy before connecting the Roku.

Possible work around: Don't plug the Roku into the OpenWRT box directly,
but connect it through an ethernet switch.

-kb

I reverted from the snapshots via sysupgrade back to the stable release:

  1. prime video is playing videos without buffering again
  2. roku can add channels, update itself, etc again
  3. netflix runs much smoother
  4. no more disabled interfaces