[SOLVED] How to safely (re)install Broadcom wireless drivers after kernel upgrade from 4.4.14 to 4.4.261 Slackware 14.2 stable
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to safely (re)install Broadcom wireless drivers after kernel upgrade from 4.4.14 to 4.4.261 Slackware 14.2 stable
Today I used 'slackpkg download kernel*' and 'installpkg' to upgrade my kernel from 4.4.14 to 4.4.261.
I want to keep the old kernel around for a few days while I test 4.4.261 with my elderly (12+ year old) Compaq (x86_64 AMD Turion(tm)X2 Dual Core Mobile RM-74)
laptop
To run the wireless card on my laptop I need to use the Broadcom slackbuild drivers/firmware from SlackBuilds.org
These are configured, installed and working on the 4.4.14 kernel. When I boot the new kernel the wireless card is not recognised and I assume I have to install the Broadcom drivers etc. to test out that this will work.
My question is can I boot the 4.4.261 kernel and then install these Broadcom drivers/firmware and run them at the same time as they are on the 4.4.14 kernel? Or do I need to uninstall them from the old kernel first?
Ideally I would like to have them installed simultaneously on both kernel installs so I can boot between the two over the next week or so for testing etc.
Is this possible or will they conflict?
I installed the Broadcom packages from slackbuilds using the slackBuild scripts and then running installpkg in the /tmp folder if that is relevant.
Thank you Emerson,
Broadcom drivers installed on 4.4.261 kernel and wireless working.
I looked in /lib/modules/ and there are separate subdirectories for 4.4.14 and 4.4.261, just as you described, so I've learned something new as well.
Thanks again,
Mikoyan
slackpkg upgrade-all reports two instances of broadcom-sta drivers installed
This is a continuation of the above scenario, I hope it is okay to post here rather than start a new thread.
I installed the broadcom-sta drivers whilst 4.4.261 kernel is running. They work perfectly when booting either kernel.
So no problem until I ran slackpkg upgrade-all and was given the option to ignore, remove or blacklist the double install of drivers. I chose blacklist because I do not want them removed at the moment, as the system is working fine.
I thought the drivers would install into separate kernel modules, (in /lib/modules/, you will see subdirectories for kernel modules, separate for each kernel version.), but clearly I misunderstood, or installed the drivers incorrectly. (I used the slackBuild script from slackBuilds.org).
Can I ignore the warning from slackpkg or should I do something about it? Also, how can I avoid this in the future?
As you suggested, I have uncommented [0-9]+_SBo in /etc/slackpkg/blacklist and re-ran slackpkg update, slackpkg install-new, slackpkg upgrade-all and there were no error messages this time.
I was forced to start using kernel 4.9 on my acer netbook because of an issue with the touchpad (driver seems to be broken on 4.4 kernel) but on the newer 4.9 kernels the broadcom wl driver source was no longer building.
Apart from the wifi card troubles the netbook is still working fine so I was not yet ready to buy a new one. For some time I considered replacing the mini pci-e card with a supported one but after a little searching I found this on github which is supposed to build for kernels >= 4.7
and so far it's working fine.
Just clone the git repo and then
Code:
make clean
make
cp wl.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/wl.ko
depmod -a
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.