LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-17-2013, 12:48 PM   #16
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2

Quote:
Originally Posted by ruario View Post
The kernel source is just that, the source code for the kernel. It is not the kernel itself. The source is useful should you want to recompile the kernel (perhaps with different options) or compile kernel modules.
Would I need to recompile just to add, for example, the b43 firmware for broadcom chipsets?

Quote:
Originally Posted by ruario View Post
The other kernel packages are what you need to actually install/upgrade the kernel. You can find them with 'slackpkg search kernel', or here is the list (for 32-Bit Slack): kernel-firmware, kernel-generic, kernel-generic-smp, kernel-headers, kernel-huge, kernel-huge-smp, kernel-modules and kernel-modules-smp.

You probably want (assuming 32-bit): kernel-firmware, kernel-generic and kernel-modules. However, before you go out and install them consider that you almost certainly already have them installed if you did a full install initially. I suspect therefore, you simply wanted to make sure you are running the latest updates from -cuurent with regards to these packages. If that is true just issue 'slackpkg update' (To update your local list of available packages with the mirror), then 'slackpkg install-new', then 'slackpkg upgrade-all'. This should ensure that all your packages are up to date with your mirror (not just the kernel).
I didn't do a full install, I installed everything except the KDE and XFCE trees. If I ran "slackpkg install-new" would this install those trees as well? If so, how would I avoid that?

Regarding the kernel packages, how exactly would I have the latest kernel packages (3.10.11) if I only installed from 14? I am using the slackware-current mirror and ran "slackpkg update" first thing when booting my system, but I didn't see any of the current kernel files.

