https://bugzilla.redhat.com/show_bug.cgi?id=1951176
Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan(a)jonmasters.org,
| |kmod-maint(a)lists.fedoraproj
| |ect.org,
| |skozina(a)redhat.com,
| |ykaliuta(a)redhat.com
Component|systemd |kmod
Assignee|systemd-maint(a)redhat.com |kmod-maint(a)lists.fedoraproj
| |ect.org
--- Comment #2 from Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> ---
Hmm, this is strange. When executed in the real system, we correctly detect
that the module is built-in:
$ systemd-modules-load /usr/lib/modules-load.d/fwupd-msr.conf
Module 'msr' is built in
But when executed in the initramfs, this doesn't work for some reason.
$ chroot /var/tmp/initrd
(chroot)# /usr/lib/systemd/systemd-modules-load
/usr/lib/modules-load.d/fwupd-msr.conf
Failed to find module 'msr'
/usr/lib/modules/5.12.0-198.fc34.x86_64/modules.builtin in the initrafms does
list kernel/arch/x86/kernel/msr.ko.
But for some reason libkmod not not grok that.
$ grep -w msr /usr/lib/modules/5.12.0-198.fc34.x86_64/*
/usr/lib/modules/5.12.0-198.fc34.x86_64/modules.builtin:kernel/arch/x86/kernel/msr.ko
grep: /usr/lib/modules/5.12.0-198.fc34.x86_64/modules.builtin.modinfo: binary
file matches
grep: /usr/lib/modules/5.12.0-198.fc34.x86_64/modules.symbols.bin: binary file
matches
grep: /usr/lib/modules/5.12.0-198.fc34.x86_64/vmlinuz: binary file matches
$ grep -w msr /var/tmp/initrd/usr/lib/modules/5.12.0-198.fc34.x86_64/*
/var/tmp/initrd/usr/lib/modules/5.12.0-198.fc34.x86_64/modules.builtin:kernel/arch/x86/kernel/msr.ko
It seems that dracut is doing something wrong in constructing the module lists.
kmod maintainers, any advice?
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.