You are not logged in.

#1 2014-09-26 22:22:08

oktorok
Member
From: San Francisco, Ca
Registered: 2014-06-18
Posts: 70

Long term wifi issue - BCM4331 - b43-firmware - MBP 8,1

Hi,
I've gone through a couple of linux updates, but my wireless connectivity problem from late July persists, and I'm feeling a little bit of energy today to work on it.  I'm hoping that not having worked on it in a couple of weeks will help me think about the problem in new ways.  Any help troubleshooting is tremendously appreciated.  There are worse problems than intermittent wireless connectivity, but it sure is an annoying one.  I feel like I am on the threshold of throwing in the towel and reinstalling Arch, but I would prefer not to do that. 

Specs: 3.16.3-1-ARCH, Macbook Pro 8,1 dual boot, GRUB,  Broadcom Corporation BCM4331, b43-firmware (problem also occurs with broadcom-wl), connman (only connman, no other conflicting network services), wpa_supplicant (activated by connman).

Essentially the issue is this:  periodically my signal strength drops to zero, resulting in a cessation of data transfer:

Fri Sep 26 14:35:05 PDT 2014

wlp3s0    IEEE 802.11bg  ESSID:"LCARS"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 44:32:C8:5B:E9:A4   
          Bit Rate=2 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=0 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:14   Missed beacon:0
wlp3s0    IEEE 802.11bg  ESSID:"LCARS"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 44:32:C8:5B:E9:A4   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-32 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:6  Invalid misc:15   Missed beacon:0

wlp3s0    IEEE 802.11bg  ESSID:"LCARS"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: 44:32:C8:5B:E9:A4   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=0 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:6  Invalid misc:15   Missed beacon:0

Fri Sep 26 14:35:29 PDT 2014

There is no journalctl output corresponding to the signal drops, time-wise (maybe something is hiding from me?).  I'm convinced that I did something dumb, or that I have something conflicting with my connman service, but I have quadruple checked that there are not any other conflicting network services running.  I don't believe the problem lies with router.  I have two other laptops running Arch, a Thinkpad X41 and a Dell Latitude, and they are both as consistent as a german train schedule.

Module                  Size  Used by
ctr                    12927  0 
ccm                    17534  0 
coretemp               12820  0 
arc4                   12536  2 
intel_rapl             17356  0 
x86_pkg_temp_thermal    12951  0 
intel_powerclamp       17122  0 
ecb                    12737  1 
kvm_intel             143217  0 
btusb                  25625  0 
kvm                   413027  1 kvm_intel
bluetooth             394557  2 btusb
crct10dif_pclmul       13394  0 
crc32_pclmul           12915  0 
ghash_clmulni_intel    12978  0 
6lowpan_iphc           16588  1 bluetooth
mousedev               17272  0 
b43                   386134  0 
aesni_intel           151423  1 
aes_x86_64             16719  1 aesni_intel
mac80211              514630  1 b43
cfg80211              454161  2 b43,mac80211
ssb                    61410  1 b43
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
uvcvideo               78952  0 
rfkill                 18867  3 cfg80211,bluetooth
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
rng_core               12733  1 b43
videobuf2_core         47787  1 uvcvideo
pcmcia                 53108  2 b43,ssb
pcmcia_core            18431  1 pcmcia
hid_generic            12393  0 
v4l2_common            12995  1 videobuf2_core
glue_helper            12649  1 aesni_intel
hid_appleir            12724  0 
videodev              126443  3 uvcvideo,v4l2_common,videobuf2_core
media                  18365  2 uvcvideo,videodev
ablk_helper            12572  1 aesni_intel
bcm5974                16994  0 
joydev                 17063  0 
cryptd                 18553  3 ghash_clmulni_intel,aesni_intel,ablk_helper
tg3                   164528  0 
ptp                    17692  1 tg3
pps_core               17225  1 ptp
libphy                 32315  1 tg3
bcma                   45870  1 b43
applesmc               18526  0 
evdev                  21544  15 
mac_hid                12633  0 
input_polldev          13118  1 applesmc
iTCO_wdt               12831  0 
hwmon                  12930  3 tg3,applesmc,coretemp
iTCO_vendor_support    12649  1 iTCO_wdt
snd_hda_codec_hdmi     45117  1 
sbs                    12918  0 
microcode              22061  0 
i915                  864723  2 
pcspkr                 12595  0 
apple_gmux             13124  0 
snd_hda_codec_cirrus    17630  1 
snd_hda_codec_generic    63126  1 snd_hda_codec_cirrus
ac                     12715  0 
i2c_i801               16965  0 
sbshc                  12803  1 sbs
video                  17995  2 i915,apple_gmux
battery                13356  0 
shpchp                 35210  0 
apple_bl               12872  1 apple_gmux
drm_kms_helper         49262  1 i915
snd_hda_intel          26327  0 
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         108552  5 snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_cirrus
snd_hwdep              17244  1 snd_hda_codec
snd_pcm                88487  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
button                 12909  1 i915
snd                    69340  8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
soundcore              13031  2 snd,snd_hda_codec
lpc_ich                20768  0 
processor              27777  0 
mei_me                 17941  0 
mei                    75033  1 mei_me
drm                   258005  4 i915,drm_kms_helper
intel_gtt              17848  1 i915
i2c_algo_bit           12744  1 i915
i2c_core               50152  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
ext4                  501845  2 
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   86460  1 ext4
hid_apple              12596  0 
usbhid                 44507  0 
hid                   102220  4 hid_generic,usbhid,hid_appleir,hid_apple
sd_mod                 44356  3 
sr_mod                 21903  0 
crc_t10dif             12431  1 sd_mod
crct10dif_common       12356  2 crct10dif_pclmul,crc_t10dif
cdrom                  47479  1 sr_mod
crc32c_intel           21809  0 
ahci                   29195  2 
libahci                27158  1 ahci
libata                181553  2 ahci,libahci
scsi_mod              142915  3 libata,sd_mod,sr_mod
ehci_pci               12512  0 
uhci_hcd               43507  0 
sdhci_pci              22095  0 
ehci_hcd               69939  1 ehci_pci
sdhci                  39043  1 sdhci_pci
firewire_ohci          43373  0 
led_class              12859  3 b43,sdhci,applesmc
firewire_core          56700  1 firewire_ohci
crc_itu_t              12347  1 firewire_core
mmc_core              110475  4 b43,ssb,sdhci,sdhci_pci
usbcore               199328  7 btusb,uhci_hcd,uvcvideo,ehci_hcd,ehci_pci,usbhid,bcm5974
usb_common             12440  1 usbcore

Here's output from journalctl as close to the time of the above iwconfig's as possible:

Sep 26 14:28:26 arch connmand[283]: Connection Manager version 1.25
Sep 26 14:28:29 arch connmand[283]: Checking loopback interface settings
Sep 26 14:28:29 arch connmand[283]: System hostname is arch
Sep 26 14:28:29 arch dbus[285]: [system] Activating via systemd: service name='net.connman.vpn' unit='connman-vpn.service'
Sep 26 14:28:29 arch connmand[283]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
Sep 26 14:28:29 arch connmand[283]: lo {newlink} index 1 operstate 0 <UNKNOWN>
Sep 26 14:28:29 arch connmand[283]: enp2s0f0 {create} index 2 type 1 <ETHER>
Sep 26 14:28:29 arch connmand[283]: enp2s0f0 {update} flags 4098 <DOWN>
Sep 26 14:28:34 arch connmand[283]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:35 arch dbus[285]: [system] Successfully activated service 'net.connman.vpn'
Sep 26 14:28:35 arch connmand[283]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: Connection Manager VPN daemon version 1.25
Sep 26 14:28:35 arch connmand[283]: Adding interface enp2s0f0 [ ethernet ]
Sep 26 14:28:35 arch connmand[283]: wlp3s0 {create} index 3 type 1 <ETHER>
Sep 26 14:28:35 arch connmand[283]: wlp3s0 {update} flags 4098 <DOWN>
Sep 26 14:28:35 arch connmand[283]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:28:35 arch connmand[283]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 26 14:28:35 arch connmand[283]: Adding interface wlp3s0 [ wifi ]
Sep 26 14:28:35 arch connmand[283]: enp2s0f0 {update} flags 36867 <UP>
Sep 26 14:28:35 arch connmand[283]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:35 arch connmand[283]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {create} index 2 type 1 <ETHER>
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {update} flags 36867 <UP>
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: lo {newlink} index 1 operstate 0 <UNKNOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:35 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: wlp3s0 {create} index 3 type 1 <ETHER>
Sep 26 14:28:35 arch connman-vpnd[304]: wlp3s0 {update} flags 4098 <DOWN>
Sep 26 14:28:35 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:28:35 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 26 14:28:39 arch connman-vpnd[304]: enp2s0f0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Sep 26 14:28:39 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:39 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 operstate 6 <UP>
Sep 26 14:28:39 arch connmand[283]: enp2s0f0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 26 14:28:39 arch connmand[283]: enp2s0f0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Sep 26 14:28:39 arch connmand[283]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:39 arch connmand[283]: enp2s0f0 {newlink} index 2 operstate 6 <UP>
Sep 26 14:28:39 arch connmand[283]: Skipping disconnect of carrier, network is connecting.
Sep 26 14:28:40 arch connmand[283]: Setting domainname to home.network
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} address 10.0.0.17/24 label enp2s0f0 family 2
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} route 10.0.0.1 gw 0.0.0.0 scope 253 <LINK>
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} route 75.75.75.75 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} route 75.75.76.76 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:28:40 arch connmand[283]: enp2s0f0 {add} route 0.0.0.0 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:28:41 arch connmand[283]: Failed to find URL:http://ipv4.connman.net/online/status.html
Sep 26 14:28:41 arch connmand[283]: enp2s0f0 {add} route 87.106.208.187 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:28:41 arch connmand[283]: enp2s0f0 {del} route 87.106.208.187 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:28:51 arch connman-vpnd[304]: enp2s0f0 {update} flags 36867 <UP>
Sep 26 14:28:51 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:51 arch connmand[283]: enp2s0f0 {RX} 14 packets 1749 bytes
Sep 26 14:28:51 arch connman-vpnd[304]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:51 arch connmand[283]: enp2s0f0 {TX} 30 packets 3121 bytes
Sep 26 14:28:51 arch connmand[283]: enp2s0f0 {update} flags 36867 <UP>
Sep 26 14:28:52 arch connmand[283]: enp2s0f0 {newlink} index 2 address 3C:07:54:0A:C8:CD mtu 1500
Sep 26 14:28:52 arch connmand[283]: enp2s0f0 {newlink} index 2 operstate 2 <DOWN>
Sep 26 14:28:52 arch connmand[283]: enp2s0f0 {del} address 10.0.0.17/24 label enp2s0f0
Sep 26 14:28:52 arch connmand[283]: enp2s0f0 {del} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 26 14:28:52 arch connmand[283]: enp2s0f0 {del} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {update} flags 36931 <UP,RUNNING>
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 operstate 0 <UNKNOWN>
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {update} flags 36867 <UP>
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:24 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {update} flags 36931 <UP,RUNNING>
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {newlink} index 3 operstate 0 <UNKNOWN>
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {update} flags 36867 <UP>
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:24 arch connmand[283]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 26 14:29:25 arch connmand[283]: Skipping disconnect of 4c43415253_managed_psk, network is connecting.
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {update} flags 102403 <UP,LOWER_UP>
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 operstate 5 <DORMANT>
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {update} flags 102403 <UP,LOWER_UP>
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {newlink} index 3 operstate 5 <DORMANT>
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {RX} 2 packets 328 bytes
Sep 26 14:29:25 arch connman-vpnd[304]: wlp3s0 {newlink} index 3 operstate 6 <UP>
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {TX} 2 packets 288 bytes
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {newlink} index 3 address 28:CF:DA:D5:6A:A6 mtu 1500
Sep 26 14:29:25 arch connmand[283]: wlp3s0 {newlink} index 3 operstate 6 <UP>
Sep 26 14:29:32 arch connmand[283]: Setting domainname to home.network
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} address 10.0.0.3/24 label wlp3s0 family 2
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} route 10.0.0.1 gw 0.0.0.0 scope 253 <LINK>
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} route 75.75.75.75 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} route 75.75.76.76 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:29:32 arch connmand[283]: wlp3s0 {add} route 0.0.0.0 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:29:33 arch connmand[283]: Failed to find URL:http://ipv4.connman.net/online/status.html
Sep 26 14:29:33 arch connmand[283]: wlp3s0 {add} route 87.106.208.187 gw 10.0.0.1 scope 0 <UNIVERSE>
Sep 26 14:29:33 arch connmand[283]: wlp3s0 {del} route 87.106.208.187 gw 10.0.0.1 scope 0 <UNIVERSE>

Any thoughts?

Last edited by oktorok (2014-11-04 04:03:18)

Offline

#2 2014-11-04 02:41:13

oktorok
Member
From: San Francisco, Ca
Registered: 2014-06-18
Posts: 70

Re: Long term wifi issue - BCM4331 - b43-firmware - MBP 8,1

I went for the jugular on this one, I reinstalled Arch.  Unfortunately the problem persists.  It also persists in the linux-lts kernel.  Most of what I said in that first post still holds true, except now I'm on a fresh and minimal install (feels good).  I'm back to using netctl instead of connman to manage my wireless life.  I've seen so much stuff on the internet about the broadcom BCM4331 and the b43 driver, posts going back to 2010, 2011 up to 2014,  that I can't really tell what is going on with it.  Anyway, I'm running b43-firmware and b43-fwcutter.  I Would love to talk to someone who is running Arch on a MBP 8,1, or any other version with the BCM4331 chip, and  has stable wireless connectivity.  I'm still holding out hope that I am just doing something dumb/newbish and there is a simple solution to this problem.

Offline

#3 2014-11-04 02:56:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Long term wifi issue - BCM4331 - b43-firmware - MBP 8,1

Edit your first post and include the card details in the title; it is currently too generic and less likely to attract the attention of people who have, or are, dealing with this...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB