Fedora Linux Support Community & Resources Center
  #1  
Old 8th June 2012, 04:53 AM
styounes Offline
Registered User
 
Join Date: Jun 2012
Location: Mississippi
Posts: 4
linuxfirefox
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!
Attached Files
File Type: log 5.100.82.112-2.11-for-3.4.0-1.fc17.x86_64.failed.log (10.9 KB, 70 views)
Reply With Quote
  #2  
Old 8th June 2012, 11:47 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,755
linuxfirefox
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
Reply With Quote
  #3  
Old 8th June 2012, 05:35 PM
styounes Offline
Registered User
 
Join Date: Jun 2012
Location: Mississippi
Posts: 4
linuxfirefox
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.
Reply With Quote
  #4  
Old 8th June 2012, 06:45 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,755
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Try

Code:
yum install kernel-headers
You do have kernel-devel installed, don't you?
Reply With Quote
  #5  
Old 8th June 2012, 07:22 PM
styounes Offline
Registered User
 
Join Date: Jun 2012
Location: Mississippi
Posts: 4
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Yes, I do have kernel-devel installed.
Reply With Quote
  #6  
Old 8th June 2012, 08:38 PM
ffrbw Offline
Registered User
 
Join Date: Jun 2012
Location: Recife/Brasil
Posts: 2
linuxfirefox
Unhappy Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Quote:
Originally Posted by styounes View Post
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.
Reply With Quote
  #7  
Old 8th June 2012, 09:29 PM
ffrbw Offline
Registered User
 
Join Date: Jun 2012
Location: Recife/Brasil
Posts: 2
linuxfirefox
Smile 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.
Reply With Quote
  #8  
Old 8th June 2012, 09:49 PM
pmcnabb Offline
Registered User
 
Join Date: Aug 2007
Posts: 8
linuxfirefox
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
Reply With Quote
  #9  
Old 8th June 2012, 10:18 PM
MortenW Offline
Registered User
 
Join Date: Jun 2012
Location: Earth
Posts: 1
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Ramiro's fix worked for me as well

Thanx
Reply With Quote
  #10  
Old 9th June 2012, 05:31 AM
jakerock Offline
Registered User
 
Join Date: Aug 2005
Posts: 29
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

This method worked for me too, thanks
Reply With Quote
  #11  
Old 9th June 2012, 10:21 AM
QuantumKnot Offline
Registered User
 
Join Date: Nov 2004
Location: Australia
Posts: 227
linuxfirefox
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) :)
Reply With Quote
  #12  
Old 13th June 2012, 04:32 AM
styounes Offline
Registered User
 
Join Date: Jun 2012
Location: Mississippi
Posts: 4
macossafari
Smile Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Awesome! This works! Thank you so much ffrbw!
Reply With Quote
  #13  
Old 23rd June 2012, 01:30 PM
username Offline
Registered User
 
Join Date: Jun 2012
Location: HUngary
Posts: 3
linuxfirefox
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.
Reply With Quote
  #14  
Old 23rd June 2012, 03:25 PM
StephenH's Avatar
StephenH Offline
Registered User
 
Join Date: Jul 2004
Location: Wake Forest, NC
Age: 59
Posts: 1,186
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Quote:
Originally Posted by username View Post
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
Reply With Quote
  #15  
Old 23rd June 2012, 06:16 PM
username Offline
Registered User
 
Join Date: Jun 2012
Location: HUngary
Posts: 3
linuxfirefox
Re: Broadcom-wl (BCM 4312 Chipset) broken after update

Quote:
Originally Posted by StephenH View Post
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.
Reply With Quote
Reply

Tags
4312, bcm, broadcomwl, broken, chipset, fedora 17, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom 4312 dropouts JBLoudG20 Hardware & Laptops 0 15th December 2009 02:30 AM
Fedora 12 Broadcom 4312 Arkiados Servers & Networking 0 23rd November 2009 01:41 AM
Help with Broadcom 4312 Nushio Servers & Networking 2 18th March 2009 05:37 AM
wireless-broadcom 4312 help! arthur.m Servers & Networking 17 2nd April 2008 03:36 AM
Broadcom 4312 wireless configuration: How to buchalkalan Hardware & Laptops 9 9th December 2007 10:11 AM


Current GMT-time: 00:23 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat