-
Notifications
You must be signed in to change notification settings - Fork 49
New minimal initrd is printing "Invalid ELF header magic: != ELF" errors #1934
Copy link
Copy link
Closed
flatcar/bootengine
#113Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
Since flatcar/scripts#3241, this message has started appearing several times in the kernel log during boot.
Invalid ELF header magic: != ELF
Impact
None, it's harmless but a little scary.
Environment and steps to reproduce
Fire up any recent nightly and check dmesg.
Expected behavior
It doesn't print that error.
Additional information
It happens every time busybox loads a kernel module, but the module loads anyway. If you use rd.earlyshell, you can try it manually with modprobe or insmod. If you use unxz to decompress the module before loading it, the error doesn't occur. It's not clear from the busybox code why this is happening. If I'm reading it correctly, it:
- Tries
finit_modulewith the compression flag. - Tries
finit_modulewithout the compression flag. - Tries
init_module, which doesn't support compression.
I doubt it's hitting 3, but the modules are definitely compressed, so I'd be surprised if it was failing on 1 and succeeding on 2. Note that the error message itself comes from the kernel.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working