Error while installing WLAN Drivers. Adaptor being a broadcom BCM4313

119 views
Skip to first unread message

mail.m...@gmail.com

unread,
Dec 24, 2016, 7:51:31 PM12/24/16
to qubes-users
My laptop has a BCM4313 WLAN adaptor.
Here's the manufacturer link : https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm4313#overview .

And I'm following this guide on how to install it:
https://onpub.com/install-broadcom-linux-wi-fi-driver-on-fedora-23-s7-a192

There's also the manufacturer driver here:
https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm4313#downloads
The instructions on How to Install are here:
https://docs.broadcom.com/docs/1211168561592

I managed to download and extract the driver. I also managed to "make" it.

The problem is when I try to "make install" it.
Here's the error message:

[user@fedora-23 hybrid_wl_f23]$ sudo make install
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
install: cannot create regular file ‘/lib/modules/4.4.31-11.pvops.qubes.x86_64/kernel/drivers/net/wireless/wl.ko’: Read-only file system
Makefile:168: recipe for target 'install' failed
make: *** [install] Error 1

So the problem is that the file system is read-only.

In the following link:
https://groups.google.com/d/msg/qubes-users/5pGA68aTb-4/IFuk0wTJBQAJ
Marek Marczykowski-Górecki gives the following solution:

**************************************
/lib/modules/(kernel version) is mounted read-only, so you can't modify
it. You can either switch to in-VM kernel[1], or keep that module
(`wl.ko`) in some other directory and load it using `insmod
/path/to/wl.ko`. The former method will require somehow more work, but
will be easier to maintain later.
**************************************

I do not know what "In-VM" kernel is. I tried a few things. I opened the "VM-Settings" for fedora-23 template and saw the "Kernel" option.
Here are the possibilities:
default(4.4.31-11)(current)
4.4.31-11
4.4.14-11
none

Additionally, "qvm-prefs my-appvm -s kernel" command describes how "none" means "kernels subdir in VM". So I set the "kernel" option to "none" using "qvm-prefs fedora-23 -s kernel none"

But Now I can't start the Template.
I get the following error message:

Error while starting the 'fedora-23' VM:VM kernel does not exist: /var/lib/qubes/vm-templates/fedora-23/kernels/vmlinuz

After that I tried Marek Marczykowski-Górecki's second solution. i.e. to insmod the wl.ko file in.
But again I get this error:

[user@fedora-23 hybrid_wl_f23]$ sudo insmod wl.ko
insmod: ERROR: could not insert module wl.ko: Unknown symbol in module



Some one please help me.

01v3g4n10

unread,
Dec 24, 2016, 10:59:34 PM12/24/16
to qubes-users, mail.m...@gmail.com
Have you happened to try installing kmod-wl from Rpm Fusion? A few sources I have looked up seem to have gotten it to work for them.

http://forums.fedoraforum.org/showthread.php?t=248067
https://blogs.fsfe.org/samtuke/?p=257
https://unix.stackexchange.com/questions/329725/how-to-use-broadcom-bcm4313-drivers-in-fedora-23

mail.m...@gmail.com

unread,
Dec 25, 2016, 10:41:18 AM12/25/16
to qubes-users
I tried it. I got only as far as enabling RMPFusion. Here's what i encountered when I tried to install kmod-wl:

[user@fedora-23 ~]$ sudo dnf install kmod-wl
RPM Fusion for Fedora 23 - Nonfree - Updates 245 kB/s | 74 kB 00:00
RPM Fusion for Fedora 23 - Free - Updates 766 kB/s | 371 kB 00:00
Error: nothing provides kmodtool needed by akmod-wl-6.30.223.271-7.fc23.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)

[user@fedora-23 ~]$ sudo dnf install --allowerasing kmod-wl
Last metadata expiration check: 0:02:22 ago on Sun Dec 25 10:17:14 2016.
Error: nothing provides kmodtool needed by akmod-wl-6.30.223.271-7.fc23.x86_64

Need help. Thanks :) .
Reply all
Reply to author
Forward
0 new messages