LinuxQuestions.org
Help answer threads with 0 replies.
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


View Poll Results: What kernel(s) do you use on your systems? Select all that apply!
generic 60 57.14%
huge 32 30.48%
custom build 32 30.48%
other 3 2.86%
Multiple Choice Poll. Voters: 105. You may not vote on this poll

Reply
  Search this Thread
Old 06-29-2017, 10:38 AM   #46
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

Generic+initrd. Sometimes I compile my own kernels but I usually stick with the generic config.
 
Old 06-30-2017, 11:03 AM   #47
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038

Original Poster
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
The poll results astound me. My expectation was that almost everyone used "generic" (since that is after all the recommended configuration), and people like me who use "huge" were a tiny minority. While "huge" users are the minority, it's a pretty big minority!

That actually makes me feel better about using it. Having so many "huge" users out there means that it's getting tested under a variety of environments and use-cases, and any bugs would get reported back to the Slackware team. I feel more assured now that the kernel I'm using isn't hiding latent bugs which using "generic" might avoid.
 
1 members found this post helpful.
Old 06-30-2017, 03:16 PM   #48
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by ttk View Post
The poll results astound me. My expectation was that almost everyone used "generic" (since that is after all the recommended configuration), and people like me who use "huge" were a tiny minority. While "huge" users are the minority, it's a pretty big minority!

That actually makes me feel better about using it. Having so many "huge" users out there means that it's getting tested under a variety of environments and use-cases, and any bugs would get reported back to the Slackware team. I feel more assured now that the kernel I'm using isn't hiding latent bugs which using "generic" might avoid.
I used to use generic because I was under the impression that it would improve performance by a noticeable margin. However, after a comment by Pat V. stating that the -huge kernel was not the performance hit as popularly believed, I went to it, and have not been disappointed. It's easier to compile and deploy (not that the -generic was particularly hard, it's that the -huge kernel is not such a hassle). I'd say that unless one has a special needs case where a -generic kernel is called for, just use -huge and be happy!

Happy Slacking!!
 
2 members found this post helpful.
Old 06-30-2017, 10:49 PM   #49
jstg
Member
 
Registered: Apr 2006
Distribution: Slackware
Posts: 59

Rep: Reputation: 37
Generic + initrd
 
Old 07-01-2017, 12:11 AM   #50
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I use generic since that is what is recommended for everyday use from my understanding after install.
 
Old 07-01-2017, 11:15 AM   #51
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Crux and LFS both require you to build your own kernel. I use the generic ones for Debian on Bigboy and for AntiX on Littleboy upstairs.

I think RadicalDreamer is right. If there is a generic kernel, it's best to use it because all the software will have been compiled to run on that kernel. But I must admit, I get irritated by the length of time it takes to load and I dislike having to use an initrd on principle.

Last edited by hazel; 07-01-2017 at 11:17 AM.
 
Old 07-01-2017, 11:35 AM   #52
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Actually I think most the time is taken up by udev doing it's thing. When I played with Crux (in a spare lvm lv on my slackware box) a little while ago I hand crafted an initrd with just enough to do the lvm stuff and mount root but without any udev. It booted in a few seconds. Unfortunately I no longer have it as I needed the diskspace for something else, but it was an interesting exercise. I like CRUX a lot, just not sure I could keep up with the rate of churn.
 
Old 07-01-2017, 04:13 PM   #53
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by GazL View Post
Actually I think most the time is taken up by udev doing it's thing. When I played with Crux (in a spare lvm lv on my slackware box) a little while ago I hand crafted an initrd with just enough to do the lvm stuff and mount root but without any udev. It booted in a few seconds. Unfortunately I no longer have it as I needed the diskspace for something else, but it was an interesting exercise. I like CRUX a lot, just not sure I could keep up with the rate of churn.
Did you keep notes? I never found a tutorial to create an initrd for Crux.

(I'm surprised you say there's a lot of churn with Crux.)
 
