The new mwlwifi 2018-06-15 that was included in 18.06.1 cannot initialise both phy0 and phy1 on the Marvell hardware. The offending commit is this one:
Reverting this specific commit on 18.06.1 (back to mwlwifi 2018-03-30) resolves the issue.
The new mwlwifi 2018-06-15 that was included in 18.06.1 cannot initialise both phy0 and phy1 on the Marvell hardware. The offending commit is this one:
Reverting this specific commit on 18.06.1 (back to mwlwifi 2018-03-30) resolves the issue.
If the /etc/config/wireless config is being corrupted, you could try generating a new default with:
wifi config
the push should certainly not allow the device to be setup correctly.
That's the first thing I tried, including clearing out the config. Both interface cannot be recognized by the kernel upon startup so the wifi script can't find them:
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.710825] ------------[ cut here ]------------
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.715464] WARNING: CPU: 1 PID: 899 at backports-2017-11-01/net/wireless/core.c:612
0xbf0f0d4c [cfg80211@bf0f0000+0x32000]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.726644] Modules linked in: mwlwifi(+) mac80211 cfg80211 compat xt_set ip_set_lis
t_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_ha
sh_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_s
et_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_ta
bles sit tunnel4 ip_tunnel gpio_button_hotplug
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.772486] CPU: 1 PID: 899 Comm: kmodloader Not tainted 4.14.63 #0
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.778776] Hardware name: Marvell Armada 380/385 (Device Tree)
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.784723] Function entered at [<c010f500>] from [<c010b1d0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.790579] Function entered at [<c010b1d0>] from [<c05dabc8>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.796434] Function entered at [<c05dabc8>] from [<c0121c80>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.802289] Function entered at [<c0121c80>] from [<c0121d4c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.808144] Function entered at [<c0121d4c>] from [<bf0f0d4c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.814008] Function entered at [<bf0f0d4c>] from [<bf125e68>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.819864] Function entered at [<bf125e68>] from [<bf172480>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.825721] Function entered at [<bf172480>] from [<bf17d130>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.831576] Function entered at [<bf17d130>] from [<c0376088>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.837431] Function entered at [<c0376088>] from [<c03b5da0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.843287] Function entered at [<c03b5da0>] from [<c03b5f8c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.849141] Function entered at [<c03b5f8c>] from [<c03b4534>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.854996] Function entered at [<c03b4534>] from [<c03b54b0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.860851] Function entered at [<c03b54b0>] from [<c03b66d0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.866706] Function entered at [<c03b66d0>] from [<c0101a30>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.872561] Function entered at [<c0101a30>] from [<c01868ac>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.878416] Function entered at [<c01868ac>] from [<c01861bc>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.884271] Function entered at [<c01861bc>] from [<c0186638>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.890126] Function entered at [<c0186638>] from [<c0107880>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 9.895990] ---[ end trace 63c7c03b08ccbc0f ]---
Fri Aug 17 19:27:21 2018 kern.err kernel: [ 9.900626] ieee80211 phy0: fail to register device
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 9.905531] ieee80211 phy0: unmapped+free'd 0 0xde108080 0x1e108080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 9.912264] ieee80211 phy0: unmapped+free'd 1 0xde10a080 0x1e10a080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 9.918993] ieee80211 phy0: unmapped+free'd 2 0xde10c080 0x1e10c080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 9.925725] ieee80211 phy0: unmapped+free'd 3 0xde10e080 0x1e10e080 4096
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.789834] ------------[ cut here ]------------
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.794478] WARNING: CPU: 0 PID: 899 at backports-2017-11-01/net/wireless/core.c:612
0xbf0f0d4c [cfg80211@bf0f0000+0x32000]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.805655] Modules linked in: mwlwifi(+) mac80211 cfg80211 compat xt_set ip_set_lis
t_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_ha
sh_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_s
et_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_ta
bles sit tunnel4 ip_tunnel gpio_button_hotplug
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.851497] CPU: 0 PID: 899 Comm: kmodloader Tainted: G W 4.14.63 #0
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.859008] Hardware name: Marvell Armada 380/385 (Device Tree)
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.864953] Function entered at [<c010f500>] from [<c010b1d0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.870809] Function entered at [<c010b1d0>] from [<c05dabc8>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.876664] Function entered at [<c05dabc8>] from [<c0121c80>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.882519] Function entered at [<c0121c80>] from [<c0121d4c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.888374] Function entered at [<c0121d4c>] from [<bf0f0d4c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.894230] Function entered at [<bf0f0d4c>] from [<bf125e68>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.900085] Function entered at [<bf125e68>] from [<bf172480>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.905941] Function entered at [<bf172480>] from [<bf17d130>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.911796] Function entered at [<bf17d130>] from [<c0376088>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.917651] Function entered at [<c0376088>] from [<c03b5da0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.923507] Function entered at [<c03b5da0>] from [<c03b5f8c>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.929361] Function entered at [<c03b5f8c>] from [<c03b4534>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.935216] Function entered at [<c03b4534>] from [<c03b54b0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.941071] Function entered at [<c03b54b0>] from [<c03b66d0>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.946926] Function entered at [<c03b66d0>] from [<c0101a30>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.952781] Function entered at [<c0101a30>] from [<c01868ac>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.958636] Function entered at [<c01868ac>] from [<c01861bc>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.964491] Function entered at [<c01861bc>] from [<c0186638>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.970345] Function entered at [<c0186638>] from [<c0107880>]
Fri Aug 17 19:27:21 2018 kern.warn kernel: [ 12.976208] ---[ end trace 63c7c03b08ccbc10 ]---
Fri Aug 17 19:27:21 2018 kern.err kernel: [ 12.980847] ieee80211 phy1: fail to register device
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 12.985748] ieee80211 phy1: unmapped+free'd 0 0xdec6a080 0x1ec6a080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 12.992482] ieee80211 phy1: unmapped+free'd 1 0xdec6c080 0x1ec6c080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 12.999211] ieee80211 phy1: unmapped+free'd 2 0xdec6e080 0x1ec6e080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 13.005944] ieee80211 phy1: unmapped+free'd 3 0xddda6080 0x1dda6080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 13.012676] ieee80211 phy1: unmapped+free'd 4 0xddda4080 0x1dda4080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 13.019405] ieee80211 phy1: unmapped+free'd 5 0xddda2080 0x1dda2080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 13.026138] ieee80211 phy1: unmapped+free'd 6 0xddda0080 0x1dda0080 4096
Fri Aug 17 19:27:21 2018 kern.info kernel: [ 13.032870] ieee80211 phy1: unmapped+free'd 7 0xddc76080 0x1dc76080 4096
I grabbed the 18.06.1 sysupgrade image, flashed a mamba device, and both radios were detected and worked. Somewhat different beast than the cobra, but the same mwlwifi version of course.
I couldn't identify exactly what's wrong with mwlwifi version 10.3.8.0-20180615. However this radio issue with 1900AC Cobra was also resolved when I upgraded to the August 10 version mwlwifi 10.3.8.0-20180810
diff --git a/package/kernel/mwlwifi/Makefile b/package/kernel/mwlwifi/Makefile
index 9e9824afea..20451f2862 100644
--- a/package/kernel/mwlwifi/Makefile
+++ b/package/kernel/mwlwifi/Makefile
@@ -15,9 +15,9 @@ PKG_LICENSE_FILES:=
PKG_SOURCE_URL:=https://github.com/kaloz/mwlwifi
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2018-06-15
-PKG_SOURCE_VERSION:=8683de8e97a31fe01cfd4e63ef6e9867b50aadae
-PKG_MIRROR_HASH:=69cd9f7c79564e444edf423133b13dcfbba9f66c051516606049087fa1973a20
+PKG_SOURCE_DATE:=2018-08-10
+PKG_SOURCE_VERSION:=75374802d9ccf431a497bf494ca6a984a7ec2470
+PKG_MIRROR_HASH:=528132e554d99e30e011b7ddbfc615f11319668d6f45b0a4ecae14ae935c3914
PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
PKG_BUILD_PARALLEL:=1