Jump to content
Sign in to follow this  
Timmy

Broadcom STA wireless drivers with kernel 3.0.0-7-generic

Recommended Posts

Hey,

 

I've recently installed the (alpha/beta) 1.2.0 version of Bodhi. Almost everything seems to work as expected except the (proprietary) drivers for my WiFi card.

$ lspci -nn | grep Net
01:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:4727] (rev 01)

 

Being a person who likes to take the familiar approach to things I did as I did with previous versions of Bodhi (namely 1.1.0):

$ sudo apt-get install linux-headers-$(uname -r) wireless-tools jockey-gtk

$ gksudo jockey-gtk

And tried enabling the drivers, this however caused the following error message to appear: "SystemError: installArchives() failed".

 

Rather confused I started looking for solutions on the web and found this blog post.

So I tried different variations of removing, purging, reinstalling and installing 'dkms' and 'bcmwl-kernel-source' without success. In fact, they all threw the following error message: "dpkg: error processing bcmwl-kernel-source (..configure): subprocess installed post-installation script returned error exit status 10" which led me to this page.

I tried that approach too and wound up with this error message: "Error! Bad return status for module build on kernel: 3.0.0-7-generic (i686) Consult the make.log in the build directory /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/ for more information.

 

This is what that file says:

DKMS make.log for bcmwl-5.60.48.36+bdcom for kernel 3.0.0-7-generic (i686)
Sun Aug 7 18:42:08 CEST 2011
make: Entering directory `/usr/src/linux-heaqders-3.0.0-7-generic'
 LD     /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/built-in.o
 CC [M] /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o
 CC [M] /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.c: In function '_wl_set_multicast_list':
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.c:1435: error: 'struct net_device' has no member named 'mc_list'
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.c:1435: error: 'struct net_device' has no member named 'mc_count'
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.c:1436: error: dereferencing pointer to incomplete type
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.c:1442: error: dereferencing pointer to incomplete type
make[1]: *** [/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/wl/sys/wl_linux.o] Error 2
make: *** [_module_/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/] Error 2
make: Leaving directory `/usr/src/linux-heaqders-3.0.0-7-generic'

 

Now I don't know what to do. Any tips?

Share this post


Link to post
Share on other sites

What does

$ lspci -nn | grep Net

and

$ uname -r

tell you?

 

Did you try any other things, do you have any other logs or error messages to attach?

 

I'm pretty much clueless about this issue and would like as much information as possible. If you fear your logs are too long, please upload them to pastebin and attach the link here.

Share this post


Link to post
Share on other sites

lspci -nn | grep Net:

01:00.0 Network controller [0280]: Broadcom Corporatio Device [14e4:4727] (rev 01)

uname -r:

3.0.0-9-generic

 

I've been modprobing[-r] several drivers that I've known to conflict with mine in the past (namely, ssb and b43) and trying different drivers I've seen work with mine (brcmsmac and wl) but none of that seems to help. There must be some other piece of the puzzle that I'm missing...

 

EDIT: I should mention that the above was done on a live session as I've already replaced Bodhi with another os until the wireless is figured out...

Share this post


Link to post
Share on other sites

Okay, we have the exact same chipset then. Just different kernels (though both above 3.0).

 

I too tried to modprobe wl, but it couldn't find it since bcmwl-kernel-source wan't installed and wouldn't install, as noted above.

Share this post


Link to post
Share on other sites

oh yes, you are right about that. I forgot that wl refused me as well. I do remember that lib80211 loads with wl, and I tried that and it didn't do anything (which makes sense since wl is the main driver). I wonder why bcmwl refuses to install for either of us...

Share this post


Link to post
Share on other sites

Timmy,

 

Is it still failing to install/build on the latest 1.2.0 build? Note you need your kernel headers installed for the evil broadcom to even think about working.

 

~Jeff

Share this post


Link to post
Share on other sites

Timmy,

 

Is it still failing to install/build on the latest 1.2.0 build? Note you need your kernel headers installed for the evil broadcom to even think about working.

 

~Jeff

 

As you can see from my first post I installed the header files. I have yet to try the latest build, but reading spiffys reply makes me believe that there won't be any difference (notice the 3.0.0-9 kernel, it's the one from 1.2.0rc, right?)

Share this post


Link to post
Share on other sites

Can someone please test this now? It is building AOK here on my sager laptop (hcanged some packages around)

 

But I do not have a broadcom chip to confirm it actually works after the install.

 

jeff@sagermain:~$ sudo apt-get install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
 libfm-gtk0 libfm0 libkms1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
 bcmwl-modaliases
The following packages will be upgraded:
 bcmwl-kernel-source
1 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 1,202kB of archives.
After this operation, 705kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://packages.bodhilinux.com/bodhi/ lucid/test bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu4 [1,202kB]
Fetched 1,202kB in 2s (574kB/s)              
(Reading database ... 263969 files and directories currently installed.)
Removing bcmwl-modaliases ...
(Reading database ... 263965 files and directories currently installed.)
Preparing to replace bcmwl-kernel-source 5.60.48.36+bdcom-0ubuntu5 (using .../bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu4_i386.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement bcmwl-kernel-source ...
Setting up bcmwl-kernel-source (5.100.82.38+bdcom-0ubuntu4) ...
Loading new bcmwl-5.100.82.38+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 3.0.0-9-generic-pae
Building for architecture i686
Building initial module for 3.0.0-9-generic-pae
Done.

wl.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/3.0.0-9-generic-pae/updates/dkms/

depmod....

DKMS: install Completed.
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-9-generic-pae
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169

 

~Jeff

Share this post


Link to post
Share on other sites

Still no go - the package installs fine but I can't load the modules (wl or brcmsmac - with modprobe). Tried installing via Jockey too, still the same error as before.

 

(Did a fresh install of 1.2.0rc.)

Share this post


Link to post
Share on other sites

Post the output of

sudo apt-get install bcmwl-kernel-source

 

If you are getting the exact same message as before than something is wrong - because the version number of the package is now different in the repo.

 

Thanks,

~Jeff

Share this post


Link to post
Share on other sites

sudo apt-get install bcmwl-kernel-source 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
 bcmwl-kernel-source
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1,202kB of archives.
After this operation, 3,367kB of additional disk space will be used.
Selecting previously deselected package bcmwl-kernel-source.
(Reading database ... 65913 files and directories currently installed.)
Unpacking bcmwl-kernel-source (from .../bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu4_i386.deb) ...
Setting up bcmwl-kernel-source (5.100.82.38+bdcom-0ubuntu4) ...
Loading new bcmwl-5.100.82.38+bdcom DKMS files...
Building only for 3.0.0-9-generic
Building for architecture i686
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-9-generic

 

Might have forgotten the headers though >,

Share this post


Link to post
Share on other sites

Yes you did Timmy -

 

Module build for the currently running kernel was skipped since the

kernel source for this kernel does not seem to be installed.

 

~Jeff

Share this post


Link to post
Share on other sites
Sign in to follow this  

×