Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477372 - net-wireless/broadcom-sta-6.30.223.30-r1: compile error with kernel-3.10
Summary: net-wireless/broadcom-sta-6.30.223.30-r1: compile error with kernel-3.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: M. B.
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 09:56 UTC by Milan Ševčík
Modified: 2013-08-23 12:31 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
broadcom-sta-6.30.223.30-linux-3.10.0.patch (broadcom-sta-6.30.223.30-linux-3.10.0.patch,2.85 KB, patch)
2013-07-30 11:11 UTC, Constantine E. Kozlov
Details | Diff
broadcom-sta-6.30.223.30-r2.ebuild (broadcom-sta-6.30.223.30-r2.ebuild,3.05 KB, text/plain)
2013-07-30 11:12 UTC, Constantine E. Kozlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Ševčík 2013-07-19 09:56:17 UTC
Ebuild net-wireless/broadcom-sta-6.30.223.30-r1 is unable to build module for kernel >=3.10. There is working patch in deb package on ebuild homepage.

Reproducible: Always

Steps to Reproduce:
1. Have kernel-3.10
2. Try to emerge broadcom-sta
Actual Results:  
Module build fails

Expected Results:  
Module build succeeds
Comment 1 Allan Gottlieb 2013-07-24 19:03:49 UTC
(In reply to Milan Ševčík from comment #0)
> Ebuild net-wireless/broadcom-sta-6.30.223.30-r1 is unable to build module
> for kernel >=3.10. There is working patch in deb package on ebuild homepage.

I can confirm for kernel 3.10.1 and 3.10.2 (~amd64)
Comment 2 Lee Beasley 2013-07-25 10:17:15 UTC
(In reply to Milan Ševčík from comment #0)
> Ebuild net-wireless/broadcom-sta-6.30.223.30-r1 is unable to build module
> for kernel >=3.10. There is working patch in deb package on ebuild homepage.


Confirmed here. 3.10.0 and 3.10.1
Comment 3 Kent Hagebrand 2013-07-26 17:57:43 UTC
Same here for 3.10.3. However setting kernel preemption model to
"Voluntary Kernel Preemption (Desktop)" enabled me to compile the driver.

This bug is mentioned in Ubuntu forum:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1156138
and is still present in net-wireless/broadcom-sta-6.30.223.30-r2 from init6 overlay.

The Debian sources contains a patch for 3.10.0 (0009-add-support-for-linux-3.10.0.patch) but apparently it doesn't fix this issue.
Comment 4 Constantine E. Kozlov 2013-07-30 11:10:54 UTC
Can confirm bug with 3.10.2.
Fix attached (patch + ebuild) - with this patch, broadcom-sta successfully builds and works.
Comment 5 Constantine E. Kozlov 2013-07-30 11:11:35 UTC
Created attachment 354596 [details, diff]
broadcom-sta-6.30.223.30-linux-3.10.0.patch
Comment 6 Constantine E. Kozlov 2013-07-30 11:12:12 UTC
Created attachment 354598 [details]
broadcom-sta-6.30.223.30-r2.ebuild
Comment 7 Constantine E. Kozlov 2013-07-30 11:15:36 UTC
Comment on attachment 354598 [details]
broadcom-sta-6.30.223.30-r2.ebuild

ebuild with patch for kernel 3.10 support
Comment 8 M. B. 2013-08-01 23:28:27 UTC
sorry for being a bit on the slow side.
i'll examine it this weekend, if it works fine i'll get someone to push it.
Comment 9 jimmij 2013-08-05 15:07:40 UTC
Any news?
Comment 10 Sven E. 2013-08-06 17:35:26 UTC
Module builds, gets loaded and dmesg looks okay, so far.

Does anyone know, how to get the Bluetooth running? I can't seems to find info on that.

WLAN seems to work as expected, at least I can connect to my local network and go online ...
Comment 11 M. B. 2013-08-06 21:18:04 UTC
@jimmij the kernel builds fine, module builds fine as well, but i've been unable to boot successfully into 3.10.x on my test-machine so far. hence actually testing the module is a little bit difficult. nevertheless, i've pushed the new ebuild to my overlay, tbc.

@kent: from what i can see of init6's overlay, his version of broadcom-sta doesn't include provisions for kernel 3.9, hence is apparently older than the mainline version. but that was only a quick look i had at it.
Comment 12 jimmij 2013-08-07 11:00:24 UTC
(In reply to M. B. from comment #11)
> i've pushed the new ebuild to my overlay, tbc.

Calculating dependencies - * Missing digest for '/var/lib/layman/tbc/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30-r2.ebuild'
Comment 13 M. B. 2013-08-09 09:11:57 UTC
thanks. updated tbc.
that happens when you don't use repoman.
Comment 14 jimmij 2013-08-09 15:51:57 UTC
What the repoman is?

Anyway 2 day ago I did "ebuild /var/lib/layman/tbc/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30-r2.ebuild  manifest" and compiled without further complications. Module wl is loading and working as for < 3.10 kernels, thus I can confirm the patch is working.

Unnfortunately kernel > 3.10.2 still freezes for me with wl driver. I though it was related to brcmsmac driver and using wl would solve that issue. It is not the case. But that is another story...
Comment 15 Allan Gottlieb 2013-08-21 11:58:29 UTC
My current procedure is

* use kernel 3.10.latest when a wired network is available
* use kernel 3.9.8 + broadcom-sta-6.30.223.30-r1 when I need wireless

Is that the current status for all?
Comment 16 Sergey Popov gentoo-dev 2013-08-23 12:31:14 UTC
+  23 Aug 2013; Sergey Popov <pinkbyte@gentoo.org>
+  -broadcom-sta-6.30.223.30.ebuild, -broadcom-sta-6.30.223.30-r1.ebuild,
+  +broadcom-sta-6.30.223.30-r2.ebuild,
+  +files/broadcom-sta-6.30.223.30-linux-3.10.0.patch:
+  Revision bump: add support for 3.10 kernels, wrt bug #477372. Patch submitted
+  by Constantine Kozlov <tempor.demonius AT gmail.com>. Drop old revisions