Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] Errors in dmesg on latest cero
@ 2013-06-18 12:35 Toke Høiland-Jørgensen
  2013-06-18 13:35 ` Toke Høiland-Jørgensen
  2013-06-18 17:07 ` Dave Taht
  0 siblings, 2 replies; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2013-06-18 12:35 UTC (permalink / raw)
  To: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

I'm getting some weird errors in dmesg on my latest cero(-based) build:

[75667.492187] ath: phy0: Failed to stop TX DMA, queues=0x004!
[75667.574218] ath: phy0: Failed to stop TX DMA, queues=0x004!
[75667.660156] ath: phy0: Failed to stop TX DMA, queues=0x004!
[75667.742187] ath: phy0: Failed to stop TX DMA, queues=0x004!
[75667.828125] ath: phy0: Failed to stop TX DMA, queues=0x004!
[78593.152343] ath: phy0: Failed to stop TX DMA, queues=0x004!
[78600.367187] ath: phy0: Failed to stop TX DMA, queues=0x004!

and some IPv6 checksum failures:

[127948.988281] ICMPv6 checksum failed [xxxx:xxxx:xxxx:0015:0000:0000:0000:0001 > xxxx:xxxx:xxxx:0015:0000:0000:0000:0002]

The addresses are the 6in4 tunnel endpoints.

I've also seen babeld lose connectivity (restarting it helped).


Anything I can do about these, or are they just noise?

-Toke

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cerowrt-devel] Errors in dmesg on latest cero
  2013-06-18 12:35 [Cerowrt-devel] Errors in dmesg on latest cero Toke Høiland-Jørgensen
@ 2013-06-18 13:35 ` Toke Høiland-Jørgensen
  2013-06-18 16:50   ` Dave Taht
  2013-06-18 17:07 ` Dave Taht
  1 sibling, 1 reply; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2013-06-18 13:35 UTC (permalink / raw)
  To: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]

Toke Høiland-Jørgensen <toke@toke.dk> writes:

> I'm getting some weird errors in dmesg on my latest cero(-based) build:
>
> [75667.492187] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.574218] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.660156] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.742187] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.828125] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [78593.152343] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [78600.367187] ath: phy0: Failed to stop TX DMA, queues=0x004!

Something is definitely dodgy with the wireless. I can only see the
different networks intermittently, and when I try to connect, I get this
in the logs:

Jun 18 15:31:33 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response
Jun 18 15:31:33 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: associated (aid 1)
Jun 18 15:31:34 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad RADIUS: starting accounting session 51BE2E3B-00000000
Jun 18 15:31:34 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad WPA: pairwise key handshake completed (RSN)
Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPDISCOVER(sw10) 00:21:5c:51:c1:ad 
Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPOFFER(sw10) 10.42.3.101 00:21:5c:51:c1:ad 
Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPREQUEST(sw10) 10.42.3.101 00:21:5c:51:c1:ad 
Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPACK(sw10) 10.42.3.101 00:21:5c:51:c1:ad alrua-laptop
Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: RTR-ADVERT(sw10) xxxx.xxxx.xxxx:4::
Jun 18 15:31:44 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response
Jun 18 15:31:44 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response


On a second try it succeeds, however I still can't connect to the 2.4ghz
net...


-Toke

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cerowrt-devel] Errors in dmesg on latest cero
  2013-06-18 13:35 ` Toke Høiland-Jørgensen
@ 2013-06-18 16:50   ` Dave Taht
  2013-06-19  8:17     ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 5+ messages in thread
From: Dave Taht @ 2013-06-18 16:50 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: cerowrt-devel

On Tue, Jun 18, 2013 at 6:35 AM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Toke Høiland-Jørgensen <toke@toke.dk> writes:
>
>> I'm getting some weird errors in dmesg on my latest cero(-based) build:
>>
>> [75667.492187] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [75667.574218] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [75667.660156] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [75667.742187] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [75667.828125] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [78593.152343] ath: phy0: Failed to stop TX DMA, queues=0x004!
>> [78600.367187] ath: phy0: Failed to stop TX DMA, queues=0x004!
>
> Something is definitely dodgy with the wireless. I can only see the

You are aware of the bssid trick right?

> different networks intermittently, and when I try to connect, I get this
> in the logs:
>
> Jun 18 15:31:33 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response
> Jun 18 15:31:33 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: associated (aid 1)
> Jun 18 15:31:34 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad RADIUS: starting accounting session 51BE2E3B-00000000
> Jun 18 15:31:34 guardian daemon.info hostapd: sw10: STA 00:21:5c:51:c1:ad WPA: pairwise key handshake completed (RSN)
> Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPDISCOVER(sw10) 00:21:5c:51:c1:ad
> Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPOFFER(sw10) 10.42.3.101 00:21:5c:51:c1:ad
> Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPREQUEST(sw10) 10.42.3.101 00:21:5c:51:c1:ad
> Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: DHCPACK(sw10) 10.42.3.101 00:21:5c:51:c1:ad alrua-laptop
> Jun 18 15:31:37 guardian daemon.info dnsmasq-dhcp[2782]: RTR-ADVERT(sw10) xxxx.xxxx.xxxx:4::
> Jun 18 15:31:44 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response
> Jun 18 15:31:44 guardian daemon.notice hostapd: sw10: STA 00:21:5c:51:c1:ad IEEE 802.11: did not acknowledge authentication response
>
>
> On a second try it succeeds, however I still can't connect to the 2.4ghz
> net...
>
>
> -Toke
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>

I have seen many errors like that off and on over the years. Felix has
put in many a patch in the driver to keep bad things from happening
like that.

I think this is the background queue acting up on you. I note that the
cerowrt qlen_bk is 12 packets. Perhaps there's an issue in tracking
that correctly in the latest openwrt?

I too am seeing it under heavy load. I have not been seeing it on
boxes that I'm killing multi-queue wifi on (which really seems to be a
huge win regardless). This is not a "fix":

#!/bin/sh

ipt() {
iptables $*
ip6tables $*
}

#iptables doesn't support an inverted match
#iptables -t mangle -A PREROUTING -m dscp ! --dscp-class BE -j DSCP --set-dscp
0
ipt -t mangle -N FIX_TOS
ipt -t mangle -A FIX_TOS -m dscp --dscp-class BE -j ACCEPT
ipt -t mangle -A FIX_TOS -j DSCP --set-dscp 0
ipt -t mangle -A POSTROUTING -o wlan0 -j FIX_TOS

-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cerowrt-devel] Errors in dmesg on latest cero
  2013-06-18 12:35 [Cerowrt-devel] Errors in dmesg on latest cero Toke Høiland-Jørgensen
  2013-06-18 13:35 ` Toke Høiland-Jørgensen
@ 2013-06-18 17:07 ` Dave Taht
  1 sibling, 0 replies; 5+ messages in thread
From: Dave Taht @ 2013-06-18 17:07 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: cerowrt-devel

grumble. An ubnt box running something close to 3.8.13-7

[33398.253906] ath: phy0: Failed to stop TX DMA, queues=0x004!
[33398.269531] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
[33398.281250] ath: phy0: Could not stop RX, we could be confusing the
DMA engine when we start RX up
[35734.441406] ath: phy0: Failed to stop TX DMA, queues=0x006!
[35734.460937] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024
AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
[35734.468750] ath: phy0: Could not stop RX, we could be confusing the
DMA engine when we start RX up
[50427.460937] ath: phy0: Failed to stop TX DMA, queues=0x004!


On Tue, Jun 18, 2013 at 5:35 AM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> I'm getting some weird errors in dmesg on my latest cero(-based) build:
>
> [75667.492187] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.574218] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.660156] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.742187] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [75667.828125] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [78593.152343] ath: phy0: Failed to stop TX DMA, queues=0x004!
> [78600.367187] ath: phy0: Failed to stop TX DMA, queues=0x004!
>
> and some IPv6 checksum failures:
>
> [127948.988281] ICMPv6 checksum failed [xxxx:xxxx:xxxx:0015:0000:0000:0000:0001 > xxxx:xxxx:xxxx:0015:0000:0000:0000:0002]
>
> The addresses are the 6in4 tunnel endpoints.
>
> I've also seen babeld lose connectivity (restarting it helped).
>
>
> Anything I can do about these, or are they just noise?
>
> -Toke
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Cerowrt-devel] Errors in dmesg on latest cero
  2013-06-18 16:50   ` Dave Taht
@ 2013-06-19  8:17     ` Toke Høiland-Jørgensen
  0 siblings, 0 replies; 5+ messages in thread
From: Toke Høiland-Jørgensen @ 2013-06-19  8:17 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

Dave Taht <dave.taht@gmail.com> writes:

> You are aware of the bssid trick right?

Dunno. Refresh my memory?

It seems that after a while, clients will have trouble connecting to
wifi (to the point that my roomies have been pulling random network
cables out of the wall in an attempt to get online :P); a reboot of the
router fixes it.

-Toke


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-19  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 12:35 [Cerowrt-devel] Errors in dmesg on latest cero Toke Høiland-Jørgensen
2013-06-18 13:35 ` Toke Høiland-Jørgensen
2013-06-18 16:50   ` Dave Taht
2013-06-19  8:17     ` Toke Høiland-Jørgensen
2013-06-18 17:07 ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox