2012-05-08 23:22:34

by Brent Roman

[permalink] [raw]
Subject: After Kernel 3.3, brcmsmac won't work on mid-2010 Mac Mini

Hi,

When I updated to Linux Kernel 3.3.5 on my mid-2010 Aluminum Unibody Mac
Mini,
its built-in wireless was no longer recognized:

03:00.0 Network controller [0280]: Broadcom Corporation BCM43224
802.11a/b/g/n [14e4:4353] (rev 01)
Subsystem: Apple Computer Inc. Device [106b:0093]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at d3300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 54-70-4b-ff-ff-0c-60-33
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: brcmsmac

I tried kernel 3.3.0 with the same negative result.
When I reverted to 3.2.16, the chip was immediately recognized.
The driver in 3.3+ is loading the bcma module.

I've fine with running 3.2.16 for now.
Is this a known problem? A configuration error on my part?

Just let me know if you'd like me to try anything to help debug this
(possible) regression.

- brent



2012-05-10 18:10:42

by Brent Roman

[permalink] [raw]
Subject: Re: After Kernel 3.3, brcmsmac won't work on mid-2010 Mac Mini

Arend,

Strangely, when I rebooted the box under 3.3.5 this time, the WiFi worked!
I will post again if it drops out.

For reference, here are the files you requested.

- brent


Arend van Spriel wrote:
> On 05/10/2012 02:38 AM, Brent Roman wrote:
>> Thanks for the quick response.
>>
>> I've not blacklisted bcma for either 3.2 or 3.3 kernels.
>> Yes, I built the kernels myself. The mac mini runs a Debian Mint 11.
>> The brcmsmac driver in 3.3 seems to have dependencies on bcma, It won't
>> load without it.
>> When I reverte to 3.2.16, I just unconfigured the bcma driver, so it
>> never built.
>> the kernel .config for 3.2 and 3.3 are attached.
>> Let me know if you need me to reboot the box with the 3.3 kernel and
>> post dmesg or other logs.
>>
>> - brent
>>
>>
> The kernel configurations you sent me look fine. I noticed you have
> debugging enabled for bcma and brcmsmac so can you sent me a dmesg for
> the 3.3 kernel. lspci should show bcma as the driver for the device.
> Unfortunately, there is no lsbcma.
>
> Gr. AvS
>



Attachments:
linux-3.3.5-mpc89mac4gb.dmesg (61.69 kB)
linux-3.3.5-mpc89mac4gb.lspci (28.45 kB)
Download all attachments

2012-05-10 11:01:48

by Arend van Spriel

[permalink] [raw]
Subject: Re: After Kernel 3.3, brcmsmac won't work on mid-2010 Mac Mini

On 05/10/2012 02:38 AM, Brent Roman wrote:
>
> Thanks for the quick response.
>
> I've not blacklisted bcma for either 3.2 or 3.3 kernels.
> Yes, I built the kernels myself. The mac mini runs a Debian Mint 11.
> The brcmsmac driver in 3.3 seems to have dependencies on bcma, It won't
> load without it.
> When I reverte to 3.2.16, I just unconfigured the bcma driver, so it
> never built.
> the kernel .config for 3.2 and 3.3 are attached.
> Let me know if you need me to reboot the box with the 3.3 kernel and
> post dmesg or other logs.
>
> - brent
>
>

The kernel configurations you sent me look fine. I noticed you have
debugging enabled for bcma and brcmsmac so can you sent me a dmesg for
the 3.3 kernel. lspci should show bcma as the driver for the device.
Unfortunately, there is no lsbcma.

Gr. AvS


2012-05-10 00:38:55

by Brent Roman

[permalink] [raw]
Subject: Re: After Kernel 3.3, brcmsmac won't work on mid-2010 Mac Mini

Arend van Spriel wrote:
> On 05/09/2012 01:15 AM, Brent Roman wrote:
>> Hi,
>>
>> When I updated to Linux Kernel 3.3.5 on my mid-2010 Aluminum Unibody Mac
>> Mini,
>> its built-in wireless was no longer recognized:
>>
>> 03:00.0 Network controller [0280]: Broadcom Corporation BCM43224
>> 802.11a/b/g/n [14e4:4353] (rev 01)
>> Subsystem: Apple Computer Inc. Device [106b:0093]
>> Flags: bus master, fast devsel, latency 0, IRQ 22
>> Memory at d3300000 (64-bit, non-prefetchable) [size=16K]
>> Capabilities: [40] Power Management version 3
>> Capabilities: [58] Vendor Specific Information: Len=78<?>
>> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
>> Capabilities: [d0] Express Endpoint, MSI 00
>> Capabilities: [100] Advanced Error Reporting
>> Capabilities: [13c] Virtual Channel
>> Capabilities: [160] Device Serial Number 54-70-4b-ff-ff-0c-60-33
>> Capabilities: [16c] Power Budgeting<?>
>> Kernel driver in use: brcmsmac
>>
>> I tried kernel 3.3.0 with the same negative result.
>> When I reverted to 3.2.16, the chip was immediately recognized.
>> The driver in 3.3+ is loading the bcma module.
>>
>> I've fine with running 3.2.16 for now.
>> Is this a known problem? A configuration error on my part?
>>
>> Just let me know if you'd like me to try anything to help debug this
>> (possible) regression.
>>
> Any log on 3.3 kernel may help. Do you have bcma blacklisted in your
> system? Do you have built the kernel yourself? Can you sent the .config
> for both kernels?
>
> Gr. AvS
>

Thanks for the quick response.

I've not blacklisted bcma for either 3.2 or 3.3 kernels.
Yes, I built the kernels myself. The mac mini runs a Debian Mint 11.
The brcmsmac driver in 3.3 seems to have dependencies on bcma, It won't
load without it.
When I reverte to 3.2.16, I just unconfigured the bcma driver, so it
never built.
the kernel .config for 3.2 and 3.3 are attached.
Let me know if you need me to reboot the box with the 3.3 kernel and
post dmesg or other logs.

- brent



Attachments:
linux3.2.16-mpg89mac4gb.config (96.82 kB)
linux3.3.5-mpg89mac4gb.config (97.84 kB)
Download all attachments

2012-05-09 07:25:50

by Arend van Spriel

[permalink] [raw]
Subject: Re: After Kernel 3.3, brcmsmac won't work on mid-2010 Mac Mini

On 05/09/2012 01:15 AM, Brent Roman wrote:
> Hi,
>
> When I updated to Linux Kernel 3.3.5 on my mid-2010 Aluminum Unibody Mac
> Mini,
> its built-in wireless was no longer recognized:
>
> 03:00.0 Network controller [0280]: Broadcom Corporation BCM43224
> 802.11a/b/g/n [14e4:4353] (rev 01)
> Subsystem: Apple Computer Inc. Device [106b:0093]
> Flags: bus master, fast devsel, latency 0, IRQ 22
> Memory at d3300000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [58] Vendor Specific Information: Len=78 <?>
> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [d0] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [13c] Virtual Channel
> Capabilities: [160] Device Serial Number 54-70-4b-ff-ff-0c-60-33
> Capabilities: [16c] Power Budgeting <?>
> Kernel driver in use: brcmsmac
>
> I tried kernel 3.3.0 with the same negative result.
> When I reverted to 3.2.16, the chip was immediately recognized.
> The driver in 3.3+ is loading the bcma module.
>
> I've fine with running 3.2.16 for now.
> Is this a known problem? A configuration error on my part?
>
> Just let me know if you'd like me to try anything to help debug this
> (possible) regression.
>

Any log on 3.3 kernel may help. Do you have bcma blacklisted in your
system? Do you have built the kernel yourself? Can you sent the .config
for both kernels?

Gr. AvS