Huge transmit/carrier errors with 8139C on linux
"Kevin Cassidy" <[email protected]>
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi folks,
After much research on the Internet I'm at a loss to get an explanation
as to why my ifconfig shows an output such as this :
eth0 Link encap:Ethernet HWaddr 00:10:DC:45:EB:E4
inet addr:209.239.20.9 Bcast:209.239.20.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94828 errors:1 dropped:0 overruns:0 frame:0
TX packets:112200 errors:6091 dropped:0 overruns:0 carrier:12182
collisions:992 txqueuelen:100
RX bytes:13857807 (13.2 Mb) TX bytes:95681876 (91.2 Mb)
Interrupt:11 Base address:0x8000
(and this is just from being up for only 26 minutes!).
Why am I getting so many transmit errors ? And is there any reason why the
carrier errors are exactly double the transmit errors ? The card doesn't
hang
permanently - just for a second or two every once in a while - and that
makes
a difference in the overall speed for the server.
I have another server exactly like this one - but don't want to put it in
production
if it will generate the same errors. I cannot seem to generate the same
amount
of errors on my local network when testing huge downloads on this second
server.
There are a few - 1 or 2 - of the transmit errors - certainly not as many as
I see on
our production machine!
I'm running slackware 8.1 (kernel 2.4.18) and my card info is as follows :
==============================================================
root@server1:/usr/src/rtl# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0645
(rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
00:02.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
SiS7012 PCI Audio Accelerator (rev a0)
00:07.0 Communication controller: Conexant: Unknown device 2f10 (rev 01)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C
(rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX DDR]
(rev b2)
---
root@server1:/usr/src/rtl# ./rtl8139diag -ee
rtl8139-diag.c:v2.06 3/22/2002 Donald Becker ([email protected])
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
Decoded EEPROM contents:
PCI IDs -- Vendor 0x10ec, Device 0x8139.
PCI Subsystem IDs -- Vendor 0x10ec, Device 0x8139.
PCI timer settings -- minimum grant 32, maximum latency 64.
General purpose pins -- direction 0xe5 value 0x12.
Station Address 00:10:DC:45:EB:E4.
Configuration register 0/1 -- 0x8d / 0xc2.
EEPROM active region checksum is 0ac3.
EEPROM contents (64 words):
0x00: 8129 10ec 8139 10ec 8139 4020 e512 1000
0x08: 45dc e4eb 8d10 f7c2 8801 03b9 60f4 071a
0x10: dfa3 9836 dfa3 9836 03b9 60f4 1a1a 1a1a
0x18: 0000 f967 0000 0000 0000 0000 0000 2000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x28: 0000 0000 0000 0000 0000 0000 0000 0000
0x30: 0000 0000 0000 0000 0000 0000 0000 0000
0x38: 0000 0000 0000 0000 0000 0000 0000 0000
--
root@server1:/usr/src/rtl# ./rtl8139diag -m
rtl8139-diag.c:v2.06 3/22/2002 Donald Becker ([email protected])
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xec00.
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
Basic mode control register 0x1000.
Basic mode status register 0x782d.
Autonegotiation Advertisement 0x01e1.
Link Partner Ability register 0x0000.
Autonegotiation expansion 0x0000.
Disconnects 0x0000.
False carrier sense counter 0x0000.
NWay test register 0x0005.
Receive frame error count 0x0000.
--
(output from cat /proc/pci)
Bus 0, device 15, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
IRQ 11.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0xec00 [0xecff].
Non-prefetchable 32 bit memory at 0xce012000 [0xce0120ff].
======================================================
I hope someone out there can help me or at least explain why this is
happening.
Thank you.
Kevin