-----Original Message-----
From: Gerhard Wiesinger [mailto:lists@wiesinger.com]
Sent: Saturday, June 20, 2020 3:37 PM
To: Florian Fainelli <f.fainelli(a)gmail.com>; arm(a)lists.fedoraproject.org;
Maxime Ripard <maxime.ripard(a)bootlin.com>; Chen-Yu Tsai
<wens(a)csie.org>; LKML <linux-kernel(a)vger.kernel.org>; filbar(a)centrum.cz
Subject: [fedora-arm] Re: Banana Pi-R1 - kernel 5.6.0 and later broken - b43
DSA
Hello Florian,
On 20.06.2020 21:13, Florian Fainelli wrote:
> Hi,
>
> On 6/20/2020 10:39 AM, Gerhard Wiesinger wrote:
> Can you share your network configuration again with me?
Find the network config below.
>> # OK: Last good known version (booting that version is also ok) Linux
>> bpi 5.5.18-200.fc31.armv7hl #1 SMP Fri Apr 17 17:25:00 UTC 2020
>> armv7l armv7l armv7l GNU/Linux
> OK, I suspect what has changed is this commit:
>
>
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/com
> mit/?id=8fab459e69abfd04a66d76423d18ba853fced4ab
>
> which, if I remember your configuration correctly means that you now
> have proper DSA interfaces and so all of the wan, lan1-lan4 interfaces
> can now run a proper networking stack unlike before where you had to
> do this via the DSA master network device (eth0). This also means that
> you should run your DHCP server/client on the bridge master network
device now.
Yes, config should be a proper DSA config, see also below. IP config is only on
brlan and brwan.
Do the changes need a config change?
e.g. net: dsa: b53: Ensure the default VID is untagged
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/d
rivers/net/dsa/b53?id=d965a5432d4c3e6b9c3d2bc1d4a800013bbf76f6
Perchance does this discussion relate to a problem I have been having with espressobin
boards with a DSA switch through all of the 5.7 release candidates as well as the
5.7.[1..4] kernels and also the 5.8 release candidates?
[ 13.395629] mv88e6085 d0032004.mdio-mii:01: switch 0x3410 detected: Marvell 88E6341,
revision 0
[ 13.417579] libphy: mdio: probed
[ 13.692403] Unable to handle kernel paging request at virtual address ffff800011bb4060
[ 13.697711] Mem abort info:
[ 13.700610] ESR = 0x96000007
[ 13.703720] EC = 0x25: DABT (current EL), IL = 32 bits
[ 13.709177] SET = 0, FnV = 0
[ 13.712336] EA = 0, S1PTW = 0
[ 13.715537] Data abort info:
[ 13.718495] ISV = 0, ISS = 0x00000007
[ 13.722448] CM = 0, WnR = 0
[ 13.725487] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000081f8000
[ 13.732393] [ffff800011bb4060] pgd=000000003bfff003, p4d=000000003bfff003,
pud=000000003bffe003, pmd=000000003bffa003, pte=0000000000000000
[ 13.745298] Internal error: Oops: 96000007 [#1] SMP
[ 13.750307] Modules linked in: tag_edsa marvell mv88e6xxx(+) dsa_core bridge mmc_block
stp aes_ce_blk llc crypto_simd cryptd aes_ce_cipher crct10dif_ce ghash_ce sha2_ce
sdhci_xenon_driver sha256_arm64 sdhci_pltfm sdhci bfq sha1_ce mvneta ehci_orion phylink
mvmdio armada_37xx_wdt gpio_regulator cpufreq_dt nfsd auth_rpcgss nfs_acl lockd
crypto_safexcel authenc libdes grace sunrpc armada_37xx_cpufreq
[ 13.786600] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.8.0-rc2 #1
[ 13.793225] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 13.799870] Workqueue: events dbs_work_handler
[ 13.804427] pstate: 60400005 (nZCv daif +PAN -UAO BTYPE=--)
[ 13.810167] pc : module_put+0x24/0x120
[ 13.814017] lr : do_init_module+0xec/0x270
[ 13.818221] sp : ffff800011bb3c30
[ 13.821627] x29: ffff800011bb3c30 x28: 0000000000000000
[ 13.827091] x27: ffff00003b5d6848 x26: ffff800011bb3ce8
[ 13.832558] x25: 0000000000000000 x24: 0000000000000000
[ 13.838021] x23: ffff800011ac1000 x22: ffff8000117f9ca0
[ 13.843486] x21: 0000000000000002 x20: ffff0000324b6800
[ 13.848953] x19: ffff800011bb3ce8 x18: 0000000000000000
[ 13.854420] x17: 0000000000000000 x16: 0000000000000000
[ 13.859884] x15: 0000000000000000 x14: 0000000000000000
[ 13.865350] x13: 0000000000000000 x12: 0000000000000000
[ 13.870817] x11: 00000000000003d0 x10: 0000000000001a00
[ 13.876280] x9 : ffff80001014622c x8 : fefefefefefefeff
[ 13.881747] x7 : 0000000000000018 x6 : 0000000000000001
[ 13.887212] x5 : 0000000000036330 x4 : 0000000000000000
[ 13.892677] x3 : 0000000000000000 x2 : ffff00003b5cbc80
[ 13.898143] x1 : 0000000000000000 x0 : ffff800011bb3ce8
[ 13.903610] Call trace:
[ 13.906125] module_put+0x24/0x120
[ 13.909617] do_init_module+0xec/0x270
[ 13.913470] __target_index+0x84/0x1b0
[ 13.917321] __cpufreq_driver_target+0x108/0x140
[ 13.922068] od_update+0xe8/0x130
[ 13.925472] od_dbs_update+0x54/0xb4
[ 13.929147] dbs_work_handler+0x4c/0x90
[ 13.933094] process_one_work+0x1d0/0x470
[ 13.937212] worker_thread+0x180/0x400
[ 13.941066] kthread+0x11c/0x120
[ 13.944382] ret_from_fork+0x10/0x18
[ 13.948060] Code: 910003fd b4000360 a90153f3 aa0003f3 (b9437804)
[ 13.954328] ---[ end trace 8ca539fee81d80ce ]---
[ 14.230020] mv88e6085 d0032004.mdio-mii:01: configuring for fixed/rgmii-id link mode
[ 14.235846] mv88e6085 d0032004.mdio-mii:01: nonfatal error -95 setting MTU on port 1
[ 14.244946] mv88e6085 d0032004.mdio-mii:01: Link is Up - 1Gbps/Full - flow control off
[ 14.248099] mv88e6085 d0032004.mdio-mii:01 wan (uninitialized): PHY
[!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:11] driver [Marvell 88E6390]
(irq=55)
[ 14.269699] mv88e6085 d0032004.mdio-mii:01: nonfatal error -95 setting MTU on port 2
[ 14.276124] mv88e6085 d0032004.mdio-mii:01 lan0 (uninitialized): PHY
[!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:12] driver [Marvell 88E6390]
(irq=56)
[ 14.293411] mv88e6085 d0032004.mdio-mii:01: nonfatal error -95 setting MTU on port 3
[ 14.299735] mv88e6085 d0032004.mdio-mii:01 lan1 (uninitialized): PHY
[!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:13] driver [Marvell 88E6390]
(irq=57)
[ 14.320178] DSA: tree 0 setup
And then it eventually drops into a Dracut menu.
Tim Krantz