This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: guru mode: invalid module format


Hi -


> $ sudo stap helloworld.stp
> hello world
> $ sudo stap helloworld.stp -g
> hello world
> $ sudo rm -rf .systemtap/cache/
> $ sudo stap helloworld.stp -g
> ERROR: Couldn't insert module
> '/tmp/stapg2kVhy/stap_04e0f4dfbaee29e9464955e58a2f9dbf_1001.ko':
> Invalid module format

Thanks for your patience.  I have not been able to reproduce this here
on Fedora, so didn't look deeper until today.  I believe the problem
may be buildrun.cxx:124, which for guru mode adds a
CONFIG_MODEVERSIONS= override into the module kbuild makefile.
Non-fedora kernels may interpret this differently.

commit c8084763b75fe4c8c61a0ddfa69e2d13f04de18e
Author: Serhei Makarov <smakarov@redhat.com>
Date:   Wed Jan 16 13:56:23 2019 -0500

    PR10280 initial fix: force vermagic for guru-mode scripts


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]