Bug 202521

Summary: [brcmfmac] cannot connect to any WPA enterprise network on BCM43602
Product: Drivers Reporter: Enrico Tagliavini (enrico.tagliavini)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal CC: jehutywong, lesmaisonsroses
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.20.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: Complete dmesg

Description Enrico Tagliavini 2019-02-06 10:25:01 UTC
Created attachment 281013 [details]
Complete dmesg

Running Fedora 29 with kernel 4.20.5. I think it started happening with 4.19 as well (maybe even before), I simply always blamed our company wireless and only recently noticed the kernel trace. Sorry.

I cannot connect to any WPA Enterprise network, other networks seems to work fine.

Syslog shows (snippet from journalctl):

Feb 06 09:32:04 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: Trying to associate with SSID 'eduroam'
Feb 06 09:32:04 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441924.4562] device (wlp2s0): supplicant interface state: scanning -> associating
Feb 06 09:32:06 f016l-700bcb.fmi.ch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: Associated with 68:bc:0c:a2:6c:ca
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-STARTED EAP authentication started
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=CH
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 -> NAK
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.5874] device (wlp2s0): supplicant interface state: associating -> associated
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=21
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 21 (TTLS) selected
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='<edited>' hash=f1a7d1e380b4e4bc058a00ba2358b8a9b4af717eee7d4e9b733ee391751572c8
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='<edited>' hash=678797a0b5f15d75425a57c83afef510c70a7a26532449f71e62f6d
935003b3a
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:pvli9.fmi.ch
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:pvli10.fmi.ch
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: EAP-TTLS: Phase 2 MSCHAPV2 authentication succeeded
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
Feb 06 09:32:07 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-CONNECTED - Connection to 68:bc:0c:a2:6c:ca completed [id=0 id_str=]
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: WARNING: CPU: 5 PID: 3183 at drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:5130 brcmf_cfg80211_set_pmk+0x2f/0x40 [brcmfmac]
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: Modules linked in: lz4 lz4_compress zram rfcomm fuse xt_CHECKSUM ipt_MASQUERADE tun bridge stp llc devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat n
f_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep btrfs xor zstd_compress vfat f
at raid6_pq zstd_decompress xxhash snd_usb_audio snd_usbmidi_lib snd_rawmidi btusb btrtl btbcm btintel bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev ecdh_generic media snd_hda_codec_hdmi hid_multitouch mei_wdt snd_hda_codec_realtek iTC
O_wdt iTCO_vendor_support snd_hda_codec_generic intel_rapl dm_thin_pool x86_pkg_temp_thermal dm_persistent_data intel_powerclamp dm_bio_prison coretemp libcrc32c snd_hda_intel
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  kvm_intel brcmfmac dell_laptop snd_hda_codec snd_hda_core brcmutil intel_cstate snd_hwdep intel_uncore snd_seq intel_rapl_perf snd_seq_device snd_pcm cfg80211 dell_wmi dell_smbios snd_timer dcdbas snd joydev soundcore dell_wmi_descriptor w
mi_bmof intel_wmi_thunderbolt rtsx_pci_ms i2c_i801 idma64 memstick rfkill mei_me mei intel_pch_thermal intel_lpss_pci processor_thermal_device intel_lpss intel_soc_dts_iosf intel_hid int3403_thermal sparse_keymap int3402_thermal int340x_thermal_zone acpi_pad int3400_thermal pcc_cpufr
eq acpi_thermal_rel bbswitch(OE) dm_crypt hid_jabra r8152 mii i915 kvmgt mdev vfio kvm irqbypass i2c_algo_bit drm_kms_helper crct10dif_pclmul rtsx_pci_sdmmc crc32_pclmul crc32c_intel mmc_core nvme mxm_wmi drm nvme_core ghash_clmulni_intel serio_raw rtsx_pci i2c_hid wmi video
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: CPU: 5 PID: 3183 Comm: wpa_supplicant Tainted: G        W  OE     4.20.5-200.fc29.x86_64 #1
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 1.6.1 12/11/2017
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RIP: 0010:brcmf_cfg80211_set_pmk+0x2f/0x40 [brcmfmac]
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: Code: 48 8b 86 c8 08 00 00 48 8d be c0 08 00 00 83 b8 80 07 00 00 02 75 13 0f b6 42 08 3c 20 77 13 48 8b 72 10 89 c2 e9 b1 fe ff ff <0f> 0b b8 ea ff ff ff c3 b8 de ff ff ff c3 0f 1f 00 0f 1f 44 00 00
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RSP: 0018:ffffa28d4248faa8 EFLAGS: 00010293
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RAX: ffff94afa8529000 RBX: ffffa28d4248fb50 RCX: ffff94afa865b000
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RDX: ffffa28d4248fab0 RSI: ffff94afa852d000 RDI: ffff94afa852d8c0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RBP: 00000000ffffff95 R08: 00000000000000fe R09: ffff94afa865b000
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: R10: 0000000000000000 R11: ffffffffb331ced8 R12: ffff94afa8529050
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: R13: ffff94afa852d000 R14: ffff94af907b0000 R15: ffff94af907b0300
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: FS:  00007f7ed0fdd3c0(0000) GS:ffff94afadb40000(0000) knlGS:0000000000000000
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: CR2: 0000556473ebb458 CR3: 0000000474ef6002 CR4: 00000000003606e0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: Call Trace:
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  nl80211_set_pmk+0x178/0x240 [cfg80211]
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  genl_family_rcv_msg+0x1ca/0x3b0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? skb_queue_tail+0x1b/0x50
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? __netlink_sendskb+0x51/0x70
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  genl_rcv_msg+0x47/0x8c
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? __kmalloc_node_track_caller+0x1df/0x2a0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? genl_family_rcv_msg+0x3b0/0x3b0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  netlink_rcv_skb+0x4c/0x120
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  genl_rcv+0x24/0x40
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  netlink_unicast+0x19e/0x260
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  netlink_sendmsg+0x1ff/0x3c0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  sock_sendmsg+0x36/0x40
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ___sys_sendmsg+0x295/0x2f0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? __inode_wait_for_writeback+0x7f/0xf0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? fsnotify_grab_connector+0x3c/0x60
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? fsnotify_destroy_marks+0x22/0xf0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? __dentry_kill+0x10b/0x160
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? _cond_resched+0x15/0x30
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  ? dentry_kill+0x47/0x170
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  __sys_sendmsg+0x57/0xa0
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  do_syscall_64+0x5b/0x160
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RIP: 0033:0x7f7ed14dcb58
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: Code: 89 02 48 c7 c0 ff ff ff ff eb b5 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 c5 6b 0c 00 8b 00 85 c0 75 17 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 41 89 d4 55
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RSP: 002b:00007ffe1080ef58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RAX: ffffffffffffffda RBX: 0000556473e47f10 RCX: 00007f7ed14dcb58
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RDX: 0000000000000000 RSI: 00007ffe1080ef90 RDI: 0000000000000006
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: RBP: 0000556473e93b80 R08: 0000000000000000 R09: 000000000000000d
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: R10: 0000556473e3d010 R11: 0000000000000246 R12: 0000556473e47e20
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: R13: 00007ffe1080ef90 R14: ffffffffffffffff R15: 0000000000000000
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: ---[ end trace 077a7d42f1cc7339 ]---
Feb 06 09:32:07 f016l-700bcb.fmi.ch kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.6311] device (wlp2s0): supplicant interface state: associated -> completed
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.6312] device (wlp2s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'eduroam'.
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=raw family=2 entries=52
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=mangle family=2 entries=64
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=nat family=2 entries=103
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=filter family=2 entries=175
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=raw family=10 entries=53
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=mangle family=10 entries=62
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=nat family=10 entries=96
Feb 06 09:32:07 f016l-700bcb.fmi.ch audit: NETFILTER_CFG table=filter family=10 entries=164
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.6516] device (wlp2s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.6586] dhcp4 (wlp2s0): activation: beginning transaction (timeout in 45 seconds)
Feb 06 09:32:07 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441927.6616] dhcp4 (wlp2s0): dhclient started with pid 22309
Feb 06 09:32:07 f016l-700bcb.fmi.ch avahi-daemon[2856]: Joining mDNS multicast group on interface wlp2s0.IPv6 with address fe80::5db3:f51d:7802:3262.
Feb 06 09:32:07 f016l-700bcb.fmi.ch avahi-daemon[2856]: New relevant interface wlp2s0.IPv6 for mDNS.
Feb 06 09:32:07 f016l-700bcb.fmi.ch avahi-daemon[2856]: Registering new address record for fe80::5db3:f51d:7802:3262 on wlp2s0.*.
Feb 06 09:32:07 f016l-700bcb.fmi.ch dhclient[22309]: DHCPDISCOVER on wlp2s0 to 255.255.255.255 port 67 interval 8 (xid=0x13b5d354)
Feb 06 09:32:08 f016l-700bcb.fmi.ch abrt-dump-journal-oops[2971]: abrt-dump-journal-oops: Found oopses: 1
Feb 06 09:32:08 f016l-700bcb.fmi.ch abrt-dump-journal-oops[2971]: abrt-dump-journal-oops: Creating problem directories
Feb 06 09:32:09 f016l-700bcb.fmi.ch abrt-server[22316]: Deleting problem directory oops-2019-02-06-09:32:08-2971-0 (dup of oops-2019-02-05-14:07:47-1769-0)
Feb 06 09:32:09 f016l-700bcb.fmi.ch abrt-notification[22323]: System encountered a non-fatal error in nl80211_set_pmk()
Feb 06 09:32:09 f016l-700bcb.fmi.ch abrt-dump-journal-oops[2971]: Reported 1 kernel oopses to Abrt
Feb 06 09:32:10 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=68:bc:0c:a2:6c:ca reason=15 locally_generated=1
Feb 06 09:32:10 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Feb 06 09:32:10 f016l-700bcb.fmi.ch NetworkManager[2974]: <warn>  [1549441930.8225] sup-iface[0x55dfefc070d0,wlp2s0]: connection disconnected (reason -15)
Feb 06 09:32:10 f016l-700bcb.fmi.ch wpa_supplicant[3183]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=CH
Feb 06 09:32:10 f016l-700bcb.fmi.ch NetworkManager[2974]: <info>  [1549441930.8275] device (wlp2s0): supplicant interface state: completed -> disconnected
Comment 1 jehutywong 2019-02-19 01:49:42 UTC
I also have the same issue and the same kernel trace. This error was starting to happen about 2 months ago.

BTW my hardware is:
Hardware name: Apple Inc. MacBookPro11,4/Mac-06F11FD93F0323C5, BIOS MBP114.88Z.0184.B00.1806051659 06/05/2018
Comment 2 lesmaisonsroses 2019-03-15 17:56:08 UTC
Exactly the same for my side.