OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Bastian Bittorf - 07.01.2017
Last edited by Felix Fietkau - 12.02.2017

FS#373 - ath9k: high load >10

Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release, packages, etc.
- Steps to reproduce

with e.g. r2805 on a ‘TP-LINK TL-WR1043ND’ sometimes i can see:

# top
Mem: 24448K used, 3492K free, 5468K shrd, 448K buff, 6512K cached
CPU:   0% usr 100% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 8.80 8.48 7.93 6/48 7243
[...]
no task >10%

see the “100% sys” - sometimes load goes >25.
there is no memory pressure and nothing in the log.

when doing ‘wifi down’ it seems to hang forever.
sometimes it goes away without doing anything.
wifi-mode is adhoc+ap - see the config:

root@exWachturm-drucker:~ :) uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.frag='off'
wireless.radio0.path='platform/ath9k'
wireless.radio0.htmode='HT20'
wireless.radio0.chanbw='20'
wireless.radio0.channel='5'
wireless.radio0.distance='100'
wireless.radio0.beacon_int='125'
wireless.radio0.txpower='23'
wireless.radio0.hwmode='11ng'

wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='wlanadhoc'
wireless.@wifi-iface[0].mode='adhoc'
wireless.@wifi-iface[0].macaddr='f4:ec:38:9d:86:36'
wireless.@wifi-iface[0].mcast_rate='6000'
wireless.@wifi-iface[0].bssid='02:ca:ff:ee:ba:be'
wireless.@wifi-iface[0].ssid='ffintern.2GHz'

wireless.@wifi-iface[1]=wifi-iface
wireless.@wifi-iface[1].device='radio0'
wireless.@wifi-iface[1].network='wlan'
wireless.@wifi-iface[1].encryption='none'
wireless.@wifi-iface[1].mode='ap'
wireless.@wifi-iface[1].macaddr='f6:ec:38:9d:86:36'
wireless.@wifi-iface[1].disabled='0'
wireless.@wifi-iface[1].disassoc_low_ack='1'
wireless.@wifi-iface[1].ssid='weimar.freifunk.net'
Closed by  Felix Fietkau
12.02.2017 13:33
Reason for closing:  No response
Bastian Bittorf commented on 12.01.2017 09:37

what i also detected is, that sometimes the counters in /proc/interrupts are
stopping for some (e.g. 20) minutes and ofcourse wifi hangs during this period.

when debugging this with

echo 0x4409 >/sys/kernel/debug/ieee80211/phy0/ath9k/debug

i can see a lot of hangs and resets (~once per second)

Sven Schönhoff commented on 12.01.2017 18:33
Project Manager
Felix Fietkau commented on 25.01.2017 15:28

Should be fixed in the latest version, please test

Project Manager
Felix Fietkau commented on 12.02.2017 13:32

No response, closing ticket...

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing