Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Macbook Pro WLAN unstable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Aug 26, 2017 12:53 pm    Post subject: Macbook Pro WLAN unstable Reply with quote

On occasion (i.e. randomly, with no known way of provoking the issue) I would experience the following problem:

The wireless interface would drop authentication to the access point and would stop working. When this happened, I would observe the following in dmesg:

Code:

[63525.226758]  ffffffffa01357d2 ffff88046a4cfda8 ffffffff8161ce21              0000000080000001
[63525.226760]  0000000000000000 ffff88046a4cfde8 ffffffff810957c5              ffff88046e867078
[63525.226762]  ffff88046bca2000 ffff880466b2a3c0 0000000000000074              ffff88041b5401c0
[63525.226763] Call Trace:
[63525.226768]  [<ffffffff8161ce21>] dump_stack+0x4f/0x7b
[63525.226772]  [<ffffffff810957c5>] warn_slowpath_common+0x85/0xc0
[63525.226774]  [<ffffffff810958a5>] warn_slowpath_null+0x15/0x20
[63525.226777]  [<ffffffffa0116171>] cfg80211_roamed+0x81/0x90 [cfg80211]
[63525.226786]  [<ffffffffa058c2a3>] wl_pcie_bar1+0x36f3/0x57d0 [wl]
[63525.226790]  [<ffffffffa0588d62>] wl_pcie_bar1+0x1b2/0x57d0 [wl]
[63525.226795]  [<ffffffffa0588d00>] ? wl_pcie_bar1+0x150/0x57d0 [wl]
[63525.226797]  [<ffffffff810b14b4>] kthread+0xc4/0xe0
[63525.226799]  [<ffffffff810b0000>] ? module_attr_show+0x20/0x30
[63525.226800]  [<ffffffff810b13f0>] ? kthread_create_on_node+0x180/0x180
[63525.226803]  [<ffffffff81623e62>] ret_from_fork+0x42/0x70
[63525.226805]  [<ffffffff810b13f0>] ? kthread_create_on_node+0x180/0x180
[63525.226806] ---[ end trace b8e3b40d06671077 ]---
[64219.836193] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = xx:xx:xx:xx:xx:xx   profile =xx:xx:xx:xx:xx:xx
[64219.836198] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = xx:xx:xx:xx:xx:xx   profile =xx:xx:xx:xx:xx:xx
[64221.012776] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = xx:xx:xx:xx:xx:xx   profile =xx:xx:xx:xx:xx:xx
[64221.012781] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = xx:xx:xx:xx:xx:xx   profile =xx:xx:xx:xx:xx:xx


After simply waiting, the interface would start working again, it would reauthenticate, I would obtain an IP again, and everything would once again work.

I've noticed the following on a world update:

Code:

!!! The following installed packages are masked:
- sys-firmware/b43-firmware-6.30.163.46::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# MichaŠGórny <mgorny@gentoo.org> (22 May 2017)
# for Maciej S. Szmigiero <mail@maciej.szmigiero.name>
# Any version above 5.100.138 breaks b43 driver in various ways.
# Also, b43 wiki page says to use 5.100.138. Bug #541080.


I thought that perhaps this is the cause of the unstable WLAN interface.

The following was installed at the time:

Code:

*  sys-firmware/b43-firmware [ Masked ]
      Latest version available: 6.30.163.46
      Latest version installed: 6.30.163.46
      Size of files: 7,505 KiB
      Homepage:      http://linuxwireless.org/en/users/Drivers/b43
      Description:   broadcom firmware for b43 LP PHY and >=linux-3.2
      License:       Broadcom


I forced it to 5.100.138 with:

package.mask:

>sys-firmware/b43-firmware-5.100.138

package.accept_keywords:

=sys-firmware/b43-firmware-5.100.138 ~amd64

For broadcom-sta, I'm running:

Code:

*  net-wireless/broadcom-sta
      Latest version available: 6.30.223.271-r4
      Latest version installed: 6.30.223.271-r4
      Size of files: 2,877 KiB
      Homepage:      https://www.broadcom.com/support/802.11
      Description:   Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver
      License:       Broadcom


