Here is an update to the previous described problem which happens only
with AR9xxx

> [12891.190000] net_ratelimit: 23 callbacks suppressed
> [12896.200000] net_ratelimit: 4608 callbacks suppressed
> [46741.060000] net_ratelimit: 3 callbacks suppressed

It seems to be iptables related. When adding to  /etc/sysctl.conf the
following:

net.ipv4.tcp_max_syn_backlog = 2048
net.ipv4.tcp_synack_retries = 3

The router does not freeze anymore.
Some research:
http://www.evanjones.ca/tcp-stuck-connection-mystery.html
http://zszsit.blogspot.ca/2012/10/ratelimit-callbacks-suppressed.html
http://www.gargoyle-router.com/phpbb/viewtopic.php?f=3&t=3203&start=20#p14512

On 11/07/2013 10:44 PM, cmsv wrote:
> AA DISTRIB_REVISION="r38621"
> 
> In the past few days i may have stumble on a possible kernel bug that
> has effect on AR9xxx
> 
> From all routers that i have been using to test the compiled images
> only 3 fully works apparently without  problems while the others end
> up by freezing after some time. The difference between the working ones
> and the malfunctioning ones is the chip.
> 
> Routers affected :
> DIR-615-C1 (Atheros AR9130) and TL-WR841N 8.3 (AR9341 SoC)
> 
> Router NOT affected:
> Dir 601 A1 (Atheros AR7240 rev 2)
> Dir 615 E1 ((Atheros AR7240)
> Dir 615 E3 ((Atheros AR7240)
> Tp-link tl wr703
> 
> The only errors i can obtain from any logs before i completely lose
> serial console access and the router freezes are:
> 
>  395.830000] SysRq : HELP : loglevel(0-9) reBoot Crash
> terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I)
> thaw-filesystems(J) show-memory-usage(M) nice-all-RT-tasks(N) powerOff
> show-registers(P) show-all-timers(Q) Sync show-task-states(T) Unmount
> show-blocked-tasks(W)
> [  395.860000] SysRq : Show Regs
> [  395.860000] Cpu 0
> [  395.860000] $ 0   : 00000000 80320000 80063340 802c8000
> [  395.860000] $ 4   : 00000000 00000000 1000f400 ffff00fe
> [  395.860000] $ 8   : 00000000 0000f400 00000000 81ab0000
> [  395.860000] $12   : 80e3a1e4 00000001 00010000 00470000
> [  395.860000] $16   : 80320000 80320000 80310000 80311ca1
> [  395.860000] $20   : 802d0000 00000000 81ff0000 00000000
> [  395.860000] $24   : 004764b8 80095220
> [  395.860000] $28   : 802c8000 802c9ed0 81ff0000 80064ba8
> [  395.860000] Hi    : 0000005c
> [  395.860000] Lo    : 2b183d00
> [  395.860000] epc   : 80063360 0x80063360
> [  395.860000]     Tainted: G           O
> [  395.860000] ra    : 80064ba8 0x80064ba8
> [  395.860000] Status: 1000f403    KERNEL EXL IE
> [  395.860000] Cause : 00804000
> [  395.860000] PrId  : 00019374 (MIPS 24Kc)
> [  396.080000] SysRq : HELP : loglevel(0-9) reBoot Crash
> terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I)
> thaw-filesystems(J) show-memory-usage(M) nice-all-RT-tasks(N) powerOff
> show-registers(P) show-all-timers(Q) Sync show-task-states(T) Unmount
> show-blocked-tasks(W)

DISTRIB_REVISION="r38863" which applied
target/linux/generic/patches-3.3/890-8250_optional_sysrq.patch seems to
resolve this issue.
> 
> Related links:
> https://bugzilla.kernel.org/show_bug.cgi?id=47741
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/984273
> 
> Just like this one:
> https://forums.gentoo.org/viewtopic-t-801565-view-previous.html?sid=cf2b78f9e57bf60c9e80057332a367ad
> 
> Also get these:
> 
> [12891.190000] net_ratelimit: 23 callbacks suppressed
> [12896.200000] net_ratelimit: 4608 callbacks suppressed
> [46741.060000] net_ratelimit: 3 callbacks suppressed
> 
> 
> I am willing to test patches and or fixes for this issue if anyone has
> any feedback regarding this problem.
> I was not able to find much helpful information about it.
> I would also like to know if anyone else is using the same AA revision
> (or close) with the same atheros chip and gets the same problem.
> 
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to