Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Ethernet fails Orange Pi 3B #1107

Open
nemanjam opened this issue Oct 23, 2024 · 3 comments
Open

Bug Report: Ethernet fails Orange Pi 3B #1107

nemanjam opened this issue Oct 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nemanjam
Copy link

What happened?

As much I could understand there is some issue with DHCP timing out, only IPv6 address is available and no IPv4. I am certain it is not hardware issue because Ethernet works fine on both Orange Pi Jammy and Armbian, it only fails with this specific Ubuntu 24.04. Wifi works fine.

dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds):
device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed'): 
dhcp4 (end1): canceled DHCP transaction

Screenshot from 2024-10-23 13-59-53

image

image

image

Kernel version

6.1.0-1025-rockchip

SBC model

Rockchip RK3566 OPi 3B

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds):
device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed'): 
dhcp4 (end1): canceled DHCP transaction


username@pi:~$ uname -r
6.1.0-1025-rockchip


username@pi:~$ cat /proc/device-tree/model
Rockchip RK3566 OPi 3B


username@pi:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble


username@pi:~$ ifconfig
end1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::ab38:2134:e90b:bd5d  prefixlen 64  scopeid 0x20<link>
        ether 4e:af:f0:61:d1:62  txqueuelen 1000  (Ethernet)
        RX packets 57  bytes 7131 (7.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 126  bytes 19988 (19.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 81  


username@pi:~$ dmesg | grep -i end1
[   12.012227] rk_gmac-dwmac fe010000.ethernet end1: renamed from eth0
[   45.948247] rk_gmac-dwmac fe010000.ethernet end1: Register MEM_TYPE_PAGE_POOL RxQ-0
[   45.953137] rk_gmac-dwmac fe010000.ethernet end1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   45.953198] rk_gmac-dwmac fe010000.ethernet end1: No Safety Features support found
[   45.953228] rk_gmac-dwmac fe010000.ethernet end1: IEEE 1588-2008 Advanced Timestamp supported
[   45.954247] rk_gmac-dwmac fe010000.ethernet end1: registered PTP clock
[   45.955026] rk_gmac-dwmac fe010000.ethernet end1: configuring for phy/rgmii link mode
[   48.995907] rk_gmac-dwmac fe010000.ethernet end1: Link is Up - 1Gbps/Full - flow control rx/tx
[   48.995982] IPv6: ADDRCONF(NETDEV_CHANGE): end1: link becomes ready


username@pi:~$ journalctl -xe | grep end1
Oct 23 12:14:54 pi NetworkManager[672]: <info>  [1729678494.2993] device (end1): driver '(null)' does not support carrier detection.
Oct 23 12:14:54 pi NetworkManager[672]: <info>  [1729678494.3009] device (end1): driver 'rk_gmac-dwmac' does not support carrier detection.
Oct 23 12:14:54 pi NetworkManager[672]: <info>  [1729678494.3030] manager: (end1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Oct 23 12:14:54 pi NetworkManager[672]: <info>  [1729678494.3053] device (end1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: Register MEM_TYPE_PAGE_POOL RxQ-0
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: No Safety Features support found
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: IEEE 1588-2008 Advanced Timestamp supported
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: registered PTP clock
Oct 23 12:14:54 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: configuring for phy/rgmii link mode
Oct 23 12:14:57 pi kernel: rk_gmac-dwmac fe010000.ethernet end1: Link is Up - 1Gbps/Full - flow control rx/tx
Oct 23 12:14:57 pi kernel: IPv6: ADDRCONF(NETDEV_CHANGE): end1: link becomes ready
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3577] device (end1): carrier: link connected
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3591] device (end1): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3650] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3656] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3676] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3707] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 12:14:57 pi NetworkManager[672]: <info>  [1729678497.3734] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 12:14:57 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 12:14:57 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 12:14:57 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 12:15:00 pi systemd-resolved[621]: end1: Bus client set default route setting: no
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8065] device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Oct 23 13:56:20 pi NetworkManager[672]: <warn>  [1729684580.8083] device (end1): Activation: failed for connection 'Wired connection 1'
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8093] device (end1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 23 13:56:20 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 13:56:20 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8121] dhcp4 (end1): canceled DHCP transaction
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8122] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:56:20 pi avahi-daemon[628]: Interface end1.IPv6 no longer relevant for mDNS.
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8123] dhcp4 (end1): state changed no lease
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8204] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8209] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8222] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8250] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:56:20 pi NetworkManager[672]: <info>  [1729684580.8273] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:56:20 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:56:20 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 13:56:20 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8108] device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Oct 23 13:57:05 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 13:57:05 pi NetworkManager[672]: <warn>  [1729684625.8122] device (end1): Activation: failed for connection 'Wired connection 1'
Oct 23 13:57:05 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8132] device (end1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:05 pi avahi-daemon[628]: Interface end1.IPv6 no longer relevant for mDNS.
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8436] dhcp4 (end1): canceled DHCP transaction
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8438] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8438] dhcp4 (end1): state changed no lease
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8603] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8614] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8680] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:05 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8727] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:05 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 13:57:05 pi NetworkManager[672]: <info>  [1729684625.8769] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:57:05 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8067] device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Oct 23 13:57:50 pi NetworkManager[672]: <warn>  [1729684670.8084] device (end1): Activation: failed for connection 'Wired connection 1'
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8093] device (end1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:50 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 13:57:50 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:57:50 pi avahi-daemon[628]: Interface end1.IPv6 no longer relevant for mDNS.
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8400] dhcp4 (end1): canceled DHCP transaction
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8402] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8402] dhcp4 (end1): state changed no lease
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8549] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8559] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8752] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8802] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 13:57:50 pi NetworkManager[672]: <info>  [1729684670.8861] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:57:50 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:57:50 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 13:57:50 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 13:58:35 pi NetworkManager[672]: <info>  [1729684715.8158] device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Oct 23 13:58:35 pi NetworkManager[672]: <warn>  [1729684715.8174] device (end1): Activation: failed for connection 'Wired connection 1'
Oct 23 13:58:35 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 13:58:35 pi NetworkManager[672]: <info>  [1729684715.8184] device (end1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 23 13:58:35 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 13:58:35 pi avahi-daemon[628]: Interface end1.IPv6 no longer relevant for mDNS.
Oct 23 13:58:35 pi NetworkManager[672]: <info>  [1729684715.8433] dhcp4 (end1): canceled DHCP transaction
Oct 23 13:58:35 pi NetworkManager[672]: <info>  [1729684715.8435] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 13:58:35 pi NetworkManager[672]: <info>  [1729684715.8436] dhcp4 (end1): state changed no lease
Oct 23 14:03:35 pi NetworkManager[672]: <info>  [1729685015.8141] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 14:03:35 pi NetworkManager[672]: <info>  [1729685015.8150] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 14:03:35 pi NetworkManager[672]: <info>  [1729685015.8184] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 14:03:35 pi NetworkManager[672]: <info>  [1729685015.8244] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 14:03:35 pi NetworkManager[672]: <info>  [1729685015.8312] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 14:03:35 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 14:03:35 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 14:03:35 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8066] device (end1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Oct 23 14:04:20 pi NetworkManager[672]: <warn>  [1729685060.8126] device (end1): Activation: failed for connection 'Wired connection 1'
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8186] device (end1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 23 14:04:20 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 14:04:20 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 14:04:20 pi avahi-daemon[628]: Interface end1.IPv6 no longer relevant for mDNS.
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8432] dhcp4 (end1): canceled DHCP transaction
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8434] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8435] dhcp4 (end1): state changed no lease
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8565] device (end1): Activation: starting connection 'Wired connection 1' (52b21b17-1499-3695-9218-4235185ba5cb)
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8583] device (end1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8606] device (end1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8654] device (end1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 23 14:04:20 pi NetworkManager[672]: <info>  [1729685060.8694] dhcp4 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 14:04:20 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 14:04:20 pi avahi-daemon[628]: New relevant interface end1.IPv6 for mDNS.
Oct 23 14:04:20 pi avahi-daemon[628]: Registering new address record for fe80::ab38:2134:e90b:bd5d on end1.*.
Oct 23 14:04:34 pi NetworkManager[672]: <info>  [1729685074.7898] dhcp6 (end1): activation: beginning transaction (timeout in 45 seconds)
Oct 23 14:04:34 pi avahi-daemon[628]: Leaving mDNS multicast group on interface end1.IPv6 with address fe80::ab38:2134:e90b:bd5d.
Oct 23 14:04:34 pi avahi-daemon[628]: Joining mDNS multicast group on interface end1.IPv6 with address fd42:8cf6:7e49:b300:3c06:1f6c:6028:452d.
Oct 23 14:04:34 pi avahi-daemon[628]: Registering new address record for fd42:8cf6:7e49:b300:3c06:1f6c:6028:452d on end1.*.
Oct 23 14:04:34 pi avahi-daemon[628]: Withdrawing address record for fe80::ab38:2134:e90b:bd5d on end1.
Oct 23 14:04:35 pi avahi-daemon[628]: Registering new address record for fd42:8cf6:7e49:b300:9fba:e4ee:8cd7:cea0 on end1.*.
Oct 23 14:05:19 pi NetworkManager[672]: <info>  [1729685119.8059] device (end1): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Oct 23 14:05:19 pi NetworkManager[672]: <info>  [1729685119.8918] device (end1): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Oct 23 14:05:19 pi NetworkManager[672]: <info>  [1729685119.8929] device (end1): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Oct 23 14:05:19 pi NetworkManager[672]: <info>  [1729685119.8962] device (end1): Activation: successful, device activated.
@nemanjam nemanjam added the bug Something isn't working label Oct 23, 2024
@nemanjam
Copy link
Author

This is Ethernet on official Orangepi3b_1.0.6_ubuntu_jammy_desktop_xfce_linux5.10.160.img Ubuntu.

image

But with this image even Wifi is 2-3 times slower. 100Mbs Ethernet works but 1Gbs fails.

@kiron111
Copy link

The Orange Pi 3B has a hardware bug affecting the ethernet port, causing it to rapidly change its IP and MAC addresses.
According to a comment on Bilibili, this is due to the CPU's connection to the port, and when this bug occurs, it can permanently damage the CPU. (I ask the offical taobao Customer Service, it is confirmed true.)

A fix suggested on Reddit involves a trade-off where the ethernet speed drops to less than 100 kb/sec, and the SMB service becomes very unstable.

Alternatively, using an external USB ethernet port is a solution (which I have adopted). Another option is to send the board back to Orange Pi for repair, although I doubt it is still under warranty.

@nemanjam
Copy link
Author

Its not just Ethernet, even Wifi is 5-10 times slower with this Ubuntu compared to official Orange Pi Jammy Xfce.

Official image Ethernet and Wifi:

image

This image Wifi:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants