On 19/07/17 12:47, Arend van Spriel wrote: > On 19-07-17 00:45, Ian Molton wrote: >> (as it stands, back to back wpasuplpicant runs make it keel over, as >> does module unload and reload). > > It is good to get such feedback. We should get in details about this. I'll reply with a couple of logs on here. I was going to just post the one, but of course, typically, it did not fail the same way this time... # rmmod brcmfmac brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -5 brcmfmac: brcmf_cfg80211_get_tx_power: error (-5) brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-5) brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. brcmfmac: brcmf_cfg80211_get_channel: chanspec failed (-5) Enter # modprobe brcmfmac [1 ] core 0x800:49 base 0x18000000 wrap 0x18100000 [2 ] core 0x812:39 base 0x18001000 wrap 0x18101000 [3 ] core 0x829:21 base 0x18002000 wrap 0x18102000 [4 ] core 0x82a:9 base 0x18003000 wrap 0x18103000 [5 ] core 0x80e:22 base 0x18004000 wrap 0x18104000 [6 ] core 0x135:0 base 0x00000000 wrap 0x18105000 [7 ] core 0x240:0 base 0x00000000 wrap 0x18106000 Enter RAM: base=0x0 size=524288 (0x80000) sr=65536 (0x10000) Found BCM43430, AXI backplane, rev=1 ccrev=49, pmurev=24, pmucaps=0x39d25f18 Enter Enter Enter Enter brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready # # wpa_supplicant -B -i wlan0 -c <(wpa_passphrase vortex24 password) && dhclient wlan0 Successfully initialized wpa_supplicant rfkill: Cannot open RFKILL control device brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-11) rfkill: Cannot open RFKILL control device brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) brcmfmac: brcmf_cfg80211_scan: scan error (-11) # wget --no-check-certificate https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.12.tar.xz --2017-07-19 19:13:22-- https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.12.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)... 151.101.17.176, 2a04:4e42:4::432 Connecting to cdn.kernel.org (cdn.kernel.org)|151.101.17.176|:443... connected. WARNING: The certificate of ‘cdn.kernel.org’ is not trusted. WARNING: The certificate of ‘cdn.kernel.org’ hasn't got a known issuer. HTTP request sent, awaiting response... 200 OK Length: 99186576 (95M) [application/x-xz] Saving to: ‘linux-4.12.tar.xz.30’ linux-4.12.tar.xz.3 1%[ ] 1.81M 1.08MB/s ^C root@martel:~# brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) brcmfmac: brcmf_cfg80211_scan: scan error (-11) # wget --no-check-certificate https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.12.tar.xz --2017-07-19 19:15:01-- https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.12.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)... <never completed> brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) brcmfmac: brcmf_cfg80211_scan: scan error (-11) brcmfmac: brcmf_cfg80211_escan: Scanning already: status (1) brcmfmac: brcmf_cfg80211_scan: scan error (-11) brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) brcmfmac: brcmf_cfg80211_scan: scan error (-11) brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) brcmfmac: brcmf_cfg80211_scan: scan error (-11)