Re: [Regression] depmod fails on kernel 6.17.1 rc1

Borislav Petkov
2025-11-06T16:02:58Z

Lemme add a whole bunch of relevant ppl to Cc.

So I'm seeing this with an allmodconfig build too:

depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
depmod: ERROR: Found 2 modules in dependency cycles!
make[6]: *** [scripts/Makefile.modinst:132: depmod] Error 1
make[5]: *** [Makefile:1917: modules_install] Error 2
make[4]: *** [Makefile:2140: run-command] Error 2
make[3]: *** [debian/rules:66: binary-image] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 2
make[1]: *** [/home/amd/kernel/linux/Makefile:1643: bindeb-pkg] Error 2
make: *** [Makefile:248: __sub-make] Error 2

That's 6.17.7

On Sun, Oct 05, 2025 at 09:40:28PM -0400, Alex Davis wrote:
> When running make modules_install on linux 6.17. with the attached
> .config, I get the following error:
>
> DEPMOD /lib/modules/6.17.1-rc1
> depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
> depmod: ERROR: Cycle detected: serial_mctrl_gpio
> depmod: ERROR: Found 2 modules in dependency cycles!
> make[2]: *** [scripts/Makefile.modinst:132: depmod] Error 1
> make[1]: *** [/spare/linux/linux-6.17/Makefile:1917: modules_install] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
>
>
> This also happens with 6.17; it does not happen with 6.16.x.

--
Regards/Gruss,
Boris.