Jump to content

Cannot attach to PHY after upgrade to 2023.8.1


Jack07

Recommended Posts

Hello, I have  Orange Pi One Plus with the kernel 5.15.80 of Armbian 22.11.1 and work well.

, but after upgrading to 23.8.1 kernel 6.1.47 the network interfaces stop working at all.

 

Even I try the 23.05.1, 23.05.6 all have same error which because the kernel is 6.1.x.

Currenly I limited the internet access without the the network.

May I know how to fix it in the console or someone can help to generate the 23.11.1 image for fixed this error.

 Thanks

 

The error message like as below in the console terminal.

[  9.899195] dwmac-sun8i 5020000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)

 

The spec of the system:

dmesg | grep eth0
[   36.352751] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   36.353587] dwmac-sun8i 5020000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)

 

uname -a
Linux orangepioneplus 6.1.47-current-sunxi64 #3 SMP Wed Aug 23 15:52:42 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

 

ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 02:01:e7:xx:xx:xx brd ff:ff:ff:ff:ff:ff

 

 

Edited by Jack07
Link to comment
Share on other sites

2024/02/11 update the status.

I use addition USB3 ethernet device to work with the network and run apt upgrade to the kernel 6.1.63.

But still has a error with inside network device eth0.

The below is spec:

image file:

Armbian_23.8.1_Orangepioneplus_jammy_current_6.1.47.img.xz

 

uname -a

Linux orangepioneplus 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

 

ip address

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 02:01:e7:xx:xx:xx brd ff:ff:ff:ff:ff:ff
4: enx000ec6b1d59e: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0e:c6:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 192.168.xx.xx/24 brd 192.168.xx.xx scope global dynamic noprefixroute enx000ec6b1d59e
       valid_lft 85927sec preferred_lft 85927sec
    inet6 fe80::xxxx:xxxx:xxxx:xxxx/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

 

dmesg | grep eth0
[   20.495445] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   20.496087] dwmac-sun8i 5020000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)

Edited by Jack07
Link to comment
Share on other sites

I have the same problem on OrangePi 3

 

uname -a

Linux orangepi3 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux

image file

Armbian_23.11.1_Orangepi3_bookworm_current_6.1.63.img.xz

ifup end0

ifup: failed to bring up end0
 

dmesg | grep -i end
[    5.133926] dwmac-sun8i 5020000.ethernet end0: renamed from eth0
[   11.205978] dwmac-sun8i 5020000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   11.214610] dwmac-sun8i 5020000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)
[   88.248982] ---[ end trace 0000000000000000 ]---

 

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