Closed gsustek closed 7 years ago
@akorolyov I have rolled back to Chaos Calmer in the meantime, it works smoothly. Stable versions are stable ;)
@yonyonson Model: Linksys WRT3200ACM current firmware: OpenWrt Chaos Calmer 15.05.1 r49389 / LuCI for-15.05 branch (git-16.206.66468-6f5c466)
`root@router:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info
driver name: mwlwifi chip type: 88W8964 hw version: 7 driver version: 10.3.2.0-20161011 firmware version: 0x07080004 power table loaded from dts: no firmware region code: 0x10 mac address: 60:38:e0:13:89:5a 2g: disable 5g: enable antenna: 4 4 irq number: 61 iobase0: e1000000 iobase1: e1400000 tx limit: 768 rx limit: 64 ap macid support: 0000ffff sta macid support: 00010000 macid used: 00000001 qe trigger number: 14783`
It downs a few times per day and only wifi.
Hmm, I am runinng on r48532, hardware is WRT1900ACS.
root@linksys:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info
driver name: mwlwifi
chip type: 88W8864
hw version: 7
driver version: 10.3.0.16-20160105
firmware version: 0x07020806
mac address: 00:25:9c:13:ef:72
2g: disable
5g: enable
antenna: 4 4
irq number: 61
iobase0: e0e00000
iobase1: e1000000
tx limit: 768
rx limit: 64
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000001
qe trigger number: 112203785
mfg mode: false
I can see that I have older drivers
Here are some relevant packages installed:
root@linksys:~# opkg list-installed
base-files - 157.2-r48532
<...>
kernel - 3.18.23-1-81be0e40bf30c51dba2c46c84dd50f29
<...>
kmod-mac80211 - 3.18.23+2015-03-09-3
kmod-mwlwifi - 3.18.23+10.3.0.17-20160531-1
PS: I can see that current version of kmod-mwlwifi
that is available here ( https://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/base/ ) is 3.18.23+10.3.0.16-20160105-1
WRT3200ACM has problem. I close this issue. If you still encounter this kind of problem on devices other than WRT3200ACM, please let me know.
@yuhhaurlin does it mean that WRT3200ACM has hardware issues instead of software issue?
@yuhhaurlin The Problem is also still present on the 1200AC and 1900ACS. I can share an abundance of log files as we have 14 devices frequently crashing. Is there anything we can do to help debugging it? We will try the old kernel that was almost stable until then.
@kevle I haven't see this issue with the WRT1200AC or WRT1900ACS with the latest mwlwifi driver.
Please run the below command so we can see which driver version you have in use:
cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info
@akorolyou The problem of WRT3200ACM is related to firmware of chip.
@Chadster766 Currently I have reverted to the stable version of OpenWRT which seems to be more ...stable.
root@ap-wrt1200ac-10:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info
driver name: mwlwifi
chip type: 88W8864
hw version: 7
driver version: 10.3.2.0-20161011
firmware version: 0x0702091a
power table loaded from dts: no
firmware region code: 0x30
mac address: 00:25:9c:xx:xx:xx
2g: disable
5g: enable
antenna: 2 2
irq number: 61
iobase0: e0e00000
iobase1: e1000000
tx limit: 768
rx limit: 64
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000000
qe trigger number: 0
root@ap-wrt1200ac-10:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='Chaos Calmer'
DISTRIB_REVISION='r49389'
DISTRIB_CODENAME='chaos_calmer'
DISTRIB_TARGET='mvebu/generic'
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer 15.05.1'
DISTRIB_TAINTS='no-all no-ipv6 busybox'
And this is how it fails:
Mar 2 00:29:29 OpenWrt kernel: [ 336.771781] ieee80211 phy1: cmd 0x9125=BAStream timed out
Mar 2 00:29:29 OpenWrt kernel: [ 336.777207] ieee80211 phy1: return code: 0x9111
Mar 2 00:29:29 OpenWrt kernel: [ 336.781771] ieee80211 phy1: timeout: 0x1125
Mar 2 00:29:29 OpenWrt kernel: [ 336.785972] ieee80211 phy1: check ba failed execution
I've never run that driver version.
I recommend using drivers versions 10.3.0.17-20160531-1 or 10.3.2.0-20170110.
10.3.0.17 shows this problem for me.
@jklap is the driver version you are using between 10.3.0.17 and 10.3.0.17-20160531-1?
I'm reproducing this on a WRT1900AC (v1), with 10.3.2.0-20170110
(two laptops on the same radio playing minecraft over wifi and it crashes regularly)
Reproduced on WRT1200AC during heavy WLAN usage (uptime 20 days). driver name: mwlwifi chip type: 88W8864 hw version: 7 driver version: 10.3.4.0-20170606 firmware version: 0x0702091a power table loaded from dts: no firmware region code: 0x10 mac address: 00:25:9c:14:05:d7 2g: disable 5g: enable antenna: 2 2 irq number: 44 ap macid support: 0000ffff sta macid support: 00010000 macid used: 00000000 radio: enable iobase0: e0e00000 iobase1: e0f80000 tx limit: 768 rx limit: 64 qe trigger number: 86548293
Linux LEDE 4.9.31 #0 SMP Sat Jun 17 15:07:32 UTC 2017 armv7l GNU/Linux Thu Jul 13 20:31:10 2017 kern.err kernel: [1730954.175686] ieee80211 phy0: cmd 0x9125=BAStream timed out Thu Jul 13 20:31:10 2017 kern.err kernel: [1730954.181293] ieee80211 phy0: return code: 0x1125 Thu Jul 13 20:31:10 2017 kern.err kernel: [1730954.186034] ieee80211 phy0: timeout: 0x1125 Thu Jul 13 20:32:33 2017 kern.err kernel: [1731037.944214] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out Thu Jul 13 20:32:33 2017 kern.err kernel: [1731037.950528] ieee80211 phy0: return code: 0x1122 Thu Jul 13 20:32:33 2017 kern.err kernel: [1731037.955255] ieee80211 phy0: timeout: 0x1122 Thu Jul 13 20:32:33 2017 kern.err kernel: [1731037.959637] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5) Thu Jul 13 20:32:37 2017 kern.err kernel: [1731041.967958] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out Thu Jul 13 20:32:37 2017 kern.err kernel: [1731041.974270] ieee80211 phy0: return code: 0x1122 Thu Jul 13 20:32:37 2017 kern.err kernel: [1731041.978996] ieee80211 phy0: timeout: 0x1122 Thu Jul 13 20:32:37 2017 kern.err kernel: [1731041.983383] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-5) Thu Jul 13 20:32:37 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:28:f8:2e:d0:a6 Thu Jul 13 20:32:41 2017 kern.err kernel: [1731045.991678] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out Thu Jul 13 20:32:41 2017 kern.err kernel: [1731045.997976] ieee80211 phy0: return code: 0x1122 Thu Jul 13 20:32:41 2017 kern.err kernel: [1731046.002715] ieee80211 phy0: timeout: 0x1122 Thu Jul 13 20:32:41 2017 kern.err kernel: [1731046.007093] wlan0: failed to remove key (0, 00:28:f8:2e:d0:a6) from hardware (-5)
Please help to reproduce the problem on following LEDE images for WRT1200AC:
factory: https://drive.google.com/open?id=0B3qLWtcWB9EdaEhfWF9Jd3lvTUE upgrade: https://drive.google.com/open?id=0B3qLWtcWB9EdaXVGZzN4SG9kcmM
root@LEDE:/# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/info
driver name: mwlwifi chip type: 88W8864 hw version: 7 driver version: 10.3.4.0-20170713 firmware version: 0x0702091a power table loaded from dts: no firmware region code: 0x10 mac address: 00:50:43:21:bd:e9 2g: disable 5g: enable antenna: 4 4 irq number: 44 ap macid support: 0000ffff sta macid support: 00010000 macid used: 00000007 radio: enable iobase0: f0d80000 iobase1: f0f00000 tx limit: 768 rx limit: 64 qe trigger number: 22481
Does it have a new mwlwifi only or some debug turned on? Thanks
It is the last version of driver. If you can reproduce this problem and let me know the way. I can try to reproduce the problem here and check it.
Hi on LEDE, i got this error after normal surfing, i have only iPad and iPhone connected to 5GHz Wifi.
http://pastebin.com/nEzDquTe