[realtek] speed problems with 8139

andreas svensson booz1980@hotmail.com
Mon Jan 7 19:18:00 2002


Hi!
I have some problems with transfer speed with 8139C on a RedHat 7.2 (2.4.2-2 
kernel), i can only transfer files with like 13mbit/s (i have tried to send 
files with Samba and ftp).
(when im transfering files from other computers i get about 60mbit/s)

I'm using the 8139too driver that comes with RedHat 7.2
when i run "mii-tool -v" i get this:
eth1: negotiated 100baseTx-HD, link ok
  product info: vendor 00:00:00, model 0 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  link partner: 100baseTx-HD 10baseT-HD
---------------------------------------------

i cant see anything wrong there, it runs at 100mbit Half Duplex, right?


i have also tried the "rtl8139-diag":


#./rtl8139-diag -aa

rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x6100.
RealTek chip registers at 0x6100
0x000: 30954000 0000750f 80000000 00000000 00002000 00002000 00002000 
00002000
0x020: 02292000 02292600 02292c00 02293200 01430000 01000000 0000fff0 
00000000
0x040: 74000000 00000000 370b355a 00000000 000f10c0 00000000 0081c100 
00100000
0x060: 1000000f 21ff782d 000140a1 00000000 00000004 000207c8 b0f243b9 
8a36df43.
  No interrupt sources are pending.
The chip configuration is 0x10 0x0f, MII half-duplex mode.
---------------------------------------------------------



#./rtl8139-diag -e

rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x6100.
Decoded EEPROM contents:
   PCI IDs -- Vendor 0x10ec, Device 0x8139.
   PCI Subsystem IDs -- Vendor 0x10ec, Device 0x8139.
   PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xe1  value 0x12.
  Station Address 00:40:95:30:0F:75.
  Configuration register 0/1 -- 0x0d / 0xc2.
EEPROM active region checksum is 08c8.
------------------------------------------------



#./rtl8139-diag -mm

rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x6100.
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1000.
   Autonegotiation Advertisement 0x21ff.
   Link Partner Ability register 0x40a1.
   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.
----------------------------------------------------


But here is something i wonder about, What does
"Speed fixed at 10 mbps, half-duplex" mean ?


Can someone PLEASE help me, is there something wrong here or do i need 
another driver?

Thanks!!
/Andreas


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com