You are not logged in.

#126 2012-09-07 22:15:12

CapellanCitizen
Member
Registered: 2012-02-09
Posts: 6

Re: [Official] broadcom-wl thread

I have a Arch Linux/Win7 dual-boot HP Notebook 2000 laptop with a BCM4313 wireless card. I've been using broadcom-wl-ck because I have been using linux-ck for the past couple of months and get poor reception and speed with the other drivers. It's worked flawlessly, but as of yesterday my card can no longer connect to wireless networks. It scans for and detects networks correctly, but can not connect to them.

lspci:

07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

iwconfig:

wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

dmesg log (I load wl, use wicd to scan for networks, attempt to connect to"dlink", fail, and unload wl):

[  914.467830] INFO @wl_cfg80211_attach : Registered CFG80211 phy
[  914.470608] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless Controller 5.100.82.112
[  923.641553] r8169 0000:06:00.0: eth0: link down
[  926.160077] INFO @__wl_cfg80211_scan : system busy : scan for "dlink" canceled
[  929.153693] INFO @__wl_cfg80211_scan : system busy : scan for "dlink" canceled
[  932.142123] INFO @__wl_cfg80211_scan : system busy : scan for "dlink" canceled
[  932.344347] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[  933.791989] cfg80211: Calling CRDA to update world regulatory domain
[  934.044896] ERROR @wl_notify_scan_status : Scan complete while device not scanning
[  934.322143] r8169 0000:06:00.0: eth0: link down
[  935.544320] INFO @wl_cfg80211_get_tx_power : device is not ready : status (0)
[  936.485421] INFO @wl_cfg80211_get_tx_power : device is not ready : status (0)

(The card continues to spam the error "INFO @wl_cfg80211_get_tx_power : device is not ready : status (0)" until the module is removed)

My biggest concern is how the second line states that I have a BCM4727, when I actually have a BCM4313 according to lspci. The only software change that I took leading up to this was installing amd-ucode to fix a missing file error on boot, but I installed it several boots before my drivers failed, so I don't think it's the problem. The card also works fine under Windows 7 so hardware failure can probably be ruled out. Also curious is the output of "rfkill list", which claims that the laptop has a device "phy3: Wireless LAN". Previously, "rfkill list" never listed phy3, so it could just be a bug related to how wl doesn't know what card I have.

A remember seeing a topic about broadcom-wl detecting the wrong card several months ago on some other forum, but a half hour of googling didn't turn up that or any other solution. I'm afraid I'm stuck.

I can provide further logs if necessary. Thanks for your help and time.

Offline

#127 2012-09-07 22:27:54

Gusar
Member
Registered: 2009-08-25
Posts: 3,466

Re: [Official] broadcom-wl thread

CapellanCitizen wrote:

My biggest concern is how the second line states that I have a BCM4727, when I actually have a BCM4313 according to lspci.

The BCM4313 has a pci-id of 14e4:4727, that's where the 4727 comes from. There is no BCM4727.

Post rfkill list output, and also lsmod. Could be a wmi driver interfering. The wmi drivers are supposed to help, but I've long been thinking about the possibility that they sometimes do the opposite of helping.

Offline

#128 2012-09-07 23:49:51

CapellanCitizen
Member
Registered: 2012-02-09
Posts: 6

Re: [Official] broadcom-wl thread

Gusar wrote:

The BCM4313 has a pci-id of 14e4:4727, that's where the 4727 comes from. There is no BCM4727.

That makes sense. Anyway, the logs:
Rfkill:

0: hp-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hp-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

lsmod:

Module                  Size  Used by
nls_cp437               5953  2 
vfat                   10119  2 
fat                    49770  1 vfat
ipt_REJECT              2281  1 
xt_LOG                 11943  5 
rfcomm                 34385  4 
xt_limit                1977  7 
xt_tcpudp               2471  11 
bnep                    8825  2 
xt_addrtype             2853  4 
xt_state                1295  7 
ip6_tables             18550  0 
nf_conntrack_netbios_ns     1077  0 
nf_conntrack_broadcast     1285  1 nf_conntrack_netbios_ns
nf_nat_ftp              1668  0 
nf_nat                 15100  1 nf_nat_ftp
nf_conntrack_ipv4       6871  9 nf_nat
nf_defrag_ipv4          1339  1 nf_conntrack_ipv4
nf_conntrack_ftp        6261  1 nf_nat_ftp
nf_conntrack           62330  7 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_state,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4
iptable_filter          1456  1 
ip_tables              16946  1 iptable_filter
x_tables               16858  9 ip_tables,xt_tcpudp,xt_limit,xt_state,xt_LOG,iptable_filter,ipt_REJECT,ip6_tables,xt_addrtype
fuse                   68908  3 
lib80211_crypt_tkip     7738  0 
wl                   2557959  0 
btusb                  11892  0 
bluetooth             193436  22 bnep,btusb,rfcomm
uvcvideo               72339  0 
videobuf2_vmalloc       2468  1 uvcvideo
videobuf2_memops        2214  1 videobuf2_vmalloc
videobuf2_core         20575  1 uvcvideo
videodev              100564  2 uvcvideo,videobuf2_core
media                  10405  2 uvcvideo,videodev
microcode              12345  0 
powernow_k8            13360  0 
mperf                   1235  1 powernow_k8
usb_storage            44760  1 
uas                     8823  0 
radeon                854257  2 
joydev                  9991  0 
serio_raw               4689  0 
snd_hda_codec_realtek    59152  1 
snd_hda_intel          25700  0 
snd_hda_codec          97432  2 snd_hda_codec_realtek,snd_hda_intel
cfg80211              173210  1 wl
lib80211                3949  2 wl,lib80211_crypt_tkip
processor              27015  3 powernow_k8
hp_wmi                  7898  0 
sparse_keymap           3056  1 hp_wmi
rfkill                 15604  4 cfg80211,hp_wmi,bluetooth
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74894  2 snd_hda_codec,snd_hda_intel
i2c_piix4               8224  0 
snd_page_alloc          7185  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    60021  6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5442  1 snd
sp5100_tco              4504  0 
kvm                   363747  0 
ac                      2376  0 
evdev                   9882  11 
i2c_algo_bit            5391  1 radeon
drm_kms_helper         32749  1 radeon
ttm                    64417  1 radeon
drm                   220740  4 ttm,drm_kms_helper,radeon
i2c_core               20508  6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
k10temp                 2922  0 
r8169                  51877  0 
mii                     4123  1 r8169
rts_pstor             401587  1 
wmi                     8475  1 hp_wmi
psmouse                71557  0 
video                  11308  0 
battery                 6517  0 
thermal                 7959  0 
button                  4502  0 
pcspkr                  1899  0 
autofs4                24023  2 
ext4                  438743  3 
crc16                   1359  2 ext4,bluetooth
jbd2                   78720  1 ext4
mbcache                 5977  1 ext4
sd_mod                 29271  10 
sr_mod                 14823  0 
cdrom                  35648  1 sr_mod
ohci_hcd               21720  0 
ahci                   20549  5 
libahci                20023  1 ahci
libata                167675  2 ahci,libahci
ehci_hcd               41026  0 
usbcore               147402  6 uas,btusb,uvcvideo,usb_storage,ohci_hcd,ehci_hcd
scsi_mod              132896  6 uas,usb_storage,libata,rts_pstor,sd_mod,sr_mod
usb_common               954  1 usbcore

The wmi modules are definitely there. Also on closer inspection phy3 might have just been phy0, which was always there.

Last edited by CapellanCitizen (2012-09-07 23:53:44)

Offline

#129 2012-09-08 10:50:22

Gusar
Member
Registered: 2009-08-25
Posts: 3,466

Re: [Official] broadcom-wl thread

Well, rfkill says nothing it blocked, so from this perspective things should work. You could anyway try blacklisting hp_wmi, then reboot and check if wireless works. But I have no idea which things are all affected by that module, you could have random things (like brightness adjustment) not work anymore. It shouldn't hurt for a quick test though.

Beyond that, your options are: One, use an earlier kernel - either 3.4 or 3.0-lts. Two, uninstall wl and try the brcmsmac driver again.

Last edited by Gusar (2012-09-08 10:51:42)

Offline

#130 2012-09-08 19:28:49

CapellanCitizen
Member
Registered: 2012-02-09
Posts: 6

Re: [Official] broadcom-wl thread

So it turns out that I had "ipv6.disable=1" in my kernel options and that it was causing the problem. Everything seems fine now, thanks for your help!

Offline

#131 2012-10-11 08:49:17

toastman
Member
Registered: 2012-10-10
Posts: 11

Re: [Official] broadcom-wl thread

I figure this the right place to post this. I'm having a hard time getting my wlan0 interface to come up. I have a BCM4312. I installed the firmware from the AUR and everything i read in the forums/wiki and try doesn't work. Can anyone help?

Offline

#132 2012-10-11 09:23:14

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,320

Re: [Official] broadcom-wl thread

toastman wrote:

I figure this the right place to post this. I'm having a hard time getting my wlan0 interface to come up. I have a BCM4312. I installed the firmware from the AUR and everything i read in the forums/wiki and try doesn't work. Can anyone help?

On the one machine I have that needs broadcom-wl, the interface is called eth1.  The output of ip addr and iwconfig on your machine would help.

Online

#133 2012-10-11 16:59:26

toastman
Member
Registered: 2012-10-10
Posts: 11

Re: [Official] broadcom-wl thread

I've been suspecting that's what's happening.
After some checking, yes, it is. Thanks for the help.

Last edited by toastman (2012-10-12 07:31:44)

Offline

#134 2012-10-14 13:34:09

jack
Member
From: /usr/arg
Registered: 2005-11-17
Posts: 66

Re: [Official] broadcom-wl thread

Sorry for ask but every kernel update need a new recompile broadcom-wl driver again?

Offline

#135 2012-10-14 13:43:42

Gusar
Member
Registered: 2009-08-25
Posts: 3,466

Re: [Official] broadcom-wl thread

jack wrote:

Sorry for ask but every kernel update need a new recompile broadcom-wl driver again?

Minor kernel updates (3.5.4 -> 3.5.5) don't. But big updates (3.5 -> 3.6) do.

Offline

#136 2012-10-14 16:17:17

jack
Member
From: /usr/arg
Registered: 2005-11-17
Posts: 66

Re: [Official] broadcom-wl thread

