RE: RTL8139 Full Duplex with a non-modular kernel

From: Gerard Sharpe (gerards_at_hunterlink.net.au)
Date: 06/29/04

  • Next message: Sam Halliday: "Firefox and MIME"
    To: <debian-user@lists.debian.org>
    Date: Tue, 29 Jun 2004 10:37:53 +1000
    
    

    Thanks for the reply. Still having a few issues..

    ------------------------
    kryten:~# ethtool -s eth0 speed 100 duplex full autoneg off

    kryten:~# reboot

    kryten:~# grep eth0 /var/log/dmesg
    eth0: RealTek RTL8139 at 0xe0800000, 00:e0:4c:e9:5b:db, IRQ 11
    eth0: Identified 8139 chip type 'RTL-8100B/8139D'
    eth0: link up, 10Mbps, half-duplex, lpa 0x0000

    kryten:~# ethtool eth0
    Settings for eth0:

            Supported ports: [ TP MII ]
            Supported link modes: 10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supports auto-negotiation: Yes
            Speed: 100Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 32
            Transceiver: internal
            Auto-negotiation: off
            Supports Wake-on: pumbg
            Wake-on: d
    ------------------------

    I thought it strange that once rebooted the card was picked up as 10MB HD
    but ethtool shows 100MB FD? I'm pretty sure the card is running at 100MB as
    the switch shows the link at 100MB (is only a cheapo switch, does not show
    about the duplex setting) but I'm curious about the duplex setup. FTP is
    only transferring at 500KB/s so something is definiately screwy.

    Also is I use the command "ethtool -s eth0 speed 10 duplex half autoneg off"
    the 100MB light on the switch does go off.

    I decided to test my other linux box which is setup with a modular kernal
    with the identical network card and found it is transfering at 5MB/s.. I'm
    am now confused...

    R
    GS

    -----Original Message-----
    From: Micha Feigin [mailto:michf@post.tau.ac.il]
    Sent: Tuesday, 29 June 2004 6:21 AM
    To: debian-user@lists.debian.org
    Subject: Re: RTL8139 Full Duplex with a non-modular kernel

    On Tue, Jun 29, 2004 at 12:36:01AM +1000, Gerard Sharpe wrote:
    >
    > Hi, I am after some advice for setting a RTL8139 NIC to 100MB full
    duplex on a non-modular kernel.
    >
    >
    > I can do this with a modular kernel, but am not sure how to go about it
    on a monolithic kernel. The mii-tool
    > does not seem to support the rtl8139 driver installed with the 2.4.26
    kernel and reports incorrectly that the
    > card is already at 100baseT-FD. using rtl8139-diag shows the eeprom is
    set to 10baseT-HD but for the life of
    > me cannot work out how to set it to 100baseT-FS (have tried
    rtl8139-diag -w -F 100baseT-FD without success).
    >
    >
    > Any advice will be much appreciated.
    >

    There is also ethtool. mii-tool does support the card AFAIK (shows the right
    state at least for me) but with anything other then ethtool I haven't
    managed to get the mode to stick (it kept reseting).

    You also need to set it to autoneg off otherwise the mode is setting by the
    highest the two sides support (if its on auto and doesn't choose full duplex
    then maybe you other side doesn't support it).

    BTW I was told that rtl8139 based cards don't support full duplex in
    hardware despite claiming so. Don't know if thats true though.

    >
    > Thx
    >
    > Gerard
    >
    >
    >
    > +++++++++++++++++++++++++++++++++++++++++++
    > This Mail Was Scanned By Mail-seCure System
    > at the Tel-Aviv University CC.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Sam Halliday: "Firefox and MIME"

    Relevant Pages

    • knoppix may ping everything but cant load a page
      ... net works well only when duplex is set to half. ... using either mii-tool and ethtool. ... Mii-tool says there are no active mii ... ethtool can't get full information from eth0 (only some ...
      (comp.os.linux.networking)
    • Intel Gigabit NIC (2.6.5 -> 2.6.10) Bug(?) Found
      ... Something in the kernel changed regarding the Intel e1000 driver from ... Normally, I never really looked at my ifconfig eth0, eth1 etc because I ... with GigE nics, on one there are very few if any errors on the nic ... ethtool and installed it and did a basic query for network setting ...
      (Linux-Kernel)
    • RE: RTL8139 Full Duplex with a non-modular kernel
      ... with ethtool - ... eth0: ... the switch shows the link at 100MB (is only a cheapo switch, ... about the duplex setting) but I'm curious about the duplex setup. ...
      (Fedora)
    • Re: duplex prob
      ... Settings for eth0: ... 10 Mbit, half duplex, no link ... I have checked the cable connection, ... *ethtool -s eth0 autoneg off ...
      (Fedora)
    • Re: [SLE] Forcing 100Mbit network speed.
      ... mii-tool is oldskool, use: ... to set eth0 to 100Mb/s full duplex. ... ethtool eth0 for summary and details of cards abilities. ...
      (SuSE)