Re: [linux-next:master 10409/11394] ERROR: modpost: "__fentry__" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Mar 2024 22:05:46 +0800 Yujie Liu <yujie.liu@xxxxxxxxx> wrote:

> Hi Marcos,
> 
> On Mon, Mar 04, 2024 at 09:29:19AM -0300, Marcos Paulo de Souza wrote:
> > On Sat, 2 Mar 2024 14:14:12 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:
> > 
> > > Hi Marcos,
> > > 
> > > First bad commit (maybe != root cause):
> > > 
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > head:   1870cdc0e8dee32e3c221704a2977898ba4c10e8
> > > commit: 539cd3f4da3fdbe7dc353634e004e4b0e725c35a [10409/11394] selftests: lib.mk: Do not process TEST_GEN_MODS_DIR
> > > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240302/202403021440.Rs4qG6fP-lkp@xxxxxxxxx/reproduce)
> > > 
> > > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > > the same patch/commit), kindly add following tags
> > > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202403021440.Rs4qG6fP-lkp@xxxxxxxxx/
> > > 
> > > All errors (new ones prefixed by >>, old ones prefixed by <<):
> > > 
> > > WARNING: Module.symvers is missing.
> > > Modules may not have dependencies or modversions.
> > 
> > This seems suspicious. Can you be sure that kernel-devel was installed properly
> > in this machine? We have landed a patch to skip building the tests if
> > kernel-devel is not installed. We check if /lib/modules/<kernel-version/build
> > is present to start building, but I would expect Module.symvers to be present.
> > 
> > Please let me know if we need to adapt our tests further to avoid such problems.
> 
> Sorry, this is another problem due to the different way of organizing
> the files at the bot side. We are looking into this to put the required
> materials to the correct path. This report should be a false positive,
> please ignore it.

Thanks for confirming Yujie.

> 
> > > You may get many unresolved symbol errors.
> > > You can set KBUILD_MODPOST_WARN=1 to turn errors into warning
> > > if you want to proceed at your own risk.
> > > >> ERROR: modpost: "__fentry__" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!
> > > >> ERROR: modpost: "klp_enable_patch" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!
> > > >> ERROR: modpost: "seq_printf" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!
> > > >> ERROR: modpost: "param_ops_int" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!
> > > >> ERROR: modpost: "module_layout" [tools/testing/selftests/livepatch/test_modules/test_klp_atomic_replace.ko] undefined!
> > > >> ERROR: modpost: "__fentry__" [tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_busy.ko] undefined!
> > > >> ERROR: modpost: "flush_work" [tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_busy.ko] undefined!
> > > >> ERROR: modpost: "_printk" [tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_busy.ko] undefined!
> > > >> ERROR: modpost: "complete" [tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_busy.ko] undefined!
> > > >> ERROR: modpost: "msleep" [tools/testing/selftests/livepatch/test_modules/test_klp_callbacks_busy.ko] undefined!
> > > WARNING: modpost: suppressed 80 unresolved symbol warnings because there were too many)
> > > 
> > > -- 
> > > 0-DAY CI Kernel Test Service
> > > https://github.com/intel/lkp-tests/wiki
> >




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux