SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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!
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.
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.
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.)
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
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.
"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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.