Broadcom wifi dies in 60s cycles with 4.8 kernel

Bug #1630324 reported by Leonardo
70
This bug affects 12 people
Affects Status Importance Assigned to Milestone
linux (Fedora)
Unknown
Unknown
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I have a Dell XPS 13 9350 with a Broadcom wifi adapter. Wifi connects fine, but dies for around 5-10s (the signal dies completely, tools like wavemon show "no interface data") in regular cycles of about 60s. dmesg logs the same brcmfmac errors every minute or so: "brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)".

network-manager's icon doesn't change however (remains as if the adapter was connected).

This issue started to affect me when using kernel 4.8 on Ubuntu 16.04. I previously used kernel 4.7 and did not experience this bug.

I booted the 16.10 daily build and experienced exactly the same errors.

$ lspci | grep BCM4350
3a:00.0 Network controller: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter (rev 08)

$ dmesg | grep brcm
[ 5.864558] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176
[ 5.898803] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 74.991987] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 142.503220] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
...

$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-manager 1.1.93-0ubuntu4
Uname: Linux 4.8.0-040800-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Oct 4 14:15:02 2016
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2016-05-26 (131 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
IpRoute:
 default via 192.168.0.1 dev wlp58s0 proto static metric 600
 169.254.0.0/16 dev wlp58s0 scope link metric 1000
 192.168.0.0/24 dev wlp58s0 proto kernel scope link src 192.168.0.29 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp58s0 wifi connected /org/freedesktop/NetworkManager/Devices/0 Guava Guest 1 68ae8dc2-ab23-42ef-9e41-ac8e9d91385a /org/freedesktop/NetworkManager/ActiveConnection/0
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Revision history for this message
Leonardo (lbrito) wrote :
summary: - wifi connection dies intermittently in 60s cycles
+ Broadcom wifi dies in 60s cycles with 4.8 kernel
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
importance: Undecided → High
Revision history for this message
hoxnox (hoxnox) wrote :

I've got the same issue with my Dell XPS-15 (9550). The chip is BCM43602.

I've flashed my router (Archer C7 v2) with dd-wrt (ftp://ftp.dd-wrt.com/betas/2016/11-01-2016-r30826/tplink_archer-c7-v2/), configured 5Gz network as follows:

Wireless Mode: AP
Wireless Network Mode: AC/N-Mixed
Channel Width: Full (20 MHz)
Wireless Channel: 40-5200 MHz

And the problem is almost gone. The connection is fast and stable, but I still getting error about ISO code.

Aron Xu (happyaron)
affects: network-manager (Ubuntu) → linux (Ubuntu)
Revision history for this message
Christophe de Dinechin (i-christophe) wrote :
Download full text (3.3 KiB)

I have a similar issue with Mac Book Pro 15", with only one of my two base stations, the other one seems to work fine.

The base station that fails is a Freebox Revolution, configured to use channels 12 and 8 with 40MHz bandwidth in 2.4GHz mode (according to its configuration page).

The base station that works (same SSID, same password) is an old Airport Time Capsule.

When I attempt to connect to the Freebox Revolution, I get a stack trace:

[ 1008.652836] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1011.548069] ------------[ cut here ]------------
[ 1011.548099] WARNING: CPU: 2 PID: 2262 at net/wireless/sme.c:724 __cfg80211_connect_result+0x3ab/0x410 [cfg80211]
[ 1011.548100] Modules linked in: rfcomm fuse nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_security iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep nls_utf8 hfsplus intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel btusb snd_hda_codec_cirrus snd_hda_codec_generic snd_hda_codec_hdmi brcmfmac kvm btrtl btbcm btintel joydev bluetooth brcmutil snd_hda_intel snd_hda_codec applesmc cfg80211 iTCO_wdt irqbypass iTCO_vendor_support input_polldev
[ 1011.548128] snd_hda_core crct10dif_pclmul mmc_core crc32_pclmul snd_hwdep snd_seq ghash_clmulni_intel intel_cstate intel_uncore mei_me intel_rapl_perf bcm5974 snd_seq_device rfkill mei i2c_i801 snd_pcm i2c_smbus lpc_ich thunderbolt snd_timer snd soundcore shpchp sbs sbshc acpi_als apple_gmux kfifo_buf industrialio video tpm_tis tpm_tis_core tpm apple_bl nfsd auth_rpcgss nfs_acl lockd grace sunrpc uas usb_storage hid_apple btrfs xor amdkfd amd_iommu_v2 radeon raid6_pq i2c_algo_bit drm_kms_helper ttm crc32c_intel drm fjes
[ 1011.548154] CPU: 2 PID: 2262 Comm: kworker/u16:9 Tainted: G W 4.8.14-300.fc25.x86_64 #1
[ 1011.548155] Hardware name: Apple Inc. MacBookPro11,5/Mac-06F11F11946D27C5, BIOS MBP114.88Z.0172.B09.1602151732 02/15/2016
[ 1011.548164] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[ 1011.548165] 0000000000000286 00000000650b1753 ffff92b31fe0fc98 ffffffff823e5ded
[ 1011.548167] 0000000000000000 0000000000000000 ffff92b31fe0fcd8 ffffffff820a0e8b
[ 1011.548169] 000002d400000008 ffff92b36aa9c008 0000000000000000 ffff92b36aa9b000
[ 1011.548171] Call Trace:
[ 1011.548175] [] dump_stack+0x63/0x86
[ 1011.548178] [] __warn+0xcb/0xf0
[ 1011.548180] [] warn_slowpath_null+0x1d/0x20
[ 1011.548190] [] __cfg80211_connect_result+0x3ab/0x410 [cfg80211]
[ 1011.548199] [] cfg80211_process_wdev_events+0x129/0x1a0 [cfg80211]
[ 1011.548207] [] cfg80211_process_rdev_events+0x38/0x70 [cfg80211]
[ 1011.548215] [] cfg80211_event_work+0x1e/0x30 [cfg80211]
[ 1011.548217] [] process_one_work+0x184/0x430
[ 1011.548218] [] worker_thread+0x4e/0x480
[ 1011.548219] [] ? process_one_work+0x430/0x430
[ 1011.548220] [] ? process_one_work+0x430/0x430
[...

Read more...

Revision history for this message
LeSam (lesametlemax) wrote :

Same bug on XPS 15 with Ubuntu 16.04:

[ +0,000001] ---[ end trace 61993fadeefce6cf ]---
[janv.16 18:46] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[ +0,103612] nouveau 0000:01:00.0: priv: HUB0: 10ecc0 ffffffff (1d40822c)
[ +0,048744] nouveau 0000:01:00.0: DRM: resuming client object trees...
[ +0,663239] brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ +0,000011] cfg80211: World regulatory domain updated:
[ +0,000005] cfg80211: DFS Master region: unset
[ +0,000004] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ +0,000008] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ +0,000007] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ +0,000005] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ +0,000007] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ +0,000007] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ +0,000006] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ +0,000005] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ +0,000006] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

Revision history for this message
Rohin Gopalakrishnan (rohinrohin) wrote :

Same bug on Ubuntu 16.04:

dmesg | grep brcm
[ 17.336010] usbcore: registered new interface driver brcmfmac
[ 17.336048] brcmfmac 0000:02:00.0: enabling device (0000 -> 0002)
[ 17.357126] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6410.hcd failed with error -2
[ 17.357128] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6410.hcd not found
[ 17.618275] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[ 18.129713] brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[ 18.168614] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 19.518021] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 19.542467] brcmfmac 0000:02:00.0 wlp2s0: renamed from wlan0
[ 103.128515] brcmf_inetaddr_changed: fail to get arp ip table err:-23
[ 162.606401] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 230.174821] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 297.742562] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 365.312795] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 432.894995] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 500.470163] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 568.056235] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 635.645294] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 703.232631] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 770.820353] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 838.404927] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 908.038511] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 975.616760] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1043.207918] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1110.788615] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1178.377447] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1245.957228] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1313.543760] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 1381.128325] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)

Revision history for this message
Chris Sanders (chris.sanders) wrote :

XPS-15 (9550), Yakkety, 4.8.0-41-generic, 40Mhz channels also unable to connect to Wifi any longer. Happy to provide testing or any additional information.

dmesg | grep brcm
[ 5.481593] usbcore: registered new interface driver brcmfmac
[ 5.481639] brcmfmac 0000:02:00.0: enabling device (0000 -> 0002)
[ 5.599437] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[ 6.112535] brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[ 6.167629] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 6.177287] brcmfmac 0000:02:00.0 wlp2s0: renamed from wlan0
[ 34.475342] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 38.568678] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 43.673001] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 242.690117] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 246.670201] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 248.314205] brcmf_cfg80211_escan: Connecting: status (3)
[ 248.314223] brcmf_cfg80211_scan: scan error (-11)
[ 251.619740] brcmf_inetaddr_changed: fail to get arp ip table err:-23
[ 251.675201] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 292.410333] brcmf_inetaddr_changed: fail to get arp ip table err:-23
[ 344.298222] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 396.312220] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 448.332129] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 482.471888] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 523.156863] brcmf_inetaddr_changed: fail to get arp ip table err:-23
[ 523.502468] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 527.549349] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 531.589616] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)

Revision history for this message
Rohin Gopalakrishnan (rohinrohin) wrote :

Is there a fix or a temporary fix expected for this issue? I'm unable to use my system without an external dongle on any Linux system.

Any help is appreciated.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Does newer or older Linux kernel work without this issue?

Is the issue linked to "brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)"?
I can see this message popped out several times, but the network is still connected.

Revision history for this message
Chris Sanders (chris.sanders) wrote :

This appears to be a conflict with the Nvidia driver (at least for me).
I've tried:
nvidia-378 (open source)
nvidia-370 (open source)
nvidia-375 (proprietary)

All three give the exact same results as above on both 2.4 and 5 Ghz. Switching to the intel graphics driver completely clears this up. It's not a great work around for me as the Intel in the XPS-15 (9550) chokes on an external 4k display with chrome. But it's functional when I need to switch to wifi (which I'm generally not connected to an external display with)

Revision history for this message
Chris Sanders (chris.sanders) wrote :

I've just noticed this has resolved for me. See below, the errors do not repeat and I connect to the network. However, I have recently updated my router firmware to my knowledge it's still configured like it was (40/80 Mhz channels). I'm running the same nvidia-375 that was causing errors before.

Description: Ubuntu 16.10
Release: 16.10
4.8.0-46-generic

dmesg | grep brcm
[ 6.101044] usbcore: registered new interface driver brcmfmac
[ 6.101082] brcmfmac 0000:02:00.0: enabling device (0000 -> 0002)
[ 6.245598] brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[ 6.754207] brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
[ 6.786602] brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 6.794712] brcmfmac 0000:02:00.0 wlp2s0: renamed from wlan0
[ 520.395510] brcmf_inetaddr_changed: fail to get arp ip table err:-23

Revision history for this message
Leonardo (lbrito) wrote :

I am no longer experiencing this error; however, now the network-manager applet does not load at all and I am only able to connect to open (i.e. with no authentication) or previously-configured closed wifi networks (through Settings -> Network).

I am unsure as to what caused this new error, since I don't remember when exactly it started. I will possibly open a new bug for this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.