Skip to contentSkip to conversation

depmod: ERROR: Cycle detected: qcom_scm -> qcom_tzmem -> qcom_scm

PATCH kernel test robot 2 participants 2 messages Jul 12 – Jul 13

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bee763d5f341b99cf472afeb508d4988f62a6ca1
commit: 5c1a2975d23c51c01aca51945d0f10a4ee4c9020 [4886/5655] firmware: qcom_scm: Migrate to generic PAS service
config: i386-randconfig-003-20260712 (https://download.01.org/0day-ci/archive/20260712/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> depmod: ERROR: Cycle detected: qcom_scm -> qcom_tzmem -> qcom_scm
>> depmod: ERROR: Found 2 modules in dependency cycles!

make[3]: *** [scripts/Makefile.modinst:132: depmod] Error 1 shuffle=4014285631 make[3]: Target '__modinst' not remade because of errors. make[2]: *** [Makefile:2090: modules_install] Error 2 shuffle=4014285631 make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=4014285631 make[1]: Target 'modules_install' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=4014285631
make: Target 'modules_install' not remade because of errors.

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

#1 lore raw
Quoted 17 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bee763d5f341b99cf472afeb508d4988f62a6ca1
commit: 5c1a2975d23c51c01aca51945d0f10a4ee4c9020 [4886/5655] firmware: qcom_scm: Migrate to generic PAS service
config: i386-randconfig-003-20260712 (https://download.01.org/0day-ci/archive/20260712/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

Quoted 2 lines
Quoted 2 lines

depmod: ERROR: Cycle detected: qcom_scm -> qcom_tzmem -> qcom_scm
depmod: ERROR: Found 2 modules in dependency cycles!

Quoted 8 lines

make[3]: *** [scripts/Makefile.modinst:132: depmod] Error 1 shuffle=4014285631 make[3]: Target '__modinst' not remade because of errors. make[2]: *** [Makefile:2090: modules_install] Error 2 shuffle=4014285631 make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=4014285631 make[1]: Target 'modules_install' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=4014285631
make: Target 'modules_install' not remade because of errors.

It looks like the circular dependency was already there prior to my patch-set but it only surfaced once my patch-set got merged. Here is the fix [1] though.

[1] https://lore.kernel.org/all/[email protected]/

-Sumit

Quoted 3 lines

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki