Bcm43xx Opensuse12.3

Greetings

As for my first post here i want to thank in advance all the replies.

So the thing is, i installed opensuse 12.3 beta1 (yes i can´t wait to the final release) and the only problem i found yet is the bcm43xx driver.
When i try to install, the system crashes and shows a kernel panic. The only way to recover is switching off the system.
Fwcutter is installed, and i tried bcm_Legacy driver. It installed ok but it does not trigger the wireless card. It has a hardware button but pressing it, nothing happens.

Any ideas?

As long as 12.3 is not released, you are free to test it, but all your reports, questions and problems should go in the Pre-Release/Beta forum.

This thread is closed for the moment and will be moved.

Moved and open again.

Hi, welcome here.

Add the Packman repo

  • Yast - Software - Repo manager - Add - Repos maintained by …
  • Check Packman, OK, OK.
  • Trust the key when prompted for
  • Software manager, if not autoselected, install broadcom-wl and broadcom-wl-kmp-YOUR_KERNEL_FLAVOR.

If this doesn’t work, post output of

/sbin/lspci

between CODE tags

On 01/28/2013 01:46 PM, hcvv wrote:
>
> hcvv;2522784 Wrote:
>> As long as 12.3 is not released, you are free to test it, but all your
>> reports, questions and problems should go in the Pre-Release/Beta forum.
>>
>> This thread is closed for the moment and will be moved.
>
> Moved and open again.

When you move a thread, please indicate the “from”. Those of us that read the
forum on NNTP do not always have access to the original.

Larry

On 01/28/2013 01:48 PM, Larry Finger wrote:
> On 01/28/2013 01:46 PM, hcvv wrote:
>>
>> hcvv;2522784 Wrote:
>>> As long as 12.3 is not released, you are free to test it, but all your
>>> reports, questions and problems should go in the Pre-Release/Beta forum.
>>>
>>> This thread is closed for the moment and will be moved.
>>
>> Moved and open again.
>
> When you move a thread, please indicate the “from”. Those of us that read the
> forum on NNTP do not always have access to the original.

I found the original thread. That crash on unloading b43 when the firmware is
missing should have been fixed in the kernel in 12.3, but perhaps the fix is
still filtering through the system. In any case, the firmware is installed
before the crash occurs, thus it should be there. Check for files in
/lib/firmware/b43 and /lib/firmware/b43legacy.

I doubt that your device uses b43legacy as those are quite rare and very old,
but the only way to know is by looking at the output of


/sbin/lspci -nn | grep 14e4

Does /usr/sbin/iwconfig show a wlan0 device? If not, look at the output of dmesg
to see why.

Have you ever installed wl on this system? If so, it made changes that prevent
b43 from loading.

Sorry, I do not see a “from” field. Only something that says “leave a permanent link” and that is checked.
This is a recipe I follow now for sometime (more then a year?) in rather dumb clicking, clacking and setting alarm clocks and what not, it worked all the time (maybe not, I realy do not know), but that is it.

We normally write "being moved to … "., close the thread, move the thread after 10 minutes, reopen the thread. The stuff we’re doing in the moderating area doesn’t show up to the NNTP-ers. I don’t see what else we can do.

The packman repo was already added, and when the crash occurs, after rebooting the bcm43xx is not installed and it never does.

*Edit:
/sbin/lspci gave me this: 03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)

/usr/sbin/iwconfig gave me this:
lo no wireless extensions.

eth0 no wireless extensions.

Yes, its not an old wcard, but i tried anyway to install legacy drivers.

dmesg command:

19.362636] b43-phy0: Broadcom 4311 WLAN found (core revision 13)
19.377037] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 9
19.384338] Broadcom 43xx driver loaded Features: PMNLS ]
19.557996] b43-phy0 ERROR: Firmware file “b43/ucode13.fw” not found
19.557999] b43-phy0 ERROR: Firmware file “b43-open/ucode13.fw” not found
19.558023] b43-phy0 ERROR: Please open a terminal and enter the command “sudo /usr/sbin/install_bcm43xx_firmware” to download the correct firmware for this driver version. For an off-line installation, go to http://en.opensuse.org/HCL/Network_Adapters_(Wireless)/Broadcom_BCM43xx and follow the instructions in the “Installing firmware from RPM packages” section.

I went to the link but the page is/was moved and installing the driver from the terminal it crashed.

dmesg:

19.362636] b43-phy0: Broadcom 4311 WLAN found (core revision 13)
19.377037] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 9
19.384338] Broadcom 43xx driver loaded Features: PMNLS ]
19.557996] b43-phy0 ERROR: Firmware file “b43/ucode13.fw” not found
19.557999] b43-phy0 ERROR: Firmware file “b43-open/ucode13.fw” not found
19.558023] b43-phy0 ERROR: Please open a terminal and enter the command “sudo /usr/sbin/install_bcm43xx_firmware” to download the correct firmware for this driver version. For an off-line installation, go to http://en.opensuse.org/HCL/Network_Adapters_(Wireless)/Broadcom_BCM43xx and follow the instructions in the “Installing firmware from RPM packages” section.

Even trying in terminal to install driver, it crashed in installation.

On 01/28/2013 02:26 PM, Knurpht wrote:
>
> hcvv;2522798 Wrote:
>> Sorry, I do not see a “from” field. Only something that says “leave a
>> permanent link” and that is checked.
>> This is a recipe I follow now for sometime (more then a year?) in
>> rather dumb clicking, clacking and setting alarm clocks and what not, it
>> worked all the time (maybe not, I realy do not know), but that is it.
>
> We normally write "being moved to … "., close the thread, move the
> thread after 10 minutes, reopen the thread. The stuff we’re doing in the
> moderating area doesn’t show up to the NNTP-ers. I don’t see what else
> we can do.

Just say “Moved from bla-bla” rather than “Moved”.

On 01/28/2013 03:46 PM, hugosyt wrote:
>
> hugosyt;2522829 Wrote:
>> /usr/sbin/iwconfig gave me this:
>> lo no wireless extensions.
>>
>> eth0 no wireless extensions.
>>
>> Yes, its not an old wcard, but i tried anyway to install legacy
>> drivers.
>
> dmesg:
>
> 19.362636] b43-phy0: Broadcom 4311 WLAN found (core revision 13)
> 19.377037] b43-phy0: Found PHY: Analog 4, Type 2 (G), Revision 9
> 19.384338] Broadcom 43xx driver loaded Features: PMNLS ]
> 19.557996] b43-phy0 ERROR: Firmware file “b43/ucode13.fw” not found
> 19.557999] b43-phy0 ERROR: Firmware file “b43-open/ucode13.fw” not
> found
> 19.558023] b43-phy0 ERROR: Please open a terminal and enter the
> command “sudo /usr/sbin/install_bcm43xx_firmware” to download the
> correct firmware for this driver version. For an off-line installation,
> go to http://tinyurl.com/9dy9d3 and follow the instructions in the
> “Installing firmware from RPM packages” section.
>
>
> Even trying in terminal to install driver, it crashed in installation.

As root, edit /usr/sbin/install_bcm43xx_firmware, find the section that says


if  -d /lib/firmware/b43 ] ; then
echo "b43 firmware successfully installed."
/sbin/modprobe -r b43
/sbin/modprobe b43
else

and remove the two lines with “modprobe”, then reboot.

Ok so i did tha and the file looks like this:


#!/bin/sh
#
# install_bcm43xx_firmware
#
# This script tries to download and install the firmware needed to run
# WLAN cards using Broadcom's bcm43xx chips.

# firmware for b43
URL1=http://www.lwfinger.com/b43-firmware
FILE1=broadcom-wl-5.10.144.3.tar.bz2
FIRMWARE1=broadcom-wl-5.10.144.3/linux/wl_apsta.o

# firmware for b43legacy
URL2=http://downloads.openwrt.org/sources
FILE2=wl_apsta-3.130.20.0.o

test -z "$( type -p curl)" && { echo "'curl' is not installed, aborting. Please install 'curl' and try again."; exit 1; }
test -z "$( type -p b43-fwcutter)" && { echo "'b43-fwcutter' is not installed, aborting. Please install 'b43-fwcutter' and try again."; exit 1; }
test -d /lib/firmware || mkdir -p /lib/firmware

TMPDIR=$(mktemp -d /var/tmp/bcm.XXXXXX) || exit 1

pushd $TMPDIR >/dev/null

echo "Downloading b43 firmware"
curl -# -f -o $FILE1 $URL1/$FILE1
if  $? -eq 0 ];then
        echo "Extracting b43 firmware"
        tar xjf $FILE1
        b43-fwcutter -w /lib/firmware $FIRMWARE1
else
        echo "Could not download b43 firmware. Please look at /usr/share/doc/packages/b43-fwcutter/README."
fi