Quote:
Originally Posted by ruario View Post
You may also want to issue 'slackpkg clean-system' to remove old and obsolete packages from your system (if you have unofficial packages that you made yourself you will get the chance to uncheck them so they don't also get removed).

P.S. ReaperX7 did say early on how to keep the system up to date but you may not have understood the relevance of his reply as you were expecting a search command. Similarly jstg told you how to search for kernel packages but because you had not issued the 'slackpkg update' you were shown the older kernels, not those available from -current.
What if I'm using slackbuilds? I installed openbox, tint2, and dmenu (along with a few other things) from slackbuilds earlier, would those be removed if they aren't in the mirror's file list?

Quote:
Originally Posted by Slax-Dude View Post
As ponce already stated, you are probably using a "slackware 14" mirror on your slackpkg
Check /etc/slackpkg/mirrors and modify accordingly (note that you should uncomment only one mirror)
No, I'm not. I'm using slackware-current for my mirror. Why is it that you're only supposed to use one mirror?

Last edited by slacker_; 09-17-2013 at 12:49 PM.
 
Old 09-17-2013, 02:28 PM   #17
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Quote:
Originally Posted by slacker_ View Post
Would I need to recompile just to add, for example, the b43 firmware for broadcom chipsets?
No
Quote:
Originally Posted by slacker_ View Post
I didn't do a full install, I installed everything except the KDE and XFCE trees. If I ran "slackpkg install-new" would this install those trees as well? If so, how would I avoid that?
Please read "man slackpkg". You will see that the purpose of --install-new is not to get a full install, here "new" means "added to a newer release or to --current. If you want to install all packages just run "slackpkg install slackware" (but blacklist first those you don't want).
Quote:
Regarding the kernel packages, how exactly would I have the latest kernel packages (3.10.11) if I only installed from 14? I am using the slackware-current mirror and ran "slackpkg update" first thing when booting my system, but I didn't see any of the current kernel files.
Do not use a -current mirror if you want to stay on 14.0, your kernel put aside. You're going to screw-up your Slackware for good.

If you want to upgrade only the kernel, see e.g. this HOW-TO from Alen BOB and reuse only the config.gz from -current before running "make oldconfig". Do not use slackpkg for that.
Quote:
What if I'm using slackbuilds? I installed openbox, tint2, and dmenu (along with a few other things) from slackbuilds earlier, would those be removed if they aren't in the mirror's file list?
Just un-check them when you see the list of packages to remove if you run "slackpkg --clean-system"
Quote:
No, I'm not. I'm using slackware-current for my mirror. Why is it that you're only supposed to use one mirror?
Because else you'll screw up your system.

PS I can hardly see the benefit of upgrading the kernel on a T42
 
Old 09-17-2013, 02:39 PM   #18
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
No
Please read "man slackpkg". You will see that the purpose of --install-new is not to get a full install, here "new" means "added to a newer release or to --current. If you want to install all packages just run "slackpkg install slackware" (but blacklist first those you don't want).
Do not use a -current mirror if you want to stay on 14.0, your kernel put aside. You're going to screw-up your Slackware for good.
Brilliant, thanks for the concise, to-the-point answers!

One follow up question for it though: what exactly do you mean by "screw-up your Slackware for good" and what are the pros/cons for slack 14 vs current?

Quote:
Originally Posted by Didier Spaier View Post
If you want to upgrade only the kernel, see e.g. this HOW-TO from Alen BOB and reuse only the config.gz from -current before running "make oldconfig". Do not use slackpkg for that.

Just un-check them when you see the list of packages to remove if you run "slackpkg --clean-system"
Because else you'll screw up your system.

PS I can hardly see the benefit of upgrading the kernel on a T42
I was wanting to use a slackpkg for upgrading the kernel because I tried following that guide on a prior install and got an unfixable kernel panic. I just said "Screw it" and installed clean and was going to try again with a proper package if it was possible.

The benefit in upgrading the kernel on a T42 is for the b43 firmware I mentioned. I have another thread where I was discussing some wifi problems I'm having with a dual-band pcmcia card that requires that firmware but when I loaded it up on the 3.2.* kernel it only gave access to the 2.4Ghz range and not the 5Ghz. It was suggested that I try using the latest kernel with that firmware package.
 
Old 09-17-2013, 03:21 PM   #19
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Quote:
Originally Posted by slacker_ View Post
what exactly do you mean by "screw-up your Slackware for good" and what are the pros/cons for slack 14 vs current?
In a Linux system, a given software often rely on other software that should be neither too old nor too new.
If you mix releases (or a stable release with -current) you mix parts that don't fit together, so some of your applications will fail.
Slackware-current being provided mainly to allow people to test it before it become the next stable release, I suggest you stay on 14.0 at the moment, as it is stable. You will be able to upgrade to 14.1 when it will: be ready: instructions for that will be provided

Quote:
I was wanting to use a slackpkg for upgrading the kernel because I tried following that guide on a prior install and got an unfixable kernel panic. I just said "Screw it" and installed clean and was going to try again with a proper package if it was possible.
I see. Nevertheless, using slackpkg for that is not the way to go.

Quote:
The benefit in upgrading the kernel on a T42 is for the b43 firmware I mentioned. I have another thread where I was discussing some wifi problems I'm having with a dual-band pcmcia card that requires that firmware but when I loaded it up on the 3.2.* kernel it only gave access to the 2.4Ghz range and not the 5Ghz. It was suggested that I try using the latest kernel with that firmware package.
Then you could first check the support for you card in the b43 kernel module.

To do that, please provide output of following command:
Code:
lspci -knn | grep -A2 Network

Last edited by Didier Spaier; 09-17-2013 at 03:22 PM.
 
Old 09-17-2013, 07:10 PM   #20
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
Then you could first check the support for you card in the b43 kernel module
I've already been through that. The b43 module does cover my card. I had a minimal install of Debian that I was working off of prior to using slack and I had the b43 module loaded in kernel 2.6.* and had access to both bands with no issue.

However, just for kicks I ran that command just to see if any new info would show up, and I saw the following for the card I'm using:

Code:
Kernel driver in use: b43-pci-bridge
So, according to this I have some version of b43 already installed, but it doesn't allow the card to work.
 
Old 09-20-2013, 05:07 PM   #21
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Well, coming back from this thread...
<rant>But I've found 3 thread about your wireless card, really that doesn't help people to help you, so please be patient and keep only one thread open per topic, even if you don't get an answer within five minutes</rant>.

Back to your issue.
  1. I think that you were mislead about backport. Reading this it seems that what is meant is "use on an older kernel a driver shipped in a newer kernel".
  2. Anyhow on this page it is stated that your card [14e4:4328] is only partially supported by the b43 driver.
  3. So your best bet would be to use the Linux STA driver from BROADCOM. At least they claim to support your dual-band PCMCIA card in their README.txt.
  4. But as it may not be easy to install for a beginner (we will give you guidance as needed, though) and there were reports (maybe obsolete?) of a patch needed to make it work....
  5. Let us first make 100% sure it is exactly this chipset and how it is currently handled by your system.
So first, please type exactly following commands (as root for lspci) and post back full results.
Code:
lspci -vnn | grep -A10 14e4
lsmod

Last edited by Didier Spaier; 09-20-2013 at 05:19 PM. Reason: Typo
 
Old 09-20-2013, 05:18 PM   #22
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
Well, coming back from this thread...
<rant>But I've found 3 thread about your wireless card, really that doesn't help people to help you, so please be patient and keep only one thread open per topic, even if you don't get an answer within five minutes</rant>.

Back to your issue.
  1. I think that you were mislead about backport. Reading this it seems that what is meant is "use on an older kernel a driver shipped in a newer kerbel".
  2. Anyhow on this page it is stated that your card [14e4:4328] is only partially supported by the b43 driver.
  3. So your best bet would be to use the Linux STA driver from BROADCOM. At least they claim to support your dual-band PCMCIA card in their README.txt.
  4. But as it may not be easy to install for a beginner (we will give you guidance as needed, though) and there were reports (maybe obsolete?) of a patch needed to make it work....
  5. Let us first make 100% sure it is exactly this chipset and how it is currently handled by your system.
So first, please type exactly following commands (as root for lspci) and post back full results.
Code:
lspci -vnn | grep -A10 14e4
lsmod
Well this thread was specifically meant for the slackpkg questions, it got off topic. Also, I am new to slackware, this is true, but I do know a fair bit about what I'm doing... sometimes. These issues have just gotten out of my grasp. Regardless, here are the results (all hand typed unfortunately...):
Code:
:~#lspci -vnn | grep -A10 14e4
03:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 01)
        Subsystem: Linksys WPPC600N v1 802.11a/b/g/n Wireless-N CardBus Adapter [1737:0066]
        Flags: bust master, fast devsel, latency 64, IRQ 11
        Memory at c8000000 (32-bit, non prefetchable) [size=16K]
        Kernel Driver in use: b43-pci-bridge
That kernel driver line is what confused me last time I ran the command, because if I have some b43 driver in use, should I see at least power supplied to the device?

lsmod is way too long, so instead I'll post a pastebin link *HERE* when I move over to my laptop.

Last edited by slacker_; 09-20-2013 at 05:38 PM.
 
Old 09-20-2013, 05:27 PM   #23
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Sorry if you felt my post was harsh. At least yes, this is that chipset. I'll will wait for your lsmod, meanwhile I'll compile the driver on my laptop to see if there is any hurdle on the way.
 
Old 09-20-2013, 05:38 PM   #24
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
Sorry if you felt my post was harsh. At least yes, this is that chipset. I'll will wait for your lsmod, meanwhile I'll compile the driver on my laptop to see if there is any hurdle on the way.
Not harsh, just blunt. I prefer blunt. Less chance of misinterpretation.

Also, post has been updated
 
Old 09-20-2013, 06:11 PM   #25
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Arrow

Quote:
Originally Posted by slacker_ View Post
Not harsh, just blunt. I prefer blunt. Less chance of misinterpretation.
Unfortunately, English is not my native language and I have hard time with polysemous words (and you have many of them :-)

I could build, install and load the module without a hitch. so I think that's worth trying. You will need the kernel sources for 3.2.45, so if need be do this first
Code:
slackpk upgrade kernel-source
Then just follow README.TXT or if you want a summary:
Code:
mkdir hybrid_wl
cd hybrid_wl
wget http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz #assuming you need the 32bit version
tar xf *
make
su # become root now
cp wl.ko /lib/modules/3.2.45/kernel/drivers/net/wireless # assuming you installed a no-smp kernel, else replace 3.2.45 with 3.2.45-smp
depmod -a #re-generate modules' dependencies
rmmod b43 # to avoid conflict with this module (maybe others too, see README.txt)
modprobe wl
You should be all set then.

If that works, blacklist the modules you had to remove with 'rmmod' and add a line with:
Code:
modprobe wl
to /etc/rc.c/rc.modules-3.2.45

Please tell us the outcome.

PS I forgot to answer this:
Quote:
That kernel driver line is what confused me last time I ran the command, because if I have some b43 driver in use, should I see at least power supplied to the device?
It is not uncommon that, though a driver claim a device, it be not the best to handle it. If there is a conflict (several drivers claiming the same device), one have to determine which is the best and blacklist the other one (which is easier and sometimes only possible if it is compiled as a module). But I am not very knowledgeable there, so anyone please correct me if I am wrong.

Last edited by Didier Spaier; 09-20-2013 at 06:51 PM. Reason: PS added
 
Old 09-20-2013, 06:49 PM   #26
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Wrong post, sorry

Last edited by Didier Spaier; 09-20-2013 at 06:51 PM.
 
Old 09-20-2013, 08:18 PM   #27
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
Unfortunately, English is not my native language and I have hard time with polysemous words (and you have many of them :-)
That's very true. I'm a native speaker and even I am learning new ones all the time.

