On Mon, May 1, 2023 at 4:25 PM Jeff Pohlmeyer <[email protected]> wrote: > 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.
Hmm. So it works, there are just these annoying messages? Should we add an option to NOT try finit_module at all, and just decompress modules in userspace? _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
