From: Calvin Owens <calvin@wbinvd.org>
To: Muhammad Usama Anjum <Usama.Anjum@collabora.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Steen.Hegelund@microchip.com, daniel.machon@microchip.com,
kuba@kernel.org
Subject: Re: [Bug Report] Depmod is failing on allmodconfig for arm64 and x86_64
Date: Mon, 2 Dec 2024 08:26:37 -0800 [thread overview]
Message-ID: <Z03fvf3RT7mq9hUZ@mozart.vkv.me> (raw)
In-Reply-To: <91c041ac-5491-4c97-9afc-9eb11c8e686c@collabora.com>
On Tuesday 11/26 at 18:25 +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.
I set up a bisect script to run overnight, it landed here:
98a01119608d21e0ed95a544071beabb353240ed is the first bad commit
commit 98a01119608d21e0ed95a544071beabb353240ed
Author: Daniel Machon <daniel.machon@microchip.com>
AuthorDate: Thu Oct 24 00:01:33 2024 +0200
Commit: Jakub Kicinski <kuba@kernel.org>
CommitDate: Wed Oct 30 18:08:06 2024 -0700
net: sparx5: add compatible string for lan969x
Add lan9691-switch compatible string to mchp_sparx5_match. Guard it with
IS_ENABLED(CONFIG_LAN969X_SWITCH) to make sure Sparx5 can be compiled on
its own.
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-14-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c | 5 +++++
1 file changed, 5 insertions(+)
bisect found first bad commit
Thanks,
Calvin
> [1] https://kcidb.kernelci.org/d/build/build?orgId=1&var-datasource=default&var-build_architecture=arm64&var-build_config_name=defconfig+allmodconfig&var-id=maestro:67427d2a923416c0c993033a
> [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:67427d2c923416c0c9930358&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=yes
>
> --
> BR,
> Muhammad Usama Anjum
next prev parent reply other threads:[~2024-12-02 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 13:25 Muhammad Usama Anjum
2024-11-27 12:26 ` Will Deacon
2024-11-27 12:47 ` Muhammad Usama Anjum
2024-12-02 16:26 ` Calvin Owens [this message]
2024-12-03 12:48 ` Daniel Machon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z03fvf3RT7mq9hUZ@mozart.vkv.me \
--to=calvin@wbinvd.org \
--cc=Steen.Hegelund@microchip.com \
--cc=Usama.Anjum@collabora.com \
--cc=daniel.machon@microchip.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®