[realtek] 100mbit communication setup

Peter Kreutzer peter.kreutzer@freesurf.ch
Sat Mar 9 05:58:01 2002


Hi list,

some days ago I ubdated my linux kernel from 2.4.4 to 2.4.16.
I am using SUSE7.2 distribution.

I connect two machines over a 100mbit hub. Both machines do have netword 
adapter of  RealTek RTL8139 an i am using the 8139too module.

Because my hub does only support 100mbit communication i am not able to force 
the cards to 100mbit mode. 

If i connect the cards directly with a crossover cable they are able to 
communicate to each other.

How to bring the cards to 100mbit commmuncation?

regards and thanks Peter

here some diagnostic outputs on the machines:

machine1
8139too Fast Ethernet driver 0.9.22
PCI: Enabling device 00:0a.0 (0004 -> 0007)
PCI: Assigned IRQ 9 for device 00:0a.0
eth1: RealTek RTL8139 Fast Ethernet at 0xe2bb5000, 00:e0:7d:02:5f:cd, IRQ 9
eth1:  Identified 8139 chip type 'RTL-8139A'
eth1: Setting half-duplex based on auto-negotiated partner ability 0000.


/usr/local/bin/mii-diag eth1
Basic registers of MII PHY #32:  0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
 Link partner information is not exchanged when in fixed speed mode.
   End of basic transceiver information.

/usr/local/bin/rtl8139-diag -aRfv eth1
rtl8139-diag.c:v2.05 1/28/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xa000.
RealTek chip registers at 0xa000
 0x000: 027de000 0000cd5f 80000001 40000000 9008a042 9008a043 9008a042 
9008a042
 0x020: 091b6000 091b6600 091b6c00 091b7200 08e30000 0d0a0000 7eb47ea4 
0000c07f
 0x040: 70000680 0000f78e 3b3198f2 00000000 005c1000 00000000 0000c108 
00100000
 0x060: 1000f00f 05e1782d 00000000 00d20001 00010005 000f77c0 78fa8388 
ad38de43.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x5c, MII full-duplex mode.




machine2
dmesg
8139too Fast Ethernet driver 0.9.22
PCI: Found IRQ 10 for device 00:08.0
PCI: Sharing IRQ 10 with 00:0b.2
eth0: RealTek RTL8139 Fast Ethernet at 0xc4a37000, 00:48:54:6e:6c:99, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8139B'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.


mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled, with
 Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
 Link partner information is not exchanged when in fixed speed mode.
   End of basic transceiver information

rtl8139-diag -aRfv eth1
rtl8139-diag.c:v2.05 1/28/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xe000.
RealTek chip registers at 0xe000
 0x000: 6e544800 0000996c 80000000 40000040 0008a044 0008a083 0008a069 
0008a078
 0x020: 039cc000 039cc600 039ccc00 039cd200 03640000 0d0a0000 58bc58ac 
0000c07f
 0x040: 78000680 0000f78e 6e8fe0ba 00000000 008d1000 00000000 0088c1c8 
00100000
 0x060: 0100f00f 05e1780d 00000000 00000006 00000000 000f77c0 58fab388 
ad38d843.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x8d, MII half-duplex mode.