This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Intel driver change? Cant set duplex.

Running latest version 6.303

Can't seem to set duplex on eth1 like I used to be able to... I get this error:

(Intel Pro 1000 NICs)

micromine-gw:/home/login # mii-diag -F 10baseT-FD eth1

Setting the speed to "fixed", Control register 0100.
SIOCSMIIREG on eth1 failed: Operation not supported
Basic registers of MII PHY #0:  1140 796d 0141 0c23 0de1 0021 0004 2801.
 Basic mode control register 0x1140: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner is generating 10baseT link beat  (no autonegotiation).
   End of basic transceiver information.


Any ideas?


This thread was automatically locked due to age.
  • Simon,
    my reading of the second last line of the config report says that the box at the other end is only capable of 10mb simplex or am I being a bit simple?

    Ian M
  • Have you tried using ethtool to do the same?

    ethtool -s eth1 speed 10 duplex full
  • drees, thanks for that one, wasn't aware of the ethtool command.
    However, it doesn't work.  No error thrown though...

    micromine-gw:/home/login # ethtool -s eth1 speed 10 duplex full
    micromine-gw:/home/login # mii-diag eth1
    Basic registers of MII PHY #0:  1140 796d 0141 0c23 0de1 0021 0004 2801.
     Basic mode control register 0x1140: Auto-negotiation enabled.
     You have link beat, and everything is working OK.
     Your link partner is generating 10baseT link beat  (no autonegotiation).
       End of basic transceiver information.


    RFCat_vk : Well I used to be able to set full duplex.  However the media converter for some reason won't auto-neg duplex correctly so always had to be forced.  It should be set to 10mbit, full duplex.

    I'll ring our ISP re the media convertor.
  • What happens when you run

    # ethtool -s eth1 speed 10 duplex full
    # ethtool


    Instead of running mii-diag after? What does ethtool say? I think mii-diag may be putting the NIC back into auto-negotiation mode.
  • Nope, running as per above instructions:

    micromine-gw:/home/login # ethtool eth1
    Settings for eth1:
            Supported ports: [ TP ]
            Supported link modes:   10baseT/Half 10baseT/Full 
                                    100baseT/Half 100baseT/Full 
                                    1000baseT/Full 
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full 
                                    100baseT/Half 100baseT/Full 
                                    1000baseT/Full 
            Advertised auto-negotiation: Yes
            Speed: 10Mb/s
            Duplex: Half
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: umbg
            Wake-on: g
            Current message level: 0x00000007 (7)
            Link detected: yes
    micromine-gw:/home/login # ethtool -s eth1 speed 10 duplex full
    micromine-gw:/home/login # ethtool eth1 
    Settings for eth1:
            Supported ports: [ TP ]
            Supported link modes:   10baseT/Half 10baseT/Full 
                                    100baseT/Half 100baseT/Full 
                                    1000baseT/Full 
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full 
                                    100baseT/Half 100baseT/Full 
                                    1000baseT/Full 
            Advertised auto-negotiation: Yes
            Speed: 10Mb/s
            Duplex: Half
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: umbg
            Wake-on: g
            Current message level: 0x00000007 (7)
            Link detected: yes
  • Something else to try...

    Try turning auto-neg off first:

    # ethtool -s eth1 autoneg off
    # ethtool -s eth1 duplex full

    Then run ethtool and see if it's in full-duplex or not...

    -Dave