Bug#988966: /boot/vmlinuz-5.10.0-6-armmp-lpae: lamobo-r1 ethernet/bridge failure
Source: linux
Followup-For: Bug #988966
X-Debbugs-Cc: temnota.am@gmail.com
Hmm. it's woking as intented with kernel from unstable:
# dmesg | grep -E '(dwmac|bcm5|model)'
[ 0.000000] OF: fdt: Machine model: Lamobo R1.1
[ 11.746088] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[ 11.755334] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[ 11.785153] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[ 11.805181] sun7i-dwmac 1c50000.ethernet: Version ID not available
[ 11.811698] sun7i-dwmac 1c50000.ethernet: DWMAC1000
[ 11.816825] sun7i-dwmac 1c50000.ethernet: No HW DMA feature register supported
[ 11.824154] sun7i-dwmac 1c50000.ethernet: TX Checksum insertion supported
[ 11.831067] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[ 11.836812] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[ 12.812030] bcm53xx stmmac-0:1e: found switch: BCM53125, rev 4
[ 13.149519] bcm53xx stmmac-0:1e: Using legacy PHYLIB callbacks. Please migrate to PHYLINK!
[ 13.181089] bcm53xx stmmac-0:1e: Configured port 8 for rgmii-txid
[ 13.199161] bcm53xx stmmac-0:1e lan2 (uninitialized): PHY [dsa-0.0:00] driver [Broadcom BCM53125] (irq=POLL)
[ 13.219947] bcm53xx stmmac-0:1e lan3 (uninitialized): PHY [dsa-0.0:01] driver [Broadcom BCM53125] (irq=POLL)
[ 13.241375] bcm53xx stmmac-0:1e lan4 (uninitialized): PHY [dsa-0.0:02] driver [Broadcom BCM53125] (irq=POLL)
[ 13.262036] bcm53xx stmmac-0:1e wan (uninitialized): PHY [dsa-0.0:03] driver [Broadcom BCM53125] (irq=POLL)
[ 13.278601] bcm53xx stmmac-0:1e lan1 (uninitialized): PHY [dsa-0.0:04] driver [Broadcom BCM53125] (irq=POLL)
[ 21.348699] sun7i-dwmac 1c50000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 21.358952] sun7i-dwmac 1c50000.ethernet eth0: No Safety Features support found
[ 21.366375] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[ 21.373731] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[ 21.381427] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[ 21.391146] sun7i-dwmac 1c50000.ethernet eth0: configuring for fixed/rgmii link mode
[ 21.401844] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 21.428685] bcm53xx stmmac-0:1e lan1: configuring for phy/gmii link mode
[ 21.437145] bcm53xx stmmac-0:1e lan1: Link is Up - 1Gbps/Full - flow control off
[ 21.520381] bcm53xx stmmac-0:1e lan2: configuring for phy/gmii link mode
[ 21.632977] bcm53xx stmmac-0:1e lan3: configuring for phy/gmii link mode
[ 21.748557] bcm53xx stmmac-0:1e lan4: configuring for phy/gmii link mode
[ 21.758708] bcm53xx stmmac-0:1e lan4: Link is Up - 100Mbps/Full - flow control off
[ 27.067850] bcm53xx stmmac-0:1e wan: configuring for phy/gmii link mode
[ 27.076441] bcm53xx stmmac-0:1e wan: Link is Up - 100Mbps/Full - flow control off
# bridge link
3: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 master br-lan state disabled priority 32 cost 100
4: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 master br-lan state disabled priority 32 cost 100
5: lan4@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br-lan state forwarding priority 32 cost 19
7: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br-lan state forwarding priority 32 cost 4
But installer stupidity "enable only one interface" prevent use any port on bcm53xx
switch - master port eth0 MUST BE ACTIVE.
-- System Information:
Debian Release: 11.5
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable'), (400, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)
Kernel: Linux 6.0.0-4-armmp-lpae (SMP w/2 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Reply to: