Jump to content

Armbian 23.8 Bookworm eth0 missing


Fazik83

Recommended Posts

The interface name is end0

Use udev rules to rename to eth0 if you want.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@Fazik83 Does this happen only on warm reboot or on cold boot(removing power and plugging back in) as well?

 

Also could you please try the image from the below link and check if it works better. Make sure to check after reboot as well.

 

https://drive.google.com/drive/folders/1mD8q60uruA_iWpN1Njy0H9FVw7lPZReY?usp=sharing

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@Fazik83I have made few changes and have uploaded new Images here - https://drive.google.com/drive/folders/1Pq7iYzIBPhPPACGxDqan0obbl8wNVY8t?usp=sharing

 

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

 

PS: The image has console set to serial, so there might be no login prompt on hdmi. If you need to use hdmi, set console=both in boot/armbianEnv.txt file.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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