This didn't help at all.

I've had this problem a long time and been through several kernels and many world updates, but the problem persists. A strange thing has happened lately, that the errors have stopped being recorded in dmesg, but the interface dies in exactly the same way as before -- as if it simply stopped recording those errors. This may have happened at either a world update or when switching to a different kernel. Either way, I really need help to figure out how to deal with this problem, is there a well known combination of b43, broadcom-sta and a kernel that works well with this machine?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7389
Location: Goose Creek SC

PostPosted: Sat Aug 26, 2017 10:47 pm    Post subject: Reply with quote

what does lspci -k | grep -i -A3 broadcom say about your adapter?
IIRC b43 and broadcom-sta (also known as wl) drivers were incompatible requiring blacklisting of one or the other
_________________
Defund the FCC.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sun Aug 27, 2017 11:07 am    Post subject: Reply with quote

DONAHUE wrote:
what does lspci -k | grep -i -A3 broadcom say about your adapter?
IIRC b43 and broadcom-sta (also known as wl) drivers were incompatible requiring blacklisting of one or the other


Code:

# lspci -k |grep -i -A3 broadcom
03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03)
   Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter
   Kernel driver in use: wl
   Kernel modules: wl


I don't appear to have b43 loaded, nor do I have the module available on my system (attempted modprobe).

Full lsmod:

Code:

# lsmod
Module                  Size  Used by
wl                   6339749  0
xfrm_user              23393  1
xfrm_algo               5351  1 xfrm_user
iptable_filter          1891  1
xt_conntrack            3337  2
br_netfilter           13075  0
bridge                 89730  1 br_netfilter
stp                     1757  1 bridge
llc                     3761  2 bridge,stp
ipv6                  311880  31 bridge
msr                     2604  0
binfmt_misc             6918  1
snd_hda_codec_hdmi     32782  1
pci_stub                1613  1
vboxpci                12590  0
x86_pkg_temp_thermal     5061  0
coretemp                6044  0
vboxnetadp             18438  0
vboxnetflt             16644  0
applesmc               11757  0
vboxdrv               360433  3 vboxnetadp,vboxnetflt,vboxpci
kvm_intel             170645  0
btusb                  27085  0
btrtl                   4832  1 btusb
kvm                   463720  1 kvm_intel
btintel                 6840  1 btusb
snd_hda_codec_cirrus     9541  1
bluetooth             298994  4 btrtl,btintel,btusb
irqbypass               2936  1 kvm
snd_hda_codec_generic    52707  1 snd_hda_codec_cirrus
bcm5974                 9005  0
usb_storage            48898  0
pcspkr                  2163  0
i2c_i801               12976  0
cfg80211              459498  1 wl
i2c_smbus               3233  1 i2c_i801
snd_hda_intel          22834  0
snd_hda_codec          79905  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_cirrus
snd_hwdep               5994  1 snd_hda_codec
thunderbolt            39694  0
snd_hda_core           46093  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_cirrus
snd_pcm                72103  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
nouveau              1459201  3
snd_timer              19545  1 snd_pcm
snd                    56674  8 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_cirrus,snd_pcm
soundcore               5283  1 snd
ttm                    71654  1 nouveau
sbs                     8362  0
sbshc                   3779  1 sbs
apple_gmux              7032  0
battery                13413  0
apple_bl                3168  1 apple_gmux
ac                      4925  0
button                  6581  1 nouveau
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Wed Sep 06, 2017 1:06 pm    Post subject: Reply with quote

Sorry for the bump, but what driver is supposedly the most stable? Are there any resources to document what is working well and what is not working well?

This link https://wiki.gentoo.org/wiki/Apple_Macbook_Pro_Retina_(early_2013)#Wireless states there are two drivers available, the open source and the closed source one, which one is preferred (free/libre issues aside, I need a working Internet connection) as far as pure usability is concerned?

[Moderator edit: added [url] tag. Automatic linking does not consider parentheses to be part of a URL, which makes it very unfortunate that Wiki software loves generating them. -Hu]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum