* [ath9k-devel] Help: ath9k txq
@ 2012-03-13 20:33 Chaoxing Lin
2012-03-13 21:39 ` Felix Fietkau
2012-03-14 14:45 ` Chaoxing Lin
0 siblings, 2 replies; 4+ messages in thread
From: Chaoxing Lin @ 2012-03-13 20:33 UTC (permalink / raw)
To: ath9k-devel
Gentlemen,
I am running kernel 2.6.39.1 and ath9k on ath9160 radio.
The radio runs as wireless client.
It's been stable for most of the time.
But occasionally, I see error message like below. And usually after I see this message, client cannot ping AP (or at most intermittent).
"iw wlan0 link" shows it's linked.
Mar 12 18:47:33 2012 default-hostname user.err kernel:ath: txq: c970b5bc axq_qnum: 2, mac80211_qnum: 2 axq_link: c96f3b60 pending frames: 64 axq_acq
empty: 0 stopped: 0 axq_depth: 0 Attempting to restart tx logic.
Can anyone help me understand what this problem is and is there a patch available?
Thanks,
Chaoxing
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Help: ath9k txq
2012-03-13 20:33 [ath9k-devel] Help: ath9k txq Chaoxing Lin
@ 2012-03-13 21:39 ` Felix Fietkau
2012-03-14 14:45 ` Chaoxing Lin
1 sibling, 0 replies; 4+ messages in thread
From: Felix Fietkau @ 2012-03-13 21:39 UTC (permalink / raw)
To: ath9k-devel
On 2012-03-13 9:33 PM, Chaoxing Lin wrote:
> Gentlemen,
>
> I am running kernel 2.6.39.1 and ath9k on ath9160 radio.
> The radio runs as wireless client.
>
> It's been stable for most of the time.
>
> But occasionally, I see error message like below. And usually after I see this message, client cannot ping AP (or at most intermittent).
> "iw wlan0 link" shows it's linked.
>
>
> Mar 12 18:47:33 2012 default-hostname user.err kernel:ath: txq: c970b5bc axq_qnum: 2, mac80211_qnum: 2 axq_link: c96f3b60 pending frames: 64 axq_acq
> empty: 0 stopped: 0 axq_depth: 0 Attempting to restart tx logic.
>
>
> Can anyone help me understand what this problem is and is there a patch available?
Update your kernel to the latest version (or use compat-wireless), and
the problem should go away.
- Felix
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Help: ath9k txq
2012-03-13 20:33 [ath9k-devel] Help: ath9k txq Chaoxing Lin
2012-03-13 21:39 ` Felix Fietkau
@ 2012-03-14 14:45 ` Chaoxing Lin
2012-03-14 14:56 ` Mohammed Shafi
1 sibling, 1 reply; 4+ messages in thread
From: Chaoxing Lin @ 2012-03-14 14:45 UTC (permalink / raw)
To: ath9k-devel
Can anyone help?
Thanks
Mar 14 14:35:10 2012 default user.err kernel: ath: txq: c96f389c axq_qnum: 2, mac80211_qnum: 2 axq_link: c97965f4 pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 Attempting to restart tx logic.
Mar 14 14:35:11 2012 default user.err kernel: ath: txq: c96f389c axq_qnum: 2, mac80211_qnum: 2 axq_link: c97965f4 pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 Attempting to restart tx logic.
Below is the debugfs info when I see the log. It seems that txq gets stuck. The pending-frames stays at 124.
/debugfs/ieee80211/phy0/ath9k # cat xmit
Num-Tx-Queues: 10 tx-queues-setup: 0x10f poll-work-seen: 1263
BE BK VI VO
MPDUs Queued: 6 0 0 114
MPDUs Completed: 6 0 0 114
Aggregates: 194109 0 0 0
AMPDUs Queued HW: 24335 0 0 0
AMPDUs Queued SW: 4039057 0 0 0
AMPDUs Completed: 4063263 0 0 0
AMPDUs Retried: 814254 0 0 0
AMPDUs XRetried: 5 0 0 0
FIFO Underrun: 0 0 0 0
TXOP Exceeded: 0 0 0 0
TXTIMER Expiry: 0 0 0 0
DESC CFG Error: 0 0 0 0
DATA Underrun: 0 0 0 0
DELIM Underrun: 0 0 0 0
TX-Pkts-All: 4063274 0 0 114
TX-Bytes-All: 2010349486 0 0 6985
hw-put-tx-buf: 2 0 0 46
hw-tx-start: 223895 0 0 114
hw-tx-proc-desc: 223895 0 0 114
txq-memory-address: c96f389c c96f3914 c96f3824 c96f37ac
axq-qnum: 2 3 1 0
axq-depth: 0 0 0 0
axq-ampdu_depth: 0 0 0 0
axq-stopped 1 0 0 0
tx-in-progress 0 0 0 0
pending-frames 124 0 0 0
txq_headidx: 0 0 0 0
txq_tailidx: 0 0 0 0
axq_q empty: 0 1 1 0
axq_acq empty: 0 1 1 1
txq_fifo_pending: 1 1 1 1
txq_fifo[0] empty: 1 1 1 1
txq_fifo[1] empty: 1 1 1 1
txq_fifo[2] empty: 1 1 1 1
txq_fifo[3] empty: 1 1 1 1
txq_fifo[4] empty: 1 1 1 1
txq_fifo[5] empty: 1 1 1 1
txq_fifo[6] empty: 1 1 1 1
txq_fifo[7] empty: 1 1 1 1
txq[2] first-ac: cf0f8eac sched: 1
first-tid: cf0f89fc sched: 1 paused: 0
/debugfs/ieee80211/phy0/ath9k # cat stations
Stations:
tid: addr sched paused buf_q-empty an ac
ac: addr sched tid_q-empty txq
02:15:6d:84:b7:1b
tid: cf0f89fc sched running 0 cf0f89f0 cf0f8eac
tid: cf0f8a44 idle running 1 cf0f89f0 cf0f8ec4
tid: cf0f8a8c idle running 1 cf0f89f0 cf0f8ec4
tid: cf0f8ad4 idle running 1 cf0f89f0 cf0f8eac
tid: cf0f8b1c idle running 1 cf0f89f0 cf0f8e94
tid: cf0f8b64 idle running 1 cf0f89f0 cf0f8e94
tid: cf0f8bac idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8bf4 idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8c3c idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8c84 idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8ccc idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8d14 idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8d5c idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8da4 idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8dec idle running 1 cf0f89f0 cf0f8e7c
tid: cf0f8e34 idle running 1 cf0f89f0 cf0f8e7c
ac: cf0f8e7c idle 1 c96f37ac
ac: cf0f8e94 idle 1 c96f3824
ac: cf0f8eac sched 0 c96f389c
ac: cf0f8ec4 idle 1 c96f3914
/debugfs/ieee80211/phy0/ath9k # cat dma
Raw DMA Debug values:
0: 88888888 1: 00000000 2: 12249249 3: 00000000
4: 00000000 5: 00000000 6: 001e0610 7: 000280c0
Num QCU: chain_st fsp_ok fsp_st DCU: chain_st
0 0 1 1 0
1 0 1 1 0
2 0 1 1 0
3 0 1 1 0
4 0 1 1 0
5 0 1 1 0
6 0 1 1 0
7 0 1 1 0
8 0 0 1 0
9 0 0 1 0
qcu_stitch state: 0 qcu_fetch state: 0
qcu_complete state: 0 dcu_complete state: 0
dcu_arb state: 0 dcu_fp state: 0
chan_idle_dur: 132 chan_idle_dur_valid: 1
txfifo_valid_0: 0 txfifo_valid_1: 0
txfifo_dcu_num_0: 0 txfifo_dcu_num_1: 15
pcu observe: 0x2888
AR_CR: 0x4
/debugfs/ieee80211/phy0/ath9k # cat misc
curbssid: 02:15:6d:84:b7:1b
OP-Mode: STATION(2)
Beacon-Timer-Register: 0x32000
Timer-Mode-Register: 0x100431 (TBTT TIM DTIM )
imask: 0xf4041071 (BMISS CST RX RXHP )
VIF Counts: AP: 0 STA: 1 MESH: 0 WDS: 0 ADHOC: 0 OTHER: 0 nvifs: 1 beacon-vifs: 0
Calculated-BSSID-Mask: ff:ff:ff:ff:ff:ff
-----Original Message-----
From: ath9k-devel-bounces@lists.ath9k.org [mailto:ath9k-devel-bounces at lists.ath9k.org] On Behalf Of Chaoxing Lin
Sent: Tuesday, March 13, 2012 4:34 PM
To: ath9k-devel at lists.ath9k.org
Subject: [ath9k-devel] Help: ath9k txq
Gentlemen,
I am running kernel 2.6.39.1 and ath9k on ath9160 radio.
The radio runs as wireless client.
It's been stable for most of the time.
But occasionally, I see error message like below. And usually after I see this message, client cannot ping AP (or at most intermittent).
"iw wlan0 link" shows it's linked.
Mar 12 18:47:33 2012 default-hostname user.err kernel:ath: txq: c970b5bc axq_qnum: 2, mac80211_qnum: 2 axq_link: c96f3b60 pending frames: 64 axq_acq
empty: 0 stopped: 0 axq_depth: 0 Attempting to restart tx logic.
Can anyone help me understand what this problem is and is there a patch available?
Thanks,
Chaoxing
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Help: ath9k txq
2012-03-14 14:45 ` Chaoxing Lin
@ 2012-03-14 14:56 ` Mohammed Shafi
0 siblings, 0 replies; 4+ messages in thread
From: Mohammed Shafi @ 2012-03-14 14:56 UTC (permalink / raw)
To: ath9k-devel
On Wed, Mar 14, 2012 at 8:15 PM, Chaoxing Lin
<Chaoxing.Lin@ultra-3eti.com> wrote:
> Can anyone help?
hey, as Felix had suggested upgrade to latest compat wireless
http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge
install it and this message is fixed and removed by later commits
> Thanks
>
>
>
> Mar 14 14:35:10 2012 default user.err kernel: ath: txq: c96f389c axq_qnum: 2, mac80211_qnum: 2 axq_link: c97965f4 pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 ?Attempting to restart tx logic.
> Mar 14 14:35:11 2012 default user.err kernel: ath: txq: c96f389c axq_qnum: 2, mac80211_qnum: 2 axq_link: c97965f4 pending frames: 124 axq_acq empty: 0 stopped: 1 axq_depth: 0 ?Attempting to restart tx logic.
>
>
>
> Below is the debugfs info when I see the log. It seems that txq gets stuck. The pending-frames stays at 124.
>
>
>
> /debugfs/ieee80211/phy0/ath9k # cat xmit
> Num-Tx-Queues: 10 ?tx-queues-setup: 0x10f poll-work-seen: 1263
> ? ? ? ? ? ? ? ? ? ? ? ? ? ?BE ? ? ? ? BK ? ? ? ?VI ? ? ? ?VO
>
> MPDUs Queued: ? ? ? ? ? ? ? ?6 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? 114
> MPDUs Completed: ? ? ? ? ? ? 6 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? 114
> Aggregates: ? ? ? ? ? ? 194109 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> AMPDUs Queued HW: ? ? ? ?24335 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> AMPDUs Queued SW: ? ? ?4039057 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> AMPDUs Completed: ? ? ?4063263 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> AMPDUs Retried: ? ? ? ? 814254 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> AMPDUs XRetried: ? ? ? ? ? ? 5 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> FIFO Underrun: ? ? ? ? ? ? ? 0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> TXOP Exceeded: ? ? ? ? ? ? ? 0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> TXTIMER Expiry: ? ? ? ? ? ? ?0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> DESC CFG Error: ? ? ? ? ? ? ?0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> DATA Underrun: ? ? ? ? ? ? ? 0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> DELIM Underrun: ? ? ? ? ? ? ?0 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ? 0
> TX-Pkts-All: ? ? ? ? ? 4063274 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? 114
> TX-Bytes-All: ? ? ? 2010349486 ? ? ? ? ?0 ? ? ? ? 0 ? ? ?6985
> hw-put-tx-buf: ? ? ? ? ? ? ? 2 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? ?46
> hw-tx-start: ? ? ? ? ? ?223895 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? 114
> hw-tx-proc-desc: ? ? ? ?223895 ? ? ? ? ?0 ? ? ? ? 0 ? ? ? 114
> txq-memory-address: ? c96f389c ? c96f3914 ?c96f3824 ?c96f37ac
> axq-qnum: ? ? ? ? ? ? ? ? ? ?2 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: ? ? ? ? ? ? 1 ? ? ? ? ?1 ? ? ? ? 1 ? ? ? ? 1
> txq_fifo[7] empty: ? ? ? ? ? ? 1 ? ? ? ? ?1 ? ? ? ? 1 ? ? ? ? 1
> txq[2] first-ac: cf0f8eac sched: 1
> ?first-tid: cf0f89fc sched: 1 paused: 0
>
>
>
>
> /debugfs/ieee80211/phy0/ath9k # cat stations
> Stations:
> ?tid: addr sched paused buf_q-empty an ac
> ?ac: addr sched tid_q-empty txq
> 02:15:6d:84:b7:1b
> ?tid: cf0f89fc sched running 0 cf0f89f0 cf0f8eac
> ?tid: cf0f8a44 idle running 1 cf0f89f0 cf0f8ec4
> ?tid: cf0f8a8c idle running 1 cf0f89f0 cf0f8ec4
> ?tid: cf0f8ad4 idle running 1 cf0f89f0 cf0f8eac
> ?tid: cf0f8b1c idle running 1 cf0f89f0 cf0f8e94
> ?tid: cf0f8b64 idle running 1 cf0f89f0 cf0f8e94
> ?tid: cf0f8bac idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8bf4 idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8c3c idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8c84 idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8ccc idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8d14 idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8d5c idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8da4 idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8dec idle running 1 cf0f89f0 cf0f8e7c
> ?tid: cf0f8e34 idle running 1 cf0f89f0 cf0f8e7c
> ?ac: cf0f8e7c idle 1 c96f37ac
> ?ac: cf0f8e94 idle 1 c96f3824
> ?ac: cf0f8eac sched 0 c96f389c
> ?ac: cf0f8ec4 idle 1 c96f3914
>
>
>
>
>
> /debugfs/ieee80211/phy0/ath9k # cat dma
> Raw DMA Debug values:
>
> 0: 88888888 1: 00000000 2: 12249249 3: 00000000
> 4: 00000000 5: 00000000 6: 001e0610 7: 000280c0
>
> Num QCU: chain_st fsp_ok fsp_st DCU: chain_st
> ?0 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?1 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?2 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?3 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?4 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?5 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?6 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?7 ? ? ? ? ? 0 ? ? ?1 ? ? ?1 ? ? ? ? ? ?0
> ?8 ? ? ? ? ? 0 ? ? ?0 ? ? ?1 ? ? ? ? ? ?0
> ?9 ? ? ? ? ? 0 ? ? ?0 ? ? ?1 ? ? ? ? ? ?0
>
> qcu_stitch state: ? ?0 ? ?qcu_fetch state: ? ? ? ? 0
> qcu_complete state: ?0 ? ?dcu_complete state: ? ? ?0
> dcu_arb state: ? ? ? 0 ? ?dcu_fp state: ? ? ? ? ? ?0
> chan_idle_dur: ? ? 132 ? ?chan_idle_dur_valid: ? ? 1
> txfifo_valid_0: ? ? ?0 ? ?txfifo_valid_1: ? ? ? ? ?0
> txfifo_dcu_num_0: ? ?0 ? ?txfifo_dcu_num_1: ? ? ? 15
> pcu observe: 0x2888
> AR_CR: 0x4
>
>
>
> /debugfs/ieee80211/phy0/ath9k # cat misc
> curbssid: 02:15:6d:84:b7:1b
> OP-Mode: STATION(2)
> Beacon-Timer-Register: 0x32000
> Timer-Mode-Register: 0x100431 (TBTT TIM DTIM )
> imask: 0xf4041071 (BMISS CST RX RXHP )
> VIF Counts: AP: 0 STA: 1 MESH: 0 WDS: 0 ADHOC: 0 OTHER: 0 nvifs: 1 beacon-vifs: 0
> Calculated-BSSID-Mask: ff:ff:ff:ff:ff:ff
>
>
>
>
> -----Original Message-----
> From: ath9k-devel-bounces at lists.ath9k.org [mailto:ath9k-devel-bounces at lists.ath9k.org] On Behalf Of Chaoxing Lin
> Sent: Tuesday, March 13, 2012 4:34 PM
> To: ath9k-devel at lists.ath9k.org
> Subject: [ath9k-devel] Help: ath9k txq
>
> Gentlemen,
>
> I am running kernel 2.6.39.1 and ath9k on ath9160 radio.
> The radio runs as wireless client.
>
> It's been stable for most of the time.
>
> But occasionally, I see error message like below. And usually after I see this message, client cannot ping AP (or at most intermittent).
> "iw wlan0 link" shows it's linked.
>
>
> Mar 12 18:47:33 2012 default-hostname user.err kernel:ath: txq: c970b5bc axq_qnum: 2, mac80211_qnum: 2 axq_link: c96f3b60 pending frames: 64 axq_acq
> empty: 0 stopped: 0 axq_depth: 0 ?Attempting to restart tx logic.
>
>
> Can anyone help me understand what this problem is and is there a patch available?
>
>
> Thanks,
>
> Chaoxing
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
--
thanks,
shafi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-14 14:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-13 20:33 [ath9k-devel] Help: ath9k txq Chaoxing Lin
2012-03-13 21:39 ` Felix Fietkau
2012-03-14 14:45 ` Chaoxing Lin
2012-03-14 14:56 ` Mohammed Shafi
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.