23.09.2011 02:39, Alexey Loukianov wrote:
> Jan  1 01:03:09 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
> reseting link
> Jan  1 01:03:09 OpenWrt kern.info kernel: eth0: link down
> ...
> Jan  1 01:03:11 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
> reseting link
> Jan  1 01:03:11 OpenWrt kern.info kernel: eth0: link down
> ...
> 
> This were taken not at the moment the link had fallen into flip-flopping state
> but I'm pretty sure that constant flip-flopping is just the result of
> permanent "DMA stuck" that can't be recovered by ag->restart_work shared 
> worker 
> on my AR7240 box.

Here are logs recorded at flip-floping state (grepped for "eth0:"):
Jan  1 11:00:18 OpenWrt kern.info kernel: eth0: tx timeout
Jan  1 11:00:18 OpenWrt kern.info kernel: eth0: link down
Jan  1 11:00:18 OpenWrt kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan  1 11:00:19 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
reseting link
Jan  1 11:00:19 OpenWrt kern.info kernel: eth0: link down
Jan  1 11:00:19 OpenWrt kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan  1 11:00:20 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
reseting link
Jan  1 11:00:20 OpenWrt kern.info kernel: eth0: link down
Jan  1 11:00:20 OpenWrt kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan  1 11:00:21 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
reseting link
Jan  1 11:00:21 OpenWrt kern.info kernel: eth0: link down
Jan  1 11:00:21 OpenWrt kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan  1 11:00:27 OpenWrt kern.info kernel: eth0: tx timeout
Jan  1 11:00:27 OpenWrt kern.info kernel: eth0: link down
Jan  1 11:00:27 OpenWrt kern.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan  1 11:00:31 OpenWrt kern.info kernel: eth0: AR724x DMA seems to be stuck, 
reseting link
Jan  1 11:00:31 OpenWrt kern.info kernel: eth0: link down

So here we have not only "DMA stuck" but also "tx timeout" that
isn't much different and can be consequence of stalled DMA engine.
Also this might be race condition between checks for DMA stuck and
tx timeout. Once again "ifconfig eth0 down && ifconfig eth0 up" 
recovered port into working state.

Still looking for any help with debugging this bug. Thx in advance!

-- 
Best regards,
Alexey Loukianov                          mailto:mooro...@mail.ru
System Engineer,                            Mob.:+7(926)218-1320
*nix Specialist


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to