Bug 42591

Summary: Wifi doesn't work anymore on Macbook air 4.2
Product: Networking Reporter: jeff.artik
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: RESOLVED INSUFFICIENT_DATA    
Severity: blocking CC: alan, aspriel, brcm80211-dev-list, linville
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: All since 3.2 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: 0001-brcmsmac-fix-reading-of-PCI-sprom-contents.patch

Description jeff.artik 2012-01-16 15:59:07 UTC
Since kernel 3.2 (tested on 3.2.1), the Wifi doesn't work anymore on Macbook air 4.2.

This bug affect old Ubuntu version before Precise pengolin alpha.

Actually a user who wants to use Natty and kernel 3.2 can't have wireless enable.
Comment 1 John W. Linville 2012-01-16 17:49:19 UTC
Created attachment 72090 [details]
0001-brcmsmac-fix-reading-of-PCI-sprom-contents.patch

Please try this patch -- does it correct the issue for you?
Comment 2 jeff.artik 2012-01-16 19:41:24 UTC
Got an eeror, strange :


root@artik-MacBookAir:/usr/src/linux/drivers/net/wireless/brcm80211/brcmsmac# patch -p0 < 0001-brcmsmac-fix-reading-of-PCI-sprom-contents.patch 
patching file b/drivers/net/wireless/brcm80211/brcmsmac/srom.c
Hunk #1 FAILED at 764.
Hunk #2 FAILED at 772.
Hunk #3 FAILED at 786.
Hunk #4 FAILED at 798.
4 out of 4 hunks FAILED -- saving rejects to file b/drivers/net/wireless/brcm80211/brcmsmac/srom.c.rej
Comment 3 John W. Linville 2012-01-16 20:28:56 UTC
What kernel version did you attempt to apply the patch against?
Comment 4 jeff.artik 2012-01-16 20:36:58 UTC
Hi John, I get sources from http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.1.tar.bz2

Strange thing .. I tried 32bits (non mac) iso with daily kernel build (http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2012-01-16-precise/)

I had "bcmwl" failed when I dpkg -i the debs. but reboot, and it works ...
I retry natty 64 mac immediatly with daily kernel, tell you what happen in few minutes
Comment 5 jeff.artik 2012-01-17 18:34:55 UTC
Tests finished : impossible to use wl driver with 3.2+ kernels. The patch can't be applied, so I decided to blacklist wl driver, avec use b43 instead.

Follow this link for solution (finally works for me after 3 days on my laptop !)

http://linuxwireless.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above

source : https://bbs.archlinux.org/viewtopic.php?id=133085
Comment 6 John W. Linville 2012-01-17 19:40:51 UTC
Please try brcmsmac again once 3.3-rc1 is available.
Comment 7 jeff.artik 2012-01-17 19:51:00 UTC
Sure I'll. Do you have an ETA ?
Comment 8 John W. Linville 2012-01-17 20:05:07 UTC
Should be sometime this week, probably within a couple of days.
Comment 9 jeff.artik 2012-01-24 01:42:04 UTC
RC1 out => Fresh Marverick install, them installing 3.3RC1, no networks availables :'(

Back to proprietary drivers.
Comment 10 Arend van Spriel 2012-01-29 17:03:32 UTC
The comments are a bit confusing. Is the original problem with a) proprietary wl driver or b) open-source brcmsmac driver?

See http://linuxwireless.org/en/users/Drivers/brcm80211