100baseTx-FD problem with 21143
mark@lightning.cistron.nl
mark@lightning.cistron.nl
Fri Nov 26 06:05:22 1999
Hi,
Yesterday I made a testsetup with a 3com 8 port Officeconnect switch and some
Linux PC's. Two of the PC's have 100Mbit cards, one is a 3com 905 and the other
a Tulip 21143 (unknown brand). The 3com works perfectly at 100Mbit full duplex.
But the Tulip has problems. The switch gives both full duplex and 100Mbit
link lights, but when I try to transfer data it is very slow. When I force the
tulip into half dulpex mode it works great.
Here some stats:
Insert module, using auto detect. Switch goes to 100Mbit full duplex
thunder# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32: 1000 786c 0000 0000 01e1 45e1 0000 0000.
Basic mode control register 0x1000: Auto-negotiation enabled.
You have link beat, and everything is working OK.
Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
thunder# tcpspray -n 600 192.168.1.20
Transmitted 614400 bytes in 25.639532 seconds (23.401 kbytes/s)
Interface stats:
eth0 Link encap:Ethernet HWaddr 00:00:CB:53:16:02
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:203 errors:0 dropped:0 overruns:0 frame:0
TX packets:431 errors:113 dropped:0 overruns:0 carrier:113
collisions:0 txqueuelen:100
Interrupt:9 Base address:0xec00
Insert module using options=3, switch goes to 100mbit, half duplex
thunder# ./mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #32: 0000 784c 0000 0000 0001 0000 0000 0000.
Basic mode control register 0x0000: Auto-negotiation disabled, with
Speed fixed at 10 mbps, half-duplex.
You have link beat, and everything is working OK.
Link partner information information is not exchanged when in fixed speed mode.
So, according to mii-diag it's in 10mbps, half duplex.
thunder# tcpspray -n 600 192.168.1.20
Transmitted 6144000 bytes in 0.587399 seconds (10214.522 kbytes/s)
Interface stats:
eth0 Link encap:Ethernet HWaddr 00:00:CB:53:16:02
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6289 errors:0 dropped:0 overruns:0 frame:0
TX packets:12548 errors:0 dropped:0 overruns:0 carrier:0
collisions:6261 txqueuelen:100
Interrupt:9 Base address:0xec00
Am I doing something wrong, or is there a problem with my card or driver?
Thanks,
Mark