OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by oopen - 17.06.2021

FS#3882 - Lamobo R1 "Cannot attach to PHY" on all openwrt-21.02.0-rc

On all RC of new 21.02.0,

no eth0 link

Model: Lamobo R1

root@OpenWrt:/# dmesg | egrep “mac|net|switch|dev|eth” [ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[ 0.000973] Console: colour dummy device 80×30 [ 0.058749] usbcore: registered new device driver usb
[ 0.058921] videodev: Linux video capture interface: v2.00
[ 0.837640] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[ 0.844029] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[ 0.850075] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[ 0.855848] sun7i-dwmac 1c50000.ethernet: no reset control found
[ 0.893805] mousedev: PS/2 mouse device common for all mice
[ 0.900580] i2c /dev entries driver
[ 0.939679] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[ 1.106169] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.119132] can: controller area network core (rev 20170425 abi 9)
[ 1.165248] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[ 1.171648] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[ 1.177695] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[ 1.183469] sun7i-dwmac 1c50000.ethernet: no reset control found
[ 1.222647] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.301829] sun7i-dwmac 1c50000.ethernet: Version ID not available
[ 1.308026] sun7i-dwmac 1c50000.ethernet: DWMAC1000
[ 1.313037] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[ 1.320255] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[ 1.325923] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[ 1.331758] libphy: stmmac: probed
[ 1.387839] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.396129] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.477848] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.486130] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.605748] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[ 1.614037] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.646062] hctosys: unable to open rtc device (rtc0)
[ 1.651700] ALSA device list:
[ 1.664460] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 1.811603] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 2.073388] usb 2-1: New USB device found, idVendor=0bda, idProduct=8178, bcdDevice= 2.00
[ 2.081671] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.303484] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
[ 3.309504] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 11.333343] mount_root: switching to f2fs overlay
[ 24.766062] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
[ 24.772199] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 24.788465] br-lan: port 1(eth0.1) entered blocking state
[ 24.794046] br-lan: port 1(eth0.1) entered disabled state
[ 24.799827] device eth0.1 entered promiscuous mode


oopen commented on 16.09.2021 08:29

Hello, same problem with last released version :

openwrt-21.02.0-sunxi-cortexa7-lamobo_lamobo-r1-squashfs-sdcard.img

root@OpenWrt:/# uname -a
Linux OpenWrt 5.4.143 #0 SMP Tue Aug 31 22:20:08 2021 armv7l GNU/Linux

root@OpenWrt:/# dmesg | egrep "mac|net|switch|dev|eth"
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.002034] Console: colour dummy device 80x30
[    0.095309] usbcore: registered new device driver usb
[    0.095605] videodev: Linux video capture interface: v2.00
[    0.926525] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[    0.932961] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[    0.939091] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    0.944899] sun7i-dwmac 1c50000.ethernet: no reset control found
[    0.985372] mousedev: PS/2 mouse device common for all mice
[    0.993080] i2c /dev entries driver
[    1.108321] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.121315] can: controller area network core (rev 20170425 abi 9)
[    1.123077] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.197799] sun7i-dwmac 1c50000.ethernet: IRQ eth_wake_irq not found
[    1.204214] sun7i-dwmac 1c50000.ethernet: IRQ eth_lpi not found
[    1.210329] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.216127] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.341788] sun7i-dwmac 1c50000.ethernet: Version ID not available
[    1.348001] sun7i-dwmac 1c50000.ethernet:    DWMAC1000
[    1.353054] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.360288] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.365991] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.372018] libphy: stmmac: probed
[    1.383718] hctosys: unable to open rtc device (rtc0)
[    1.389923] ALSA device list:
[    1.404529] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    4.294244] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
[    4.300283] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[    6.442829] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
[    6.448868] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[   11.360784] mount_root: switching to f2fs overlay
[   22.980067] sun7i-dwmac 1c50000.ethernet eth0: no phy at addr -1
[   22.986200] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[   23.016706] br-lan: port 1(eth0.1) entered blocking state
[   23.022233] br-lan: port 1(eth0.1) entered disabled state
[   23.028199] device eth0.1 entered promiscuous mode

root@OpenWrt:/# lsmod
ahci_platform          12288  0 
ahci_sunxi             12288  0 
cfg80211              270336  2 rtlwifi,mac80211
compat                 12288  4 rtl8192cu,rtlwifi,mac80211,cfg80211
crc_ccitt              12288  1 ppp_async
ip_tables              20480  4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             20480 24 ip6table_mangle,ip6table_filter
ip6t_REJECT            12288  2 
ip6table_filter        12288  1 
ip6table_mangle        12288  1 
ipt_REJECT             12288  2 
iptable_filter         12288  1 
iptable_mangle         12288  1 
iptable_nat            12288  1 
libahci                24576  3 ahci_sunxi,ahci_platform,libahci_platform
libahci_platform       12288  2 ahci_sunxi,ahci_platform
mac80211              466944  3 rtl8192cu,rtl_usb,rtlwifi
nf_conntrack           69632  8 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQ
UERADE,xt_CT,nf_nat,nf_flow_table
nf_defrag_ipv4         12288  1 nf_conntrack
nf_defrag_ipv6         12288  1 nf_conntrack
nf_flow_table          20480  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw       12288  1
nf_log_common          12288  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4            12288  0 
nf_log_ipv6            12288  0 
nf_nat                 28672  4 iptable_nat,xt_nat,xt_REDIRECT,xt_MASQUERADE
nf_reject_ipv4         12288  1 ipt_REJECT
nf_reject_ipv6         12288  1 ip6t_REJECT
ppp_async              16384  0 
ppp_generic            28672  3 pppoe,ppp_async,pppox
pppoe                  16384  0 
pppox                  12288  1 pppoe
rtl_usb                16384  1 rtl8192cu
rtl8192c_common        36864  1 rtl8192cu
rtl8192cu              65536  0 
rtlwifi                57344  3 rtl8192cu,rtl8192c_common,rtl_usb
slhc                   12288  1 ppp_generic
x_tables               20480 24 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQ
UERADE,xt_FLOWOFFLOAD,xt_CT,ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt
_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_table
s,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xt_CT                  12288  0 
xt_FLOWOFFLOAD         12288  0 
xt_LOG                 12288  0 
xt_MASQUERADE          12288  1
slhc                   12288  1 ppp_generic
x_tables               20480 24 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQ
UERADE,xt_FLOWOFFLOAD,xt_CT,ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt
_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_table
s,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xt_CT                  12288  0 
xt_FLOWOFFLOAD         12288  0 
xt_LOG                 12288  0 
xt_MASQUERADE          12288  1 
xt_REDIRECT            12288  0 
xt_TCPMSS              12288  4 
xt_comment             12288127 
xt_conntrack           12288 14 
xt_limit               12288 20 
xt_mac                 12288  0 
xt_mark                12288  0 
xt_multiport           12288  0 
xt_nat                 12288  0 
xt_state               12288  0 
xt_tcpudp              12288 12 
xt_time                12288  0

Seem to be related with this issue ?

FS#3049 - sunxi / lamobo-r1: switch not working with kernel 5.4

Lamobo R1 broken networking on 21.02

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing