On Wed, Feb 2, 2011 at 11:18 AM, Nikolay Martynov <mar.ko...@gmail.com> wrote:
> Hi.
>
> Have ath9k AP and intel 5300 client. AP has latest openwrt, intel5300
> has latest linux driver. Network operates in 801.11g mode. When client
> uploads to the AP for a long time I get these errors in logs on AP:
>
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 7 axq_acq empty: 0 stopped: 0 axq_depth: 0  Attempting
> to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 14 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 24 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 34 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 42 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 45 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 48 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 48 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 63 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 67 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 78 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 85 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d575f8
> pending frames: 89 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 94 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 101 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 108 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 113 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 120 axq_acq empty: 0 stopped: 0 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
> ath: txq: 80c3d7fc axq_qnum: 2, mac80211_qnum: 2 axq_link: a0d58f5c
> pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0
> Attempting to restart tx logic.
>
> Transmission seems to die after this.
> Could you please tell me what these messages mean and is it possible
> to fix this issue on ath9k side?

Looks like a tx hang and this commit will provide us more details

commit 60f2d1d506195803fa6e1dcf3972637b740fdd60
Author: Ben Greear <gree...@candelatech.com>
Date:   Sun Jan 9 23:11:52 2011 -0800

    ath9k: Restart xmit logic in xmit watchdog.

    The system can get into a state where the xmit queue
    is stopped, but there are no packets pending, so
    the queue will not be restarted.

    Add logic to the xmit watchdog to attempt to restart
    the xmit logic if this situation is detected.

    Example 'dmesg' output:

    ath: txq: f4e723e0 axq_qnum: 2, mac80211_qnum: 2 axq_link:
f4e996c8 pending frames: 1 axq_acq empty: 1 stopped: 0 axq_depth: 0
Attempting to restart tx logic.

sudo modprobe ath9k debug=0x481(FATAL | XMIT | RESET) will provide us
some useful debug messages


> Thanks!
>
> --
> Truthfully yours,
> Martynov Nikolay.
> Email: mar.ko...@gmail.com
> Phone: +16478220537
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to