[SOLVED] wifi not working with bcm4328

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: wifi not working with bcm4328

Post#16 by fanthom » 27 Aug 2011, 08:32

we have a progress :)

Code: Select all

bash-4.1# modprobe b43
bash-4.1# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill
according to this thread:
https://bbs.archlinux.org/viewtopic.php?id=82966

blacklisting 'rfkill' module should solve your problem.

i think rfkill is needed for some bluetooth devices so i can't do it globally.
do you still get:

Code: Select all

eth%d: 5.60.246.6 driver failed with code 21

while using older broadcom-sta driver?
please show me full dmesg output when booting with broadcom-sta-5.60.246.6-porteus-1.0-x86_64-1ftm.xzm module.

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: wifi not working with bcm4328

Post#17 by francois » 28 Aug 2011, 16:39

I will try it if you want, a little later during the day now that I have more time.

I have found an old thread of mine on bcm4328:
http://www.slax.org/forum.php?action=vi ... ht=bcm4328

Maybe I should resort to ndiswrapper.

However, as I thought, clearly the bcm4328 will not work with the b43 or other types of broadcom driver:
https://wiki.archlinux.org/index.php/Broadcom_wireless

Citation:
"In September 2010, Broadcom finally released fully open source drivers for its hardware. This driver, brcm80211, has been included into the kernel since 2.6.37. With the release of 2.6.39, these drivers have been renamed to brcmsmac and brcmfmac.

At the time of writing, there are three choices for users with Broadcom Wi-Fi chips:

brcmsmac/brcmfmac
broadcom-wl
b43

Only broadcom-wl (or linux-sta) is recognised as working with the bcm4328 as it seems from reading that link.

I read that updating my bios could be of some utility. I will try that:
http://ubuntuforums.org/showthread.php?t=896713&page=9

But before, I will try to build linux-sta from source.

Posted after 2 hours 37 minutes 22 seconds:
A. Here is the result of your proposition under porteus v 1.0:
1) without your bcmXX module, blacklist rfkill in blacklist.conf
2) reboot
3) bash-4.1# modprobe -r wl
bash-4.1# modprobe b43
bash-4.1# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill
bash-4.1# modprobe -r rfkill
FATAL: Module rfkill is in use.
bash-4.1#

B. Meanwhile, I was not able to build linux-sta (I had the crippled source module):

Code: Select all

bash-4.1# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.38.8'
  LD      /root/Downloads/bcm/built-in.o
  CC [M]  /root/Downloads/bcm/src/shared/linux_osl.o
  CC [M]  /root/Downloads/bcm/src/wl/sys/wl_linux.o
/root/Downloads/bcm/src/wl/sys/wl_linux.c: In function 'wl_attach':
/root/Downloads/bcm/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function 'init_MUTEX'
make[2]: *** [/root/Downloads/bcm/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/root/Downloads/bcm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38.8'
make: *** [all] Error 2
bash-4.1# 
C. Would you like that I test b43 under the new kernel settings?

Salut!
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: wifi not working with bcm4328

Post#18 by fanthom » 28 Aug 2011, 20:42

hi francois,

A) are you sure that you have blacklisted rfkill correctly? this message:

Code: Select all

bash-4.1# modprobe -r rfkill
FATAL: Module rfkill is in use. 
gives me an info that rfkill was loaded somehow. please try again and make sure that rfkill was not loaded during boot (run 'lsmod | grep rfkill'). then:

Code: Select all

modprobe b43; ifconfig wlan0 up; iwlist wlan0 scan
you can do the same with 3.0.1 kernel as maybe support for bcm4328 chipset was added to the b43 driver in 2.6.39 or 3.0 kernel version.

b) which version are you trying to compile? did you apply a patch for unpacked broadcom-sta sources?
http://www.broadcom.com/docs/linux_sta/ ... 2_38.patch

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: wifi not working with bcm4328

Post#19 by francois » 29 Aug 2011, 23:56

A. rfkill will not be removed :x :

Code: Select all

bash-4.1# modprobe -r rfkill
FATAL: Module rfkill is in use.
bash-4.1# lsmod | grep rfkill
rfkill                 10352  1 hp_wmi
bash-4.1# 
Trying:

Code: Select all

bash-4.1# modprobe -r rfkill
FATAL: Module rfkill is in use.
bash-4.1# rmmod rfkill
ERROR: Module rfkill is in use by hp_wmi
Googling for hp_wmi, it seems that it is of no use for me on linux (I don't think this will affect windows vista :Search: :
http://forum.notebookreview.com/hp-comp ... rvice.html
Googling for cfg80211:
http://linuxwireless.org/en/developers/ ... n/cfg80211
So I try:

Code: Select all

bash-4.1# rmmod rfkill
ERROR: Module rfkill is in use by cfg80211
bash-4.1# rmmod cfg80211
ERROR: Module cfg80211 is in use by b43,mac80211
bash-4.1# 
Hum! I am kind of stuck here :(

B. Building linux-sta. No I did not apply the patch. So I will save the text file under patchfile and use the following command:
patch -p0 < patchfile
(more info to come)

C. I will try under the recent kernel that you send me.

Thanks.

Working a new with the kernel 3.x you send me, with a new install of your original downloaded files, it worked at first boot thru wicd :D

Posted after 14 minutes 23 seconds:
This, without any blacklisting at all. Here is information from lsmod | grep "b43\|ssb\|wl" and tail -n20 /var/log/dmesg:
http://pastebin.com/JfN9hfmG

I did reboot more than once.
Prendre son temps, profiter de celui qui passe.

Post Reply