Busybox modprobe brings error "Invalid ELF header magic: !=ELF"
Jeff Pohlmeyer
yetanothergeek at gmail.com
Mon May 1 14:24:58 UTC 2023
On Fri, Apr 28, 2023 at 9:19 AM Jeff Pohlmeyer wrote:
> On Fri, Mar 31, 2023 at 6:20 AM Denys Vlasenko wrote:
> > Kernel does not auto-detect compressed modules.
> > We need to call finit_module() with MODULE_INIT_COMPRESSED_FILE flag
> > if module is compressed.
> >
> > Fixed it in git. Please try it now.
> This is not working for me.
> ...
> But in the worst case (which seems to happen randomly), finit_module()
> tries the MODULE_INIT_COMPRESSED_FILE flag and immediately receives a
> SIGKILL, killing busybox and failing to load the module. (See
> attachment for dmesg output.)
>
> This is on Artix Linux with their stock kernel 6.2.11.
With the latest Artix kernel upgrade from 6.2.11 to 6.2.13, the random
crashes seem to be fixed.
MODULE_INIT_COMPRESSED_FILE is still failing, but at least now it
isn't killing busybox.
But the "Invalid ELF header magic" messages are still there.
- Jeff
More information about the busybox
mailing list