LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Do You Compile Your Own Kernel or Use The One Shipped With Your Distribution?
I compile my own kernel (official tree) 51 17.47%
I compile my own kernel (other tree) 6 2.05%
I use the kernel shipped with my distribution 223 76.37%
Other 12 4.11%
Voters: 292. You may not vote on this poll

Reply
  Search this Thread
Old 08-30-2016, 01:14 AM   #31
shanek54
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0

I compile my own kernel only when I need to, and that is an increasingly rare event these days.
I use Salix, Slackware, CentOS and Mint - all of which provide kernels that do the job on all my hardware.
I also use gentoo on a machine that needs to be as fast as possible, and that is compiled.
All in all, I don't see the need these days (although perhaps I should keep doing it just for the experience...)
 
Old 08-30-2016, 01:41 AM   #32
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Most of the kernels and modules that I had compiled in the past, were for the job.
Since about 2.6, I do no longer compile kernels as I did not want to adapt to the latest changes and the job did not ask for it, nor do I buy a machine before the compatibility of all components with current kernels and available drivers is assured.

Last edited by Michael Uplawski; 08-30-2016 at 07:17 AM. Reason: Kraut2English
 
Old 08-30-2016, 04:26 AM   #33
glardner
LQ Newbie
 
Registered: May 2009
Location: Ireland
Posts: 3

Rep: Reputation: 0
I have compiled kernels in the past, for oddball hardware. But normally - always, in recent years - the stock kernel has been adequate.
 
Old 08-30-2016, 07:10 AM   #34
cimek
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Rep: Reputation: 0
Using stock from distro.
 
Old 08-30-2016, 08:58 AM   #35
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Compiling your own kernel is actually quite easy, start of with the config file from your host system ( Slackware's 'Huge' config is ideal ) as it will have all the bits you need to start off and then just slowly remove the bits you don't need, you will soon find out the important bits, and you can get rid of all the stuff you don't need or will never use.
 
1 members found this post helpful.
Old 08-30-2016, 09:05 AM   #36
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
In the past year I have compiled my own on two machines. The reason on both was the graphics adapter and the drivers would not work together without a patch to the kernel. In both cases the patch existed, and finding it was the hard part.

I took the stock config, applied the patch and re-compiled the kernel. I have no other reason compile a kernel though.
 
Old 08-30-2016, 10:04 AM   #37
TRK-hun
LQ Newbie
 
Registered: Jul 2012
Distribution: ubuntu
Posts: 25

Rep: Reputation: Disabled
Has compiled in 2000, it was necessary for some of the hardware, but later I won only a few seconds to start up. This is not the time for it. Now I think about it again, because the USB does not return to sleep after.

ubuntu 16.04 lts

sundialsvcs

This is exactly what you have written is really good. If you could offer me an operating system optimized for multimedia and graphics, which I will be very happy and I'm thinking how to thank you (I'm a carpenter, sculptor).This is exactly what you have written is really good. If you could offer me an operating system optimized for multimedia and graphics, which I will be very happy and I'm thinking how to thank you (I'm a carpenter, sculptor).
 
Old 08-30-2016, 10:35 AM   #38
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
I use and compile the generic kernel for testing - and normally in a VM.

Rarely have I (in the last 20 years) needed to compile the kernel for a specific patch, but it occasionally happens.

Most of the time the distribution kernel is fine.
 
Old 08-30-2016, 11:02 AM   #39
manuchelo
Member
 
Registered: Mar 2011
Location: Brasil
Distribution: Slackware current
Posts: 43

Rep: Reputation: 31
I use kernel Slackware. Only Slackware is KISS and Patrick Volkerding his prophet
 
Old 08-30-2016, 11:18 AM   #40
jefelex
LQ Newbie
 
Registered: Oct 2010
Distribution: mate 14.04
Posts: 6

Rep: Reputation: 0
common

I also used to compile my own as an experiment, but now there seems to be no advantage to compiling or using the stock kernel - stock is fast enough, everything works, if it aint broke don't fix it!!
 
Old 08-30-2016, 11:32 AM   #41
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
One problem is that, while the Source packages are supposed to exactly correspond to the binaries, sometimes they don't.

Also, when you compile it yourself, you might not select exactly the same configuration-options and/or compiler switches that the distro publishers actually did. These differences can be important.
 
Old 08-30-2016, 11:47 AM   #42
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Original Poster
Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Bonus Question: Is there anyone still active at LQ who used the -lq kernel patchset? If I recall correctly the last release was in late 2002.

--jeremy
 
Old 08-30-2016, 11:54 AM   #43
dab1414
Member
 
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 76

Rep: Reputation: 52
I have compiled kernels before. But since going back to Slackware I am using the stock generic kernel with initrd. That is on my desktop where it is almost never powered down or rebooted, so no real need imo to compile. Now when I get a new laptop I will absolutely compile the kernel.
 
Old 08-30-2016, 12:23 PM   #44
OldNuc
LQ Newbie
 
Registered: Oct 2011
Location: Far southwestern Iowa
Distribution: Arch x86_64
Posts: 3

Rep: Reputation: Disabled
Use the shipped kernel. Have not found any reason to require compile it myself.
 
Old 08-30-2016, 12:55 PM   #45
X-File
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Depends what distro I'm using. I grew up on Slackware where I compiled my own kernel and got quite good at it. Only adding what I needed making it much more secure. Now a days I use CentOS for most of my stuff and enjoy the ease of use of yum. Basically I'm lazy now but if I need to deploy something with security in mind I will compile it myself.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change the shipped kernel on a Live CD scmbg Linux - Kernel 1 10-31-2008 12:28 AM
cannot re-compile fedora8 distribution kernel bjharker Fedora 1 09-19-2008 08:54 PM
Compile Wine to be distribution independent ? Dark Carnival Linux - Software 0 11-28-2007 04:38 AM
sound driver shipped in kernel, not listed in xconfig reetep Linux - General 4 01-29-2004 03:25 PM
Slackware 8.1 shipped? lto Slackware 7 07-15-2002 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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