You are not logged in.

#1 2011-01-11 20:01:32

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Broadcom wireless driver - brcm80211

I just recently upgraded my kernel to 2.6.37 and wanted to help people out there.

I have a Broadcom WNIC with the BCM43225 chipset and had some issues after the kernel upgrade.

The problems:

  1. Random crashes. fixed
    This is a locking problem with BCM43224 and BCM43225 which makes it crash.

    To solve this problem, add this to /boot/grub/grub.cfg:

     maxcpus=1
  2. No WiFi after suspend. (still have this problem, while there's no support for it yet) not supported yet

  3. Unable to join WAP on channel 13 (does anyone know why this happens?) not solved (CRDA issue?)

UPDATE!
To problem #1:

RolandVossen wrote:

A fix for an issue in the brcm80211 softmac driver that appeared in multi CPU configurations has been submitted into the 2.6.38-rc1 kernel tree. Please refer to: https://patchwork.kernel.org/patch/504981/ . I am curious if this solves the issues that you guys are experiencing. patch can be found in  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6.git, in the staging-linus branch.

Best regards,

Roland Vossen
Broadcom


If you want to add more, please send me a message.
You can also read more here.

Last edited by litemotiv (2011-03-16 19:49:00)

Offline

#2 2011-01-11 20:45:07

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

@3: do you have crda installed and configured?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-01-11 21:39:55

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

litemotiv wrote:

@3: do you have crda installed and configured?

No. Could it solve the problem? And why?

Offline

#4 2011-01-11 22:00:54

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

tripox wrote:
litemotiv wrote:

@3: do you have crda installed and configured?

No. Could it solve the problem? And why?

Yes it could smile. See this: http://wireless.kernel.org/en/developer … ry_domains


ᶘ ᵒᴥᵒᶅ

Offline

#5 2011-01-11 23:20:11

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

litemotiv wrote:
tripox wrote:
litemotiv wrote:

@3: do you have crda installed and configured?

No. Could it solve the problem? And why?

Yes it could smile. See this: http://wireless.kernel.org/en/developer … ry_domains

That's odd...
Why is that not default?

I'll try again tomorrow - can't seem to get it to work right now.

Offline

#6 2011-01-12 06:48:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: Broadcom wireless driver - brcm80211

Because it's an optdepends for the kernel, and not everybody has wireless smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2011-01-12 14:08:45

Julius2
Member
From: Canada
Registered: 2009-05-13
Posts: 68
Website

Re: Broadcom wireless driver - brcm80211

It's good that someone posted this info out there. I've been meaning to create a brcm80211 wiki page and entry on the "Wireless" page, but I was waiting for some more concrete information. I hope you don't mind if I grab this information and Wiki-fy it. Unfortunately, on a personal level, I suffer from the lock-up bug, and since I have no desire to run my kernel with only a single core, I'll still be using my Atheros USB dongle for the foreseeable future.

EDIT: Manna from heaven.

Last edited by Julius2 (2011-01-12 14:25:03)


Blog .:. AUR .:. Wiki Contributions
Registered Linux User #506070.

Offline

#8 2011-01-12 15:30:03

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

Julius2 wrote:

It's good that someone posted this info out there. I've been meaning to create a brcm80211 wiki page and entry on the "Wireless" page, but I was waiting for some more concrete information. I hope you don't mind if I grab this information and Wiki-fy it. Unfortunately, on a personal level, I suffer from the lock-up bug, and since I have no desire to run my kernel with only a single core, I'll still be using my Atheros USB dongle for the foreseeable future.

EDIT: Manna from heaven.

Looks great. smile

Offline

#9 2011-01-12 16:20:00

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

I haven't been able to connect to wifi-N points yet using this new driver, although i must admit i haven't really done a lot of debugging to find the cause yet too. I do see them in iwlist, but connecting times out.


ᶘ ᵒᴥᵒᶅ

Offline

#10 2011-01-12 22:06:55

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

litemotiv wrote:

I haven't been able to connect to wifi-N points yet using this new driver, although i must admit i haven't really done a lot of debugging to find the cause yet too. I do see them in iwlist, but connecting times out.

Maybe it's the same issue I have with the channels?
Try setting the access point to a channel < 13.

Offline

#11 2011-01-12 22:11:50

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

tripox wrote:
litemotiv wrote:

I haven't been able to connect to wifi-N points yet using this new driver, although i must admit i haven't really done a lot of debugging to find the cause yet too. I do see them in iwlist, but connecting times out.

Maybe it's the same issue I have with the channels?
Try setting the access point to a channel < 13.

Sorry forgot to add: this is on 5Ghz so channels start from 36.


ᶘ ᵒᴥᵒᶅ

Offline

#12 2011-01-12 22:22:14

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

litemotiv wrote:
tripox wrote:
litemotiv wrote:

I haven't been able to connect to wifi-N points yet using this new driver, although i must admit i haven't really done a lot of debugging to find the cause yet too. I do see them in iwlist, but connecting times out.

Maybe it's the same issue I have with the channels?
Try setting the access point to a channel < 13.

Sorry forgot to add: this is on 5Ghz so channels start from 36.

It's not because it runs on 40 MHz which is not supported by the driver yet?

Offline

#13 2011-01-12 22:29:29

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

tripox wrote:
litemotiv wrote:
tripox wrote:

Maybe it's the same issue I have with the channels?
Try setting the access point to a channel < 13.

Sorry forgot to add: this is on 5Ghz so channels start from 36.

It's not because it runs on 40 MHz which is not supported by the driver yet?

Good one, it would make sense that a dualband (5Ghz) router also uses 40Mhz channels...


ᶘ ᵒᴥᵒᶅ

Offline

#14 2011-01-12 22:33:04

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

litemotiv wrote:
tripox wrote:
litemotiv wrote:

Sorry forgot to add: this is on 5Ghz so channels start from 36.

It's not because it runs on 40 MHz which is not supported by the driver yet?

Good one, it would make sense that a dualband (5Ghz) router also uses 40Mhz channels...

That's what I thought although I don't know it. smile

Offline

#15 2011-01-13 12:28:46

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: Broadcom wireless driver - brcm80211

I am using brcm80211 package from AUR, which uses the kernel staging branch open source driver. My version of kernel26 package is 2.6.26.3-1.

The kernel package is updated a couple of days ago. The wireless card was usable during several reboots since then. However, after a reboot this afternoon, the driver makes kernel panic when associating.

I am using wicd to manage wireless networks. If I have a wired connection linked to my computer, it can boot into gdm and establish a wired connection successfully, and I can see the wireless networks available in wicd interface. But if I try to connect to a wireless network, I get a kernel panic when associating.

The wireless network has not been changed lately, and restarting the router makes no difference. I have installed and uninstalled several font packages since the kernel update, which seems irrelevant. I don't know what causes this sudden failure. Using closed-source broadcom-wl package from AUR made wicd unable to find wlan0 interface.

Any idea why this happens?

Last edited by AugustePop (2011-01-13 12:30:54)

Offline

#16 2011-01-13 12:40:47

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Broadcom wireless driver - brcm80211

Merged AugustePop's thread with the brcm80211 thread.


ᶘ ᵒᴥᵒᶅ

Offline

#17 2011-01-13 13:33:02

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

AugustePop wrote:

I am using brcm80211 package from AUR, which uses the kernel staging branch open source driver. My version of kernel26 package is 2.6.26.3-1.

The kernel package is updated a couple of days ago. The wireless card was usable during several reboots since then. However, after a reboot this afternoon, the driver makes kernel panic when associating.

I am using wicd to manage wireless networks. If I have a wired connection linked to my computer, it can boot into gdm and establish a wired connection successfully, and I can see the wireless networks available in wicd interface. But if I try to connect to a wireless network, I get a kernel panic when associating.

The wireless network has not been changed lately, and restarting the router makes no difference. I have installed and uninstalled several font packages since the kernel update, which seems irrelevant. I don't know what causes this sudden failure. Using closed-source broadcom-wl package from AUR made wicd unable to find wlan0 interface.

Any idea why this happens?

broadcom-wl from AUR uses eth1 smile

Have you tried brcm80211 with maxcpus=1 in your grub.cfg?

Offline

#18 2011-01-13 15:30:54

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: Broadcom wireless driver - brcm80211

tripox wrote:

Have you tried brcm80211 with maxcpus=1 in your grub.cfg?

Adding maxcpus=1 in grub do get a working wireless network. I thought BCM4313 is stable according to a widely referenced linux wireless page.

What makes me puzzled is that the same kernel and driver worked before, and seems no apparent reason for this breakage.

Offline

#19 2011-01-13 15:33:37

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

AugustePop wrote:
tripox wrote:

Have you tried brcm80211 with maxcpus=1 in your grub.cfg?

Adding maxcpus=1 in grub do get a working wireless network. I thought BCM4313 is stable according to a widely referenced linux wireless page.

What makes me puzzled is that the same kernel and driver worked before, and seems no apparent reason for this breakage.

From my experiences broadcom-wl is the most stable driver so far.
Just remember it uses ethX instead of wlanX.

Offline

#20 2011-01-13 15:37:52

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: Broadcom wireless driver - brcm80211

tripox wrote:

From my experiences broadcom-wl is the most stable driver so far.
Just remember it uses ethX instead of wlanX.

I stopped using broadcom-wl because after some update, I can not connect to my office wireless network with that. It just failed to authorize. I was using networkmanager that time.

What's really strange is that after last successful connection with maxcpus=1 bootarg, I am able to connect to wireless network without kernel panic again. I will reboot for another couple of times to check whether this behavior is persistent.

==EDIT==
After two consecutive successful reboot and connection, I think the driver is working again now. I am now booting without the maxcpus=1 bootarg. So, basically, the driver suddenly makes kernel panic every time it associates (for at least 5 successive tries), adding maxcpus=1 in grub makes it work, and then it will work again with the aforementioned bootarg removed.

Last edited by AugustePop (2011-01-13 15:47:12)

Offline

#21 2011-01-13 20:44:18

tripox
Member
From: Denmark
Registered: 2009-07-15
Posts: 44
Website

Re: Broadcom wireless driver - brcm80211

AugustePop wrote:
tripox wrote:

From my experiences broadcom-wl is the most stable driver so far.
Just remember it uses ethX instead of wlanX.

I stopped using broadcom-wl because after some update, I can not connect to my office wireless network with that. It just failed to authorize. I was using networkmanager that time.

What's really strange is that after last successful connection with maxcpus=1 bootarg, I am able to connect to wireless network without kernel panic again. I will reboot for another couple of times to check whether this behavior is persistent.

==EDIT==
After two consecutive successful reboot and connection, I think the driver is working again now. I am now booting without the maxcpus=1 bootarg. So, basically, the driver suddenly makes kernel panic every time it associates (for at least 5 successive tries), adding maxcpus=1 in grub makes it work, and then it will work again with the aforementioned bootarg removed.

I have actually experienced a few kernel panics afterwards, however I'm not sure when that happens.
My WAP disconnects my clients once in a while (for some reason) and I think that's where it crashes.

Offline

#22 2011-01-14 00:12:01

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: Broadcom wireless driver - brcm80211

tripox wrote:

I have actually experienced a few kernel panics afterwards, however I'm not sure when that happens.
My WAP disconnects my clients once in a while (for some reason) and I think that's where it crashes.

I am having a quite steady connection to the wireless network. Actually, the router is just sitting beside me. When I had a kernel panic, it is always the first time I tried to connect to a wireless network. And this failure happens every time I tried to connect before I added maxcpus=1 to the bootarg. If the driver makes a kernel panic again, I will consider switching back to broadcom-wl. Since I think that recompiling a module every major kernel update is quite against the "rolling" feature of Arch, I personally prefer drivers that come with the kernel.

I have not tried a .37 kernel yet. I thought the brcm80211 driver is still in the staging tree.

Offline

#23 2011-01-18 08:11:49

netsan
Member
Registered: 2010-10-27
Posts: 1

Re: Broadcom wireless driver - brcm80211

Also get problem that my wireless led dont turn on (Dell Vostro 3500)

Offline

#24 2011-01-18 14:13:50

Julius2
Member
From: Canada
Registered: 2009-05-13
Posts: 68
Website

Re: Broadcom wireless driver - brcm80211

AugustePop wrote:
tripox wrote:

Have you tried brcm80211 with maxcpus=1 in your grub.cfg?

Adding maxcpus=1 in grub do get a working wireless network. I thought BCM4313 is stable according to a widely referenced linux wireless page.

What makes me puzzled is that the same kernel and driver worked before, and seems no apparent reason for this breakage.

I have BCM4313, and it didn't work with broadcom-wl, ndiswrapper, b43, anything. Brcm80211 works with the maxcpus=1 line, but I don't want to sacrifice 3 of my cores just for that. Sadly, the information by the devs is probably correct -- BCM4313 does likely have the best support.


Blog .:. AUR .:. Wiki Contributions
Registered Linux User #506070.

Offline

#25 2011-01-22 11:19:17

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 137
Website

Re: Broadcom wireless driver - brcm80211

Offline

Board footer

Powered by FluxBB