You are not logged in.

#1 2018-01-08 14:14:28

rcorre
Member
Registered: 2015-11-27
Posts: 65

Flaky connection with broadcom BCM43602/brcmfmac

I've got a macbook pro 13,2. Here's the wireless card:

lspci -vnn -d 14e4:

02:00.0 Network controller [0280]: Broadcom Limited BCM43602 802.11ac Wireless LAN SoC [14e4:43ba] (rev 02)
	Subsystem: Apple Inc. BCM43602 802.11ac Wireless LAN SoC [106b:0157]
	Flags: bus master, fast devsel, latency 0, IRQ 59
	Memory at 82400000 (64-bit, non-prefetchable) [size=32K]
	Memory at 82000000 (64-bit, non-prefetchable) [size=4M]
	Capabilities: <access denied>
	Kernel driver in use: brcmfmac
	Kernel modules: brcmfmac

Trying to connect to a wireless network with netctl usually fails with:

-- Unit netctl@wlp2s0\x2dsorpigal.service has begun starting up.
Jan 08 08:52:50 archmac network[8833]: Starting network profile 'wlp2s0-sorpigal'...
Jan 08 08:52:50 archmac kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Jan 08 08:53:06 archmac network[8833]: WPA association/authentication failed for interface 'wlp2s0'
Jan 08 08:53:07 archmac network[8833]: Failed to bring the network up for profile 'wlp2s0-sorpigal'
Jan 08 08:53:07 archmac systemd[1]: netctl@wlp2s0\x2dsorpigal.service: Main process exited, code=exited, status=1/FAILURE
Jan 08 08:53:07 archmac systemd[1]: netctl@wlp2s0\x2dsorpigal.service: Failed with result 'exit-code'.
Jan 08 08:53:07 archmac systemd[1]: Failed to start Networking for netctl profile wlp2s0-sorpigal.

If I get lucky it will start and run for a bit, then drop with:

Jan 08 08:48:55 archmac dhcpcd[5399]: wlp2s0: carrier lost
Jan 08 08:48:55 archmac dhcpcd[5399]: wlp2s0: deleting default route via 192.168.1.1
Jan 08 08:48:55 archmac dhcpcd[5399]: wlp2s0: deleting route to 192.168.1.0/24
Jan 08 08:48:55 archmac kernel: brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23
Jan 08 08:48:56 archmac dhcpcd[5399]: wlp2s0: carrier acquired
Jan 08 08:48:56 archmac dhcpcd[5399]: wlp2s0: IAID 4c:0d:f4:3e
Jan 08 08:48:57 archmac dhcpcd[5399]: wlp2s0: rebinding lease of 192.168.1.105
Jan 08 08:48:57 archmac dhcpcd[5399]: wlp2s0: probing address 192.168.1.105/24
Jan 08 08:49:01 archmac dhcpcd[5399]: wlp2s0: leased 192.168.1.105 for 86400 seconds
Jan 08 08:49:01 archmac dhcpcd[5399]: wlp2s0: adding route to 192.168.1.0/24
Jan 08 08:49:01 archmac dhcpcd[5399]: wlp2s0: adding default route via 192.168.1.1
Jan 08 08:49:01 archmac kernel: brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23
ip link set wlp2s0 up

exits with 0 but the link is still down.

I'm using the brcmfmac driver built into the kernel. I tried the broadcom-wl driver as well, but with that I can't even detect the interface.

I don't think there are any conflicting modules enabled:

[rodencor@archmac ~]$ grep 'brcm\|wl\|b43' /proc/modules
brcmfmac 303104 0 - Live 0xffffffffc0863000
brcmutil 16384 1 brcmfmac, Live 0xffffffffc0440000
cfg80211 733184 3 rtlwifi,mac80211,brcmfmac, Live 0xffffffffc05d8000
mmc_core 159744 1 brcmfmac, Live 0xffffffffc057d000
usbcore 282624 10 uas,usb_storage,rtl8xxxu,rtl8192cu,rtl_usb,brcmfmac,uvcvideo,usbhid,xhci_pci,xhci_hcd, Live 0xffffffffc00f5000

The builtin cards works fine in macos, and I've got an asus wifi dongle that works without issue on arch, but I'd like to get the built-in card working on arch. Any tips? Thanks!

Offline

#2 2018-01-08 14:32:59

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: Flaky connection with broadcom BCM43602/brcmfmac

It looks like Wi-Fi not working properly is a known Linux issue for that particular MBP model: https://github.com/Dunedan/mbp-2016-linux#wi-fi

I don't think Arch can do much about it if this is a kernel issue.

Offline

Board footer

Powered by FluxBB