All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Martynov <mar.kolya@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Weird error messages in logs
Date: Wed, 2 Feb 2011 02:01:54 -0500	[thread overview]
Message-ID: <AANLkTik=nSauqEay2vTgo=aciiLO2JSrOJCqo9EBye6X@mail.gmail.com> (raw)
In-Reply-To: <4D48FFF7.1050908@candelatech.com>

Hi,

  I've got a question for you, Ben, if you do not mind.
  Can it get stuck without this error message?

  The reason I'm asking is that this pair (ath9k-intel5300) has
connectivity problems which I was trying to debug with intel team and
it seems that intel card stops receiving packets at some point and
they are trying to locate an issue in there firmware.
  But on the other hand can problem be in AP and - queue get stuck and
that's the reason of client not receiving any packets.

  Does any of this sounds reasonable?

  Really hope for your help.

Thanks.
Nikolay.

2011/2/2 Ben Greear <greearb@candelatech.com>:
> On 02/01/2011 09:57 PM, Mohammed Shafi wrote:
>>
>> On Wed, Feb 2, 2011 at 11:18 AM, Nikolay Martynov<mar.kolya@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: 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<greearb@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
>
> Looks like my attempt to restart is not working, for whatever reason.
> There are several ways it could get stuck...my hack worked around
> some of them, but obviously not all of them.
>
> You might also look at the debugfs files while the system is in
> the stuck state:
>
> cat /debug/ieee80211/wiphy0/ath9k/stations
> cat /debug/ieee80211/wiphy0/ath9k/xmit
>
> Those show info that *might* help debug the problem...
>
> Thanks,
> Ben
>
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc ?http://www.candelatech.com
>



-- 
Truthfully yours,
Martynov Nikolay.
Email: mar.kolya at gmail.com
Phone: +16478220537

  reply	other threads:[~2011-02-02  7:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  5:48 [ath9k-devel] Weird error messages in logs Nikolay Martynov
2011-02-02  5:57 ` Mohammed Shafi
2011-02-02  6:55   ` Ben Greear
2011-02-02  7:01     ` Nikolay Martynov [this message]
2011-02-02  7:06       ` Ben Greear
     [not found]         ` <AANLkTik6kJkMEvkCvGSfDDjpYr005DHPwPWp5cACTE+X@mail.gmail.com>
     [not found]           ` <4D499243.9070906@candelatech.com>
     [not found]             ` <AANLkTikF9AhXL5Cj-VHFuszZQ3QgcJ8USXN6CSOGWvn5@mail.gmail.com>
2011-02-02 22:06               ` [ath9k-devel] Fwd: " Nikolay Martynov
2011-02-02 14:24       ` [ath9k-devel] " Felix Fietkau
2011-02-02 14:48         ` Mohammed Shafi
2011-02-02 14:51         ` Mohammed Shafi
2011-02-02 15:13           ` Nikolay Martynov
2011-02-02 15:24             ` Mohammed Shafi
2011-02-02 15:46               ` Felix Fietkau
2011-02-02 23:56                 ` Nikolay Martynov
2011-02-03  0:02                   ` Felix Fietkau
2011-02-03  1:46                     ` Nikolay Martynov
2011-02-03  2:13                       ` Felix Fietkau
2011-02-03  3:16                         ` Nikolay Martynov
2011-02-03  4:50                           ` Nikolay Martynov
2011-02-03  5:18                             ` Nikolay Martynov
2011-02-07  2:39                               ` Nikolay Martynov
2011-02-07  3:31                                 ` Felix Fietkau
2011-02-03  5:22                 ` Mohammed Shafi
2011-02-02  7:41     ` Mohammed Shafi
2011-02-02  6:04 ` Mohammed Shafi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTik=nSauqEay2vTgo=aciiLO2JSrOJCqo9EBye6X@mail.gmail.com' \
    --to=mar.kolya@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.