 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

8th June 2012, 04:53 AM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Mississippi
Posts: 4

|
|
|
Broadcom-wl (BCM 4312 Chipset) broken after update
I recently installed Fedora 17 and the broadcom-wl (akmod-wl driver) (following the instructions here: http://forums.fedoraforum.org/showthread.php?t=239922). This worked for a time until running a system update at which point "Wireless" no longer shows up in my Network manager.
I have removed and reinstalled the akmod-wl driver to no avail (theoretically, exactly what one would expect since this is the akmod vs. kmod version). Attempts to load the module via command:
modprobe wl
gives the following error: FATAL: Module wl not found. I have tried rebuilding the akmod with the following command along with error output:
su -c 'akmods --akmod wl'
Checking kmods exist for 3.4.0-1.fc17.x86_64 [ OK ]
Building and installing wl-kmod [FAILED]
Building rpms failed; see /var/cache/akmods/wl/5.100.82.112-2.11-for-3.4.0-1.fc17.x86_64.failed.log for details
Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.
The above recommended command produces the same output when run as root. I have attached the failed.log for any who may want to read through it (I was unable to decipher the errors therein). Finally, following the advice of another post I saw on this site, I tried to install kernel-devel only to discover it is already installed. Any suggestions would be greatly appreciated as I am at my wit's end. Thank you in advance!
|

8th June 2012, 11:47 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,755

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Quote:
|
wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
|
Find out what happened to it and change line 43 of wl_linux.c or create a symlink (which might have side effects)
Code:
locate -i system.h | grep 3.4.0
|

8th June 2012, 05:35 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Mississippi
Posts: 4

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Command
Code:
locate -i system.h | grep 3.4.0
produces no output; excluding the grep command produces only a non-relevant file in the docs directory.
|

8th June 2012, 06:45 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1,755

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Try
Code:
yum install kernel-headers
You do have kernel-devel installed, don't you?
|

8th June 2012, 07:22 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Mississippi
Posts: 4

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Yes, I do have kernel-devel installed.
|

8th June 2012, 08:38 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Recife/Brasil
Posts: 2

|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Quote:
Originally Posted by styounes
Yes, I do have kernel-devel installed.
|
It's a problem with the source code of the module (from broadcom) and the kernel 3.4.0. You can see error in the rpmfusion build log.
It' at:
http://buildsys.rpmfusion.org/logs/f...i686/build.log
Amost at the end of the file you can see this:
/builddir/build/BUILD/wl-kmod-5.100.82.112/_kmod_build_3.4.0-1.fc17.i686/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[1]: *** [/builddir/build/BUILD/wl-kmod-5.100.82.112/_kmod_build_3.4.0-1.fc17.i686/src/wl/sys/wl_linux.o] Error 1
make: Leaving directory `/usr/src/kernels/3.4.0-1.fc17.i686'
make: *** [_module_/builddir/build/BUILD/wl-kmod-5.100.82.112/_kmod_build_3.4.0-1.fc17.i686] Error 2
I tried to compile from source myself, excluding this problematic line (it's not just crazyness, I was following patches for other distributions), but the compilation fails with another error, a field missing from a structure, a bit later on.
I'm afraid this requires manual intervention from the mantainer of this package.
(and yes, I too have kernel-devel installed
Ramiro.
|

8th June 2012, 09:29 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Recife/Brasil
Posts: 2

|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Replying to myself, but perhaps this can be useful for someone else.
I got the compilation from source working, in fact I'm posting this through the wireless interface. The modifications to the source file are really really simple.
If you want to try, it goes more or less like this:
1) get the source files from broadcom -- http://www.broadcom.com/docs/linux_s..._82_112.tar.gz
2) make a new directory and extract the source files
# mkdir hybrid-wl
# cd hydrid-wl
# tar -xvzf ../hybrid-portsrc_x86_64-v5_100_82_112.tar.gz
3) change to the problematic file directory
# cd src/wl/sys
4) fix the source file wl_linux.c (of course use your favourite editor):
# vi wl_linux.c
around line 43, remove the line
#include <asm/system.h>
search for the string
.ndo_set_multicast_list
and replace it with
.ndo_set_rx_mode
save the file, and try to compile
5) # cd ../../..
# make
If you are lucky things should work, and you'll have a file called "wl.ko" in the current directory. (I got these patches from the internet, not my own work.)
I then did
# mkdir -p /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
# cp wl.ko /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
# depmod -a
# modprobe wl
and I had to reconfigure the interface, inserting the network password again, but after that it's working.
Ramiro.
|

8th June 2012, 09:49 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 8

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Ramiro's workaround works for me.
If you have akmod-wl installed, the source tarball is embedded in /usr/src/akmods/wl-kmod-*.src.rpm
As with other SRPMs, you can "rpm -Uvh" it and look in ~/rpmbuild/SOURCES/ to find hybrid-portsrc_x86_64*.tar.gz
-Peter
|

8th June 2012, 10:18 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Earth
Posts: 1

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Ramiro's fix worked for me as well
Thanx
|

9th June 2012, 05:31 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 29

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
This method worked for me too, thanks
|

9th June 2012, 10:21 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: Australia
Posts: 227

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
This method worked for me too.  When will the akmod rpm be updated with this patch?
__________________
QuantumKnot - originator of the "Verne" release name (possibly the last 'normal' release name) :)
|

13th June 2012, 04:32 AM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: Mississippi
Posts: 4

|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Awesome! This works! Thank you so much ffrbw!
|

23rd June 2012, 01:30 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: HUngary
Posts: 3

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Hi. This works not for me. Everythings was okay with Ramiro's method, but in NetworkManager there is no wireless option. Somebody any idea? Thank you.
|

23rd June 2012, 03:25 PM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,186

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Quote:
Originally Posted by username
Hi. This works not for me. Everythings was okay with Ramiro's method, but in NetworkManager there is no wireless option. Somebody any idea? Thank you.
|
What does "systemctl status akmods.service" return?
What happens when you execute "systemctl enable akmods.service" and "systemctl start akmods.service"?
I also had problems with the latest kernel, but after I did that, it worked. The first reboot, it did not give me wireless, but after rebooting, the wireless was enabled and active again. It is something to try.
Before, when I tried, it was returning that it was not active. After enabling and starting, it returned this:
systemctl status akmods.service
akmods.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled)
Active: active (exited) since Fri, 22 Jun 2012 22:25:23 -0400; 11h ago
Main PID: 604 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/akmods.service
Jun 22 22:25:23 hostname.domainname akmods[604]: Checking kmods exist for 3.4.3-...]
__________________
StephenH
"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach
http://pilgrim-wanderings.blogspot.com
|

23rd June 2012, 06:16 PM
|
|
Registered User
|
|
Join Date: Jun 2012
Location: HUngary
Posts: 3

|
|
|
Re: Broadcom-wl (BCM 4312 Chipset) broken after update
Quote:
Originally Posted by StephenH
What does "systemctl status akmods.service" return?
What happens when you execute "systemctl enable akmods.service" and "systemctl start akmods.service"?
I also had problems with the latest kernel, but after I did that, it worked. The first reboot, it did not give me wireless, but after rebooting, the wireless was enabled and active again. It is something to try.
Before, when I tried, it was returning that it was not active. After enabling and starting, it returned this:
systemctl status akmods.service
akmods.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled)
Active: active (exited) since Fri, 22 Jun 2012 22:25:23 -0400; 11h ago
Main PID: 604 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/akmods.service
Jun 22 22:25:23 hostname.domainname akmods[604]: Checking kmods exist for 3.4.3-...]
|
SOLVED for me too! I installed the akmod-wl in the new kernel 3.4 and it works, thanks for help.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 00:23 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|