Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broadcom Corporation BCM43142 (Broadcom-sta) problem[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Tue Sep 08, 2015 10:49 pm    Post subject: Broadcom Corporation BCM43142 (Broadcom-sta) problem[SOLVED] Reply with quote

I have a Broadcom BCM43142 device in this laptop. I have emerged broadcom-sta, blacklisted ssb, bcma, b43, and mac80211.

Code:
nirvana muso # dmesg -k| grep wl
[   12.652694] wl: module license 'Mixed/Proprietary' taints kernel.
[   12.654675] wl: module verification failed: signature and/or required key missing - tainting kernel


Code:
nirvana muso # iwconfig
enp14s0   no wireless extensions.

lo        no wireless extensions.


Code:
nirvana muso # uname -a
Linux nirvana 4.2.0-gentoo-r1 #1 SMP Sun Sep 6 08:49:39 HST 2015 x86_64 Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz GenuineIntel GNU/Linux


So, any ideas on how to get this module working with the gentoo-kernel?

[SOLVED]

I installed Bodhi linux.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.


Last edited by Muso on Thu Sep 10, 2015 7:51 am; edited 2 times in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2585

PostPosted: Wed Sep 09, 2015 5:47 am    Post subject: Re: Broadcom Corporation BCM43142 (Broadcom-sta) problem Reply with quote

Muso wrote:
So, any ideas on how to get this module working with the gentoo-kernel?

https://www.google.de/search?as_q=BCM43142&as_qdr=y&as_sitesearch=gentoo.org&as_occt=any
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 6:24 am    Post subject: Re: Broadcom Corporation BCM43142 (Broadcom-sta) problem Reply with quote

charles17 wrote:
Muso wrote:
So, any ideas on how to get this module working with the gentoo-kernel?

https://www.google.de/search?as_q=BCM43142&as_qdr=y&as_sitesearch=gentoo.org&as_occt=any


I've already gone through google and the forums. I wouldn't be asking if it's not still an issue.

Code:
nirvana muso # dmesg -k| grep wl
[   13.414864] wl: module license 'Mixed/Proprietary' taints kernel.
[   13.416867] wl: module verification failed: signature and/or required key missing - tainting kernel


Still a problem.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
hololeap
n00b
n00b


Joined: 05 Oct 2013
Posts: 29

PostPosted: Wed Sep 09, 2015 6:31 am    Post subject: Re: Broadcom Corporation BCM43142 (Broadcom-sta) problem Reply with quote

Muso wrote:
Code:
nirvana muso # dmesg -k| grep wl
[   13.414864] wl: module license 'Mixed/Proprietary' taints kernel.
[   13.416867] wl: module verification failed: signature and/or required key missing - tainting kernel


My guess is that you have CONFIG_MODULE_SIG_FORCE enabled in the kernel.

See this:
http://stackoverflow.com/a/24978678
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 6:44 am    Post subject: Re: Broadcom Corporation BCM43142 (Broadcom-sta) problem Reply with quote

hololeap wrote:
Muso wrote:
Code:
nirvana muso # dmesg -k| grep wl
[   13.414864] wl: module license 'Mixed/Proprietary' taints kernel.
[   13.416867] wl: module verification failed: signature and/or required key missing - tainting kernel


My guess is that you have CONFIG_MODULE_SIG_FORCE enabled in the kernel.

See this:
http://stackoverflow.com/a/24978678


Genkernel FTL

Building now via make && make modules_install
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 8:00 am    Post subject: Reply with quote

CONFIG_MODULE_SIG_ALL is not even an option.

CONFIG_MODULE_SIG is set to n

And still :

Code:
nirvana muso # dmesg -k| grep wl                                               
[   13.068860] wl: module license 'Mixed/Proprietary' taints kernel.


Code:
nirvana muso # iwconfig
enp14s0   no wireless extensions.

lo        no wireless extensions.


And from lspci :

Code:
07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)


This same laptop used this driver in both Debian and Kali Linux. Maybe the gentoo-souirces are incompatible?

Would love input from someone using this same hardware.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2585

PostPosted: Wed Sep 09, 2015 10:07 am    Post subject: Reply with quote

Muso wrote:
Code:
nirvana muso # iwconfig
enp14s0   no wireless extensions.

lo        no wireless extensions.

Be aware that iwconfig needs WEXT enabled to work.

Muso wrote:
And from lspci :

Code:
07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)

Could you please add your output of dmesg | grep 07:00.0 so we can see the relevant boot messages.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 4:18 pm    Post subject: Reply with quote

charles17 wrote:
Muso wrote:
Code:
nirvana muso # iwconfig
enp14s0   no wireless extensions.

lo        no wireless extensions.

Be aware that iwconfig needs WEXT enabled to work.


Code:
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y


charles17 wrote:
Could you please add your output of dmesg | grep 07:00.0 so we can see the relevant boot messages.


Code:
nirvana muso # dmesg | grep 07:00.0
[    0.096352] pci 0000:07:00.0: [14e4:4365] type 00 class 0x028000
[    0.096410] pci 0000:07:00.0: reg 0x10: [mem 0xc0700000-0xc0707fff 64bit]
[    0.096530] pci 0000:07:00.0: supports D1 D2
[    0.096532] pci 0000:07:00.0: PME# supported from D0 D3hot D3cold
[    0.096723] pci 0000:07:00.0: System wakeup disabled by ACPI

_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1361
Location: Montréal

PostPosted: Wed Sep 09, 2015 6:47 pm    Post subject: Reply with quote

Are you sure that wl do not depend on mac80211 ? Be sure not to blacklist any wl dependancies by have a look at
Code:
modinfo wl

By principle, I compile in module anything who is not relevant for Linux to boot. When I see you compiling in the kernel image wireless support I suspect that it can be a cause of your problem if I refer to some who had problems doing so.

So, I invite you to compile in modules the things that are not mandatory for Linux to boot. You can compile more things in modules if you use an initramfs.
_________________
Paul
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 6:53 pm    Post subject: Reply with quote

Logicien wrote:
Are you sure that wl do not depend on mac80211 ? Be sure not to blacklist any wl dependancies by have a look at
Code:
modinfo wl


Code:
nirvana muso # modinfo wl
filename:       /lib/modules/4.2.0-gentoo-r1/net/wireless/wl.ko
license:        Mixed/Proprietary
srcversion:     41A73C6F28E14B515BE2848
alias:          pci:v*d*sv*sd*bc02sc80i*
depends:        cfg80211
vermagic:       4.2.0-gentoo-r1 SMP mod_unload modversions
parm:           passivemode:int
parm:           wl_txq_thresh:int
parm:           oneonly:int
parm:           piomode:int
parm:           instance_base:int
parm:           nompc:int
parm:           intf_name:string


Code:
nirvana muso # dmesg -k| grep cfg80211
[   13.807439] cfg80211: World regulatory domain updated:
[   13.807444] cfg80211:  DFS Master region: unset
[   13.807445] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.807448] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.807450] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.807451] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   13.807454] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   13.807456] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   13.807458] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   13.807459] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.807461] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)


When Chromium finishes its update, I'll go back into the kernel and see if there's anything else that can be done.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1361
Location: Montréal

PostPosted: Wed Sep 09, 2015 6:59 pm    Post subject: Reply with quote

It may have nothing to do with your problem, but the fact that wl is a module and your wireless support is in the kernel image do not look good to me. I ever seen some Gentoo users have wireless problems by configuring the wireless support in hard in the kernel image. After they compile it in modules the problem disappear.

I never seen any Linux distribution compile the wireless support in hard.
_________________
Paul


Last edited by Logicien on Wed Sep 09, 2015 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 7:01 pm    Post subject: Reply with quote

Logicien wrote:
It may have nothing to do with your problem, but the fact that wl is a module and your wireless support is in the kernel image do not look good to me. I ever seen some Gentoo users have wireless problems by configuring the wireless support in hard in the kernel image. After they compile it in modules the problem disappear.


I always compiled (static) the wireless in my desktops which used wireless, never had a problem. I'll give your suggestion a shot, as it can't hurt to try ;)
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1361
Location: Montréal

PostPosted: Wed Sep 09, 2015 7:44 pm    Post subject: Reply with quote

The kernel is clear
Code:
[   13.416867] wl: module verification failed: signature and/or required key missing - tainting kernel

You have a signature and/or a key verification issue. Check your signature and key options in your kernel configuration and the Security Options section.

This issue probably prevent the wl module from loading. What do return
Code:
lsmod | grep wl

_________________
Paul
Back to top
View user's profile Send private message
hololeap
n00b
n00b


Joined: 05 Oct 2013
Posts: 29

PostPosted: Wed Sep 09, 2015 11:25 pm    Post subject: Reply with quote

Are you 100% sure that you are booting to the correct kernel? If you have CONFIG_IKCONFIG enabled in your kernel, you can run this:
Code:
zcat /proc/config.gz | diff /usr/src/linux/.config -

If you don't get any output from that command, then you are booting to the correct kernel.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Wed Sep 09, 2015 11:48 pm    Post subject: Reply with quote

hololeap wrote:
Are you 100% sure that you are booting to the correct kernel? If you have CONFIG_IKCONFIG enabled in your kernel, you can run this:
Code:
zcat /proc/config.gz | diff /usr/src/linux/.config -

If you don't get any output from that command, then you are booting to the correct kernel.


I remove all other kernel images from /boot except for the one I am using.

And /usr/src/linux is always linked to the current kernel I am using.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Thu Sep 10, 2015 5:31 am    Post subject: Reply with quote

boradcom-sta won't build against vanilla-sources, and won't modprobe with gentoo sources.

So, gentoo on this laptop is b0rked.

Installing Bodhi
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Thu Sep 10, 2015 7:49 am    Post subject: Reply with quote

No problems what-so-ever in Bodhi Linux,
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
hololeap
n00b
n00b


Joined: 05 Oct 2013
Posts: 29

PostPosted: Fri Sep 11, 2015 4:50 am    Post subject: Reply with quote

I don't have that card, but I have BCM4352 and I use broadcom-sta. I haven't had any trouble loading the wl driver once it is built. Not sure what to tell you except maybe try not using genkernel. If you need the ramdisk capabilities you can run genkernel initramfs after you have the kernel built and installed.
Back to top
View user's profile Send private message
Polyatomic
n00b
n00b


Joined: 18 May 2014
Posts: 36

PostPosted: Sat Sep 12, 2015 8:22 am    Post subject: Reply with quote

Muso, um how did you get it past modpost in the build man. There is a GPL only symbol
which craps out modpost

Code:
root@milton:/sources/temp# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.2.0-rc7/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-rc7'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /sources/temp/built-in.o
  CC [M]  /sources/temp/src/shared/linux_osl.o
  CC [M]  /sources/temp/src/wl/sys/wl_linux.o
  CC [M]  /sources/temp/src/wl/sys/wl_iw.o
  CC [M]  /sources/temp/src/wl/sys/wl_cfg80211_hybrid.o
  LD [M]  /sources/temp/wl.o
  Building modules, stage 2.
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol 'flush_workqueue'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1389: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-rc7'
Makefile:142: recipe for target 'all' failed
make: *** [all] Error 2


ed
Muso wrote:
I have a Broadcom BCM43142 device in this laptop. I have emerged broadcom-sta, blacklisted ssb, bcma, b43, and mac80211.
...
[SOLVED]
I installed Bodhi linux.

sorry man I saw the SOLVED and scrolled all the way to the bottom too fast.
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 969
Location: The Holy city of Honolulu

PostPosted: Sat Sep 12, 2015 7:33 pm    Post subject: Reply with quote

Polyatomic wrote:
Muso wrote:
I have a Broadcom BCM43142 device in this laptop. I have emerged broadcom-sta, blacklisted ssb, bcma, b43, and mac80211.
...
[SOLVED]
I installed Bodhi linux.

sorry man I saw the SOLVED and scrolled all the way to the bottom too fast.


:lol:

No worries. After days and days of no progress getting that wifi running in gemntoo, I just got tired of banging my head into a wall. Having to have a wired connection on a laptop was just pointless.

Bodhi's nice though, everything's running perfectly so I'm happy enough... I just miss running gentoo on a laptop or desktop.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
DTL
n00b
n00b


Joined: 23 Oct 2015
Posts: 8

PostPosted: Fri Oct 23, 2015 1:47 pm    Post subject: Reply with quote

I'll reply because this comes on top in google when you search for "bcm43142 poor connection" :)

I have this "working" with kernel 4.0.5. The performance is quite poor - the connection compared to windows is way worse and often disconnects, but the device is there and you can scan and connect.
Back to top
View user's profile Send private message
utekan
n00b
n00b


Joined: 05 Nov 2015
Posts: 1

PostPosted: Thu Nov 05, 2015 5:37 am    Post subject: Reply with quote

DTL wrote:
I'll reply because this comes on top in google when you search for "bcm43142 poor connection" :)

I have this "working" with kernel 4.0.5. The performance is quite poor - the connection compared to windows is way worse and often disconnects, but the device is there and you can scan and connect.

Can't help but ask: WHAT DID YOU DO??? :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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