Jump to content

Recommended Posts

Posted

The interface name is end0

Use udev rules to rename to eth0 if you want.

Posted

But I have not internet access via eth (end0)

Ifconfig

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 32  bytes 2592 (2.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32  bytes 2592 (2.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.102  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::3ad5:4df8:1ff:4c0e  prefixlen 64  scopeid 0x20<link>
        ether b0:02:47:b9:f0:e9  txqueuelen 1000  (Ethernet)
        RX packets 1422  bytes 166846 (162.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1216  bytes 525875 (513.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Posted
33 minutes ago, Fazik83 said:
 2023	[   14.365868] dwmac-sun8i 5020000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)

I see. Something is fishy. No instant solution. You can try to revert to an older kernel using armbian-config for now.

Btw. you are sure you have the OPi3 without LTS? Because the LTS variants differs hardware-wise and that is why there are separate images for it.

Posted

The link you followed is just fine.

As stated you could try to use an older kernel (like 5.15.y) or try edge branch which follows 6.x.y, not sure if 6.5 already but 6.4.y I think

And check if this makes a difference. It is easier to investigate if known that it works properly on other firmware.

Posted

hello, I also had this problem which I just solved by reinstalling the version:

 

Armbian_23.02.2_Orangepi3_bullseye_current_5.15.93.img.xz

 

Once you have rebooted on your OPI3, followed the startup script and done the first

 

# apt update

 

please run the armbian-config script and freeze the firmware upgrade.

 

If in doubt you can use the

 

# apt-mark hold [PACKAGENAME]

 

command.

Posted (edited)

Actually I have  Armbian 23.02.2 Bullseye with Linux 5.15.93-sunxi64

If I find some free time today, I'll try install image from Gunjan Gupta

Still doesn't work.

Edited by Fazik83
Posted
29.09.2023 в 21:59, Gunjan Gupta сказал:

Could you please test the same and let me know if it works?

Hello! I tested it, but it doesnt work on my orange pi 3 (not LTS). I tried apt update and upgrade, but dont luck.

I can give diagnostic information if you tell me the commands.

Posted
22 hours ago, yurii84 said:

Hello! I tested it, but it doesnt work on my orange pi 3 (not LTS). I tried apt update and upgrade, but dont luck.

I can give diagnostic information if you tell me the commands.

Its ok. I am already aware that the image was broken. It was already tried by someone else from the community. I will try to fix it later, dealing with some personal stuff right now.

Posted (edited)

Armbian 23.11.1 (Linux 6.1.63-current-sunxi64) - A similar problem with the eth0 interface not working on this board:

 

[    2.865410] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    2.865438] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    2.865881] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    2.865914] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 58000 (expect 50000)
[    2.866325] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    2.866336] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    2.866344] dwmac-sun8i 5020000.ethernet: COE Type 2
[    2.866353] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    2.866361] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    2.866368] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    2.968350] dwmac-sun8i 5020000.ethernet: EMAC reset timeout
[    2.968383] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing driver
[    3.051836] dwmac-sun8i: probe of 5020000.ethernet failed with error -110

 

Is there a solution to this problem? thx

Edited by Aleksey Gavrikov
Posted

@Aleksey GavrikovWe were not able to fix this before we made 23.11 release. We have now fixed the issue and the PR is merged. Fix will be available in beta apt repository first (beta.armbian.com) and will be included in next release. As the fix is in bootloader, once new linux-u-boot-* package is provided via apt, Bootloader has to be reflashed on the system (See https://docs.armbian.com/User-Guide_Getting-Started/#how-to-update-u-boot). Ethernet should start working after reboot.

Posted (edited)

I do ran into the same problem today with my rock-3a running
    Armbian 24.2.1 Bookworm with Linux 6.6.16-current-rockchip64

It occurred after re-boot of the system because of the banner the message "Please reboot system do to kernel-updated" appeared. After that ethernet (was named "end0") did not come up anymore. When activating using "nmtui" the message comes:
"Activation failed. Device could not be prepared for activation ..." (freely translated from German language).

journalctl -x gives the following:
(armbian-monitor -u already performed)

Mar 14 10:51:01 cloud kernel: rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
Mar 14 10:51:01 cloud NetworkManager[745]: <info>  [1710409861.7565] device (end0): state change: config -> failed (reason 'config-failed', sys-iface-state: 'managed')
Mar 14 10:51:01 cloud NetworkManager[745]: <warn>  [1710409861.7579] device (end0): Activation: failed for connection 'Ethernet'
Mar 14 10:51:01 cloud NetworkManager[745]: <info>  [1710409861.7588] device (end0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')


After all I updated the bootloader (using armbian-config) and it luckily resolved the problem ...

Thx for reading this. Hope it helps others ...

Edited by Hannes
Problem solved
Posted (edited)

I had the same problem with Eth0 missing, I had to connect via TTL-UART-dongle to assign the interface to new system. And it was end0 also. After that i got problems with high Soft-IRQ loads on my CPU(Nanopi M4V2 with OMV+docker+transmission with 1 SATA disk. See images attached, before and after upgrading). There is definitely something wrong with this release.

Guys who still didn't upgrade to Bookworm, could you pls send me results of "ethtool -k end0" command to compare TCP segmentation offload settings on NanoPi M4V2 ?
See https://balodeamit.blogspot.com/2013/10/tcp-segmentation-offloading.html for additional info

Transmission load.jpg

Edited by StormMaster
Posted

I've installed Armbian minimal version based on Debian Bookworm (image Armbian_community_24.8.0-trunk.495_Bananapi_bookworm_current_6.6.36_minimal.img.xz) on my Banana Pi M1.

Installation went well but I can't set up static ip address in armbian config. Anytime I run armbian-config and try to set static address it hangs for a while and exits with no error code. So, I set up static ip address mapping on my router.

 

After installation I runned apt update and apt upgrade.

 

I've noticed that there is no eth0 interface but end0.

Dmesg says that interface was renamed.

root@bananapi:/usr/local/bin# dmesg | grep end0
[    3.327770] sun7i-dwmac 1c50000.ethernet end0: renamed from eth0
[   10.106591] sun7i-dwmac 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   10.126691] sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   10.126766] sun7i-dwmac 1c50000.ethernet end0: No Safety Features support found
[   10.126781] sun7i-dwmac 1c50000.ethernet end0: RX IPC Checksum Offload disabled
[   10.126799] sun7i-dwmac 1c50000.ethernet end0: No MAC Management Counters available
[   10.126813] sun7i-dwmac 1c50000.ethernet end0: PTP not supported by HW
[   10.127714] sun7i-dwmac 1c50000.ethernet end0: configuring for phy/rgmii-id link mode
[   14.547226] sun7i-dwmac 1c50000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx

 

I'm not sure if interface name causes problem with setting up static address in armbian-config.

 

Now I'm trying to rename end0 interface to eth0.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines