LAN bridge is not working with 5.15.80 [Was: Re: [PATCH v2] mvebu: switch default kernel to 5.15]

Petr Štetiar ynezz at true.cz
Sat Dec 3 06:15:27 PST 2022


Bjørn Mork <bjorn at mork.no> [2022-12-03 15:01:57]:

[adding Arnd to the Cc: loop]

> Petr Štetiar <ynezz at true.cz> writes:
> 
> > `CONFIG_NET_DSA_MV88E6XXX=m` so it might be related to initramfs?
> 
> Isn't that a bit strange?  I believe it should be built-in.

Indeed, it looks like a regression caused by upstream commit e5f31552674e
("ethernet: fix PTP_1588_CLOCK dependencies") in conjuction with images
produced by our buildbots, which use `CONFIG_ALL_KMODS=y` config setting, so
it likely makes `PTP_1588_CLOCK=m` and thus `CONFIG_NET_DSA_MV88E6XXX=m`.

This simple revert/workaround seems to fix it:

	diff --git a/drivers/net/dsa/mv88e6xxx/Kconfig
	b/drivers/net/dsa/mv88e6xxx/Kconfig
	index 7a2445a34eb7..634a48e6616b 100644
	--- a/drivers/net/dsa/mv88e6xxx/Kconfig
	+++ b/drivers/net/dsa/mv88e6xxx/Kconfig
	@@ -2,7 +2,6 @@
	 config NET_DSA_MV88E6XXX
		tristate "Marvell 88E6xxx Ethernet switch fabric support"
		depends on NET_DSA
	-       depends on PTP_1588_CLOCK_OPTIONAL
		select IRQ_DOMAIN
		select NET_DSA_TAG_EDSA
		select NET_DSA_TAG_DSA

Cheers,

Petr



More information about the openwrt-devel mailing list