LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-28-2012, 07:44 PM   #1
derfzz
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Wise to upgrade Slackware Kernel?


Hi,

Is it wise to upgrade the Slackware 14.0 kernel from 3.2.29 to the most latest and stable release, 3.6.8?
 
Old 11-28-2012, 07:55 PM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,324

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Hi, Welcome to LQ.

I guess it depends on how comfortable you are with the kernel build process and resolving any issues an update may introduce.
Following the 3.2.x branch might be safer which is what I'm doing. Currently on 3.2.34.
 
1 members found this post helpful.
Old 11-28-2012, 07:56 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,919

Rep: Reputation: Disabled
A kernel upgrade is not likely to cause any problems. Slackware uses vanilla kernels without any patches.

I'm currently running 3.6.7 with no issues.
 
1 members found this post helpful.
Old 11-28-2012, 08:36 PM   #4
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 226

Rep: Reputation: 37
@Ser Olmy,
Did you use the 'huge' or 'generic' config as template?
I have tried 3.6.8 with the huge config and trying to go easy on myself ...
Code:
yes "" | make oldconfig
I found that DLM gave me errors (CONFIG_GFS2_FS_LOCKING_DLM=y) so had to change it to 'n'.
It then compiled with no (serious) errors, but I can't run it - alas - the infamous "failed to mount filesystem on ..."

I tried a good oldfashioned 'make oldconfig' but was asked wayyy too many questions for my simple mind.

If your config-3.6.7 is 32-bits, would you mind terribly posting it somewhere?
Thanks in advance.

Last edited by perbh; 11-28-2012 at 08:38 PM.
 
Old 11-28-2012, 08:47 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,919

Rep: Reputation: Disabled
Quote:
Originally Posted by perbh View Post
I tried a good oldfashioned 'make oldconfig' but was asked wayyy too many questions for my simple mind.

If your config-3.6.7 is 32-bits, would you mind terribly posting it somewhere?
Thanks in advance.
I'm afraid I'm running x86_64.

I used the "huge" kernel as a template (downloaded the new kernel, zcat'ed /proc/config.gz to .config, ran make oldconfig and then make menuconfig to change the setting for all non-critical drivers to be compiled as modules).
 
Old 11-28-2012, 09:15 PM   #6
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
I've thought about creating a poll about the habits of most slackers.. Do people sit on the stock kernel released with Slack? Or is it a good idea to update the kernel in the same branch (3.2.29 -> 3.2.34)? Jump to the latest release (3.6.8)?
 
Old 11-28-2012, 09:20 PM   #7
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by D1ver View Post
I've thought about creating a poll about the habits of most slackers.. Do people sit on the stock kernel released with Slack? Or is it a good idea to update the kernel in the same branch (3.2.29 -> 3.2.34)? Jump to the latest release (3.6.8)?
I am using 3.6.7, I was getting some battery drain on my Thinkpad T520 with the stock.
 
Old 11-28-2012, 09:47 PM   #8
derfzz
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
so usually upgrading the kernel is a good idea on most linux distros?

i am following this guide: http://alien.slackbook.org/dokuwiki/...rnelbuilding&s[]=kernel&s[]=compile

hopefully all goes well

Last edited by derfzz; 11-28-2012 at 09:51 PM.
 
Old 11-28-2012, 09:51 PM   #9
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by derfzz View Post
so usually upgrading the kernel is a good idea on most linux distros?
Depends on your distro. In Slackware it is much easier and straightforward. Other distro have the kernels so heavily patched it's like playing Twister with a greased pig.

http://docs.slackware.com/howtos:sla...kernelbuilding

Using the above link, I can build a new kernel in 15 - 20 minutes.
 
Old 11-28-2012, 09:54 PM   #10
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 226

Rep: Reputation: 37
@derfzz
I wouldn't think so. On Slackware it should be ok because of lack of patches.
If you look at eg. Redhat - they have 1000+ patches to their kernel - I wouldn't change that for love nor money! (which I guess is the whole purpose of having an 'enterprise' distro ...)

Beaten to it by SqdnGun ...
 
Old 11-28-2012, 09:58 PM   #11
qweasd
Member
 
Registered: May 2010
Posts: 436

Rep: Reputation: Disabled
Playing around with the kernel is so easy in Slackware, it's addictive.
 
Old 11-28-2012, 10:17 PM   #12
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 184

Rep: Reputation: 35
Wasn't Pat going to go with the 3.4 kernel for Slackware 14 but reverted back to 3.2 because something wasn't working right?
 
Old 11-28-2012, 10:19 PM   #13
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by narz View Post
Wasn't Pat going to go with the 3.4 kernel for Slackware 14 but reverted back to 3.2 because something wasn't working right?
Correct.
 
Old 11-28-2012, 10:35 PM   #14
barutanseijin
LQ Newbie
 
Registered: Aug 2011
Distribution: Slackware
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by SqdnGuns View Post
I am using 3.6.7, I was getting some battery drain on my Thinkpad T520 with the stock.
Same here. The newer kernels are a bit easier on the old battery.
 
Old 11-28-2012, 10:47 PM   #15
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Quote:
Originally Posted by barutanseijin View Post
Same here. The newer kernels are a bit easier on the old battery.
If you don't use Bluetooth then disable it, that is a huge drain. I am also running thinkfan as well and have really improved battery life.
 
  


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
Split a file, byte-wise, not character-wise. stf92 Linux - Newbie 4 11-17-2010 06:43 AM
how to Block a site in a Firewall or Router by Protocol wise & host wise. shahid khan Linux - Security 2 06-26-2009 04:13 PM
is it safe running slackware 10.1 now, security-wise? guy24x Slackware 12 05-05-2008 02:48 PM
bandwidth allocation by user wise and ip wise basbosco Linux - Networking 1 11-12-2003 02:54 AM
is it wise to upgrade to kernel 2.4.21 duister Slackware 26 08-16-2003 03:39 PM


All times are GMT -5. The time now is 02:40 PM.

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