[FS#669] CPE510: missing link details (via ethtool)

LEDE Bugs lede-bugs at lists.infradead.org
Fri Mar 31 18:40:23 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Lars (sumpfralle) 

Attached to Project - LEDE Project
Summary - CPE510: missing link details (via ethtool)
Task Type - Feature Request
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - I am using LEDE on a TP-Link CPE510 device.

The device contains one ethernet port (eth0) connected to two physical ports (eth0.1 and eth0.2).

I fail to retrieve ethernet status information (e.g. the currently negotiated link speed):

root at lede:/etc/opkg# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: yes


Thus it is not possible to detect the link speed. In my case this causes a problem with OLSRD2, since the negotiated link speed is required for the calculation of a proper routing metric.

Kernel initialization:

root at lede:/etc/opkg# dmesg |grep eth
[    1.298265] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.319380] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.915811] eth0: link up (1000Mbps/Full duplex)
[    4.920540] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.729961] eth0: link down
[   15.741434] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.751276] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   15.795536] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   17.335865] eth0: link up (1000Mbps/Full duplex)
[   17.340597] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.388337] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   17.395183] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   51.404881] eth0: link down
[   56.905812] eth0: link up (1000Mbps/Full duplex)


Driver information:

root at lede:/etc/opkg# ethtool -i eth0
driver: ag71xx
version: 0.5.35
firmware-version: 
expansion-rom-version: 
bus-info: ag71xx.1
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no


Do you have any hints, how I can investigate, why the detailed interface information is missing?

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=669



More information about the lede-bugs mailing list