Help with BCM4312 after upgrade

Hello,

I just upgraded to 11.3 and am having problems with my wireless - was working great in 11.2. Ive read through all of the threads here pertaining to this series of cards, and, i think i am CLOSE to getting the wireless to work again, i am at a loss for what to do next - the wireless just stays “disabled” and i have no clue how to enable it - the option by right clicking on network manager is greyed out.

This is what ive done:

  1. Install broadcom-wl and broadcom-wl-kmp-desktop from the packman repo. I am pretty sure that the desktop kernel module is the correct one, uname -a shows:
Linux linux-x0wp.site 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux

I am pretty sure that wl is loaded correctly (though i could be wrong), lspci -nnv for my device shows:

0e:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
	Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at fa000000 (64-bit, non-prefetchable) [size=16]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number 91-55-5e-ff-ff-82-00-26
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: wl

which says it is using wl.

I am pretty sure that wl is running on boot (done by the install of broadcom-wl and the kernel module) because modprobe -l says:


updates/wl.ko

I THINK that is the correct wl (at least the wl i am thinking about).

Also, ssb, b43, bcm43xx, and ndiswrapper are blacklisted. This was done automatically by … something. Im pretty sure that ssb and b43 should be blacklisted, but i am not sure about bcm43xx (thought this was firmware?).

I installed the firmware (before broadcom-wl) with /usr/sbin/install_bcm43xx_firmware and that worked fine as well.

So, up to this point, i think that is what is needed for the wireless to work?

my iwconfig shows:

eth1      IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Bit Rate:54 Mb/s   Tx-Power:24 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Managementmode:All packets received
          Link Quality=5/5  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and iwlist scan returns:

eth1      Failed to read scan data : Invalid argument

I am not sure what else i can do. Any advice is greatly appreciated.

Kris[/size]

So it sounds like you are trying to use wl driver?
So why did you do /usr/sbin/install_bcm43xx_firmware

Although the b43 works in 11.3 - I am also using wl. But with no problems
I suggest you reboot and if you have wireless connections in Network Manager, delete them and make new ones.

Thanks for replying.

I mean, i dont really care if i use wl or b43 - just want wireless to work. If b43 was supposed to work out of the box with the install, it didnt. Man, i must be doing something dumb.

There are also no connections in network manager, but i cant even scan for networks with network manager, it just says wireless is disabled (the option to enable is greyed out).

The reason i installed the firmware was because it seemed like a good idea. In any case, i re-installed the OS from scratch and, installed just broadcom-wl and broadcom-wl-kmp-desktop to get the same results (after rebooting).

please help!

This is my device

04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
    Subsystem: Broadcom Corporation Device [14e4:04b5]
    Kernel driver in use: wl

Looks the same as you.

Sorry to do this but lets be sure. Post result of:

uname -a
rpm -qa | grep broadcom

np - thanks for taking the time to respond.

uname -a

Linux linux-2q73.site 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep broadcom

broadcom-wl-5.60.48.36-7.pm.16.4.x86_64
broadcom-wl-kmp-desktop-5.60.48.36_k2.6.34.0_12-7.pm.16.4.x86_64

does this look right?

This looks correct.
So assuming you have your wireless switched ON?
Also check this: Getting Your Wireless to Work

Yea, ive been through that thread - thats where i got the iwlist scan command from.

It is still in the same position, iwlist scan returns:

eth1      Failed to read scan data : Invalid argument

Yea, the wireless switch is on, and the wireless card works under my windows xp dual boot - just cant quite seem to get there after the upgrade.

I dont know, the weird thing is that if i change the method to ifup, then iwlist scan can view networks but it cant connect to them. If i change it back to network manager (preferable) then iwlist scan just fails. Any ideas?

Are you doing

sudo /usr/sbin/iwlist scan

umm, nope i was in su.

when i do it with that command you posted, it worked and showed some networks, including the one i want to use.

Ok, so that is progress! Using network manager, though, i still cant browse for them, it still has the greyed out checkbox for “enable wireless” when i right-click on the little network manager icon. Its like something is preventing me from using or enabling my card. As a result, i still can’t connect :frowning:

Anyways, thanks for the advice so far … please continue! :smiley:

Do you have this

modules blacklisted for broadcom-wl

blacklist bcm43xx
blacklist ssb
blacklist b43
blacklist ndiswrapper

In the file: /etc/modprobe.d/50-broadcom-wl-blacklist.conf

Yes, i have that exact file. I think installing broadcom-wl put it there

I can’t do much more now, I have to go out.
I guess you could try b43 again, but you will need to remove or rename the blacklist file and the wl packages

Then
sudo /usr/sbin/install_bcm43xx_firmware

Ok, i spent a lot of time reading on the internet and going through dmesg line by line last night to find anything that could help, and i found a few things that seemed odd:

  1. dmesg shows:
    6.700868] eth1: Broadcom BCM4315 802.11 Hybrid Wireless Controller 5.60.48.36 

but my card is definitely a BCM4312. Is is thinking it is the wrong kind of card?

  1. dmesg also shows:

    6.233660] wl: module license 'unspecified' taints kernel.
    6.246948] wl 0000:0e:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    6.246962] wl 0000:0e:00.0: setting latency timer to 64

but this doesnt really seem like its a big issue…

Any advice on the first one?

We could do with the advice of @lwfinger
He’s an absolute master at this…
This is his guide: Getting Your Wireless to Work