Quote:
Originally Posted by Didier Spaier View Post
I could build, install and load the module without a hitch. so I think that's worth trying. You will need the kernel sources for 3.2.45, so if need be do this first
Code:
slackpk upgrade kernel-source
Then just follow README.TXT or if you want a summary:
Code:
mkdir hybrid_wl
cd hybrid_wl
wget http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz #assuming you need the 32bit version
tar xf *
make
su # become root now
cp wl.ko /lib/modules/3.2.45/kernel/drivers/net/wireless # assuming you installed a no-smp kernel, else replace 3.2.45 with 3.2.45-smp
depmod -a #re-generate modules' dependencies
rmmod b43 # to avoid conflict with this module (maybe others too, see README.txt)
modprobe wl
You should be all set then.

If that works, blacklist the modules you had to remove with 'rmmod' and add a line with:
Code:
modprobe wl
to /etc/rc.c/rc.modules-3.2.45

Please tell us the outcome.

PS I forgot to answer this:It is not uncommon that, though a driver claim a device, it be not the best to handle it. If there is a conflict (several drivers claiming the same device), one have to determine which is the best and blacklist the other one (which is easier and sometimes only possible if it is compiled as a module). But I am not very knowledgeable there, so anyone please correct me if I am wrong.
I've used the wl module (built from source) before and it didn't work the way it should, wouldn't it be better to use the slackbuild packages for b43 or broadcom-sta (slackbuild for wl.ko)? If so, should/how do I remove the existing b43?

Last edited by slacker_; 09-20-2013 at 09:52 PM.
 
Old 09-21-2013, 12:20 AM   #28
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Welp, the source is no longer found on the broadcom website. Looked around, and I can't find it. The linux-sta hybrid driver is still available, but no where is the broadcom-sta source found.
 
Old 09-21-2013, 05:08 AM   #29
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Well, hybrid-sta and broadcom-sta are actually the same driver under different names, it seems. Also, you don't find the source because it is old and Broadcom seems to ship only the most recent driver.

But if you download the most recent one here the SlackBuild will fail, because the tarball versions don't match (but this can be easily fixed) and applying associated patch fail (as a source file has changed). But it seems that patch be no longer needed as the compilation goes fine without it.

I think that using the SlackBuild slightly updated to use the new source tarball is the way to go as it is cleaner than a direct install (afterwards the package can be managed with the Slackware tools), but as the end result should be the same, please first elaborate a bit the problem you had building it from source as the sentence "it didn't work the way it should" doesn't give much clue about what went wrong.

So please list the steps you followed and their results.

Last edited by Didier Spaier; 09-21-2013 at 06:29 AM.
 
Old 09-22-2013, 11:35 PM   #30
slacker_
Member
 
Registered: Aug 2013
Distribution: Debian, Slackware
Posts: 297

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by Didier Spaier View Post
Well, hybrid-sta and broadcom-sta are actually the same driver under different names, it seems. Also, you don't find the source because it is old and Broadcom seems to ship only the most recent driver.

But if you download the most recent one here the SlackBuild will fail, because the tarball versions don't match (but this can be easily fixed) and applying associated patch fail (as a source file has changed). But it seems that patch be no longer needed as the compilation goes fine without it.

I think that using the SlackBuild slightly updated to use the new source tarball is the way to go as it is cleaner than a direct install (afterwards the package can be managed with the Slackware tools), but as the end result should be the same, please first elaborate a bit the problem you had building it from source as the sentence "it didn't work the way it should" doesn't give much clue about what went wrong.

So please list the steps you followed and their results.
I'm going to try using the 3.10.* kernel tonight, but when I tried last time (I may have messed something up along the way) the wl driver wound up not allowing full access to the network, meaning that my connection was very slow as well as the 5ghz range was unavailable.
 
  


Reply

Tags
kernel, kernel 3, kernel upgrade, slackpkg, slackware 14


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
[SOLVED] Is there a yast type utility for Fedora 16? Specifically for NFS mkesling Linux - Newbie 3 02-13-2012 06:23 PM
Updating packages w/out Slackpkg Konphine Slackware 4 09-25-2011 03:40 PM
[SOLVED] Questions regarding Linux FTP, specifically vsftpd. EnderX Linux - Newbie 2 11-12-2010 01:44 PM
Slackpkg cannot find packages, swaret can mago Slackware 42 04-28-2007 01:35 AM
searching the utility unr303 Linux - Software 1 09-18-2002 07:33 AM


All times are GMT -5. The time now is 07:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration