Re: [OpenWrt-Devel] AA (3.3.8) and AR9XXX Kernel bug ? (Emergency Thaw)

2013-11-19 Thread cmsv
Here is an update to the previous described problem which happens only
with AR9xxx

 [12891.19] net_ratelimit: 23 callbacks suppressed
 [12896.20] net_ratelimit: 4608 callbacks suppressed
 [46741.06] 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=3t=3203start=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.83] 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.86] SysRq : Show Regs
 [  395.86] Cpu 0
 [  395.86] $ 0   :  8032 80063340 802c8000
 [  395.86] $ 4   :   1000f400 00fe
 [  395.86] $ 8   :  f400  81ab
 [  395.86] $12   : 80e3a1e4 0001 0001 0047
 [  395.86] $16   : 8032 8032 8031 80311ca1
 [  395.86] $20   : 802d  81ff 
 [  395.86] $24   : 004764b8 80095220
 [  395.86] $28   : 802c8000 802c9ed0 81ff 80064ba8
 [  395.86] Hi: 005c
 [  395.86] Lo: 2b183d00
 [  395.86] epc   : 80063360 0x80063360
 [  395.86] Tainted: G   O
 [  395.86] ra: 80064ba8 0x80064ba8
 [  395.86] Status: 1000f403KERNEL EXL IE
 [  395.86] Cause : 00804000
 [  395.86] PrId  : 00019374 (MIPS 24Kc)
 [  396.08] 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.19] net_ratelimit: 23 callbacks suppressed
 [12896.20] net_ratelimit: 4608 callbacks suppressed
 [46741.06] 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.
 
 
 




signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] AA (3.3.8) and AR9XXX Kernel bug ? (Emergency Thaw)

2013-11-07 Thread cmsv
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.83] 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.86] SysRq : Show Regs
[  395.86] Cpu 0
[  395.86] $ 0   :  8032 80063340 802c8000
[  395.86] $ 4   :   1000f400 00fe
[  395.86] $ 8   :  f400  81ab
[  395.86] $12   : 80e3a1e4 0001 0001 0047
[  395.86] $16   : 8032 8032 8031 80311ca1
[  395.86] $20   : 802d  81ff 
[  395.86] $24   : 004764b8 80095220
[  395.86] $28   : 802c8000 802c9ed0 81ff 80064ba8
[  395.86] Hi: 005c
[  395.86] Lo: 2b183d00
[  395.86] epc   : 80063360 0x80063360
[  395.86] Tainted: G   O
[  395.86] ra: 80064ba8 0x80064ba8
[  395.86] Status: 1000f403KERNEL EXL IE
[  395.86] Cause : 00804000
[  395.86] PrId  : 00019374 (MIPS 24Kc)
[  396.08] 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)

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.19] net_ratelimit: 23 callbacks suppressed
[12896.20] net_ratelimit: 4608 callbacks suppressed
[46741.06] 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.



-- 





Site: http://wirelesspt.net
Mesh: http://tinyurl.com/wirelesspt
Admin: http://wirelesspt.net/wiki/Cmsv
Twitter: http://twitter.com/wirelesspt
Youtube: https://youtube.com/wirelesspt
Suporte técnico via sms: 91 19 11 798
Donativos/Paypal: http://tinyurl.com/doar-verba
Chave publica PGP/SSH: http://wirelesspt.net/arquivos/pk
Licença deste conteúdo:
https://creativecommons.org/licenses/by-nc-sa/3.0/pt/
Email assinado digitalmente pelo emissor assegurando autenticidade






0x782BF73E.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel