[tulip] rtl8139/smc tiger array

Chip Rodden chip_rodden@hotmail.com
Sat, 03 Mar 2001 19:02:10 -0000


I have a set top box with the following config:

233MHz Media GXM cpu
an on board rtl8139
a SMC dual port tiger array in the lone pci slot
running either 2.2.13 or 2.2.18 patched

Here are the symptoms:

The 8139 can get throughput of about 35Mb/s using iperf.  I'm using
the driver that comes with the corresponding kernels above.  I tried
to get an updated one but the ftp site did not appear to be up.

The box crashes ( I mean dead, no messages, just a bunch of garbage
in /var/log/messages, by garbage I mean a bunch of ^@^@) when I send any 
kind of somewhat fast pings to it.  When using the tulip 89h driver , it 
accepts pings sent once every micro second. The box crashes with a flood 
ping.

When using tulip 92t the box crashes on sending one packet every 1000us.

One other interesting note:  If the 8139 is not configured and
it's module not inserted a "ifconfig eth0 192.168.1.12" crashes
the box same as above.

Can anyone provide any meaningful insight and a possible reason,
or better, a solution to this?

Thanks


Here is the tulip-diag:


tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21140 Tulip adapter at 0xd000.
Digital DS21140 Tulip chip registers at 0xd000:
0x00: ffa04800 ffffffff ffffffff 00da5810 00da5a10 fc660000 320e2202 
ffffebef
0x40: e0000000 fffd83ff ffffffff fffe0000 ffffff60 ffffffff 1c09fdc0 
fffffec8
Port selection is MII, 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.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 10b8, device 2003.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:29:3C:76:78.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
CSR12 direction setting bits 0x1f.
1 transceiver description blocks:
  Media MII, block type 1, length 15.
   MII interface PHY 0 (media type 11).
    21140 MII Reset sequence is 2 words: 01 00.
    21140 MII initialization sequence is 1 words: 00.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
MII PHY found at address 3, status 0x786f.
MII PHY #3 transceiver registers:
   3100 786f 2000 5c01 01e1 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0001 0000 0000 0001 8060
   8020 0c83 0000 1800 a3b9 0058 0e05 001b.
Index #2: Found a Digital DS21140 Tulip adapter at 0xd400.
Digital DS21140 Tulip chip registers at 0xd400:
0x00: fe000000 ffffffff ffffffff fbfffeff cf53efbf fc000000 32000040 
fffe0000
0x40: e0000000 fffd83ff ffffffff fffe0000 ffffffe0 ffffffff 1c09fdc0 
fffffec8
Port selection is 10mpbs-serial, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 10b8, device 2003.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:29:3C:76:79.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
CSR12 direction setting bits 0x1f.
1 transceiver description blocks:
  Media MII, block type 1, length 15.
   MII interface PHY 0 (media type 11).
    21140 MII Reset sequence is 2 words: 01 00.
    21140 MII initialization sequence is 1 words: 00.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
MII PHY found at address 3, status 0x7849.
MII PHY #3 transceiver registers:
   3100 7849 2000 5c01 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c63 0000 3800 a3b9 0080 8005 001b.



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com