Busybox modprobe brings error "Invalid ELF header magic: !=ELF"

Denys Vlasenko vda.linux at googlemail.com
Fri Mar 31 11:19:40 UTC 2023


On Sat, Mar 18, 2023 at 11:35 AM Service IIT (Mayer EMI)
<service.iit at mayer-emi.at> wrote:
> Am 18.03.2023 um 10:46 schrieb Norbert Lange:
>
> Hello,
>
> BusyBox first tries to pass the module the the kernel via filedescriptor, this method only accepts uncompressed files. Yielding that error message.
>
> Only then it will decompress the module and try again.
>
>
> Regards, Norbert.
>
> Ok, understood.
> However, why even does it not work with the filedescriptor
> Kernel setting
>      [*]   Support in-kernel module decompression
> should enable this to work not needing the modprobe to fallback to uncompress and try it again - or not?

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.


More information about the busybox mailing list