Bug 1951176
| Summary: | systemd-modules-load "Failed to find module 'msr'" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sampson Fung <sampsonfung> |
| Component: | kmod | Assignee: | kmod development team <kmod-maint> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 34 | CC: | fedoraproject, filbranden, flepied, jonathan, kasong, kmod-maint, lnykryn, msekleta, skozina, ssahani, s, systemd-maint, ykaliuta, yuwatana, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-07 22:57:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sampson Fung
2021-04-19 17:56:49 UTC
/usr/lib/modules-load.d/fwupd-msr.conf lists 'msr'. systemd-modules-load.service tries to load it and fails because it is currently built-in. We should be smart enough to figure this out and silently do nothing. 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? This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed. |