I mean...If I do a fresh install of archlinux-2012.10.06 x64.
Every kernel update from there need a new recompile or are built-in in the new kernels?
I stopped use arch for that reason, really bothers me not having internet through wifi for this reason.:(

Offline

#137 2012-10-29 13:28:18

Ephexeve
Member
From: Amsterdam
Registered: 2012-03-21
Posts: 13
Website

Re: [Official] broadcom-wl thread

Is it normal when updating linux/linux-headers broadcom-wl won't work? Everytime after an update I restart the system and broadcom-wl doesn't work, so I have o re-install broadcom-wl from aur!

If there is a fix for this, let me know, cheers!


- Ephexeve M
Python - C - Bash - Perl - Ruby - Linux - Security
Archlinux - i3 - Emacs

Offline

#138 2012-11-01 12:44:56

jack
Member
From: /usr/arg
Registered: 2005-11-17
Posts: 66

Re: [Official] broadcom-wl thread

Ephexeve wrote:

Is it normal when updating linux/linux-headers broadcom-wl won't work? Everytime after an update I restart the system and broadcom-wl doesn't work, so I have o re-install broadcom-wl from aur!

This is the reason why I had to stop using Arch in my notebook.:\ This driver tired me.

Offline

#139 2012-11-01 17:44:43

solarised
Member
Registered: 2012-11-01
Posts: 3

Re: [Official] broadcom-wl thread

I never had problems with broadcom-wl until now after I have upgraded the package with the latest version from AUR.

Some info:

# lspci |grep Broadcom
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
#
# modprobe wl
# dmesg|tail -2
[90014.533187] INFO @wl_cfg80211_attach : Registered CFG80211 phy
[90014.533352] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless Controller 5.100.82.112
#
# lsmod|grep wl
wl                   2558087  0 
cfg80211              177058  1 wl
lib80211                3949  2 wl,lib80211_crypt_tkip
#
# rfkill list
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
#
# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 60:d8:19:a8:fc:1f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  
#
# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
#
# iwlist wlan0 scan
wlan0      Interface doesn't support scanning : Invalid argument
#
# dmesg|tail -1
[90094.001050] ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
#

As you can see scanning does not work for some reason. I have googled this error, but did not find anything useful.

The native drivers (b43,brcmsmac etc.) are also all disabled.  I have also tried downgrading kernel for several versions, but the result is the same. Hence I think it is not kernel related. Also tried to find any older broadcom-wl package, but was unsucessful.

Last edited by solarised (2012-11-01 17:49:11)

Offline

#140 2012-11-01 21:22:55

beardo_diaspora
Member
Registered: 2012-11-01
Posts: 1

Re: [Official] broadcom-wl thread

I'm having similar issues

my lspci

03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

lsmod | grep wl

wl                   2558087  0 
lib80211                3949  2 wl,lib80211_crypt_tkip
cfg80211              177058  1 wl
rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
cat /etc/modprobe.d/broadcom-wl.conf
blacklist b43
blacklist bcma
blacklist ssb

I have udev rules set up to maintain my wired and wireless cards as eth0 and wlan0, respectively. 

I was using brcmsmac until the 3.6.4-1ARCH kernel update. After the update, if I'm using brcmsmac, then attempting to soft-enable wireless using ifconfig, nm-applet, wicd-gtk or netcfg will hard freeze my machine, requiring a power cycle to reboot. 

b43 will work with a wired connection but the wireless card is unsupported


It seems from previous posts like maybe this is a problem with x64 specifically?  Any ideas? 

Thanks.

Offline

#141 2012-11-02 13:07:08

Zombifier
Member
From: London
Registered: 2012-08-16
Posts: 1

Re: [Official] broadcom-wl thread

I am experiencing the same problem with DELL BCM4312.

solarised wrote:

I never had problems with broadcom-wl until now after I have upgraded the package with the latest version from AUR.

Some info:

# lspci |grep Broadcom
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
#
# modprobe wl
# dmesg|tail -2
[90014.533187] INFO @wl_cfg80211_attach : Registered CFG80211 phy
[90014.533352] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless Controller 5.100.82.112
#
# lsmod|grep wl
wl                   2558087  0 
cfg80211              177058  1 wl
lib80211                3949  2 wl,lib80211_crypt_tkip
#
# rfkill list
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
#
# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 60:d8:19:a8:fc:1f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  
#
# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
#
# iwlist wlan0 scan
wlan0      Interface doesn't support scanning : Invalid argument
#
# dmesg|tail -1
[90094.001050] ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
#

As you can see scanning does not work for some reason. I have googled this error, but did not find anything useful.

The native drivers (b43,brcmsmac etc.) are also all disabled.  I have also tried downgrading kernel for several versions, but the result is the same. Hence I think it is not kernel related. Also tried to find any older broadcom-wl package, but was unsucessful.

Offline

#142 2012-11-20 20:02:18

greenfuse
Member
Registered: 2008-02-14
Posts: 57

Re: [Official] broadcom-wl thread

Not only on 64 bit - I have the same with an i686 kernel

Offline

#143 2012-11-20 20:16:36

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 333

Re: [Official] broadcom-wl thread

I have Broadcom 4312 on my emachines e525 laptop.In order to have my wireless working I have to install b43-fwcutter and firmware.After that wireless works like a charm.I use only b43 and it works for all Linux distros I've tried and that's a lot.

Last edited by 10PinkPanther (2012-11-20 20:18:21)

Offline

#144 2013-01-16 22:04:27

magillos
Member
Registered: 2010-07-03
Posts: 14

Re: [Official] broadcom-wl thread

I have Acer V3-571g laptop with Broadcom BCM43228. It was fine with broadcom-wl driver but for some reason wireless stopped working correctly. It connects for a moment than disconnects and fails to connect again. Dmesg output gives that:

cfg80211: Calling CRDA to update world regulatory domain

and shortly after that:

[ 1092.582046] WARNING: at net/wireless/sme.c:631 cfg80211_roamed+0x9a/0xa0 [cfg80211]()
[ 1092.582050] Hardware name: Aspire V3-571G
[ 1092.582052] Modules linked in: fuse michael_mic arc4 ecb nvram bbswitch(O) bnep bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media snd_hda_codec_hdmi snd_hda_codec_realtek coretemp joydev nvidia(PO) kvm_intel kvm snd_hda_intel snd_hda_codec lib80211_crypt_tkip wl(PO) iTCO_wdt snd_hwdep snd_pcm snd_page_alloc snd_timer snd i915 soundcore iTCO_vendor_support crc32c_intel ghash_clmulni_intel i2c_i801 acer_wmi lib80211 cfg80211 aesni_intel tg3 intel_agp intel_gtt drm_kms_helper drm sparse_keymap mei libphy lpc_ich aes_x86_64 i2c_algo_bit aes_generic i2c_core psmouse rfkill ablk_helper evdev ac battery video serio_raw button wmi cryptd microcode loop acpi_cpufreq mperf processor ext4 crc16 jbd2 mbcache sd_mod sr_mod cdrom ahci xhci_hcd libahci libata ehci_hcd sdhci_pci
[ 1092.582134]  sdhci scsi_mod usbcore mmc_core usb_common
[ 1092.582145] Pid: 280, comm: wl_event_handle Tainted: P        W  O 3.6.2-1-ARCH #1
[ 1092.582148] Call Trace:
[ 1092.582161]  [<ffffffff81055c2f>] warn_slowpath_common+0x7f/0xc0
[ 1092.582167]  [<ffffffff81055c8a>] warn_slowpath_null+0x1a/0x20
[ 1092.582183]  [<ffffffffa039565a>] cfg80211_roamed+0x9a/0xa0 [cfg80211]
[ 1092.582202]  [<ffffffffa050d8a4>] wl_notify_roaming_status+0xb4/0x130 [wl]
[ 1092.582216]  [<ffffffffa050e375>] wl_event_handler+0x55/0x1f0 [wl]
[ 1092.582229]  [<ffffffffa050e320>] ? wl_cfg80211_scan+0x490/0x490 [wl]
[ 1092.582236]  [<ffffffff81079693>] kthread+0x93/0xa0
[ 1092.582242]  [<ffffffff81490dc4>] kernel_thread_helper+0x4/0x10
[ 1092.582248]  [<ffffffff81079600>] ? kthread_freezable_should_stop+0x70/0x70
[ 1092.582252]  [<ffffffff81490dc0>] ? gs_change+0x13/0x13
[ 1092.582255] ---[ end trace 65c0b2386e064731 ]---cfg80211 


Maybe somebody will find it useful. I solved the problem by disabling cfg80211 wireless configuration api and enabling wext api by adding "API=WEXT" just after make command in broadcom-wl PKGBUILD from AUR.

Actually it's still unreliable and keeps loosing connection. Maybe just not as often as before and there are no errors at all in dmesg but i's still not good at all.


SOLVED
Solved by disabling N capabilities on the router (Huawei hg523a).

Last edited by magillos (2013-01-20 00:34:29)

Offline

#145 2013-02-08 02:15:25

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: [Official] broadcom-wl thread

I have a broadcom BCM43228.  I am using the wl driver but I have no bluetooth.  rfkill shows only references to wifi.  Can I get bluetooth working with this driver?  If not, is it possible to get b43 drivers to do both with this card.  I have tried the b43 driver without changing firmware and it does not work for either.  I am not familiar with the b43 driver or what is necessary to get it to work.  I would be happy to use this driver if I could get bluetooth working.   Thanks in advance.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#146 2014-02-16 01:52:23

jack
Member
From: /usr/arg
Registered: 2005-11-17
Posts: 66

Re: [Official] broadcom-wl thread

jack wrote:
Ephexeve wrote:

Is it normal when updating linux/linux-headers broadcom-wl won't work? Everytime after an update I restart the system and broadcom-wl doesn't work, so I have o re-install broadcom-wl from aur!

This is the reason why I had to stop using Arch in my notebook.:\ This driver tired me.

Any news about this?

Thanks in advance.

Offline

#147 2014-02-16 03:10:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Official] broadcom-wl thread

When you update the kernel, it can potentially break compatibility of 3rd party modules.  These releases are apparently know as 'binary breakers'.  You may notice that when a new kernel is pushed to the repos, sometimes the modules in the repos also get updated and sometimes not (things like r8168, acpi_call, bbswitch, etc).  They are only updated when compatibility is broken.  This is determined by whether or not the module.symbols md5sums change or not.

That said, the broadcom-wl package installs the wl.ko to the extramodules directory, so it can potentially be used by by the kernel for the entire minor version.  So you shouldn't have to rebuild absolutely every time. 

I have taken the broadcom-wl PKGBUILD and supporting file and changed the source path to point to the file in the same directory (rather than downloading it from the site).  Then I just pack it up into a src.tar.gz with 'makepkg -S' and keep that.  That way, if I reboot and realize that the wl.ko is no longer compatible, I have all that I need to rebuild without network connectivity.

Offline

#148 2014-03-16 15:17:48

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 87

Re: [Official] broadcom-wl thread

I'm trying to change the MAC address of a Broadcom BCM4360, which is only supported by broadcom-wl at the moment.
Trying to do it with ip results in the following error:

RTNETLINK answers: Too many open files in system

and using macchanger:

[ERROR] Could not change MAC: interface up or insufficient permissions: Too many open files in system

although the interface is definitely not up.
The new, changed MAC address is shown by ip and ifconfig afterwards, but if I try to associate with an AP I get the following kernel warning:

[  100.205560] ------------[ cut here ]------------
[  100.205577] WARNING: CPU: 0 PID: 250 at net/wireless/sme.c:797 cfg80211_roamed+0x8c/0x90 [cfg80211]()
[  100.205579] Modules linked in: uhid bnep btusb bluetooth nls_cp437 vfat fat intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm iTCO_wdt 
iTCO_vendor_support lib80211_crypt_tkip applesmc input_polldev wl(PO) microcode pcspkr joydev lib80211 mousedev bcm5974 cfg80211 i2c_i801 rfkill lpc_ich 
snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_intel snd_hda_codec snd_hwdep spi_pxa2xx_platform snd_pcm mei_me snd_page_alloc mei apple_bl snd_timer evdev battery ac 
snd shpchp soundcore processor loop ext4 crc16 mbcache jbd2 hid_generic usb_storage hid_apple hid_roccat_pyra hid_roccat hid_roccat_common usbhid hid dm_crypt dm_mod 
sd_mod crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci
[  100.205624]  libata xhci_hcd scsi_mod usbcore usb_common i915 video button i2c_algo_bit intel_agp intel_gtt drm_kms_helper drm i2c_core
[  100.205635] CPU: 0 PID: 250 Comm: wl_event_handle Tainted: P        W  O 3.13.6-1-ARCH #1
[  100.205637] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B07.1311121319 11/12/2013
[  100.205638]  0000000000000009 ffff88025ed8fdd0 ffffffff81513274 0000000000000000
[  100.205641]  ffff88025ed8fe08 ffffffff81061a3d ffff88007fd77000 ffff880261e1d480
[  100.205644]  0000000000000097 ffff88025fa8bb00 ffff88007fd709f8 ffff88025ed8fe18
[  100.205647] Call Trace:
[  100.205654]  [<ffffffff81513274>] dump_stack+0x4d/0x6f
[  100.205659]  [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
[  100.205663]  [<ffffffff81061b1a>] warn_slowpath_null+0x1a/0x20
[  100.205669]  [<ffffffffa072494c>] cfg80211_roamed+0x8c/0x90 [cfg80211]
[  100.205682]  [<ffffffffa0945c6c>] wl_notify_roaming_status+0xac/0x130 [wl]
[  100.205691]  [<ffffffffa0942ab5>] wl_event_handler+0x55/0x1f0 [wl]
[  100.205700]  [<ffffffffa0942a60>] ? wl_deinit_priv_mem+0xa0/0xa0 [wl]
[  100.205705]  [<ffffffff810835b2>] kthread+0xd2/0xf0
[  100.205709]  [<ffffffff810834e0>] ? kthread_create_on_node+0x180/0x180
[  100.205712]  [<ffffffff815215fc>] ret_from_fork+0x7c/0xb0
[  100.205715]  [<ffffffff810834e0>] ? kthread_create_on_node+0x180/0x180
[  100.205717] ---[ end trace 5404056d00cab03d ]---

Scanning works however.

Is this a known issue with the broadcom-wl driver?

Offline

#149 2014-04-17 19:01:11

noctlos
Member
Registered: 2013-08-26
Posts: 36

Re: [Official] broadcom-wl thread

Malstrond --

I can confirm the same issues with broadcom-wl -- except for the kernel warnings. I have no clue where you find those. is that with 'journalctl -xn'?

Does anyone have a solution to this issue?

Edit: I have similar kernel warnings

Apr 17 13:04:14 thinker kernel: ------------[ cut here ]------------
Apr 17 13:04:14 thinker kernel: WARNING: CPU: 0 PID: 279 at net/wireless/sme.c:797 cfg80211_roamed+0x8c/0x90 [cfg80211]()
Apr 17 13:04:14 thinker kernel: Modules linked in: uinput nls_cp437 vfat fat lib80211_crypt_tkip wl(PO) snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp joydev coretemp moused
Apr 17 13:04:14 thinker kernel:  xts gf128mul dm_crypt dm_mod sr_mod cdrom sd_mod mmc_block atkbd libps2 rtsx_pci_sdmmc mmc_core crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash
Apr 17 13:04:14 thinker kernel: CPU: 0 PID: 279 Comm: wl_event_handle Tainted: P        W  O 3.13.8-1-ARCH #1
Apr 17 13:04:14 thinker kernel: Hardware name: LENOVO 3254CTO/3254CTO, BIOS H0ET35WW (1.17 ) 07/25/2012
Apr 17 13:04:14 thinker kernel:  0000000000000009 ffff8800d66e7d88 ffffffff81513754 0000000000000000
Apr 17 13:04:14 thinker kernel:  ffff8800d66e7dc0 ffffffff81061a3d ffff8800d775d000 ffff880116e9f780
Apr 17 13:04:14 thinker kernel:  0000000000000052 ffff8800d5c62dd0 0000000000000001 ffff8800d66e7dd0
Apr 17 13:04:14 thinker kernel: Call Trace:
Apr 17 13:04:14 thinker kernel:  [<ffffffff81513754>] dump_stack+0x4d/0x6f
Apr 17 13:04:14 thinker kernel:  [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
Apr 17 13:04:14 thinker kernel:  [<ffffffff81061b1a>] warn_slowpath_null+0x1a/0x20
Apr 17 13:04:14 thinker kernel:  [<ffffffffa07ef94c>] cfg80211_roamed+0x8c/0x90 [cfg80211]
Apr 17 13:04:14 thinker kernel:  [<ffffffffa0e33d88>] wl_bss_connect_done.isra.22+0x98/0x1a0 [wl]
Apr 17 13:04:14 thinker kernel:  [<ffffffffa0e343cc>] wl_notify_connect_status+0x1fc/0x410 [wl]
Apr 17 13:04:14 thinker kernel:  [<ffffffffa0e30ab5>] wl_event_handler+0x55/0x1f0 [wl]
Apr 17 13:04:14 thinker kernel:  [<ffffffffa0e30a60>] ? wl_deinit_priv_mem+0xa0/0xa0 [wl]
Apr 17 13:04:14 thinker kernel:  [<ffffffff810835b2>] kthread+0xd2/0xf0
Apr 17 13:04:14 thinker kernel:  [<ffffffff810834e0>] ? kthread_create_on_node+0x180/0x180
Apr 17 13:04:14 thinker kernel:  [<ffffffff81521abc>] ret_from_fork+0x7c/0xb0
Apr 17 13:04:14 thinker kernel:  [<ffffffff810834e0>] ? kthread_create_on_node+0x180/0x180
Apr 17 13:04:14 thinker kernel: ---[ end trace 848b7ef733d07086 ]---

Last edited by noctlos (2014-04-17 19:08:16)

Offline

#150 2014-06-19 14:05:31

regulament
Member
Registered: 2014-02-15
Posts: 67

Re: [Official] broadcom-wl thread

So, I think I have a problem with the broadcom driver. I recently got an AC router and I have really slow download speeds.

On AC I get a maximum of 30Mbps download( OS X: 5-600 Mbps, still lower than 1000Mbps) with 106Mbps upload( this is around the maximum upload speed expected from the ISP).

I have a 15" Retina MacBook Pro with a BCM4360 chip. I have also posted this in the rMBP support thread.

Some relevant info:

Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)

ip addr:

2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 78:31:c1:c9:36:f8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.4/24 brd 192.168.1.255 scope global wlp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::7a31:c1ff:fec9:36f8/64 scope link 
       valid_lft forever preferred_lft forever

iwconfig:

wlp2s0    IEEE 802.11abg  ESSID:"Home5GHz"  
          Mode:Managed  Frequency:5.24 GHz  Access Point: E0:3F:49:F2:76:F4   
          Bit Rate=360 Mb/s   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=61/70  Signal level=-49 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ifconfig:

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.4  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::7a31:c1ff:fec9:36f8  prefixlen 64  scopeid 0x20<link>
        ether 78:31:c1:c9:36:f8  txqueuelen 1000  (Ethernet)
        RX packets 9612992  bytes 334446820 (318.9 MiB)
        RX errors 0  dropped 233  overruns 0  frame 173887
        TX packets 11175221  bytes 2833758446 (2.6 GiB)
        TX errors 2074  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18 

dmesg | grep wl:

[    3.680970] systemd[1]: Expecting device sys-subsystem-net-devices-wlp2s0.device...
[    3.908544] wl: module license 'Mixed/Proprietary' taints kernel.
[    3.910220] wl 0000:02:00.0: enabling device (0000 -> 0002)
[    3.937637] INFO @wl_cfg80211_attach : Registered CFG80211 phy
[    3.962765] systemd-udevd[175]: renamed network interface eth0 to wlp2s0
[17435.434025] ERROR @wl_dev_intvar_get : error (-1)
[17435.434028] ERROR @wl_cfg80211_get_tx_power : error (-1)

Edit: it's now error free after blacklisting b43, bcma and ssb manually.

iw dev wlp2s0 link:

Connected to e0:3f:49:f2:76:f4 (on wlp2s0)
	SSID: Home5GHz
	freq: 5240
	signal: -50 dBm
	tx bitrate: 400.0 MBit/s

Any idea where I should start debugging or how to get the expected wireless speeds? Thank you.

EDIT: I have failed. It was a router setting. I can confirm that now I have similar wireless speeds to OS X. Please delete this post.

Last edited by regulament (2014-06-19 14:40:11)

Offline

Board footer

Powered by FluxBB