Bug 19866

Summary: Cannot use wifi/dkms-broadcom-wl
Product: Mageia Reporter: Bernard SIAUD <liste>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: marja11, sam, tmb
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: dkms-broadcom-wl CVE:
Status comment:
Attachments: macbookpro11,1 installed packages and specs
4.8.12 dkms make log with errors and warnings
4.7.6 make log with no errors or warnings

Description Bernard SIAUD 2016-11-29 18:46:44 CET
Description of problem: I have installed the WiFi and it was good.
Today, it's not good.


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


How reproducible: 

Steps to Reproduce: (before I have do urpmi --auto-update)
1) run mcc and chose to configure network.
2) I see the wire (it's good for it) and the WiFi. It's not good for it.
3) I select WiFI. The computer say that's it need the driver dkms-broadcom-wl and it can't it found.
(In french, the computer say :
Certains paquetages (broadcom-wl) sont nécessaires mais ne sont pas disponibles. Ces paquetages sont disponibles dans Mageia, ou dans le dépôt officiel de paquetages non-free.

Le composant suivant est manquant : wl

Les fichiers requis peuvent aussi être installés à partir de cette URL :
http://www.broadcom.com/support/802.11/linux_sta.php )

For the console :
# mcc
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
"/usr/sbin/drakmenustyle" is not executable [Menus] at /usr/libexec/drakconf line 829.
"/usr/sbin/drakbackup" is not executable [Backups] at /usr/libexec/drakconf line 829.
"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/libexec/drakconf line 829.
"/usr/sbin/drakguard" is not executable [Parental Controls] at /usr/libexec/drakconf line 829.
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.8.8-desktop-1.mga6
modprobe: FATAL: Module wl not found in directory /lib/modules/4.8.8-desktop-1.mga6
getting exclusive lock on rpm
getting lock on urpmi
using mirror http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64
examen de la liste de synthèse [/var/lib/urpmi/Core Release2/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree Release2/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Tainted Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree 32bit Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree 32bit Updates/synthesis.hdlist.cz]
unlocking urpmi database
unlocking rpm database

If I use rmpdrake, I can see that's dkms-broadcom-wl is installed.

I have 2 cauldron I my computer. I have uninstall dkms-broadcom-wl in one. And I have do 1),2) and 3). The computer have dkms-broadcom-wl installed (I think) but, the WiFi don't work. Now, if I ise this cauldron I can do only 1) and 2) and mcc block with no message in the console.
Comment 1 Marja Van Waes 2016-11-30 13:30:05 CET

What is the ouput of (in a terminal or konsole)

   rpm -qa | grep broadcom

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => kernel
Summary: Can use wifi/dkms-broadcom-wl => Cannot use wifi/dkms-broadcom-wl

Comment 2 Marja Van Waes 2016-11-30 13:30:25 CET
s/ouput/output/
Comment 3 Bernard SIAUD 2016-11-30 18:32:16 CET
[root@localhost ~]# lspcidrake -v |grep -i net
wl              : Broadcom Limited|BCM43228 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4359 subv:1028 subd:0014)
e1000e          : Intel Corporation|82579LM Gigabit Network Connection [NETWORK_ETHERNET] (vendor:8086 device:1502 subv:1028 subd:057d) (rev: 04)
[root@localhost ~]# rpm -qa | grep broadcom
broadcom-wl-common-6.30.223.271-44.mga6.nonfree
dkms-broadcom-wl-6.30.223.271-44.mga6.nonfree
Comment 4 Bernard SIAUD 2016-12-02 22:47:42 CET
Have you see that http://www.broadcom.com/support/802.11/linux_sta.php does not exist ?
Comment 5 Thomas Backlund 2016-12-02 23:34:07 CET
It's just moved a bit
http://www.broadcom.com/support/802.11

CC: (none) => tmb

Comment 6 Bernard SIAUD 2016-12-09 17:36:35 CET
I don't know why, but I see that I have used the kernel 4.8.8 and the 4.8.12 is installed. I try to use the last installed. It's don't works...
I don't know what I have do, but now, I use the kernel 4.6.3 and the wi-fi work...
Comment 7 Thomas Backlund 2016-12-09 19:03:28 CET
is matching kernel-desktop-devel installed ?

what is the output of: dkms status
Comment 8 Sam Bailey 2016-12-09 23:56:08 CET
I have a similar issue on a MacBookPro11,1 - kernel 4.7.6 with broadcom-wl on dkms works fine. None of the 4.8.(1-12) kernels will even finish booting with broadcom-wl in dkms.

I'll grad some more data and post it later.

CC: (none) => sam