Old 07-01-2017, 05:39 PM   #54
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by hazel View Post
Crux and LFS both require you to build your own kernel. I use the generic ones for Debian on Bigboy and for AntiX on Littleboy upstairs.

I think RadicalDreamer is right. If there is a generic kernel, it's best to use it because all the software will have been compiled to run on that kernel. But I must admit, I get irritated by the length of time it takes to load and I dislike having to use an initrd on principle.
I am of a similar mind when it comes to initrd - I just don't have a need for any benefit it may offer so any cost is too much. I am curious about your endorsement of "generic" kernels since it is my (possibly mistaken) understanding that it is GCC compatibility and not kernel compatibility that is at issue - ie "all the software will have been compiled to run on that kernel" translates to "all the software is linked and somewhat locked to the GCC that compiled it".

Since I always custom build kernels, and need to for DAW work, I am unaware this presents any problem at all and have had no experience of such. Is this not true?

Code:
 bash-4.3$  uname -a
Linux homebase1 4.7.5 #1 SMP PREEMPT Fri Sep 30 05:51:31 EDT 2016 x86_64 Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz GenuineIntel GNU/Linux
 
Old 07-01-2017, 05:55 PM   #55
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by Gerard Lally View Post
Did you keep notes? I never found a tutorial to create an initrd for Crux.

(I'm surprised you say there's a lot of churn with Crux.)
Well, the slackware initrd works just fine with it. I started by borrowing both the slackware initrd and kernel for CRUX, but then I started writing my own. Unfortunately No, I didn't take notes as I was just playing about.

Maybe it was just unfortunate timing, but there were an awful lot of updates most days, which was why I mentioned churn. mesa was one that stood out to me at the time as it seemed like there was a new version almost every other day.
 
1 members found this post helpful.
Old 07-01-2017, 07:18 PM   #56
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by enorbet View Post
"all the software will have been compiled to run on that kernel" translates to "all the software is linked and somewhat locked to the GCC that compiled it".
I don't even think this is a requirement. I am using the 4.9 kernel from -current in my Slackware 14.1 install without issue, and that was compiled using GCC7, and 14.1 uses GCC4 (4.8.2).

I think it really comes down to what the binaries link to. The only thing that I think would be tied to kernels is 3rd-party modules.
 
Old 07-01-2017, 10:32 PM   #57
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by bassmadrigal View Post
I don't even think this is a requirement. I am using the 4.9 kernel from -current in my Slackware 14.1 install without issue, and that was compiled using GCC7, and 14.1 uses GCC4 (4.8.2).

I think it really comes down to what the binaries link to. The only thing that I think would be tied to kernels is 3rd-party modules.
Thanks. That makes even more sense and you're right, had I thought more I'd have realized I have experienced this so even GCC version is not necessarily a hard obstacle.
 
Old 07-02-2017, 03:18 AM   #58
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,570
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by enorbet View Post
I am curious about your endorsement of "generic" kernels since it is my (possibly mistaken) understanding that it is GCC compatibility and not kernel compatibility that is at issue - ie "all the software will have been compiled to run on that kernel" translates to "all the software is linked and somewhat locked to the GCC that compiled it".
There is a link through glibc (not gcc as far as I know) to the kernel headers against which glibc was compiled. But that doesn't affect the issue of whether you use a prebuilt kernel or a hand-rolled one. I was thinking rather of how some software expects certain kernel flags to be set, and you are not told which ones.
 
  


Reply

Tags
generic, huge, kernel



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
Which Desktop Operating Systems Do You Currently Run? jeremy Linux - General 355 09-30-2016 06:33 PM
[SOLVED] Run a script on multiple systems shivaa Linux - Newbie 1 10-18-2012 12:17 AM
Is there a way to run 3 operating systems? gatewaysolo9100 Linux - Laptop and Netbook 8 04-17-2007 01:39 AM
how to run linux on obsolete or other type of systems maddog12345 Programming 3 01-11-2006 01:18 AM
A GNOME Aplication can run in others systems?? Claus Linux - Software 1 09-13-2003 04:17 PM

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

All times are GMT -5. The time now is 11:58 AM.

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