Re: [Bug Report] Depmod is failing on allmodconfig for arm64 and x86_64

From: Muhammad Usama Anjum
Date: Wed Nov 27 2024 - 07:48:01 EST


On 11/27/24 5:26 PM, Will Deacon wrote:
> On Tue, Nov 26, 2024 at 06:25:44PM +0500, Muhammad Usama Anjum wrote:
>> Hi,
>>
>> The depmod is failing on 9f16d5e6f2206 (mainline) arm64 and x86_64 because of:
>> ```
>> depmod: ERROR: Cycle detected: libphy
>>
>> depmod: ERROR: Cycle detected: lan969x_switch -> sparx5_switch -> lan969x_switch
>> depmod: ERROR: Cycle detected: ptp
>> depmod: ERROR: Cycle detected: stp
>> depmod: ERROR: Cycle detected: ipv6
>> depmod: ERROR: Cycle detected: bridge
>> depmod: ERROR: Found 2 modules in dependency cycles!
>> make[2]: *** [scripts/Makefile.modinst:132: depmod] Error 1
>> make[1]: *** [/tmp/kci/linux/Makefile:1844: modules_install] Error 2
>> make: *** [Makefile:224: __sub-make] Error 2
>> ```
>>
>> This issue wasn't present until c66fbc6c3df9.
>
> $ git show c66fbc6c3df9
> commit c66fbc6c3df9ccefbb896695cfc4db279d517ff1
> Merge: f103749785a7 1037d186edfc
> Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Date: Wed Nov 20 14:56:02 2024 -0800
>
> Merge tag 'for-linus' of https://github.com/openrisc/linux
>
> Pull OpenRISC update from Stafford Horne:
> "A single fixup from me: Fix bug with earlycon being broken due to
> removal of early_ioremap"
>
> * tag 'for-linus' of https://github.com/openrisc/linux:
> openrisc: Implement fixmap to fix earlycon
>
>
> Are you sure?
The allmodconfig builds were successful until c66fbc3df9. [1] [2]
Here is link to build results. They can be filtered [3].

[1] https://kcidb.kernelci.org/d/build/build?orgId=1&var-datasource=default&var-build_architecture=arm64&var-build_config_name=defconfig%20allmodconfig&var-id=maestro:673e7462923416c0c98a8b71&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=yes

[2] https://kcidb.kernelci.org/d/build/build?orgId=1&var-datasource=default&var-build_architecture=x86_64&var-build_config_name=x86_64_defconfig%20allmodconfig&var-id=maestro:673e7464923416c0c98a8b8f&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=yes

[3] https://kcidb.kernelci.org/d/maestro-home/home?orgId=1&var-origin=maestro&var-tree=mainline&var-branch=master&var-test_path_regex=boot&var-platform=%25&var-config=%25&var-datasource=default&viewPanel=panel-41&from=2024-11-17T19:00:00.000Z&to=2024-11-27T18:59:59.000Z

>
> Will
>


--
BR,
Muhammad Usama Anjum