[PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA
zajec5 at gmail.com
Mon Jun 21 07:57:51 PDT 2021
On 19.06.2021 20:36, Hauke Mehrtens wrote:
> On a DSA switch the ports have an upper device, the CPU device, e.g.
> eth0. This device has to be in up state to bring up the lower devices
> like lan1.
> Parse the link device from "ip link show" and bring it into up stated
> before bringing up the actual interface.
> This is needed to make network in failsafe on systems with DSA work.
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
Idea behind this patch sounds OK (screen scraping of "ip" maybe a bit less).
The problem is this patch *breaks* network on normal (non-failsafe)
bcm4908 (DSA target) boot. I don't know why. In ifconfig interfaces look
OK. In "brctl show" everything seems fine too.
I've to keep debugging that problem. Meanwhile I'll also try kernel
This patch doesn't affect (break or fix) bcm53xx with swconfig.
More information about the openwrt-devel