[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b41debd-9a05-4707-b270-a8fa3dd7768c@kernel.org>
Date: Fri, 23 Jan 2026 11:52:45 +0100
From: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>,
Randy Dunlap <rdunlap@...radead.org>,
Madhavan Srinivasan <maddy@...ux.ibm.com>, broonie@...nel.org,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Jakub Kicinski <kuba@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Vinod Koul <vkoul@...nel.org>, linux-phy@...ts.infradead.org
Subject: Re: [next-20260122] Build failure on IBM Power Server
Le 23/01/2026 à 11:39, Vladimir Oltean a écrit :
> On Fri, Jan 23, 2026 at 10:52:49AM +0100, Christophe Leroy (CS GROUP) wrote:
>> +Vladimir, Maxime, Jakub and netdev
>>
>> Le 23/01/2026 à 10:11, Venkat Rao Bagalkote a écrit :
>>>
>>> On 23/01/26 1:17 pm, Randy Dunlap wrote:
>>>>
>>>> On 1/22/26 8:15 PM, Venkat Rao Bagalkote wrote:
>>>>> Greetings!!
>>>>>
>>>>> IBM CI has reported build failure of 20260122 on IBM Power server.
>>>>>
>>>>>
>>>>> Error:
>>>>>
>>>>>
>>>>> ERROR: modpost: "phy_get_rx_polarity" [drivers/net/phy/
>>>>> air_en8811h.ko] undefined!
>>>>> ERROR: modpost: "phy_get_tx_polarity" [drivers/net/phy/
>>>>> air_en8811h.ko] undefined!
>>>>> make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
>>>>> make[1]: *** [/home/upstreamci/linux/Makefile:2040: modpost] Error 2
>>>>> make: *** [Makefile:248: __sub-make] Error 2
>>
>> Thanks for the config file.
>>
>> The probleme is because allthough CONFIG_PHY_COMMON_PROPS is selected,
>> drivers/phy/phy-common-props.o is not built because CONFIG_GENERIC_PHY
>> is not selected.
>>
>> Likely comes from commit 66d8a334b57e ("net: phy: air_en8811h: deprecate
>> "airoha,pnswap-rx" and "airoha,pnswap-tx"")
>>
>> Christophe
>
> The intention was for drivers/phy/phy-common-props.o to be
> buildable/usable without CONFIG_GENERIC_PHY.
>
> Does this help?
Yes it fixes the build for me.
Christophe
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index ccc05f1eae3e..53fbd2e0acdd 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -10,7 +10,7 @@ obj-y += cache/
> obj-y += irqchip/
> obj-y += bus/
>
> -obj-$(CONFIG_GENERIC_PHY) += phy/
> +obj-y += phy/
>
> # GPIO must come after pinctrl as gpios may need to mux pins etc
> obj-$(CONFIG_PINCTRL) += pinctrl/
>
>>
>>
>>>>>
>>>>>
>>>>> IBM CI has bisected this issue and below is the bisection log.
>>>>>
>>>>>
>>>>> git bisect log
>>>>> git bisect log
>>>>> git bisect start
>>>>> # status: waiting for both good and bad commits
>>>>> # good: [24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7] Linux 6.19-rc6
>>>>> git bisect good 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
>>>>> # status: waiting for bad commit, 1 good commit known
>>>>> # bad: [a0c666c25aeefd16f4b088c6549a6fb6b65a8a1d] Add linux-next
>>>>> specific files for 20260122
>>>>> git bisect bad a0c666c25aeefd16f4b088c6549a6fb6b65a8a1d
>>>>> # good: [2574bcf1765ec13bf3ef469aa5b15cce293aebb6] Merge branch
>>>>> 'master' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fbluetooth%2Fbluetooth-next.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441808471%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=FlVDfg3VVHplFxnQpG4oQNlr5Mm3ZzaCve19hnomYNo%3D&reserved=0
>>>>> git bisect good 2574bcf1765ec13bf3ef469aa5b15cce293aebb6
>>>>> # good: [2ad38467d20c16f38d0cffad711ef4f4acdb8b29] Merge branch 'for-
>>>>> next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Faxboe%2Flinux.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441834557%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=ez4lgXXDn95PjgZNSAjwp%2BWbvJvQYLeHApGrODqs%2Fmc%3D&reserved=0
>>>>> git bisect good 2ad38467d20c16f38d0cffad711ef4f4acdb8b29
>>>>> # good: [a954370fea56ee1bf995524255a34da7a1ddb524] Merge branch 'for-
>>>>> next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fpdx86%2Fplatform-drivers-x86.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441853661%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=c4Fim5nuBV9O%2BfFTUltpoLTV19%2Fdy394PvzzGBxh8I4%3D&reserved=0
>>>>> git bisect good a954370fea56ee1bf995524255a34da7a1ddb524
>>>>> # good: [c7ec480f05dd0185a26f190471905ddf1215bc52] Merge branch
>>>>> 'staging-next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fgregkh%2Fstaging.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441870081%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=xgtRCeDKj7BL1EXx%2BSEtCzR5gaN6wKfihyiwh0AFsRM%3D&reserved=0
>>>>> git bisect good c7ec480f05dd0185a26f190471905ddf1215bc52
>>>>> # good: [4427398fed2b8e07a62fd4f3f6fcf9ffcf56829a] Merge branch 'for-
>>>>> next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Flinusw%2Flinux-pinctrl.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441887814%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=AzoGH2fuDhFyYqK9JxlVZEsx3V7P5x8Yc8%2BuVE%2BBHJ4%3D&reserved=0
>>>>> git bisect good 4427398fed2b8e07a62fd4f3f6fcf9ffcf56829a
>>>>> # good: [852ccea1ca3144beb7003976d4fa04dbf81b307b] Merge branch
>>>>> 'next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fmic%2Flinux.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441903764%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2BTtdFgkDy9QevJOIHlzjk7Jjd1390L6g0Nr5RpSTYp8%3D&reserved=0
>>>>> git bisect good 852ccea1ca3144beb7003976d4fa04dbf81b307b
>>>>> # good: [f174dabd307dfd92edacb34e8bee0384daa1bd2e] Merge branch
>>>>> 'next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Flenb%2Flinux.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441919983%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2BaVHILI%2FJcj%2BedPEPrJ1zFeSRGwuXUKb0VHFpZ%2Bp95s%3D&reserved=0
>>>>> git bisect good f174dabd307dfd92edacb34e8bee0384daa1bd2e
>>>>> # good: [e31f3c967c66cf03eecdf50fe138d05f635e3698] doc: Add
>>>>> housekeeping documentation
>>>>> git bisect good e31f3c967c66cf03eecdf50fe138d05f635e3698
>>>>> # good: [0cc83fc23debf3e2df19c4510a77fe2d60ab2693] gpu: nova-core:
>>>>> don't print raw PMU table entries
>>>>> git bisect good 0cc83fc23debf3e2df19c4510a77fe2d60ab2693
>>>>> # good: [75df6953fed6b7274f9c5080925ae4c8d3e424e6] Merge branch 'for-
>>>>> next' of Warning: Removed corrupted safelink.
>>>>> url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ffrederic%2Flinux-dynticks.git&data=05%7C02%7Cchristophe.leroy2%40cs-soprasteria.com%7C441b227c282845cf2a3308de5a5f8110%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639047563441936107%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=beNKxNQCA6SYkfbETF9eJYQ7mBFWwCKUFce6cwNbHUA%3D&reserved=0
>>>>> git bisect good 75df6953fed6b7274f9c5080925ae4c8d3e424e6
>>>>> # good: [086714bbb96f63785da251e1f8d1ce3e716a6e42] Merge tag 'v6.19-
>>>>> rc5' into drm-rust-next
>>>>> git bisect good 086714bbb96f63785da251e1f8d1ce3e716a6e42
>>>>> # good: [6ea52b6d8f33ae627f4dcf43b12b6e713a8b9331] drm/tyr: use
>>>>> read_poll_timeout
>>>>> git bisect good 6ea52b6d8f33ae627f4dcf43b12b6e713a8b9331
>>>>> # good: [b956937ce78fae5fa785f6a95f291e2137502c5e] drm: tyr: Mark BROKEN
>>>>> git bisect good b956937ce78fae5fa785f6a95f291e2137502c5e
>>>>> # first bad commit: [a0c666c25aeefd16f4b088c6549a6fb6b65a8a1d] Add
>>>>> linux-next specific files for 20260122
>>>>>
>>>>>
>>>>> If you happen to fix, this please add below tag.
>>>>>
>>>>>
>>>>> Reported-by: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
>>>> I don't think that bisection helps very much.
>>>>
>>>> Can you post the kernel config file?
>>>>
>>>
>>> Attached is the .config file.
>>>
>>>
>>> GCC: gcc version 11.5.0 20240719 (Red Hat 11.5.0-2) (GCC)
>>>
>>> ld: GNU ld version 2.35.2-54.el9
>>>
>>>
>>> Regards,
>>>
>>> Venkat.
>>
Powered by blists - more mailing lists