-
Notifications
You must be signed in to change notification settings - Fork 396
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
iscsi: Fix ibft boot with network-manager module #697
Conversation
Only generate rd.iscsi.ibft=1 or rd.iscsi.firmware=1 once and ensure they are space separated. Signed-off-by: Kairui Song <kasong@redhat.com>
Currently with 35network-manager iscsi ibft won't work because parse-ibft hook is only installed by 35network-legacy. Let 95iscsi install it instead. Signed-off-by: Kairui Song <kasong@redhat.com>
Can one of the admins verify this patch? |
No, this is completely wrong. |
If it won't work for you, please file an issue with details. |
@lkundrak Yes you are right, but I have a question, nm-initrd-generator seems to expect one to pass ip=ibft to work, but the parse-ibft.sh will automatically append the network configure required by ibtf to cmdline when ever it found there is ibft info. So some previous working enviroment is |
I think anyway the second commit is useless then, the first commit should still be a valid fix. |
Do process the connections from the iBFT block if the rd.iscsi.ibft or rd.iscsi.ibft=1 argument is present. This is supposed to fix what was originally reported by Kairui Song <kasong@redhat.com> here: dracutdevs/dracut#697
Thanks for the response. You need some way to tell the nm-initrd-generator to parse the iBFT. What does your kernel command line look like? If you were already using rd.iscsi.ibft, then the last commit here https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/393 should fix the issue, |
Do process the connections from the iBFT block if the rd.iscsi.ibft or rd.iscsi.ibft=1 argument is present. This is supposed to fix what was originally reported by Kairui Song <kasong@redhat.com> here: dracutdevs/dracut#697
Do process the connections from the iBFT block if the rd.iscsi.ibft or rd.iscsi.ibft=1 argument is present. This is supposed to fix what was originally reported by Kairui Song <kasong@redhat.com> here: dracutdevs/dracut#697 (cherry picked from commit 39e1e72)
@lkundrak what's the status? |
I remember before the network-manager dracut module is introduced, dracut can just detect and read ibft from firmware interface and don't need extra cmdline. |
What is your kernel command line? With commit [1] (available in NM 1.20.6) |
I think adding rd.iscsi.ibft will just fix the issue now, thanks. |
Currently with 35network-manager iscsi ibft won't work because parse-ibft hook is missing and the iscsi cmdline could be duplicated and flawed. This PR should fix it. Tested on Fedora.