-
Notifications
You must be signed in to change notification settings - Fork 400
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
90dmsquash-live: cannot handle overlayfs module built into kernel #1146
Labels
bug
Our bugs
Milestone
Comments
3 tasks
3 tasks
Hmm, I can't reproduce this with kmod 28. # modprobe --version
kmod version 28
+ZSTD +XZ +ZLIB +LIBCRYPTO -EXPERIMENTAL
# modinfo sg
name: sg
filename: (builtin)
[…]
# modprobe sg; echo $?
0
# lsinitrd /lib/modules/5.11.16-300.fc34.x86_64/initrd -f usr/lib/modules/5.11.16-300.fc34.x86_64/modules.builtin | grep sg.ko
kernel/block/bsg.ko
kernel/drivers/scsi/sg.ko |
haraldh
added a commit
to haraldh/dracut
that referenced
this issue
May 4, 2021
This solves all issues, where builtin kernel modules are not recognized as such. Fixes: dracutdevs#1146 Fixes: dracutdevs#1099
This is likely the culprit: #1436 |
mikhailnov
pushed a commit
to mikhailnov/dracut
that referenced
this issue
Mar 5, 2024
This solves all issues, where builtin kernel modules are not recognized as such. Fixes: dracutdevs#1146 Fixes: dracutdevs#1099
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
As of kmod 28, modprobe fails and spits out an error code if the kernel module you're trying to load is already built into the kernel. I'm not super sure if this is a kmod bug (I cross-opened an issue there too, just in case), but this is currently breaking dracut. Dracut runs
modprobe overlay
, which fails because this module cannot be found (it's built-in) and then dracut stops and refuses to continue booting.Distribution used
carbonOS 2021.1 (my own in-development distro)
Dracut version
53
Init system
systemd
To Reproduce
Build Linux with CONFIG_OVERLAY_FS as
y
instead ofm
. Ensure running on kmod 28. System will fail to boot into a live OS.The text was updated successfully, but these errors were encountered: