Created attachment 873414 [details] logs for genkernel 4.3.6 and 4.3.7 after generating initramfs with genkernel-4.3.7, my system failed to boot because zfs.ko was no longer included in it (even though it exists in /lib/modules/$ver/extra/) Pretty sure it's this commit that not only modifies firmware inclusion but also the way modules are copied (but I just glanced through it): https://github.com/gentoo/genkernel/commit/08b4f191c9fb064f8564d888e3969a02b0384a32 I'm attaching genkernel logs from both genkernel 4.3.6 and 4.3.7, the difference is clearly visible.
genkernel doesn't really have an active maintainer, so you will likely need to submit a fix or revert for this yourself.
Sure, I can try to contribute something. Should I look at how to contribute properly or would attaching a patch here be enough? To be honest I don't like that the patch I referenced does so many changes not related to firmware, so was hoping the author would roll it back and provide a fixed version based on my report :-) Thanks!
If you want to submit a fix, either a pull request on Github (https://github.com/gentoo/genkernel) or a patch generated using "git format-patch" will suffice.
Created attachment 873419 [details, diff] gen_moddeps.sh: ALLRAMDISKMODULES fix Looks like /lib/modules/${KV_FULL}/modules.order doesn't contain extra modules. linux-mod-r1.eclass uses depmod (sys-apps/kmod). And it doesn.t generate the new modules.order. Try to apply attached patch. BTW: why do you use ALLRAMDISKMODULES="yes"?
Created attachment 873424 [details, diff] gen_moddeps.sh: ALLRAMDISKMODULES fix 2
The fix added here: https://github.com/gentoo/genkernel/pull/51
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c691ab1f1e2493e5ca16ab23545ad3c87f152802 commit c691ab1f1e2493e5ca16ab23545ad3c87f152802 Author: Dmitry Baranov <reagentoo@gmail.com> AuthorDate: 2023-10-25 12:27:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-28 01:58:52 +0000 gen_moddeps.sh: fix including extra modules when ALLRAMDISKMODULES="yes" depmod util doesn't care about updating modules.order when the new extra modules was installed. Bug: https://bugs.gentoo.org/916233 Signed-off-by: Dmitry Baranov <reagentoo@gmail.com> Closes: https://github.com/gentoo/genkernel/pull/51 Signed-off-by: Sam James <sam@gentoo.org> gen_moddeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a6def6b0bcf398ae46ede3c09687cce7994018 commit 29a6def6b0bcf398ae46ede3c09687cce7994018 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-28 02:00:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-28 02:01:42 +0000 sys-kernel/genkernel: add 4.3.8 Closes: https://bugs.gentoo.org/916233 Signed-off-by: Sam James <sam@gentoo.org> sys-kernel/genkernel/Manifest | 1 + sys-kernel/genkernel/genkernel-4.3.8.ebuild | 324 ++++++++++++++++++++++++++++ 2 files changed, 325 insertions(+)
Please try 4.3.8 and reopen if it doesn't do the job.