LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 06-18-2021, 08:16 AM   #1
Roman Dyaba
Member
 
Registered: Sep 2020
Location: Russia, 690016 Vladivostok city, street Osipenko home 66, tel: +79247350007
Distribution: Slackware, UbuntuStudio, FreeBSD, GhostBSD
Posts: 317

Rep: Reputation: 40
Exclamation INITRD vs MODULES FROM DISK vs HUGE


INITRD vs MODULES FROM DISK vs HUGE
 
Old 06-18-2021, 09:34 AM   #2
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
yes
 
Old 06-18-2021, 09:47 AM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Roman Dyaba View Post
INITRD vs MODULES FROM DISK vs HUGE
I use generic with initrd. That way I can modify the initrd to reflect my luks setup.
 
Old 06-18-2021, 09:48 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Trying to add some value to this thread...

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.

Last edited by GazL; 06-18-2021 at 09:49 AM.
 
3 members found this post helpful.
Old 06-18-2021, 10:20 AM   #5
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,787

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
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.
 
Old 06-18-2021, 11:04 AM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
I use custom kernel, all drivers built-in, with initrd

Just add the intel microcode in my mkinitrd.conf :
Code:
MICROCODE_ARCH="/boot/intel-ucode.cpio"
 
Old 06-18-2021, 12:43 PM   #7
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
The difference in available total memory was 9636 KiB.
Back in the day, that was a big chunk of memory.
Now its 0.009190 GiB.
 
Old 06-18-2021, 12:53 PM   #8
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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.)
 
1 members found this post helpful.
Old 06-18-2021, 02:41 PM   #9
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
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.
 
  


Reply

Tags
huge, initrd



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
Huge kernel boots--Huge.SMP (and generic.smp) kernel will not MTCAT Linux - Newbie 4 02-03-2021 02:11 PM
Slackware 13.1 huge smp is not huge cs_strong Slackware 4 11-16-2010 07:41 AM
Can't boot 12.1 - How to re-create huge initrd? JustInterested Slackware 10 10-17-2008 07:48 PM
Huge amount of "PHP Notice:" -> huge logs Braynid Linux - Software 4 03-18-2008 06:35 AM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 08:15 AM

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

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