LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08: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 08:19 PM.
 
Old 06-23-2013, 08:19 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,614
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
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, 06: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 06:18 AM.
 
Old 06-24-2013, 07:08 AM   #4
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,518

Rep: Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180
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 07:26 AM. Reason: Added "possibly upograding only the kernel... "
 
Old 06-24-2013, 07:51 AM   #5
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 78

Rep: Reputation: 27
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, 04: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, 07:36 PM   #7
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 238

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


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


All times are GMT -5. The time now is 03:57 AM.

Main Menu
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