Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-09-2014, 08:01 AM
|
#1
|
Member
Registered: Apr 2011
Posts: 82
Rep:
|
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
|
|
|
05-09-2014, 09:02 AM
|
#2
|
Senior Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,925
|
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?
|
|
|
05-09-2014, 05:21 PM
|
#3
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
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.
|
|
|
05-09-2014, 09:36 PM
|
#4
|
Member
Registered: Apr 2011
Posts: 82
Original Poster
Rep:
|
Quote:
Originally Posted by enorbet
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
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
|
|
|
05-09-2014, 09:59 PM
|
#5
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
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.
|
05-10-2014, 07:20 AM
|
#6
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
|
|
|
05-11-2014, 04:26 PM
|
#7
|
Member
Registered: Apr 2011
Posts: 82
Original Poster
Rep:
|
Quote:
Originally Posted by turtleli
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
|
|
|
05-12-2014, 12:35 PM
|
#8
|
Member
Registered: Apr 2011
Posts: 82
Original Poster
Rep:
|
Quote:
Originally Posted by turtleli
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
|
|
|
All times are GMT -5. The time now is 07:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|