You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible tx stall with macb on pi5/cm5 with 6.18(.24) #7339
@lukaszraczylo posted an RFC about a possible tx stall in the macb driver on rp1. Ran into the same on a CM5 today and the symptoms match: link comes up but tx_packets stops incrementing, rx still works, ip link set eth0 down/up recovers it. Often after a link bounce.
Will test the RFC series and update this issue, then post a PR with the patches once I've dug a bit deeper. Issue is just meant as info for others with the same symptoms.
(6.18.22 ran fine, started seeing it after updating our downstream tree to 6.18.24. Per the upstream report it also reproduces on 6.17, so likely latent rather than a 6.18.24 regression.)
I just wanted to actually make issue about that. My network got frozen 4 times in 2 days... Had to make watchdog because kernel doesn't even implement TX watchdog, so my all connections get frozen (including wifi on LAN, because it tries to respond through ethernet even if request went from wifi). Also PHY runs on polling instead of interrupts which is weird
@koeqaife I've tried it - before digging deeper with the watchdog, unfortunately it never fired - hence my dig into the kernel itself in the search of an issue resulting in the patch. I'm currently on 2400 node-hours ( 24 nodes ) without issues post patching so - I'd say "it works" :)
@koeqaife hopefully it'll be end of the trouble after this PR is approved :) My kubernetes cluster had nodes flapping left and right for no reason, which of course neither postgres or longhorn liked so - I've had motivation and enough of caffeine to dig into it last Friday
I wasn't home when my network stopped working, so basically it wasn't working for 2 hours, it was crazy. And I thought it was crashing, but no logs in journalctl, no logs in dmesg, postgresql was working fine and everything else was working fine and even shutdown was fine
With the system in the "hung" state, what is the output of sudo busybox devmem 0x1f00100014? What happens if you do sudo busybox devmem 0x1f00100000 32 0x0010021C - does traffic resume?
If there's anyone here who used to suffer from TX stalls, please try the patch in #7472 - it takes a different approach to solving the problem. As ever, you can install it with sudo rpi-update pulls/7472.
Activity
lukaszraczylo commentedon Apr 28, 2026
As a background - there's bit more of discussions :
I have prepared PR for you as well ( perfect timing as I just wrapped the siderolabs/pkgs one ) - #7340
koeqaife commentedon Apr 28, 2026
I just wanted to actually make issue about that. My network got frozen 4 times in 2 days... Had to make watchdog because kernel doesn't even implement TX watchdog, so my all connections get frozen (including wifi on LAN, because it tries to respond through ethernet even if request went from wifi). Also PHY runs on polling instead of interrupts which is weird
lukaszraczylo commentedon Apr 28, 2026
@koeqaife I've tried it - before digging deeper with the watchdog, unfortunately it never fired - hence my dig into the kernel itself in the search of an issue resulting in the patch. I'm currently on 2400 node-hours ( 24 nodes ) without issues post patching so - I'd say "it works" :)
koeqaife commentedon Apr 28, 2026
The bug is really annoying cause I have no access to ssh when it dies, so I have to just reboot by raspberry pi 😭
koeqaife commentedon Apr 28, 2026
I wrote my own watchdog that was just pinging 1.1.1.1, and if it fails 3 times it restarts whole ethernet interface
lukaszraczylo commentedon Apr 28, 2026
@koeqaife hopefully it'll be end of the trouble after this PR is approved :) My kubernetes cluster had nodes flapping left and right for no reason, which of course neither postgres or longhorn liked so - I've had motivation and enough of caffeine to dig into it last Friday
koeqaife commentedon Apr 28, 2026
I wasn't home when my network stopped working, so basically it wasn't working for 2 hours, it was crazy. And I thought it was crashing, but no logs in journalctl, no logs in dmesg, postgresql was working fine and everything else was working fine and even shutdown was fine
koeqaife commentedon Apr 28, 2026
Also I run this on startup
It fixes everything but loads CPU more
EDIT: Not really...
koeqaife commentedon Apr 28, 2026
[mrdan@rasberry-pi ~]$ cat /var/log/net-watchdog.log
Wed Apr 29 12:10:02 AM CEST 2026 ping fail #1
Wed Apr 29 12:10:15 AM CEST 2026 ping fail #2
Wed Apr 29 12:10:28 AM CEST 2026 ping fail #3
Wed Apr 29 12:10:28 AM CEST 2026 resetting end0
Wed Apr 29 12:10:43 AM CEST 2026 ping fail #1
Wed Apr 29 12:10:56 AM CEST 2026 ping fail #2
Wed Apr 29 12:11:09 AM CEST 2026 ping fail #3
Wed Apr 29 12:11:09 AM CEST 2026 resetting end0
...
Omg looks like I have to do bind/unbind instead of down/up 😭
It kills driver completely...
P33M commentedon Apr 30, 2026
With the system in the "hung" state, what is the output of
sudo busybox devmem 0x1f00100014? What happens if you dosudo busybox devmem 0x1f00100000 32 0x0010021C- does traffic resume?koeqaife commentedon Apr 30, 2026
I will try that, but my internet wasn't dying for a day now
koeqaife commentedon Jun 15, 2026
By the way, fixed in last versions of linux-rpi
mattie47 commentedon Jul 5, 2026
Do you know what actually fixed it, or the relevant PR? Since if it's fixed then this issue could reference it and be closed.
Thanks
pelwell commentedon Jul 6, 2026
If there's anyone here who used to suffer from TX stalls, please try the patch in #7472 - it takes a different approach to solving the problem. As ever, you can install it with
sudo rpi-update pulls/7472.