Comment 9 Thomas Backlund 2016-12-10 00:10:41 CET
No need, fix coming in 

kms-broadcom-wl-6.30.223.271-45
Comment 10 Sam Bailey 2016-12-10 00:40:30 CET
Created attachment 8745 [details]
macbookpro11,1 installed packages and specs
Comment 11 Sam Bailey 2016-12-10 00:41:52 CET
Created attachment 8746 [details]
4.8.12 dkms make log with errors and warnings
Comment 12 Sam Bailey 2016-12-10 00:42:28 CET
Created attachment 8747 [details]
4.7.6 make log with no errors or warnings
Comment 13 Sam Bailey 2016-12-10 00:43:28 CET
Thanks Thomas - sorry for posting the extra stuff - missed your post.
Comment 14 Sam Bailey 2016-12-10 08:57:19 CET
Thanks again Thomas - I manually applied the patch from broadcom-wl-6.30.223.271-45, rebuild with DKMS and all is now working on 4.8.12-3.
Comment 15 Bernard SIAUD 2016-12-10 10:52:45 CET
Where can I find the path to manually applied it ?

Now, it's not good :(

kernel-desktop-devel-latest is installed and I use 4.8.12-desktop-3.mga6

[root@localhost ~]# dkms status
broadcom-wl, 6.30.223.271-45.mga6.nonfree: added 
[root@localhost ~]# mcc
[...]
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm line 525.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.8.12-desktop-3.mga6
modprobe: FATAL: Module wl not found in directory /lib/modules/4.8.12-desktop-3.mga6
getting exclusive lock on rpm
getting lock on urpmi
Comment 16 Bernard SIAUD 2016-12-10 10:54:30 CET
For information :
[root@localhost ~]# lspcidrake -v |grep -i net
wl              : Broadcom Limited|BCM43228 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4359 subv:1028 subd:0014)
e1000e          : Intel Corporation|82579LM Gigabit Network Connection [NETWORK_ETHERNET] (vendor:8086 device:1502 subv:1028 subd:057d) (rev: 04)
[root@localhost ~]# rpm -qa | grep broadcom
broadcom-wl-common-6.30.223.271-45.mga6.nonfree
dkms-broadcom-wl-6.30.223.271-45.mga6.nonfree
Comment 17 Thomas Backlund 2016-12-10 11:09:06 CET
(In reply to Bernard SIAUD from comment #15)
> Where can I find the path to manually applied it ?
> 
> Now, it's not good :(

Its applied in the -45.mga6 package

> 
> kernel-desktop-devel-latest is installed and I use 4.8.12-desktop-3.mga6
> 
> [root@localhost ~]# dkms status
> broadcom-wl, 6.30.223.271-45.mga6.nonfree: added

So added but not built for some reason.
 
> [root@localhost ~]# mcc
> [...]
> Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.22.2/Gtk3.pm
> line 525.
> modprobe: FATAL: Module wl not found in directory
> /lib/modules/4.8.12-desktop-3.mga6
> modprobe: FATAL: Module wl not found in directory
> /lib/modules/4.8.12-desktop-3.mga6


module not built, so it cant load it.

Something is messed up in your system

Try a clean install of broadcom-wl by manually download: http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/nonfree/release/broadcom-wl-common-6.30.223.271-45.mga6.nonfree.x86_64.rpm
http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/nonfree/release/dkms-broadcom-wl-6.30.223.271-45.mga6.nonfree.x86_64.rpm

then 

urpme broadcom-wl-common dkms-broadcom-wl

Then  reinstall the 2 rpms you manually downloaded:

urpmi broadcom-wl-common-6.30.223.271-45.mga6.nonfree.x86_64.rpm dkms-broadcom-wl-6.30.223.271-45.mga6.nonfree.x86_64.rpm

and post the logs of the install, and if it complains the build failed, please attach the referenced make.log
Comment 18 Thomas Backlund 2016-12-10 11:12:03 CET
(In reply to Sam Bailey from comment #14)
> Thanks again Thomas - I manually applied the patch from
> broadcom-wl-6.30.223.271-45, rebuild with DKMS and all is now working on
> 4.8.12-3.


Why manually apply when you could simply install the fixed rpm ?
Comment 19 Bernard SIAUD 2016-12-10 14:02:15 CET
After this it's good :
  179  urpme broadcom-wl-common dkms-broadcom-wl
  180  urpmi broadcom-wl-common-6.30.223.271-45.mga6.nonfree.x86_64.rpm dkms-broadcom-wl-6.30.223.271-45.mga6.nonfree.x86_64.rpm
Comment 20 Thomas Backlund 2016-12-10 14:23:57 CET
Great, closing as fixed then

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