"genius MF3000" with DS21143

Joerg D. Schmid jschmid@klizix.mpi-stuttgart.mpg.de
Sun Jan 23 09:28:31 2000


I have problems with this cardbus-card in a 100-mbit network. The card
is
autonegotiating a full-duplex link, however the full-duplex light stays
off
and the link is slow (~330kbyte/sec measured with ttcp).
All logs below are given for this situation. I get better but still
assymmetric performance (3Mbyte/s send -7Mbyte/s receive) when forcing
the
card to half-duplex and (!) full-duplex as described under other_setups.

It seems, that the card is not set up for full duplex even though the
logs,
the linkpartner and tulip-diag report full duplex.

Details:
system, log, MF3000_leds, tulip-diag_-ee, linkpartner, other_setups

system:
linux-2.2.12 (+patch irda3)
pcmcia-cs.12-Jan-00.tar.gz
tulip.c from cesdis.gsfc.nasa.gov/linux/drivers/tulip.c on 23.jan2000
sony vaio737
genius MF3000 (they seem to sell different products under this name)

log:
Jan 23 15:03:55 heidi kernel: Linux PCMCIA Card Services 3.1.9
Jan 23 15:03:55 heidi kernel:   kernel build: 2.2.12 #1 Mon Sep 6
21:14:04 MEST 1999
Jan 23 15:03:55 heidi kernel:   options:  [pci] [cardbus] [apm]
Jan 23 15:03:55 heidi kernel: Intel PCIC probe:
Jan 23 15:03:55 heidi kernel:   Ricoh RL5C478 PCI-to-CardBus at bus 0
slot 10, mem 0x68000000, 2 sockets
Jan 23 15:03:55 heidi kernel:     host opts [0]: [isa irq] [io 3/6/1]
[mem 3/6/1] [no pci irq] [lat 168/176] [bus 32/34]
Jan 23 15:03:55 heidi kernel:     host opts [1]: [isa irq] [io 3/6/1]
[mem 3/6/1] [no pci irq] [lat 168/176] [bus 35/37]
Jan 23 15:03:55 heidi kernel:     ISA irqs (default) = 3,4,5,7,11
polling interval = 1000 ms
Jan 23 15:03:55 heidi cardmgr[22968]: starting, version is 3.1.9
Jan 23 15:03:55 heidi cardmgr[22968]: watching 2 sockets
Jan 23 15:03:55 heidi kernel: cs: IO port probe 0x1000-0x17ff: clean.
Jan 23 15:03:55 heidi kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x140-0x147 0x220-0x22f 0x320-0x327 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
Jan 23 15:03:55 heidi kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jan 23 15:03:56 heidi kernel: cs: cb_alloc(bus 35): vendor 0x1011,
device 0x0019
Jan 23 15:03:56 heidi kernel: ROM image dump:
Jan 23 15:03:56 heidi kernel:   image 0: 0x000000-0x0001ff, signature
PCIR
Jan 23 15:03:56 heidi cardmgr[22968]: initializing socket 1
Jan 23 15:03:56 heidi cardmgr[22968]: socket 1: Genius MF3000 Fast
Ethernet
Jan 23 15:03:56 heidi cardmgr[22968]: executing: 'insmod
/lib/modules/2.2.12/pcmcia/cb_enabler.o'
Jan 23 15:03:56 heidi cardmgr[22968]: executing: 'insmod
/lib/modules/2.2.12/pcmcia/tulip_cb.o'
Jan 23 15:03:56 heidi kernel: cs: cb_config(bus 35)
Jan 23 15:03:56 heidi kernel:   fn 0 bar 1: io 0x280-0x2ff
Jan 23 15:03:56 heidi kernel:   fn 0 bar 2: mem 0x600c0000-0x600c03ff
Jan 23 15:03:56 heidi kernel:   fn 0 rom: mem 0x60080000-0x600bffff
Jan 23 15:03:56 heidi kernel: cs: cb_enable(bus 35)
Jan 23 15:03:56 heidi kernel:   bridge io map 0 (flags 0x21):
0x280-0x2ff
Jan 23 15:03:56 heidi kernel:   bridge mem map 0 (flags 0x1):
0x60080000-0x600c0fff
Jan 23 15:03:56 heidi kernel: tulip_attach(bus 35, function 0)
Jan 23 15:03:56 heidi kernel: tulip.c:v0.91g 7/16/99
becker@cesdis.gsfc.nasa.gov
Jan 23 15:03:56 heidi kernel: eth0: Digital DS21143 Tulip rev 65 at
0x280, 00:A0:0C:90:6C:25, IRQ 3.
Jan 23 15:03:56 heidi kernel: eth0:  EEPROM default media type
Autosense.
Jan 23 15:03:56 heidi kernel: eth0:  Index #0 - Media 10baseT (#0)
described by a 21142 Serial PHY (2) block.
Jan 23 15:03:56 heidi kernel: eth0:  Index #1 - Media 10baseT-FD (#4)
described by a 21142 Serial PHY (2) block.
Jan 23 15:03:56 heidi kernel: eth0:  Index #2 - Media 100baseTx (#3)
described by a 21143 SYM PHY (4) block.
Jan 23 15:03:56 heidi kernel: eth0:  Index #3 - Media 100baseTx-FD (#5)
described by a 21143 SYM PHY (4) block.
Jan 23 15:03:56 heidi cardmgr[22968]: executing: './network start eth0'


MF3000leds:
link     on
10/100   on
rx/tx    on/off as expected
full     off

tulip-diag_-ee:

tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0x280.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  The NWay status register is 41e1d2cd.
EEPROM size is 6.
PCI Subsystem IDs, vendor 142a, device 0103.
CardBus Information Structure at offset 00000047.
Ethernet MAC Station Address 00:A0:0C:90:6C:25.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.

Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08af  GP pin data 00a1.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08af  GP pin data 00a1.
  Media 100baseTx, block type 4, length 8.
   SYM transceiver for 100baseTx (media type 3).
    GP pin direction 08af  GP pin data 00a1.
    No media detection indication (command 80 61).
  Media 100baseTx Full Duplex, block type 4, length 8.
   SYM transceiver for 100baseTx Full Duplex (media type 5).
    GP pin direction 08af  GP pin data 00a1.
    No media detection indication (command 80 61).
EEPROM contents:
  142a 0103 0047 0000 0000 0000 0000 0000
  0041 0103 a000 900c 256c 1e00 0000 0800
  8604 0002 08af 00a1 0286 af04 a108 8800
  0304 08af 00a1 8061 0488 af05 a108 6100
  0080 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 34df
 ID block CRC 0x41 (vs. 0x41).
  Full contents CRC 0x34df (read as 0x34df).
  Internal autonegotiation state is 'Negotiation complete'.


linkpartner:
CentreCOM MS425FSC switch autonegotiating
100mbit, full-duplex

other_setups:
above switch (same plug) against DS21143 NIC with MII ->
rates >10Mbyte/sec both ways

forcing tulip to 100-HD (options=3)
switch says HD, tulip-diag says HD, linkspeed 3-7Mbyte/s

forcing tulip to 100-FD (options=5) should give mismatch:
switch says HD (can't know better), tulip-diag says FD, linkspeed
3-7Mbyte/s

sis900 NIC as link partner: same problem

versions distributed with pcmcia and newer linux kernels that seem to be

derived from v0.91g show the same problems.

Thanks for reading this far ;-)







--
Joerg Schmid
jschmid@klizix.mpi-stuttgart.mpg.de
MPI fuer Festkoerperforschung
Stuttgart



-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-bug-request@beowulf.org