Problem with Accton EN1207D-TX

Steve Jefferson steve@fcentre.fsnet.co.uk
Sun Mar 19 12:13:30 2000


[Firstly, apologies if this is the wrong forum for this problem. After latest
experiment, the problem now looks to be more general (maybe PCI/BIOS) rather
than specific to the RTL8129/8139. However as most of my diagnostics relate to
the RealTek-based card, I thought I'd start here (but do feel free to suggest an
alternative forum)].

Am currently trying to use an Accton EN1207D-TX with an old 'no-name'
P90 PCI box to connect to one other machine (laptop via Cat5 RJ45 cross-over
cable). Have checked out cabling and laptop network card by connection to
different box and all works fine, so it's down to the Accton card and/or the
P90 box. 

Symptoms: basically cannot ping laptop from P90 and vice-versa
Laptop 100Mbps LED on, both 10 *and* 100Mbps Accton card LEDs on. Have
tried Accton card in another PCI slot, no difference. Also have just got hold
of a D-Link DE-530CT+ (DEC Tulip-based) 10Base2/10BaseT PCI card and tried
that - doesn't work either, so it would appear more likely that the P90 is the
problem....

Currently running kernel 2.2.10. In terms of diagnostics I've listed below
practically everything I can think of - let me know if there's anything else
which may be useful:

Get the following on boot-up:
rtl8139.c:v1.04 9/22/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
eth0: RealTek RTL8139 Fast Ethernet (mislabeled) at 0xd000, IRQ 11, 00:10:b5:3e:e9:8d.
  PCI latency timer (CFLT) is unreasonably low at 0.  Setting to 64 clocks.

After first attempt to ping remote host, get following diagnostics continuously
output to system log:
kernel: eth0: Transmit timeout, status 0c 0005 media 00.
kernel: eth0: Tx queue start entry 4  dirty entry 0. 

Output if 'ifconfig'
eth0      Link encap:Ethernet  HWaddr 00:10:B5:3E:E9:8D
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:940 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0xd000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:3435 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3435 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

Output from 'rtl8139-diag -aem'
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a SMC1211TX EZCard 10/100 (RealTek RTL8139) adapter at 0xd000.
The RealTek chip appears to be active, so some registers will not be read.
To see all register values use the '-f' flag.
RealTek chip registers at 0xd000
 0x000: 3eb51000 00008de9 80000000 00000000 0008a03c 0008a03c 0008a03c 0008a03c
 0x020: 03a2c000 03a2c600 03a2cc00 03a2d200 03620000 0c0a0000 0110fff0 0005c07f
 0x040: 78000400 00009c0e 381856ff 00000000 006c1000 00000000 0084c100 001001c0
 0x060: 1100f00f 05e1782d 000141e1 00000000 00000004 000307c8 58fab388 ad38d843.
  Interrupt sources are pending.
   Rx Complete indication.
   Transmit OK indication.
 The chip configuration is 0x10 0x6c, MII full-duplex mode.
Parsing the EEPROM of a RealTek chip:
  PCI IDs -- Vendor 0x1113, Device 0x1211, Subsystem 0x1113.
  PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xf1  value 0x10.
  Station Address 00:10:B5:3E:E9:8D.
  Configuration register 0/1 -- 0x0d / 0xc2.
 EEPROM active region checksum is 0770.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x782d.
   Basic mode status register    0x1100.
   Autonegotiation Advertisement 0x05e1.
   Link Partner Ability register 0x41e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0004.
   Receive frame error count     0x0000.

Output from 'lspci -vv'
00:10.0 Host bridge: OPTi Inc. 82C822 (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+
        Latency: 32 set
00:12.0 Non-VGA unclassified device: Symbios Logic Inc. (formerly NCR) 53c810 (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 set
        Interrupt: pin A routed to IRQ 14
        Region 0: I/O ports at d100
        Region 1: Memory at fc801000 (32-bit, non-prefetchable)
00:13.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
        Subsystem: Unknown device 1113:9211
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 min, 64 max, 64 set
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at d000
        Region 1: Memory at fc800000 (32-bit, non-prefetchable)
00:14.0 VGA compatible unclassified device: S3 Inc. Vision 964 vers 0
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at fc000000 (32-bit, non-prefetchable)

BIOS is 'Award Modular BIOS 4.50G' (2A5ULT40).

Any help would be most appreciated.
-- 
Steve
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.