On 07/25/2010 11:36 AM, caf4926 wrote:
>
> We could do with the advice of @lwfinger
> He’s an absolute master at this…
> This is his guide: ‘Getting Your Wireless to Work’
> (http://tinyurl.com/29m7pya)

A BCM4312 802.11b/g card has PCI ID of 14e4:4315. A BCM4312 802.11a/b/g has PCI
ID of 14e4:4312.

I don’t know what a BCM4315 is. What does “/sbin/lspci -nnk” say about your
Broadcom device?

The message about tainting your kernel is important if you are trying to get a
kernel bug fixed. It means that a driver with closed source has been loaded. As
a driver has permission to write anywhere in the kernel, a bug can affect other
parts of the system, and kernel developers (including me) refuse to even
consider a kernel oops or panic crash unless the fault can be reproduced without
loading any such closed-source drivers. Of course, if your kernel has no bugs,
then it does not matter. :wink:

the outfrom of /sbin/lspci -nnk:



0e:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
	Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
	Kernel driver in use: wl

That guide was very helpful. It helped me to get this far … but from what i can tell, this wireless should be working!! :F

Ok, after some frustration i decided to re-install and try b43 (the re-install probably wasnt necesarry, just wanted a clean slate).

After doing:

/usr/sbin/install_bcm43xx_firmare

i rebooted, still not wireless.

lsmod confirms that both b43 and ssb are running

# lsmod | grep b43
b43                   205773  0 
mac80211              290013  1 b43
cfg80211              182659  2 b43,mac80211
ssb                    64458  1 b43
pcmcia                 67555  2 b43,ssb
mmc_core               83746  3 b43,sdhci,ssb

and dmesg has no errors:

#dmesg | grep b43
    6.743272] b43-pci-bridge 0000:0e:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    6.743292] b43-pci-bridge 0000:0e:00.0: setting latency timer to 64
    6.858682] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
    7.034921] Registered led device: b43-phy0::tx
    7.034934] Registered led device: b43-phy0::rx
    7.034948] Registered led device: b43-phy0::radio
   80.707583] b43 ssb0:0: firmware: requesting b43/ucode15.fw
   80.746876] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
   80.755850] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
   80.927467] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
  224.449373] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)

when i go ifconfig after a boot, it just shows my ethernet and lo interfaces (not wlan). If i do: ifconfig wlan0 up, it takes a second and the led on my laptop for wireless turns on. I then can successfully run iwlist scan and it shows available networks. But at this point i am still at the same problem… i can’t connect to anything! The wireless is disabled and will not let me enable it (right clicking on network manager). Is there something else i am missing here?? Do i need to load the firmware into the kernel somehow? I know im close, please help!

kris

Just for kicks, I removed wl driver
~out ,my wl blacklist file
installed b43 firmware
It worked, then it seemed to get confused and I think like you ssb had some hand in it going potty.

So I’m back with wl
No problems
But you must install the kernel package to match the kernel you run. Obviously…

Ok, one step closer!

I tried what you said, and gave wl another shot. zypper in broadcom-wl broadcom-wl-kmp-desktop (for sure uname -a says its the dekstop kernel). Made sure that ssb and b43 were blacklisted. Tried to get wireless up, no dice.

After i try with ifconfig wlan0 up, dmesg reports (with both b43 and wl):


ADDRCONF(NETDEV_UP) : wlan0: link is not ready

So after some reading, this isnt a problem with b43 or the firmware or any drivers… but i havent found a good suggestion about how to remedy this. Has anyone seen this ereror before?

On 07/26/2010 11:36 AM, serari wrote:
>
> Ok, after some frustration i decided to re-install and try b43 (the
> re-install probably wasnt necesarry, just wanted a clean slate).
>
> After doing:
>
> Code:
> --------------------
> /usr/sbin/install_bcm43xx_firmare
> --------------------
>
>
> i rebooted, still not wireless.
>
> lsmod confirms that both b43 and ssb are running
>
> Code:
> --------------------
> # lsmod | grep b43
> b43 205773 0
> mac80211 290013 1 b43
> cfg80211 182659 2 b43,mac80211
> ssb 64458 1 b43
> pcmcia 67555 2 b43,ssb
> mmc_core 83746 3 b43,sdhci,ssb
>
> --------------------
>
>
> and dmesg has no errors:
>
> Code:
> --------------------
> #dmesg | grep b43
> 6.743272] b43-pci-bridge 0000:0e:00.0: PCI INT A → GSI 18 (level, low) → IRQ 18
> 6.743292] b43-pci-bridge 0000:0e:00.0: setting latency timer to 64
> 6.858682] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
> 7.034921] Registered led device: b43-phy0::tx
> 7.034934] Registered led device: b43-phy0::rx
> 7.034948] Registered led device: b43-phy0::radio
> 80.707583] b43 ssb0:0: firmware: requesting b43/ucode15.fw
> 80.746876] b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
> 80.755850] b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
> 80.927467] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
> 224.449373] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
>
> --------------------
>
>
> when i go ifconfig after a boot, it just shows my ethernet and lo
> interfaces (not wlan). If i do: ifconfig wlan0 up, it takes a second and
> the led on my laptop for wireless turns on. I then can successfully run
> iwlist scan and it shows available networks. But at this point i am
> still at the same problem… i can’t connect to anything! The wireless
> is disabled and will not let me enable it (right clicking on network
> manager). Is there something else i am missing here?? Do i need to load
> the firmware into the kernel somehow? I know im close, please help!

The firmware is never loaded into the kernel. The driver initiates the loading
into the device as long as the firmware is in /lib/modules/b43 and yours is or
there would be errors in dmesg. BTW, firmware is the generic name for the
program run by the CPU on some device. The main CPU(s) never execute that code.

Something is not right. If you are using NetworkManager, you should not have to
do an ifconfig, but you will need to disconnect the wire, and have your wireless
switch on. Have you configured the device for your AP and encryption using the
NM applet? It might be good to delete any old connections and remake them. That
way we will be sure that the wallet is running.