darkdrgn2k Posted February 11, 2018 Share Posted February 11, 2018 One of my orange pi zeros eth seems to be only negotiationg down to 10Mb/s full duplex. Not sure why. Below are examples of a stock nightly build. it only happens on one of the pis. [ 4.177634] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 4.181353] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 4.348951] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 4.349026] dwmac-sun8i 1c30000.ethernet: No regulator found [ 4.349104] dwmac-sun8i 1c30000.ethernet: Will use internal PHY [ 4.349331] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000) [ 4.349495] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 4.349507] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 4.349519] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 4.349530] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 4.349542] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 4.349553] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 11.502776] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 11.502793] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 19.849903] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 21.930440] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 22.970097] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx root@orangepizero:~# ethtool eth0 Settings for eth0: Supported ports: [ TP AUI BNC MII FIBRE ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Speed: 10Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x0000003f (63) drv probe link timer ifdown ifup Link detected: yes Manually ethtool -s eth0 speed 100 duplex full sometimes work, other times the interface starts moving up and down continually but even if it works its for a short period of time especially if i put some load on it [ 290.489795] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 291.529727] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 313.369751] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 314.409717] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 318.569954] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 320.649716] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 322.729744] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 323.769905] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 327.929501] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 328.969615] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 343.529731] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 344.569948] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 352.889602] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 353.929935] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 358.090496] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 360.169897] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 363.289777] dwmac-sun8i 1c30000.ethernet eth0: Link is Down [ 364.330026] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx Any ideas? Link to comment Share on other sites More sharing options...
Igor Posted February 11, 2018 Share Posted February 11, 2018 Trying different cables? Link to comment Share on other sites More sharing options...
guidol Posted February 11, 2018 Share Posted February 11, 2018 5 hours ago, darkdrgn2k said: One of my orange pi zeros eth seems to be only negotiationg down to 10Mb/s full duplex. Not sure why. Any ideas? Does this Orange Pi Zero only get 10MBit where another Orange Pi Zero does get 100MBit - or do you use with this Zero another cable? Link to comment Share on other sites More sharing options...
darkdrgn2k Posted February 14, 2018 Author Share Posted February 14, 2018 I have already tried different cables. It did not seem to help any. Also tried those cables on other pis/other devices and they all seem to work fine. Link to comment Share on other sites More sharing options...
Igor Posted February 14, 2018 Share Posted February 14, 2018 2 hours ago, darkdrgn2k said: I have already tried different cables. It did not seem to help any. Also tried those cables on other pis/other devices and they all seem to work fine. Did you try on the old kernel as well? Link to comment Share on other sites More sharing options...
guidol Posted February 14, 2018 Share Posted February 14, 2018 4 hours ago, darkdrgn2k said: I have already tried different cables. It did not seem to help any. Also tried those cables on other pis/other devices and they all seem to work fine. then I would suggest to use all components from a working Zero/one: - Network-Cable - uSD-Card with OS and - Power-Supply on the false-working Zero/one - then you could also eliminate the problem with the kernel/OS which Igor mentioned Also the false-working one should only have devices (like additional USB-devices) connected which had been used on the working one. Link to comment Share on other sites More sharing options...
Recommended Posts