getting two directly connected rtl8139 cards to goto 100mb/s

David -dof- Goodwin dag7@aber.ac.uk
Sat Jan 29 08:35:26 2000


This is a multi-part message in MIME format.
--------------1557CEF7C38CA1A73C2DE697
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello...

I currently have two computers running slackware linux connected
together with a cross over cable.
(they also have another ne2k-pci type card each, which they use to talk
to another LAN - sm.net (private ip setup thing))

The nics connected to this cable are both rtl8139 based, but neither
wants to run at 100mb/s (they are stuck at 10mb/s)

Is there any way that i can tell them to run at 100mb/s ? (eg a command
to put in the /etc/conf.modules or something similar, or a boottime
command to go in /etc/lilo.conf ?)

I've read most of the realtrek related webpages by Donald Becker, but
they don't seem to mention anything about this.

I've run the rtl8139 diagnostic program which was on his webpage, and
the results are attached below.

As you can see neither card seems to want to autonegotiate.

Thanks in advance for any help.

David Goodwin
--------------1557CEF7C38CA1A73C2DE697
Content-Type: text/plain; charset=us-ascii;
 name="weetabix-realtrek-results"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="weetabix-realtrek-results"

504:root:weeta:/home/dof/new-stuff # ./rtl8139-diag -aa
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
The RealTek chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
RealTek chip registers at 0xec00
 0x000: 08526000 00009a7f 80000000 00000000 0008a042 0008a042 0008a0ca 0008a042
 0x020: 079b0000 079b0600 079b0c00 079b1200 07980000 0d0a0000 78cc78bc 0000c07f
 0x040: 73000400 00009c0e dc44fec4 00000000 006c10c6 00000000 0000c180 00100000
 0x060: 1100f00f 05e1782d 000145e1 00000000 00000004 000517c8 78fa8388 ac38de43.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x6c, MII full-duplex mode.
505:root:weeta:/home/dof/new-stuff # ./rtl8139-diag -e
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x10ec.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xf1  value 0x10.
  Station Address 00:60:52:08:7F:9A.
  Configuration register 0/1 -- 0xad / 0xc2.
 EEPROM active region checksum is 09c0.
506:root:weeta:/home/dof/new-stuff # ./rtl8139-diag -mm
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x45e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0004.
   Receive frame error count     0x0000.
 MII PHY #-1 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0000:
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.


--------------1557CEF7C38CA1A73C2DE697
Content-Type: text/plain; charset=us-ascii;
 name="fruitibix-realtrek-results"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fruitibix-realtrek-results"

fruitibix:root:502:/home/dof/new-stuff $ ./rtl8139-diag -aa -f

rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
RealTek chip registers at 0xec00
 0x000: d3210000 0000a511 80000000 00000000 000ca5ea 000ca5ea 000ca044 000ca068
 0x020: 01a72000 01a72600 01a72c00 01a73200 01a40000 0d0e0000 88988888 0000c07f
 0x040: 73000400 00009c0e fab60a5e 00000000 006c10c6 00000000 0000c180 00100000
 0x060: 1100f00f 05e1782d 000145e1 00000000 00000004 000617c8 78fa8388 a538d843.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x6c, MII full-duplex mode.

fruitibix:root:503:/home/dof/new-stuff $ ./rtl8139-diag -e

rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x10ec.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xe1  value 0x10.
  Station Address 00:00:21:D3:11:A5.
  Configuration register 0/1 -- 0x4c / 0xc2.
 EEPROM active region checksum is 0926.

fruitibix:root:504:/home/dof/new-stuff $ ./rtl8139-diag -mm

rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x45e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0004.
   Receive frame error count     0x0000.
 MII PHY #-1 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0000:
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.


--------------1557CEF7C38CA1A73C2DE697--

 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.