Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Ethtool. Bug? Report or not?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
jmr
Posts: 11
Joined: 2017-08-24 05:06

Ethtool. Bug? Report or not?

#1 Post by jmr »

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: 11
Joined: 2017-08-24 05:06

Re: Ethtool. Bug? Report or not?

#2 Post by jmr »


Post Reply