Resume on Macbook Pro doesn't restart wireless connection

Bug #1448882 reported by Paul Smith
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I've just installed Ubuntu GNOME 15.04 64bit on my Macbook Pro, and everything seems to work great including suspend/resume, EXCEPT that after I resume my wireless network does not start. When the system first wakes up I very briefly see a "?" icon for the wireless, then it disappears and nothing is shown. If I click the system menu it says "Wifi Not Connected".

If I run "killall wpa_supplicant" (which I found in the answer to this question in askubuntu: http://askubuntu.com/questions/456644/wireless-doesnt-reconnect-after-resuming-on-after-the-upgrade-to-ubuntu-14-04-o ) then wpa_supplicant is restarted automatically and when that happens my wifi comes back again.

Info:
$ cat /proc/version_signature
Ubuntu 3.19.0-15.15-generic 3.19.3

Wifi:
02:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)

lsmod:
bcm5974

wpasupplicant version 2.1-0ubuntu7.1
network-manager version 0.9.10.0-4ubuntu15
---
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: psmith 1311 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 15.04
HibernationDevice: RESUME=UUID=0886834d-a55b-48fc-be4e-21b43e537ffe
InstallationDate: Installed on 2015-04-25 (29 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Apple Inc. MacBookPro9,2
NonfreeKernelModules: wl
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-18-generic.efi.signed root=UUID=7cc4dfee-335f-4a7f-ae50-59276f346587 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-18-generic N/A
 linux-backports-modules-3.19.0-18-generic N/A
 linux-firmware 1.143.1
Tags: vivid
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 3.19.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/08/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP91.88Z.00D3.B08.1208081132
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-6F01561E16C75D06
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro9,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-6F01561E16C75D06
dmi.modalias: dmi:bvnAppleInc.:bvrMBP91.88Z.00D3.B08.1208081132:bd08/08/2012:svnAppleInc.:pnMacBookPro9,2:pvr1.0:rvnAppleInc.:rnMac-6F01561E16C75D06:rvrMacBookPro9,2:cvnAppleInc.:ct10:cvrMac-6F01561E16C75D06:
dmi.product.name: MacBookPro9,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1448882

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc1-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Paul Smith (psmith-gnu) wrote :

My macbook is at work but I'll bring it home this weekend and see if I can do more investigation.

Revision history for this message
Paul Smith (psmith-gnu) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected vivid
description: updated
Revision history for this message
Paul Smith (psmith-gnu) wrote : CRDA.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : IwConfig.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : JournalErrors.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : Lspci.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : Lsusb.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : ProcModules.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : PulseList.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : RfKill.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : UdevDb.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote : WifiSyslog.txt

apport information

Revision history for this message
Paul Smith (psmith-gnu) wrote :

The problem with testing the mainline kernel is that the failure is with the wireless device, and that uses a proprietary broadcom driver on the macbook (bcmwl). I'm not sure how to get a copy of that driver that will work with a newer kernel. However I'll investigate and see what I can do.

Revision history for this message
Paul Smith (psmith-gnu) wrote :

I'm not able to compile bmcwl-kernel-source for the latest mainline kernel (linux-headers-4.1.0-040100rc4-generic_4.1.0-040100rc4.201505181436_amd64) as the compilation fails:

/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: I
n function ‘wl_cfg80211_get_station’:
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:14
44:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_TX_BITRATE;
                    ^
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:14
44:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_SIGNAL;
                    ^

tags: added: kernel-unable-to-test-upstream
Paul Smith (psmith-gnu)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Magnus Hoff (maghoff) wrote :

I am experiencing the same problem on my 13" retina MacBook Pro (MacBookPro10,2). I have discovered that things work better when using the b43 module instead of wl to drive the wireless:

sudo rmmod wl ; sudo modprobe b43

However, this workaround makes the 5GHz networks disappear from my list.

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.