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-12-2014, 11:15 AM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,999

Rep: Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133Reputation: 5133

3.10.17 is getting a little long in the tooth. IMO it is worthwhile building the latest 3.10.y kernel, even if you build it using Pat's stock 'generic' kernel config file and make no other changes to it. I'm not suggesting one should build every 3.10.y that comes along, but I believe it prudent to catch-up every once in a while.
 
2 members found this post helpful.
Old 06-12-2014, 11:34 AM   #17
ymf331
Member
 
Registered: May 2014
Posts: 50

Original Poster
Rep: Reputation: Disabled
Thanks for all the replies. And yeah, I'm only really messing around for educational purposes.
 
Old 06-12-2014, 11:49 AM   #18
ymf331
Member
 
Registered: May 2014
Posts: 50

Original Poster
Rep: Reputation: Disabled
I'll accept something like 'not particularly' as a solution here. I'll probably play with kernels still. Nothing will come from sitting around on my desktop waiting to be an expert, right?
 
Old 06-12-2014, 11:53 AM   #19
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
Check out AlienBOB's wiki on how to build the kernel. I always just do some minor changes like Preemption model. I change it to Desktop. I've also started disabling the kernel debug as it could potentially make your kernel faster, but I don't have any concrete numbers to back that up.
 
Old 06-12-2014, 12:23 PM   #20
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,905

Rep: Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531Reputation: 4531
A generic kernel is fine, and Pat's is top-notch....HOWEVER as he states, he does not impose his views by assuming he knows what users wish to do with their PCs. If you are building a DAW, or even merely heavily involved with multimedia, including gaming, there is very definitely advantage to be had in creating a low-latency and/or realtime kernel. "Huge" and "Generic" in Slackware's case are not just cute names, but rather functionally descriptive. Choose according to your taste, jobs, and skillset. "One man's meat......"
 
1 members found this post helpful.
Old 06-12-2014, 12:44 PM   #21
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
This may be useful:
http://docs.slackware.com/howtos:sla...git_repository
 
Old 06-12-2014, 02:51 PM   #22
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
A "localmodconfig" kernel can be a pain in the arse, especially when introducing new devices. Unless you're really low on RAM building smaller kernels has little benefit. (being faster to build is the greatest benefit IMO)

localyesconfig kernels can be a bugger to get working on some hardware - I've always had trouble with framebuffer/display devices.

I've also had USB HID problems with both types of kernel and had to use an initrd anyway (no idea why).

I like the generic kernel and just base my kernels off that one with minimal changes.
Code:
$ uname -srvmpio
Linux 3.15.0 #1 SMP PREEMPT Tue Jun 10 21:10:55 BST 2014 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux
It's good to experiment though.
 
Old 06-12-2014, 03:00 PM   #23
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I update my kernel regularly, so I need it to be stripped down. It's not that difficult, but is time-consuming. I'm not gonna stop doing just because of that tho. I set aside a few hours and do it once per system and maybe a bit when changing major kernel versions.
 
Old 06-12-2014, 03:07 PM   #24
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I update my kernel with each release,.. but it isn't time consuming anymore. I mean, I use the previous settings from the previous kernel, then look at the new CONFIG options and enable or ignore them.

The original config took a long time, but each new config might take me 10m to fly through.
 
Old 06-12-2014, 03:12 PM   #25
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by jtsn View Post
You have to consider beginners reading threads like these, following the instructions (especially if they are advertised as "easy way") and ending up with a sub-par or non-working configuration. There are enough people out there believing that you must compile a kernel to get a well-working Linux installation due to the community representing the topic from a very narrow point of view.

Creating custom kernels is an advanced task for people, who exactly know what they are doing. There is a even a possibility to damage hardware or firmware by wrong kernel settings. So if someone doesn't know why he should compile a kernel, he usually doesn't need to.
You can get a well-working Linux install without compiling your own kernel. You can get an excellent-working Linux install only by compiling your own kernel.

It is an advanced task, but you don't necessarily need to know exactly what you are doing, you can get by with just having an idea of what you are doing without knowing in-depth. Although damaging your hardware cannot be excluded for legal disclaimer purposes, it is very rare. I've been compiling my own kernels for years, initially not knowing exactly what I was doing, and never had any hardware issues due to this.

It is a learning process, and fear is what keeps most people from learning (more than just computers). I have no fear, and I have learned a lot. The more you learn/understand the less you fear. If you don't face your fears and dive in, you'll be doomed to a life of fear and ignorance. Definitely worth it to dive in and learn.

EDIT:
It would be worthwhile to know how to recover the system in case the kernel doesn't boot. You should probably keep a known good kernel around and have a boot entry for it. If you forgot to do that, you can always boot the Slackware install disk, install the kernel and configure lilo, NO need for full re-install.

Last edited by metaschima; 06-12-2014 at 03:15 PM.
 
Old 06-12-2014, 04:15 PM   #26
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Teal'c would've said: "That is most unlikely."
Indeed.
 
2 members found this post helpful.
Old 06-12-2014, 07:49 PM   #27
ymf331
Member
 
Registered: May 2014
Posts: 50

Original Poster
Rep: Reputation: Disabled
He he yeah. I get most of this and, while I do have regular questions, the links are almost always what's guiding me through whatever process when I ask. I planned on sticking to -current, and was trying to devise a reasonable way to keep from screwing up my boot beyond my ability to mount/repair. Experience has been a great teacher, but mostly I've learned how much trouble it all is. That aside, I haven't been completely wowed by the recent version of someapp since I've been at it. I think that I figured out what I needed to know. Stick with the stable upgrades and go through it annually or some such.
 
  


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
Make error while compiling kernel ls_milkyway Linux - Software 3 04-02-2014 02:15 AM
kernel compiling with make=0 error jamesbon Linux - General 2 09-12-2010 12:04 AM
Cannot make bzImage after compiling 2.6.20.1 kernel athenian200 Linux - Kernel 3 03-03-2007 03:40 AM
Is KDE 3.5 worthwhile for kernel 2.4.32 user auditek747 Slackware 6 02-21-2007 02:46 AM
make errors while compiling a kernel naild2thefloor *BSD 4 02-28-2004 03:43 PM

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

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