[Bug translator/24720] stap Can't insert module and exit with error "Invalid module format"
me at serhei dot io
sourceware-bugzilla@sourceware.org
Thu May 14 01:23:48 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=24720
--- Comment #8 from Serhei Makarov <me at serhei dot io> ---
Checked back on this since I want to re-enable the strict vermagic checking for
the upcoming stap release. Unfortunately, what prevented diagnosing this issue
back when this PR was filed is that stap -v does not share the full error
message when loading the module, only the last line (based on the modprobe
error code, see moderror() in staprun/staprun_func.c).
One example of a situation where vermagic might be mismatched (on ppc,
interestingly enough, just as with the original problem report) has a full
message along the following lines:
# insmod autofs4-pg.ko
autofs4: version magic
'4.11.0-rc3-gcc-5.4.1-00017-g5a61ef74f269 SMP mod_unload modversions '
should be
'4.11.0-rc3-gcc-5.4.1-00017-g5a61ef74f269-dirty SMP mod_unload modversions
mprofile-kernel'
insmod: ERROR: could not insert module autofs4-pg.ko: Invalid module format
https://github.com/torvalds/linux/commit/43e24e82f35291d4c1ca78877ce1b20d3aeb78f1
Not sure if it's related to the original reported situation.
* * *
I went back to a powerpc machine to repro the problem, but enabling the strict
vermagic check (the original cause of the issue) worked fine for me, so there
is some additional condition present on the machine where it was reported.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list