From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohammed Shafi Date: Wed, 2 Feb 2011 11:27:24 +0530 Subject: [ath9k-devel] Weird error messages in logs In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, Feb 2, 2011 at 11:18 AM, Nikolay Martynov 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 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.kolya at gmail.com > Phone: +16478220537 > _______________________________________________ > ath9k-devel mailing list > ath9k-devel at lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel >