Duplex mode

Dirk Raebiger drabiger@zpr.uni-koeln.de
Tue Nov 2 08:27:43 1999


Hi there!

I'm using v1.08a of rtl8139 together with linux kernel 2.2.13. The network
administrator at the institute here says that my machine (gollum) sends in
full-duplex mode. This is also what the led of the card says (full duplex).

The card (Mercy with RealTek 8139) can be configured by a DOS tool and its
EEPROM is set to 10MBIT/half duplex, how it should be.

The 'rtl8139-diag' says the following:
=================================================
gollum:/scratch/dr/tmp# ./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 0xc000.
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 0x00.
  Station Address 00:E0:7D:02:9D:4A.
  Configuration register 0/1 -- 0x5c / 0xc2.
 EEPROM active region checksum is 09c2.

gollum:/scratch/dr/tmp# ./rtl8139-diag -a
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xc000.
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 0xc000
 0x000: 027de000 00004a9d 80000000 00000000 0008050a 9008a50a 9008a5ea 000825ea
 0x020: 0f95c000 0f95c600 0f95cc00 0f95d200 0f920000 0d0a0000 6a506a40 0000c07f
 0x040: 73000400 00009c0e ea1240d6 00000000 002c10c6 00000000 0000c108 00100000
 0x060: 0000600e 05e1780d 00000000 00000000 00000000 000f77c0 38fa8388 ad38de43.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x2c, MII half-duplex mode.
=================================================

ifconfig reports errors, matching the Cisco analysis of our network
administrator:

=================================================
gollum:/scratch/dr/tmp# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0

eth0      Link encap:Ethernet  HWaddr 00:E0:7D:02:9D:4A
          inet addr:134.95.11.226  Bcast:134.95.11.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42987 errors:1 dropped:0 overruns:0 frame:0
          TX packets:42063 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:6716
          Interrupt:11 Base address:0xc000
=================================================

Can anyone help me, why the card thinks it's in full duplex? What can I
do?

Thanks alot,
Dirk

-- 
Homepage at http://www.raebiger.net/
PGP5.0i key at http://www.zpr.Uni-Koeln.DE/~drabiger/pgp.html
Vote against SPAM! http://www.politik-digital.de/spam/
 | 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.