LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-23-2013, 07:16 PM   #1
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Rep: Reputation: 5
Question question about upgrading kernel packages


So, im now using slackware 64b - current to Mon Jun 10 21:51:54 UTC 2013, which contains the 3.9.5 kernel, and i noticed that there have been some updates in the current ftp that contains version 3.9.7, my question is, if i update to current what happens to the kernel version im currently using, is gonna be replaced entirely or is gonna be saved somewhere, and what will happen to the AMD driver that is installed, i will have to install it again? that is not a problem, i just want to know details about what will happen if I do an update with slackpkg.

i know there are always risks with using the current version, i just want to know if is safe to do it so.

thanks.

Last edited by cisneros; 06-23-2013 at 07:19 PM.
 
Old 06-23-2013, 07:19 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
It depends on how you have slackpkg configured. It is recommended to blacklist the kernel package for slackpkg, so that it doesn't get automatically updated. Rather use installpkg manually to install the newer kernel and add a new section for that kernel yourself to the bootloader. This way you can revert back to the kernel you are currently running when there are problems with the new kernel.

Regarding the AMD driver, yes, you have to install it again. Keep in mind that you probably also have to do that if you get updates for Mesa and libdrm.
 
Old 06-24-2013, 05:16 AM   #3
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Original Poster
Rep: Reputation: 5
but lets say im using a laptop with not so old hardware, 2011-2012, do you think it would be better to update the kernel or keep the old one? i mean do kernel support for recent hardware really changes that much over versions?. just asking. thanks for your time.

in any case i think im gonna wait a few more updates to upgrade the system. everything is working as it should be right now.

Last edited by cisneros; 06-24-2013 at 05:18 AM.
 
Old 06-24-2013, 06:08 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Generally speaking, I think that third digit kernel updates do not introduce new features or drivers, only fixes.

OTOH, running -current is mainly intended for people eager to test it before it becomes the next stable release, so it'd seem consistent with that aim to follow updates you see in the Changelog.

Else and unless you know that you'd miss a driver using it, IMO it's better to run the most recent stable release instead or current, possibly upgrading only the kernel (that you would then build yourself, helped by information provided @ docs.slackware.org), but only if really needed to support your hardware.

Last edited by Didier Spaier; 06-24-2013 at 06:26 AM. Reason: Added "possibly upograding only the kernel... "
 
Old 06-24-2013, 06:51 AM   #5
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
Hi

Whenever you install or upgrade to a new kernel, you will have to rebuild (compile) kernel modules against your new kernel.
This include GPU blob (NVidia and AMD), virtualbox kernel drivers, xtables, and so on.
Beware some of the of theses build process work only with the running kernel. You will have to first reboot with the new kernel in a low runlevel (3 is generally fine, avoid 4 and graphical login), build and install the extra modules against the new kernel, and reboot again.

I do it that way each time I upgrade the kernel in -current.

Cheers
 
Old 06-25-2013, 03:17 AM   #6
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Original Poster
Rep: Reputation: 5
well in closing, i made an upgrade of all packages (kernel included) and everything is working fine.
 
Old 06-25-2013, 06:36 PM   #7
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
Quote:
Originally Posted by cisneros View Post
well in closing, i made an upgrade of all packages (kernel included) and everything is working fine.
I only ran into problems with upgrading the kernel when using the generic kernel. Then it's a little more tricky and then you should blacklist the kernels are suggested.
 
  


Reply



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] Upgrading Slackware64 Kernel Packages Crashbox Slackware 2 01-28-2010 12:12 PM
Question about upgrading to 2.6.x kernel cothrige Slackware 3 03-18-2006 10:00 PM
Kernel Upgrading Question hsimah Slackware 3 03-11-2006 02:15 AM
apt question: exclude certain packages from upgrading? ice99 Linux - Software 1 09-21-2005 09:18 PM
Question about upgrading kernel fireforge Linux - Software 2 03-19-2002 02:18 PM

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

All times are GMT -5. The time now is 01:58 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