LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-09-2014, 08:01 AM   #1
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
Broadcom wireless and Kernel 3.14.3


Hello,

I updated my Slackware machine to Kernel 3.14.3 from -current, and since then I'm unable to build the broadcom-sta driver needed for my Wireless card

This is the error I get while trying to build it:

Code:
make: Entering directory `/usr/src/linux-3.14.3'
CFG80211 API is prefered for this kernel version
/tmp/SBo/build-broadcom-wl/Makefile:85: Neither CFG80211 nor Wireless Extension is enabled in kernel
make: Leaving directory `/usr/src/linux-3.14.3'
make: Entering directory `/usr/src/linux-3.14.3'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /tmp/SBo/build-broadcom-wl/built-in.o
  CC [M]  /tmp/SBo/build-broadcom-wl/src/shared/linux_osl.o
  CC [M]  /tmp/SBo/build-broadcom-wl/src/wl/sys/wl_linux.o
  CC [M]  /tmp/SBo/build-broadcom-wl/src/wl/sys/wl_iw.o
  CC [M]  /tmp/SBo/build-broadcom-wl/src/wl/sys/wl_cfg80211_hybrid.o
  LD [M]  /tmp/SBo/build-broadcom-wl/wl.o
  Building modules, stage 2.
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/SBo/build-broadcom-wl/wl.o
see include/linux/module.h for more information
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  CC      /tmp/SBo/build-broadcom-wl/wl.mod.o
  LD [M]  /tmp/SBo/build-broadcom-wl/wl.ko
make: Leaving directory `/usr/src/linux-3.14.3'
If I move on with the build anyway, this is what I get when trying to modprobe wl:

Code:
  433.735645] wl: module license 'unspecified' taints kernel.
[  433.735650] Disabling lock debugging due to kernel taint
[  433.738144] wl: Unknown symbol lockdep_init_map (err 0)

I found a thread on an Arch forum with someone with the same problem, but I couldn't quite make out how they fixed (seems like a patch in their broadcom-wl package, but I'm not sure): https://bbs.archlinux.org/viewtopic.php?pid=1215189


BTW in the generic kernel config from -current there is a CONFIG_CFG80211=m, which looks correct for me
 
Old 05-09-2014, 09:02 AM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,925

Rep: Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556Reputation: 4556
It is rather common that when I buy hardware I write, sometimes during registering, to tell them that I chose their brand because it is well supported in Linux. Conversely I also often write to manufacturers whose products I considered and say "I was excited about your Model XYZ and almost bought it but then chose your competitor's Model ABC because they don't use Broadcom wireless, not well supported in Linux which I consider unconscionable today with so many growing Linux users."

I apologize that this doesn't help fix what you have but is it expensive or otherwise difficult to save yourself such issues by getting one that works OOB?
 
Old 05-09-2014, 05:21 PM   #3
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
The missing CFG80211 message is just noise, that happens to me as well.

If you're willing to recompile the kernel then disable the lock debugging options. I get the same "Unknown symbol" error if CONFIG_DEBUG_LOCK_ALLOC=y.
 
Old 05-09-2014, 09:36 PM   #4
beder
Member
 
Registered: Apr 2011
Posts: 82

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by enorbet View Post
It is rather common that when I buy hardware I write, sometimes during registering, to tell them that I chose their brand because it is well supported in Linux. ....
I apologize that this doesn't help fix what you have but is it expensive or otherwise difficult to save yourself such issues by getting one that works OOB?
This is my work machine, I didn't have a choice on the brand nor the components of it.
I appreciate your sentiment, but I just want to get things to work out

Quote:
Originally Posted by turtleli View Post
The missing CFG80211 message is just noise, that happens to me as well.
If you're willing to recompile the kernel then disable the lock debugging options. I get the same "Unknown symbol" error if CONFIG_DEBUG_LOCK_ALLOC=y.
I supposed this message might be noise, and the part on dmesg is what might actually give some clue...

I think the guys from Arch actually got this to work, but I couldn't quite get their patch to compile with the slackbuild
 
Old 05-09-2014, 09:59 PM   #5
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
Just to clarify, I do have a working broadcom-sta wl driver with kernel 3.14.3. It requires a kernel with the lock debugging options disabled (I think it's Kernel Hacking -> Lock Debugging or something similar, I'm currently booted into Windows so I don't know the exact name) and then recompiling the broadcom-sta driver. No additional patches should be necessary.
 
1 members found this post helpful.
Old 05-10-2014, 07:20 AM   #6
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
This thread lists the module names, etc:

http://www.linuxquestions.org/questi...429/page3.html
 
Old 05-11-2014, 04:26 PM   #7
beder
Member
 
Registered: Apr 2011
Posts: 82

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by turtleli View Post
Just to clarify, I do have a working broadcom-sta wl driver with kernel 3.14.3. It requires a kernel with the lock debugging options disabled (I think it's Kernel Hacking -> Lock Debugging or something similar, I'm currently booted into Windows so I don't know the exact name) and then recompiling the broadcom-sta driver. No additional patches should be necessary.

Ah, ok, I misinterpreted your first answer indeed, thanks for clarifying.
I will try this on Monday when I get to that machine
 
Old 05-12-2014, 12:35 PM   #8
beder
Member
 
Registered: Apr 2011
Posts: 82

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by turtleli View Post
Just to clarify, I do have a working broadcom-sta wl driver with kernel 3.14.3. It requires a kernel with the lock debugging options disabled (I think it's Kernel Hacking -> Lock Debugging or something similar, I'm currently booted into Windows so I don't know the exact name) and then recompiling the broadcom-sta driver. No additional patches should be necessary.
Hey,

I have recompiled the kernel with debug disabled, and wireless is working again!
So thank you for your response
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Broadcom Wireless driver on kernel 2.6.35 rengo.Java Linux - Networking 15 08-21-2011 11:39 PM
[SOLVED] Slackware wireless networking setup w/Broadcom Wireless BCM4311 NIC on HP DV9000 astanton Slackware 14 12-30-2010 07:37 PM
Broadcom product: BCM4322 802.11a/b/g/n Wireless LAN Controller help with wireless N whatleya Linux - Wireless Networking 4 11-22-2009 09:41 AM
Switching to Linux!!! Wireless PCMCIA Card Broadcom 4306 Kernel 2.6.18 RacoonSpirit Linux - Newbie 9 01-17-2009 08:03 PM
Broadcom wireless in kernel 2.6.17 - configuration help needed ku4tp SUSE / openSUSE 1 09-18-2006 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration