Ethtool. Bug? Report or not?

If none of the more specific forums is the right place to ask

Ethtool. Bug? Report or not?

Postby jmr » 2017-08-24 05:17

Hello,
Even after years of Debian use, I'm always a bit unsure about when/where to report bugs on stable. Even more on this case, where I'm not even sure if this is a bug or not.

Context: I want to limit the Gigabit Ethernet card to 100MBPS, through advertise masks. I'm using ethtool, through modifications to the if-up.d script (although the bug can be seen through direct invocations).

From my experiments, it seems that if both autoneg and advertise are specified, advertise is ignored - even though this is a syntax used in the if-up.d. Here's what it looks like (note that every "read" call has been delayed enough for the negotiations to complete. Again, this is on stable, fully updated.

Code: Select all
root@PC:/# ethtool eno1
Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
root@PC:/# ethtool --change eno1 advertise 0x000F autoneg on
root@PC:/# ethtool eno1
Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
root@PC:/# ethtool --change eno1 advertise 0x000F
root@PC:/# ethtool eno1
Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
root@PC:/# ethtool --version
ethtool version 4.8
root@PC:/#

So... Bug or not? Report or not?
jmr
 
Posts: 2
Joined: 2017-08-24 05:06

Re: Ethtool. Bug? Report or not?

Postby jmr » 2017-08-29 02:01

jmr
 
Posts: 2
Joined: 2017-08-24 05:06


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable