5GHz wifi went offline - "br-lan: port 4(wlan0) entered disabled state" (after kernel dump)

Hi,

I found my 5GHz wifi completely offline completely such that the SSID was no longer broadcast, and I had to restart the router to get it back.

dmesg showed the following… it does contain the following line:

[264851.368163] br-lan: port 4(wlan0) entered disabled state

The below output from dmesg which seems to include a kernel stack dump

[264851.364544] WARNING: CPU: 1 PID: 966 at /home/beast/beast/workspace/omnia-master/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.11_eabi/linux-mvebu/compat-wireless-2016-10-08/net/mac80211/driver-ops.h:17 drv_remove_interface+0x6c/0x70 mac80211
[264851.364547] wlan0: Failed check-sdata-in-driver check, flags: 0x9
[264851.364550] Modules linked in: qcserial option iptable_nat ip6table_nat ath9k usb_wwan snd_usb_audio rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cdc_ether ath9k_common xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm snd_usbmidi_lib rtl8187 rfcomm pppox ppp_mppe ppp_async nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast mvsdio iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt cdc_wdm btusb btintel bnep bluetooth ath9k_hw armada_thermal fuse sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress hid evdev ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio ath10k_pci ath10k_core thermal_sys hwmon ath mac80211 cfg80211 compat ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc nfsd nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad vfat fat udf crc_itu_t ntfs lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 regmap_spi regmap_mmio regmap_i2c eeprom_93cx6 xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc usb_storage xhci_plat_hcd xhci_pci xhci_hcd orion_wdt uhci_hcd ledtrig_transient ahci_mvebu ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod xfs libcrc32c jfs f2fs exfat usbcore nls_base usb_common mii aead crypto_null
[264851.364881] CPU: 1 PID: 966 Comm: kworker/1:0 Tainted: G W 4.4.38-efe609c5e5f25db4116d69128330872c-1 #1
[264851.364884] Hardware name: Marvell Armada 380/385 (Device Tree)
[264851.364908] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[264851.364911] Backtrace:
[264851.364918] [] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[264851.364921] r6:00000000 r5:60000013 r4:c06a6224 r3:00000006
[264851.364931] [] (show_stack) from [] (dump_stack+0x98/0xac)
[264851.364937] [] (dump_stack) from [] (warn_slowpath_common+0x8c/0xbc)
[264851.364940] r6:00000011 r5:bf725004 r4:e7363d10 r3:00000006
[264851.364949] [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x38/0x40)
[264851.364952] r8:00000000 r7:e7eea480 r6:eb860c3c r5:eb860ba0 r4:e7eea480
[264851.364983] [] (warn_slowpath_fmt) from [] (drv_remove_interface+0x6c/0x70 [mac80211])
[264851.364986] r3:e7eea000 r2:bf779a58
[264851.365035] [] (drv_remove_interface [mac80211]) from [] (ieee80211_add_virtual_monitor+0x744/0x9a0 [mac80211])
[264851.365038] r4:e7eeb04c
[264851.365085] [] (ieee80211_add_virtual_monitor [mac80211]) from [] (ieee80211_stop+0x18/0x20 [mac80211])
[264851.365088] r10:eedd7640 r9:00000000 r8:00000001 r7:e7363e08 r6:eb860000 r5:e7363e08
[264851.365096] r4:e7eea000
[264851.365124] [] (ieee80211_stop [mac80211]) from [] (__dev_close_many+0x90/0xd8)
[264851.365129] [] (__dev_close_many) from [] (dev_close_many+0x74/0xf8)
[264851.365132] r5:eb860b58 r4:e7eea488
[264851.365139] [] (dev_close_many) from [] (dev_close.part.8+0x38/0x50)
[264851.365142] r8:00000000 r7:eb860ba0 r6:eb860000 r5:eb860b58 r4:e7eea488
[264851.365152] [] (dev_close.part.8) from [] (dev_close+0x1c/0x24)
[264851.365171] [] (dev_close) from [] (cfg80211_shutdown_all_interfaces+0x44/0xc8 [cfg80211])
[264851.365211] [] (cfg80211_shutdown_all_interfaces [cfg80211]) from [] (ieee80211_queue_delayed_work+0x124/0x128 [mac80211])
[264851.365214] r6:eb861370 r5:eb86137c r4:eb860ba0 r3:00000001
[264851.365267] [] (ieee80211_queue_delayed_work [mac80211]) from [] (ieee80211_reconfig+0x2d4/0xae4 [mac80211])
[264851.365270] r6:eb860ba0 r5:ffffff92 r4:eb861230 r3:00000200
[264851.365320] [] (ieee80211_reconfig [mac80211]) from [] (ieee80211_restart_work+0x8c/0xb8 [mac80211])
[264851.365324] r10:eedd7640 r9:00000000 r8:00000000 r7:eb860ba0 r6:eb860ba0 r5:eb861230
[264851.365332] r4:eb861230
[264851.365358] [] (ieee80211_restart_work [mac80211]) from [] (process_one_work+0x140/0x358)
[264851.365361] r7:eeddd200 r6:eedd7640 r5:eb8614dc r4:e85c5200
[264851.365371] [] (process_one_work) from [] (worker_thread+0x54/0x520)
[264851.365373] r10:eedd7640 r9:00000008 r8:e7362020 r7:e85c5218 r6:eedd7654 r5:eedd7640
[264851.365381] r4:e85c5200
[264851.365387] [] (worker_thread) from [] (kthread+0xf0/0x104)
[264851.365390] r10:00000000 r9:00000000 r8:00000000 r7:c003e424 r6:e85c5200 r5:00000000
[264851.365397] r4:e59bc800
[264851.365403] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[264851.365406] r7:00000000 r6:00000000 r5:c00437a8 r4:e59bc800
[264851.365420] —[ end trace 9317f09e5d89a777 ]—
[264851.365427] ------------[ cut here ]------------
[264851.365454] WARNING: CPU: 1 PID: 966 at /home/beast/beast/workspace/omnia-master/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.11_eabi/linux-mvebu/compat-wireless-2016-10-08/net/mac80211/driver-ops.c:39 drv_stop+0xa0/0xa4 mac80211
[264851.365462] Modules linked in: qcserial option iptable_nat ip6table_nat ath9k usb_wwan snd_usb_audio rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cdc_ether ath9k_common xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm snd_usbmidi_lib rtl8187 rfcomm pppox ppp_mppe ppp_async nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast mvsdio iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt cdc_wdm btusb btintel bnep bluetooth ath9k_hw armada_thermal fuse sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress hid evdev ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio ath10k_pci ath10k_core thermal_sys hwmon ath mac80211 cfg80211 compat ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc nfsd nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad vfat fat udf crc_itu_t ntfs lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 regmap_spi regmap_mmio regmap_i2c eeprom_93cx6 xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc usb_storage xhci_plat_hcd xhci_pci xhci_hcd orion_wdt uhci_hcd ledtrig_transient ahci_mvebu ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod xfs libcrc32c jfs f2fs exfat usbcore nls_base usb_common mii aead crypto_null
[264851.365945] CPU: 1 PID: 966 Comm: kworker/1:0 Tainted: G W 4.4.38-efe609c5e5f25db4116d69128330872c-1 #1
[264851.365948] Hardware name: Marvell Armada 380/385 (Device Tree)
[264851.365973] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[264851.365976] Backtrace:
[264851.365983] [] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[264851.365985] r6:00000000 r5:60000013 r4:c06a6224 r3:c069ed70
[264851.365995] [] (show_stack) from [] (dump_stack+0x98/0xac)
[264851.366001] [] (dump_stack) from [] (warn_slowpath_common+0x8c/0xbc)
[264851.366004] r6:00000027 r5:bf724eb0 r4:00000000 r3:c069ed70
[264851.366013] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x24/0x2c)
[264851.366016] r8:00000000 r7:e7eea480 r6:eb860c3c r5:eb860ba0 r4:eb860ba0
[264851.366046] [] (warn_slowpath_null) from [] (drv_stop+0xa0/0xa4 [mac80211])
[264851.366092] [] (drv_stop [mac80211]) from [] (ieee80211_stop_device+0x40/0x44 [mac80211])
[264851.366096] r4:eb860ba0 r3:00000001
[264851.366145] [] (ieee80211_stop_device [mac80211]) from [] (ieee80211_add_virtual_monitor+0x724/0x9a0 [mac80211])
[264851.366148] r4:e7eeb04c r3:00000000
[264851.366197] [] (ieee80211_add_virtual_monitor [mac80211]) from [] (ieee80211_stop+0x18/0x20 [mac80211])
[264851.366200] r10:eedd7640 r9:00000000 r8:00000001 r7:e7363e08 r6:eb860000 r5:e7363e08
[264851.366208] r4:e7eea000
[264851.366235] [] (ieee80211_stop [mac80211]) from [] (__dev_close_many+0x90/0xd8)
[264851.366240] [] (__dev_close_many) from [] (dev_close_many+0x74/0xf8)
[264851.366243] r5:eb860b58 r4:e7eea488
[264851.366250] [] (dev_close_many) from [] (dev_close.part.8+0x38/0x50)
[264851.366252] r8:00000000 r7:eb860ba0 r6:eb860000 r5:eb860b58 r4:e7eea488
[264851.366262] [] (dev_close.part.8) from [] (dev_close+0x1c/0x24)
[264851.366281] [] (dev_close) from [] (cfg80211_shutdown_all_interfaces+0x44/0xc8 [cfg80211])
[264851.366322] [] (cfg80211_shutdown_all_interfaces [cfg80211]) from [] (ieee80211_queue_delayed_work+0x124/0x128 [mac80211])
[264851.366325] r6:eb861370 r5:eb86137c r4:eb860ba0 r3:00000001
[264851.366379] [] (ieee80211_queue_delayed_work [mac80211]) from [] (ieee80211_reconfig+0x2d4/0xae4 [mac80211])
[264851.366383] r6:eb860ba0 r5:ffffff92 r4:eb861230 r3:00000200
[264851.366433] [] (ieee80211_reconfig [mac80211]) from [] (ieee80211_restart_work+0x8c/0xb8 [mac80211])
[264851.366436] r10:eedd7640 r9:00000000 r8:00000000 r7:eb860ba0 r6:eb860ba0 r5:eb861230
[264851.366444] r4:eb861230
[264851.366470] [] (ieee80211_restart_work [mac80211]) from [] (process_one_work+0x140/0x358)
[264851.366473] r7:eeddd200 r6:eedd7640 r5:eb8614dc r4:e85c5200
[264851.366483] [] (process_one_work) from [] (worker_thread+0x54/0x520)
[264851.366486] r10:eedd7640 r9:00000008 r8:e7362020 r7:e85c5218 r6:eedd7654 r5:eedd7640
[264851.366494] r4:e85c5200
[264851.366499] [] (worker_thread) from [] (kthread+0xf0/0x104)
[264851.366502] r10:00000000 r9:00000000 r8:00000000 r7:c003e424 r6:e85c5200 r5:00000000
[264851.366509] r4:e59bc800
[264851.366515] [] (kthread) from [] (ret_from_fork+0x14/0x3c)
[264851.366518] r7:00000000 r6:00000000 r5:c00437a8 r4:e59bc800
[264851.366524] —[ end trace 9317f09e5d89a778 ]—
[264851.368163] br-lan: port 4(wlan0) entered disabled state

read around the forum, or wait for the next firmware release.