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.
On, slackware I use Pat's 'generic' kernel with MODULE_LIST="ext4:xhci-pci:xhci-hcd:usbhid:hid-generic" for the initrd.
When I build my custom kernels, which I use on CRUX, I configure those 5 as kernel built-ins, and have no modules in the initrd. Because there are no modules in the initrd, it is not version specific and doesn't need updating all that often. On a kernel update, I only have to copy the bzImage file into the elilo subdirectory of /boot/efi/EFI/
I guess the question is: if we did away with the generic/huge split and only had one kernel, what modules would people need built into 'generic' for people to be able to use it in place of 'huge'.
These 5 (and their unspecified dependencies) would do it for me.
I compared memory usage between kernel-generic-5.12.11-x86_64-1 + initrd and kernel-huge-5.12.11-x86_64-1. The initrd was made by 'mkinitrd -m ext4'. The difference in available total memory was 9636 KiB.
Last edited by Petri Kaukasoina; 06-18-2021 at 10:35 AM.
Regardless of my preferences, I'm glad there's both huge and generic kernels, so that we aren't all locked into one thing or the other. (Keeping with the Slackware philosophy that it shouldn't stand in the way of what you need.)
Since kernel modules go so far back into historical gear I know far more about what I don't need support for than what I do. This is mildly complicated by interactive modules that essentially have dependencies of their own. So I go the opposite direction. I pare down Huge and only hard code some of what I'm certain I need or desperately want like ext4 and specific CPU support along with realtime low latency. I very much dislike initrd which is only really required for encrypted systems that boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.