Bug 923 - Broadcom wireless lacking in installed due to firmware not being included
Summary: Broadcom wireless lacking in installed due to firmware not being included
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 1
Hardware: All Linux
Priority: High enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: validated_update
Depends on:
Blocks: 1562
  Show dependency treegraph
 
Reported: 2011-04-21 20:06 CEST by David Deaderick
Modified: 2011-10-19 23:39 CEST (History)
7 users (show)

See Also:
Source RPM: b43-openfwwf
CVE:
Status comment:


Attachments

Description David Deaderick 2011-04-21 20:06:13 CEST
Description of problem:
Recent kernels have the ability to include Broadcom wireless working out of the box for many of the most common Broadcom hardware. This capability became part of kernel 2.6.36 (or certainly by 2.6.37) in the fall of 2010. Yet Mageia, with the 2.6.38 kernel, requires as part of installation an Internet connection to download b43-fwcutter and the driver package for a somewhat cumbersome procedure to establish a wireless connection. Why require this process when it is freely available?

Version-Release number of selected component (if applicable):
Kernel 2.6.38+

How reproducible:
Generic installation on machines (mine is a Compaq V2000 series notebook) with Broadcom wireless (bcm4318, for me, but also 4311, 4312, and others). Wireless does not work until, using a wired connection to the Internet, the user downloads the b43 firmware and the driver package from a third-party source, and runs the installation from the CLI.


Steps to Reproduce:
1. Install Mageia Beta 1 from DVD64
2. Try to configure wireless
3. Can't succeed without downloads from the Internet

While not every distribution with the most recent kernel (2.6.38) includes this ability, the just-released Fedora 15 Beta does, and Broadcom wireless bcm4318 works out-of-the-box. I believe strongly that Mageia must include this freely-available function as well. For more information, see my post and, in particular, the one that immediately follows at https://forums.mageia.org/en/viewtopic.php?f=25&t=126&p=707#p707
Comment 1 Manuel Hiebel 2011-04-23 18:29:09 CEST
I did not know there was the bcm firmware in the kernel.

I also have a Broadcom Corporation | BCM4313 but it works with dkms-broadcom-wl. 
Without DKMS I have the same problem.

CC: (none) => manuel

Comment 2 David Deaderick 2011-04-23 20:06:45 CEST
September 10, 2010

http://news.softpedia.com/news/Broadcom-Releases-Open-Source-Wireless-Driver-for-Linux-155826.shtml

"The open source Broadcom wireless driver should be available in the next stable release of the Linux kernel 2.6. This also means that all Linux users will no longer have to search for tutorials, workarounds and other tips & tricks to get their Broadcom wireless cards to work!"

And here:

http://marc.info/?l=linux-wireless&m=128404502308426&w=3

The driver is currently available in staging-next git tree, available at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-next-2.6.git
in the drivers/staging/brcm80211 directory.
---
Henry Ptasinski
henryp@broadcom.com
Comment 3 David Deaderick 2011-05-04 03:41:30 CEST
http://hany.sk/~hany/RPM/f-updates-14-x86_64/b43-openfwwf-5.2-5.fc14.noarch.html

is a Fedora Project update page (for Fedora 14) linking to and describing the open firmware for certain Broadcom chipsets. The rest of the stuff below is quoted from that page. See especially the last item (the copyright). This firmware package makes dkms-broadcom-wl, b43-fwcutter, and the proprietary driver package broadcom-wl-4.150.10.5 and the fetching/installing/initializing thereto appertaining unnecessary for those with the affected chipsets. It's out there, it's free, and it simplifies wireless connectivity dramatically. I can't see why Mageia would not offer it.

Open firmware for some Broadcom 43xx series WLAN chips.
Currently supported models are 4306, 4311(rev1), 4318 and 4320.

Provides
b43-openfwwf

Requires
module-init-tools = 3.2
rpmlib(CompressedFileNames) = 3.0.4-1
rpmlib(FileDigests)
rpmlib(PayloadFilesHavePrefix) >= 4.0-1
udev >= 062
rpmlib(PayloadIsXz) >= 5.2-1

