-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dracut: include modprobed modules into initrd #4407
Conversation
anaconda-modprobe.sh tries to load some modules, but everything relies on them being included into initrd by any other ways, not directly. It leads to warnings printed on LiveCD startup that modules have not been found. Kernel 5.15.74-generic-1rosa2021.1-x86_64 is built with CONFIG_ISCSI_TCP=m, CONFIG_ISCSI_IBFT=m, but dracut module 90multipath did not include these modules into initrd. A better way would be to somehow avoid duplicating lists of modules in 2 files, but I don't have ideas how to implement it beautifully.
|
I wonder how this can happen in the first place. And I also do not like this duplication. |
That's a good question. dracut module I have to also have |
|
Do kernel modules really have to be modprobed by anaconda dracut module? |
|
The binaries required by the check() function from the |
|
iscsi-initiator-utils is called open-iscsi in ROSA Linux where it was run |
|
/kickstart-test --testtype smoke |
|
@rhinstaller/employees any volunteer to handle this? |
|
I am now not sure that it is a good solution, I see at least 3 possible ways to go:
It was wrote long time ago, I am not sure that dracut, udev and kernel cannot load these modules themselves. However, I don't have a test iSCSI server, unfortunately. If it can be virtualized, it would be good to document it. |
|
I like the third option. Just use module dependencies to get these parts in. However, it needs a lot of discovery and testing to do that step. |
|
This PR is stale because it has been open 60 days with no activity. |
|
This PR was closed because it has been stalled for 30 days with no activity. |
anaconda-modprobe.sh tries to load some modules, but everything relies on them being included into initrd by any other ways, not directly.
It leads to warnings printed on LiveCD startup that modules have not been found. Kernel 5.15.74-generic-1rosa2021.1-x86_64 is built with CONFIG_ISCSI_TCP=m, CONFIG_ISCSI_IBFT=m, but dracut module 90multipath did not include these modules into initrd.
A better way would be to somehow avoid duplicating lists of modules in 2 files, but I don't have ideas how to implement it beautifully.
Before:
After: