LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2021, 04:42 AM   #1
amikoyan
LQ Newbie
 
Registered: Mar 2021
Distribution: Slackware
Posts: 19

Rep: Reputation: Disabled
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.
 
Old 04-01-2021, 04:50 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Look into /lib/modules/, you will see subdirectories for kernel modules, separate for each kernel version.
 
1 members found this post helpful.
Old 04-01-2021, 06:15 AM   #3
amikoyan
LQ Newbie
 
Registered: Mar 2021
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-02-2021, 12:34 PM   #4
amikoyan
LQ Newbie
 
Registered: Mar 2021
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-04-2021, 01:58 AM   #5
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 241

Rep: Reputation: 63
If you have a look in /etc/slackpkg/blacklist
(as root) nano /etc/slackpkg/blacklist

At the end of that file, you'll find something like this...
# This one will blacklist all SBo packages:
#[0-9]+_SBo

If there's a # in front of that line, remove it and re-run slackpkg update, slackpkg install-new, slackpkg upgrade-all

As you are not upgrading kernel by using slackpkg upgrade-all, I'd suggest that you also blacklist the kernel packages

As you'll see once opening the blacklist file, there's instructions there that will guide you.
 
1 members found this post helpful.
Old 04-04-2021, 03:43 AM   #6
amikoyan
LQ Newbie
 
Registered: Mar 2021
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thank you for the advice MKDIO,

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.
 
Old 04-19-2021, 05:04 PM   #7
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 626
Blog Entries: 20

Rep: Reputation: 77
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stable 13 kernel vs Current kernel in Stable system linus72 Slackware 6 04-01-2010 07:45 AM
LXer: DistroWatch Weekly, Issue 261, 14 July 2008 LXer Syndicated Linux News 0 07-15-2008 08:20 AM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 08:49 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration