Bug#983818: linux-image-5.10.0-3-arm64: often fails to bring up eth0 / dwmac_rk module
Control: tags -1 - moreinfo
>Could you try with the current kernel in unstable?
>We are at 5.14.6-2, which had some rk3399 related changes.
Did any of those changes arrive after 5.14.0-1? If so, I suppose I would
have to wait for a newer debian kernel to appear before I could test it.
With 5.14.0-1 (the version in unstable), the results are worse:
Dropbear no longer works. Error message:
/scripts/init-premount/dropbear: .: line 333: can't open '/run/net-*.conf': No such file or directory
Using a serial console for LUKS unlock and then running rmmod dwmac_rk /
modprobe dwmac_rk no longer brings up eth0.
The dmesg output has changed a bit:
$ egrep 'mac|eth0' dmesg.linux-image-5.14.0-1-arm64
[ 5.708873] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[ 5.709470] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[ 5.710965] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[ 5.712133] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[ 5.713263] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[ 5.714418] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[ 5.716512] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[ 5.717492] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 5.719275] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[ 5.724825] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[ 5.725658] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 5.726328] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[ 5.726802] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[ 5.727511] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[ 5.728183] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[ 5.728652] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[ 5.729275] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[ 5.731134] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[ 5.731674] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[ 5.732192] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 5.851291] libphy: stmmac: probed
[ 5.851612] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 5.852504] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 6.639085] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 6.641458] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 6.653320] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[ 6.653364] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[ 6.654183] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[ 9.760371] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9.760429] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 199.685064] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
[ 207.195113] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[ 207.197673] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 207.206976] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[ 207.207681] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[ 207.208307] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[ 210.304576] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 210.305423] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Reply to: