Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605340 - sys-kernel/genkernel-next module parameters
Summary: sys-kernel/genkernel-next module parameters
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel-next (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 03:08 UTC by Georgy Yakovlev
Modified: 2020-08-20 12:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge.info,6.43 KB, text/plain)
2017-01-11 03:08 UTC, Georgy Yakovlev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2017-01-11 03:08:40 UTC
Created attachment 459550 [details]
emerge --info output

Hi, I wanted to try genkernel-next-65 for a couple of new features, but the problem with it is that genkernel-next script does not copy module parameters to initrd.

I quickly checked the code and it seems it only grabs blacklist.
genkernel-next/gen_initramfs.sh line 641
https://github.com/Sabayon/genkernel-next/blob/90eb5850696c3dfde2ae6c7366b39f5d0831565a/gen_initramfs.sh



I have parameters specified in multiple places:

/etc/conf.d/modules
/etc/modprobe.d/*.conf

also there is 
/etc/modules-load.d/*.conf but it only specifies modules to load, not the parameters. 

of them works with genkernel-next.

Is it a bug or intended behavior? I have couple of modules that I'd like to pass parameters early on boot, without using /etc/rc.local with echo to sysfs.


It seems original genkernel just copies entire directory
see this commit
https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ddf2c5b934da598d33f4db0457cc8806f86bba2d


function append_modprobed() from gen_initramfs.sh of original genkernel master branch.
Comment 1 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-01-11 11:20:24 UTC
Thanks for reporting. Yes, it seems you are right, the functionality in genkernel-next is also documented but it is missing.  Working on it, will be available in next releases.
Comment 2 Floyd Anderson 2017-01-30 03:02:49 UTC
(In reply to Ettore Di Giacinto from comment #1)
> Working on it, […]

If possible please consider to take also /lib/modprobe.d/*.conf into account because it may bring back a warning (bug #260139) due to sys-apps/kmod installs usb-load-ehci-first.conf there.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-20 12:51:02 UTC
Package removed.