Copyright
GPLv2
Thierry Vignaud 2011-05-06 12:12:49 CEST

CC: (none) => thierry.vignaud
Assignee: bugsquad => tmb
Source RPM: (none) => kernel

Chih Wei Yao 2011-05-13 14:03:41 CEST

CC: (none) => elegant.pegasus

Comment 4 Ahmad Samir 2011-05-25 04:33:46 CEST
@Thomas, any news about this one?
Thierry Vignaud 2011-05-25 08:00:11 CEST

Summary: Broadcom wireless lacking in kernel 2.6.38 => Broadcom wireless lacking in installed due to firmware not being included

Comment 5 Chih Wei Yao 2011-06-22 14:58:12 CEST
Is there any news about this bug?

I am hoping to install mageia in my laptop, but the broadcom 4313 chip stops me from doing this.
Comment 6 David Deaderick 2011-06-24 01:25:13 CEST
All I have heard since discussing the issue in the forum and filing this bug report / feature request is "me too." Otherwise, silence. It appears to me the issue is not being addressed.

My request was for those Broadcom chips listed above (4306, 4311 rev1, 4318, and 4320).
Comment 7 Dave Hodgins 2011-06-24 02:34:55 CEST
Changing to a new package request, for the open firmware package, since (if I
understand correctly), there does not appear to any kernel changes required.

The source rpm is available at
http://hany.sk/~hany/RPM/f-updates-14-x86_64/b43-openfwwf-5.2-5.fc14.noarch.html

CC: (none) => davidwhodgins
Component: Installer => New RPM package request
Assignee: tmb => bugsquad
Source RPM: kernel => b43-openfwwf

Comment 8 Dave Hodgins 2011-06-24 02:36:50 CEST
Changing version, as this should be made available in Mageia 1.

Priority: Normal => High
Version: Cauldron => 1

Manuel Hiebel 2011-09-27 21:45:58 CEST

CC: manuel => (none)
Summary: Broadcom wireless lacking in installed due to firmware not being included => b43-openfwwf, open firmware for some Broadcom 43xx series WLAN chips

Comment 9 José Jorge 2011-09-27 21:56:08 CEST
I have packaged this firmware in cauldron : rpm b43-openfwwf. I tested on my system, the Wifi works, with a WPA2/PSK connection. The problem now is that drakxtools don't know about it, and keep asking for another firmware.

Still it can be used on a Mageia 1 system, so we may provide it as a backport?

CC: (none) => lists.jjorge
Summary: b43-openfwwf, open firmware for some Broadcom 43xx series WLAN chips => Broadcom wireless lacking in installed due to firmware not being included

José Jorge 2011-09-27 21:56:39 CEST

Assignee: bugsquad => lists.jjorge

Comment 10 David Deaderick 2011-09-27 22:07:44 CEST
This is good progress. The goal is to have wireless with this set of Broadcom chipsets working by configuring the wireless upon installation -- without a wired connection needed to download anything.

Thanks, José.
Comment 11 AL13N 2011-09-29 17:45:33 CEST
this should be pushed as an update imho not a backport. today i had a person installig mageia having this issue.

CC: (none) => alien

Comment 12 José Jorge 2011-10-17 10:50:37 CEST
submitted to core/updates_testing . It will a need a new libdrakx-net to allow automatic install when hardware is detected.

Status: NEW => ASSIGNED

Marja Van Waes 2011-10-17 20:44:43 CEST

Blocks: (none) => 1562

Comment 13 José Jorge 2011-10-18 13:45:38 CEST
this update needs :
- drakx-net-0.97.1-1.mga1
- b43-tools (only to build b43-openfwwf, will not be automaticaly installed)
- b43-openfwwf

Please David (or anyone use b43 driver) test by your side, I will test on my i586 system.

How to test : 
* right click on net_applet, choose 'configure network'
* choose wireless
* choose wlan0
* it ask for windows driver to extract firmware. With this update applied, it should just install automaticaly b43-openfwwf.
José Jorge 2011-10-18 13:45:47 CEST