echo
echo "Downloading b43legacy firmware"
curl -# -f -o $FILE2 $URL2/$FILE2
if  $? -eq 0 ];then
        echo "Extracting b43legacy firmware"
        b43-fwcutter -w /lib/firmware $FILE2
else
        echo "Could not download b43legacy firmware. Please look at /usr/share/doc/packages/b43-fwcutter/README."
fi

echo
if  -d /lib/firmware/b43 ] ; then
        echo "b43 firmware successfully installed."

else
        echo "b43 firmware installation failed."
fi

popd >/dev/null
rm -rf $TMPDIR

exit 0
~       

I rebooted nothing changed and trying again to install driver and crashes…

I just did finish doing something that gave a different response other than crashing.

I copied the contents of “install_bcm43xx_firmware” to a new raw file in the desktop, gave 777 permissions to it as well as executable option too. removed the one in the /usr/sbin/ and copied the new one there. Then using “sudo /usr/sbin/install_bcm43xx_firmware” it staryed to download and install it but gave me this message:


Downloading b43 firmware
######################################################################## 100,0%
Extracting b43 firmware
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  508.154
  MD5        :  023fafbe4918e384dd531a046dbc03e8
Extracting b43/ucode19.fw
Extracting b43/lp0initvals14.fw
Extracting b43/ucode16_lp.fw
Extracting b43/ucode16_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/sslpn2bsinitvals17.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/sslpn2initvals17.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ucode17.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode9.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/ucode20.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/ucode5.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/n0initvals11.fw
Extracting b43/sslpn0bsinitvals16.fw
Extracting b43/sslpn1initvals20.fw

Downloading b43legacy firmware
######################################################################## 100,0%
Extracting b43legacy firmware
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  295.14
  MD5        :  e08665c5c5b66beb9c3b2dd54aa80cb3
Extracting b43legacy/ucode2.fw
Extracting b43legacy/ucode4.fw
Extracting b43legacy/ucode5.fw
Extracting b43legacy/ucode11.fw
Extracting b43legacy/pcm4.fw
Extracting b43legacy/pcm5.fw
Extracting b43legacy/a0g0bsinitvals2.fw
Extracting b43legacy/b0g0bsinitvals5.fw
Extracting b43legacy/a0g0initvals5.fw
Extracting b43legacy/a0g1bsinitvals5.fw
Extracting b43legacy/a0g0initvals2.fw
Extracting b43legacy/a0g1initvals5.fw
Extracting b43legacy/b0g0bsinitvals2.fw
Extracting b43legacy/b0g0initvals5.fw
Extracting b43legacy/b0g0initvals2.fw
Extracting b43legacy/a0g0bsinitvals5.fw

/usr/sbin/install_bcm43xx_firmware: line 51: syntax error near unexpected token `fi'
/usr/sbin/install_bcm43xx_firmware: line 51: `fi'


Is that “fi” the problem? Should i delete that?

On 01/28/2013 08:16 PM, hugosyt wrote:
>
> I just did finish doing something that gave a different response other
> than crashing.
>
> I copied the contents of “install_bcm43xx_firmware” to a new raw file
> in the desktop, gave 777 permissions to it as well as executable option
> too. removed the one in the /usr/sbin/ and copied the new one there.
> Then using “sudo /usr/sbin/install_bcm43xx_firmware” it staryed to
> download and install it but gave me this message:

Of course, after you finished editing the file, you needed to run that script.
Just changing it did nothing by itself.

BTW, the driver is built into the kernel. You are not installing the driver,
which runs in your host CPU. You are making the firmware available. That is the
program that runs in the CPU on the wireless adapter.

According to the output prior to the missing “fi”, the firmware is now
available. Just reboot. That error message is because you deleted more than I
told you to.

Yes my wcard is finally working. In the final release is this fix going to be fully implemented? Got to say that i came to opensuse after using ubuntu for a very long time and the only beta release that worked so well was 10.04, and this one is amazing. Got to congratulate the community and the developers.

I just got another question, i could´t find any repo for nvidia drivers. the only one that shows to me is 270.41. Is there a way to install a newer one from repos or manually. For instance if i download from nvidia site what should i do to install?

Thanks

NVIDIA repo will not appear until after the final. You can install the hard way (not so hard) but you will need to add the Kernel source packages/gcc complier/and maybe make. Then get the installer from the NVIDIA web site. There should be instruction there.

Thanks for the tip.

A huge thanks to all that helped me solve these problems…