LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-17-2015, 02:45 PM   #1
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current,
Posts: 550

Rep: Reputation: 196Reputation: 196
-current users: Do you recompile kernels after updating?


And why? Or alternately why not?
 
Old 02-17-2015, 05:31 PM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
No. No reason to do so.
 
Old 02-17-2015, 05:51 PM   #3
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I have been playing with kernel 3.19 on a spare laptop with -current on it, just for the sake of re-learning. Its been a long time since I had to compile one.

There are a lot of reasons that compiling your own kernel that your PC can benefit from. Security, speed and stability are just a few.
 
Old 02-17-2015, 08:48 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
No. Somewhere along the line, I should learn how to compile a kernel, but I haven't done so yet.
 
Old 02-17-2015, 09:06 PM   #5
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
I am compiling kernels a lot more since I scripted it:

https://github.com/ryanpcmcquen/linu...re/kernelMe.sh

But I do not usually recompile after updates. I do, however, reinstall quite often.
 
2 members found this post helpful.
Old 02-17-2015, 09:41 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I have recompiled kernels, but, have not in quite some time. Have not needed to after updating.
 
Old 02-18-2015, 04:50 AM   #7
mr.baconcheese
LQ Newbie
 
Registered: Feb 2015
Location: Sanur, Bali, Indonesia
Distribution: Slackware Current, Funtoo, Arch, Free BSD
Posts: 1

Rep: Reputation: Disabled
I recompile the Slackware kernel and take out stuff I don't need for my system (especially modules). I use it as back up in case one of my home cooked kernels fails. I have compiled my own kernels for years because of Gentoo/Funtoo/Crux/LFS usage so I consequently do it for all distros I run. These everything including the kitchen sink kernels that work OOTB are great for most users(especially on stable systems) and to have as a back up but once you "have to" compile/recompile your kernel and do it a few times, you realize that it's not that intimidating of a task. I'm running 3.18.7 with Slackware current right now.
 
Old 02-18-2015, 05:01 AM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Why do you ask?

I update my kernels periodically to the latest of Greg's stable branch kernels, but it has nothing to do with anything that goes on in -current. Like ryan, I've scripted the build process, so build effort is minimal.
 
1 members found this post helpful.
Old 02-18-2015, 05:30 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,349

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I usually ony recompile kernels on older hardware where resources are limited. When I do recompile a kernel I get rid of everthing I don't need or plan on not using. I always keep a working kernel in case I take out items I needed for things to work.

Last edited by colorpurple21859; 02-18-2015 at 12:14 PM.
 
Old 02-18-2015, 05:32 AM   #10
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by ryanpcmcquen View Post
I am compiling kernels a lot more since I scripted it:

https://github.com/ryanpcmcquen/linu...re/kernelMe.sh

But I do not usually recompile after updates. I do, however, reinstall quite often.
I tried it but it only got this far:

Code:
./kernelMe.sh: line 197: warning: here-document at line 34 delimited by end-of-file (wanted `EOF')
./kernelMe.sh: line 198: syntax error: unexpected end of file
 
Old 02-18-2015, 06:19 AM   #11
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
use the small kernel config, include the filesystem driver to not require an initrd, add a personal tag to the name to make uname looking good
 
Old 02-18-2015, 06:47 AM   #12
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
No, usually before
 
Old 02-18-2015, 07:00 AM   #13
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
I assume you use custom kernel.

No, I don't update kernel. You must only be sure that new glibc support your kernel. "Current" requires now 3.2.29 kernel, if you have newer one, you don't need update it.
 
Old 02-18-2015, 11:53 AM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'm not a -current user, but the added support for Xbox One controllers a good enough reason for me to build a newer kernel on my desktop.
 
Old 02-18-2015, 11:59 AM   #15
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Quote:
Originally Posted by rkfb View Post
I tried it but it only got this far:

Code:
./kernelMe.sh: line 197: warning: here-document at line 34 delimited by end-of-file (wanted `EOF')
./kernelMe.sh: line 198: syntax error: unexpected end of file
Do you have kernelMe.sh in /usr/src?

EDIT:
Try reinstalling the script, there isn't a EOF on that line, so clearly something happened in transit. For convenience I added a quick install tut at the top of the script:

Code:
################################
### TO INSTALL/USE:
### wget -N https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/slackware/kernelMe.sh -P /usr/src/
### cd /usr/src/
### sh kernelMe.sh
################################

Last edited by ryanpcmcquen; 02-18-2015 at 12:54 PM.
 
1 members found this post helpful.
  


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
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM
Updating to 10.2 and effects on kernels Woodsman Slackware 2 11-23-2005 05:29 PM
updating and kernels dreaded Mandriva 9 09-02-2004 11:30 AM

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

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