ath: phy0: Failed to stop TX DMA, queues=0x004!
ath: phy0: unsupported hw bitrate detected 0x15 using 1 Mbit  (<- happens
with AR9132)

My experience with:

AA r39154
hostapd r39155
mac80211 r39150

And it seems to happen mostly with Atheros AR9130 rev 2 while with Atheros
AR9132 rev 2 and AR7240 rev 2 it is almost nonexistent.

Wireless kernel debug

Reset:
    Baseband Hang:  1
Baseband Watchdog:  0
   Fatal HW Error:  0
      TX HW error:  0
     TX Path Hang: 18
      PLL RX Hang:  0
        MCI Reset:  0

Ani:
            ANI: ENABLED
      ANI RESET: 90
        SPUR UP: 8646
      SPUR DOWN: 8646
 OFDM WS-DET ON: 0
OFDM WS-DET OFF: 0
     MRC-CCK ON: 0
    MRC-CCK OFF: 0
    FIR-STEP UP: 8414
  FIR-STEP DOWN: 8462
 INV LISTENTIME: 0
    OFDM ERRORS: 33455697
     CCK ERRORS: 12175930

Interrupt:
                   RX:   64030747
                RXEOL:         44
                RXORN:         97
                   TX:    6403346
                TXURN:          0
                  MIB:          0
                RXPHY:          0
                RXKCM:          0
                 SWBA:   16816697
                BMISS:          0
                  BNR:          0
                  CST:      40245
                  GTT:     254878
                  TIM:          0
               CABEND:          0
             DTIMSYNC:          0
                 DTIM:          0
               TSFOOR:          0
                  MCI:          0
             GENTIMER:          0
                TOTAL:   82763082
SYNC_CAUSE stats:
             Sync-All:   80623940
              RTC-IRQ:   22098963
              MAC-IRQ:   65947799
EEPROM-Illegal-Access:   21758372
          APB-Timeout:     893221
    PCI-Mode-Conflict:     851577
          HOST1-Fatal:    1140917
           HOST1-Perr:    1327574
       TRCV-FIFO-Perr:    1382345
          RADM-CPL-EP:     867960
  RADM-CPL-DLLP-Abort:     965300
   RADM-CPL-TLP-Abort:     803960
    RADM-CPL-ECRC-Err:     946880
     RADM-CPL-Timeout:    1386707
    Local-Bus-Timeout:    1282987
            PM-Access:    1591837
            MAC-Awake:    1371368
           MAC-Asleep:    1753701
     MAC-Sleep-Access:   12149094

Dma:
Raw DMA Debug values:

0: 88888888 1: 00000000 2: 12249249 3: 00000000
4: 00000000 5: 00000000 6: 0000440c 7: 000281c0

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:       3    chan_idle_dur_valid:     1
txfifo_valid_0:      0    txfifo_valid_1:          0
txfifo_dcu_num_0:    2    txfifo_dcu_num_1:        0
pcu observe: 0x2895
AR_CR: 0x4
0x4

Xmit:
                            BE         BK        VI        VO

MPDUs Queued:            84799        144         0     74647
MPDUs Completed:        749774      11913         0     51927
MPDUs XRetried:          26465        631         0     22720
Aggregates:             223260         89         0         0
AMPDUs Queued HW:            0          0         0         0
AMPDUs Queued SW:      3904963      12954         0         0
AMPDUs Completed:      3212795        493         0         0
AMPDUs Retried:          61979        615         0         0
AMPDUs XRetried:           726         57         0         0
TXERR Filtered:            373        595         0         3
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:           3989760      13094         0     74647
TX-Bytes-All:       1786805345    8879193         0   5020017
HW-put-tx-buf:              63         18         0        58
HW-tx-start:           3458195      12333         0     74647
HW-tx-proc-desc:       3464795      13551         0     74633
TX-Failed:                   0          0         0         0

Queues:
(VO):  qnum: 0 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
(VI):  qnum: 1 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
(BE):  qnum: 2 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
(BK):  qnum: 3 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
(CAB): qnum: 8 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0

# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.channel=11
wireless.radio0.path=platform/ath9k
wireless.radio0.country=US
wireless.radio0.noscan=1
wireless.radio0.disabled=0
wireless.radio0.diversity=0
wireless.radio0.rxantenna=2
wireless.radio0.txantenna=2
wireless.radio0.txpower=20
wireless.radio0.distance=2000
wireless.radio0.country_ie=1
wireless.radio0.beacon_int=100
wireless.radio0.htmode=HT20
wireless.radio0.ht_capab=SHORT-GI-40 DSSS_CCK-40
wireless.radio0.hwmode=11g
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=radio0
wireless.@wifi-iface[0].ifname=adhoc0
wireless.@wifi-iface[0].network=mesh0
wireless.@wifi-iface[0].mode=adhoc
(line removed)
(line removed)
wireless.@wifi-iface[0].hidden=0
wireless.@wifi-iface[0].encryption=psk2
(line removed)
wireless.@wifi-iface[1]=wifi-iface
wireless.@wifi-iface[1].device=radio0
wireless.@wifi-iface[1].ifname=wlan0
wireless.@wifi-iface[1].network=lan
wireless.@wifi-iface[1].mode=ap
(line removed)
wireless.@wifi-iface[1].wmm=1
wireless.@wifi-iface[1].hidden=0
wireless.@wifi-iface[1].short_preamble=1
wireless.@wifi-iface[1].encryption=none



On Mon, Feb 24, 2014 at 6:55 AM, OpenWrt <openwrt-devel@lists.openwrt.org>wrote:

> #11862: ath: Failed to stop TX DMA, queues=0x004
> ------------------------------+---------------------------------------
>   Reporter:  igor@…           |      Owner:  nbd
>       Type:  defect           |     Status:  assigned
>   Priority:  response-needed  |  Milestone:  Attitude Adjustment 12.09
>  Component:  kernel           |    Version:  Trunk
> Resolution:                   |   Keywords:
> ------------------------------+---------------------------------------
>
> Comment (by dexter@…):
>
>  Running HT20
>  {{{
>  root@OpenWrt:~#  cat /sys/kernel/debug/ieee80211/phy*/ath9k/reset
>      Baseband Hang:  0
>  Baseband Watchdog:  0
>     Fatal HW Error:  0
>        TX HW error:  0
>       TX Path Hang: 32
>        PLL RX Hang:  0
>           MAC Hang: 63283
>       Stuck Beacon: 3717
>          MCI Reset:  0
>
>  }}}
>
> --
> Ticket URL: <https://dev.openwrt.org/ticket/11862#comment:198>
> OpenWrt <http://openwrt.org>
> Opensource Wireless Router Technology
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to