Assignee: lists.jjorge => qa-bugs

Comment 14 claire robinson 2011-10-18 17:04:14 CEST
I don't have the necessary hardware to test this one.

leuhmanu & David Deaderick can you test please?

Thanks
Comment 15 Manuel Hiebel 2011-10-18 17:15:46 CEST
(In reply to comment #14)
> leuhmanu & David Deaderick can you test please?

if it works for the BCM4313 of course ;)
Comment 16 David Deaderick 2011-10-18 18:12:20 CEST
(In reply to comment #14)
> I don't have the necessary hardware to test this one.
> 
> leuhmanu & David Deaderick can you test please?
> 
> Thanks

I will have to make a new installation to do that, so it will take a little time; but, yes, I will test.

David
Comment 17 David Deaderick 2011-10-18 18:13:58 CEST
(In reply to comment #15)
> (In reply to comment #14)
> > leuhmanu & David Deaderick can you test please?
> 
> if it works for the BCM4313 of course ;)

The b43-openfwwf package does not include support for 4313, as far as I know. See my post above 2011-05-04 for details.

David
Comment 18 Manuel Hiebel 2011-10-18 18:22:48 CEST
yes I just the that, sorry.
Comment 19 David Deaderick 2011-10-18 19:01:24 CEST
(In reply to comment #13)
> this update needs :
> - drakx-net-0.97.1-1.mga1
> - b43-tools (only to build b43-openfwwf, will not be automaticaly installed)
> - b43-openfwwf
> 
> Please David (or anyone use b43 driver) test by your side, I will test on my
> i586 system.
> 
> How to test : 
> * right click on net_applet, choose 'configure network'
> * choose wireless
> * choose wlan0
> * it ask for windows driver to extract firmware. With this update applied, it
> should just install automaticaly b43-openfwwf.

Jose, is the package only in Cauldron, or can I get to it from Backports on M1?

David
Comment 20 claire robinson 2011-10-18 19:02:17 CEST
David, it should be in Core Updates Testing
Comment 21 David Deaderick 2011-10-18 19:15:55 CEST
(In reply to comment #20)
> David, it should be in Core Updates Testing

Got it. Thanks, Claire
Comment 22 José Jorge 2011-10-18 20:51:07 CEST
Sorry, the package drakx-net in updates_testing misses the fix. I will upload a new version ASAP. It will be drakx-net-0.97.2-1.mga1 .
Comment 23 David Deaderick 2011-10-18 21:08:59 CEST
Yes, I'm hoping that will fix the problem I've had. I wrote a step-by-step description of what I did, but after submitting I see a "Mid Air Collision" and it's not here. I successfully installed b43-tools and, obviously, have Core Updates Testing enabled, but the search for files during the attempt to configure wlan0 stalled.
Comment 24 José Jorge 2011-10-18 21:16:24 CEST
It will be drakx-net-0.97.1-2.mga1 in fact that you will have to install prior to test. You don't need to install b43-tools, and you should not install b43-openfwwf by yourself : it is the point of the drakx-net update to do this automaticaly.
Comment 25 David Deaderick 2011-10-18 21:26:51 CEST
Understood. I've removed b43-tools and will install that new version of drakx-net when you notify that it is available. Then I will test again. Thanks for your work.
Comment 26 David Deaderick 2011-10-18 23:18:45 CEST
I retrieved the updated drakx-net and its 2 associated rpms from Distrib-Coffee, since I was not seeing them on whatever default repos were installed for me in the U.S. (East Coast). I used rpm -i --force to install them, as there were conflicts with the previous versions. Finally, I successfully installed them and then removed the previous versions; however, the libdrakx-net version is the same as the previous drakx-net version, so that may be a conflict.

At any rate, there is no change from the previous attempt to install wlan0. It still doesn't work. The b43-tools and b43-openfwwf are not retrieved. There is a little box (that is hidden behind another larger box) that says "Searching for files," but nothing happens. It simply stalls.
Comment 27 claire robinson 2011-10-19 01:53:38 CEST
The packages required for drakx-net are..

libdrakx-net
drakx-net
drakx-net-text
drakx-net-applet

Are you sure you have applied the updates for all of these David?

Also when it looks for the firmware you will currently need Core Updates Testing enabled as that is where they are at the moment.

b43-tools
b43-openfwwf

You will probably find that when your mirror has synced properly, things will be different.
Comment 28 David Deaderick 2011-10-19 05:52:41 CEST
OK, it's working. As I suspected, the libdrakx-net matching the version numbers of the other three drakx-net rpms was needed for success. It grabbed the files needed, installed them, and the wireless light came on in a matter of a very few seconds.

José, before pushing this feature out, please note: Syncing to repositories other than distrib-coffee, where I originally found 3 of the 4 is almost non-existent as of right now, some 7 hours after they were placed in distrib-coffee. In fact, I added distrib-coffee to my repo list so that I could install libdrakx-net. Why it's so slow tonight is anybody's guess, but users trying to get these files right now will find them only in a couple of Mageia's repos.

Finally, thanks very much for your work on this. While a wired connection is needed for now, I hope this will integrated to the installation routine in such a way that owners of the four b43 chipsets can install and connect without a wire in Mageia 2. If there will be refreshed ISOs for Mageia 1 in the near future, it would be advantageous to incorporate the feature at that point.

David
Comment 29 David Deaderick 2011-10-19 06:16:23 CEST
A potential issue remains.

One of the options during configuration is to allow NetworkManager to control the interface. I selected that option. Upon reboot, I had to configure the connection again, as there was no wireless. This time I unchecked the NetworkManager option, and upon the next reboot the connection resumed automatically.

I've seen this NetworkManager problem in Pardus, which has ONLY NetworkManager to manage connections. The connection is lost on every single reboot, without exception. NetworkManager is giving other users fits in Pardus. See the evidence at http://worldforum.pardus-linux.nl/index.php?topic=3921.0

I'm merely suggesting that further testing take place with Mageia to clarify whether it's really a NetworkManager issue.
Comment 30 José Jorge 2011-10-19 09:00:43 CEST
(In reply to comment #29)
> A potential issue remains.

This is another bug, which you can open against network manager. As far as I know, network manager support in Mageia is still experimental - IE not defaulted.

As the firmware worked for you on x86_64 and me on i586, I think this update can be pushed.
Comment 31 claire robinson 2011-10-19 10:05:19 CEST
Agreed Jose. 

Strictly speaking it should be somebody other than the packager, but as this is one which requires specific hardware we have to make that exception.

Thankyou for testing this David, would you be interested in becoming part of Mageia QA team?

Advisory
-----------------
This update adds support for a range of Broadcom wireless chipsets.

Currently supported models are 4306, 4311(rev1), 4318 and 4320.
-----------------

SRPMs:

drakx-net-0.97.1-2.mga1.src.rpm 
b43-tools-0-0.7.git20090125.mga1.src.rpm
b43-openfwwf-5.2-1.mga1.src.rpm   


Could sysadmin please push from core/updates_testing to core/updates

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Hardware: x86_64 => All

Comment 32 David Deaderick 2011-10-19 22:25:12 CEST
Since we have agreed that this fix works for both i586 and x86_64 systems, I'm marking this bug as RESOLVED/FIXED.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 33 claire robinson 2011-10-19 22:30:31 CEST
David, thanks for your input into this update. Can I tempt you to join the QA team?

It needs to remain open for now though until sysadmin have pushed the new version from the testing repo into the updates repo. They will close the bug when they have done so. If it is closed now it disappears from their 'waiting to be pushed' list and will sit in testing forever.

I'm re-opening to allow that.

Sysadmin please see comment 31 for advisory/SRPM's, thanks.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 34 Thomas Backlund 2011-10-19 23:39:32 CEST
Update pushed.

Status: REOPENED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.