-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Infinite loop "The ZFS modules are not loaded" after upgrade to Fedora 33 #11128
Comments
Also found this bug #10854 , that seems to have kind of the same error log |
FWIW, I think a workaround for this issue is to add |
I'm seeing the same thing, just running fedora 32, and did a routine dnf upgrade. I only see the infinite log msg loop on 5.8.16. I do not see the msgs on 5.9.8, but I do still see the issue, it just seems to log an infinite loop of "dots" When i run I'm able to continue the boot sequence easily by just
|
If you have to add the -f flag, it may be a different issue. It may be that the hostid in the initramfs is inconsistent with the hostid of the root file system or at least the last one that the pool was imported to. You may need to export the file system once to sync things back up again and you may need to rebuild the initramfs to incorporate the new hostid. Store a fixed id in /etc/hostid (e.g. echo -n "bork" > /etc/hostid) and then regenerate all your initramfses to be sure that the hostid stays consistent on the system. Note that /etc/hostid should be exactly 4 bytes in size but otherwise, any random data is fine. The above is just a guess as to what the problem could be and a suggestion as to how you might go about fixing it. |
I just ran a test, and I did not need to use the -f. It imported and mounted fine to /root and after exiting the dracut, continued booting successfully. |
I just ran into this problem while applying updates to an old server. The problem appears to be caused by a dkms feature called weak modules. I was able to resolve the problem by doing the following:
Note the mismatch between the kernel versions in the above lines.
Note that you can run
There may be a better method and not all the above steps may be necessary. This is just what I found worked when I ran into this problem just now. |
Yes these steps generally worked for me too. It did take a couple tries though on one system for some reason. My zfs roots were based on this csparks method https://www.csparks.com/BootFedoraZFS/index.md. Not sure if that matters at all. |
Doing a quick search just now, I've found other references to this weak module problem. One of the earlier references I found is here: #9891 I also found the following comment in the dkms man page which appears to indicate how this feature might be disabled:
|
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes #9891 Closes #11128 Closes #11242 Closes #11335
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes openzfs#9891 Closes openzfs#11128 Closes openzfs#11242 Closes openzfs#11335
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes openzfs#9891 Closes openzfs#11128 Closes openzfs#11242 Closes openzfs#11335
System information
Describe the problem you're observing
With Fedora 22 and kernel 5.8.16-200.fc32.x86_64 everything is working fine.
Now i start the upgrade to fedora 33, everything seems to work fine and the system reboots.
Now there is the new fedora 33 kernel 5.8.16-300.fc33.x86_64 and it doesnt boot anymore.
After the Logmessage that has something with "*** BOOTFS***" in it (the logs were too fast to see everything) it gets into an infinite loop of printing this messages:
and so on
I thought its an kernel bug, so i started with the older 5.8.16-200.fc32.x86_64 one, but still the same problem.
I rebuild the initramfs and also checked with lsinitrd that zfs is inside.
So i rollbacked my zfs pool to the version before update, but still this error message.
It only started booting again after rolling back the /boot and /boot/efi partition from before the update
Describe how to reproduce the problem
Install Fedora 22 with root on zfs and upgrade to fedora 33
If you can't reproduce this error i could start the update again and hopefully (?) will run into the same error.
Please just tell me which logs/files you want to have in this situation.
The text was updated successfully, but these errors were encountered: