RTL8139 driver hangs up
=?iso-8859-1?Q?Jos=E9_Luis_G=F3mez_Dans?=
j.l.gomez-dans@sheffield.ac.uk
Mon Mar 6 09:05:08 2000
Hi!
I have been using the rtl 8139 driver v 1.07 with a 2.2.13
kernel (this is the default that comes with GNU/Debian 2.2 frozen). I
have experienced some trouble with the driver. Namely, the
card stops existing as far as the real world is concerned: it becomes
invisible to the local network (I cannot ping it from other hosts in the
same net, and I cannot ping those hosts from it,even though the LED at
the hub flashes with the ping requests). The way to solve this up to now
has been to issue an ifconfig eth0 down;rmmod rtl8139;insmod
rtl8139;ifconfig eth0... up
The output from the provided diagnostic program is:
# ./rtl8139-diag -a
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xe800.
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 0xe800
0x000: 044e4f00 000074c9 80000000 00000000 9008a03c 9008a03c 9008a03c 9008a03c
0x020: 011ca000 011ca600 011cac00 011cb200 026e0000 0d000000 0000d730 2000c07f
0x040: 73000400 00009c00 2f7e9c0a 00000000 002c14c6 00000000 0000c108 00100000
0x060: 0000f00f 05e1780d 00000000 00000000 00000000 000f77c0 78fa8388 ad38de43. No interrupt sources are pending.
(null) indication.
The chip configuration is 0x14 0x2c, MII half-duplex mode.
# ./rtl8139-diag -e
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xe800.
Parsing the EEPROM of a RealTek chip:
PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x149c.
PCI timer settings -- minimum grant 32, maximum latency 64.
General purpose pins -- direction 0xdd value 0x00.
Station Address 00:4F:4E:04:C9:74.
Configuration register 0/1 -- 0x4d / 0xc2.
EEPROM active region checksum is 0802.
# ./rtl8139-diag -m
rtl8139-diag.c:v1.01 4/30/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a RealTek RTL8139 adapter at 0xe800.
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
Basic mode control register 0x780d.
Basic mode status register 0x0000.
Autonegotiation Advertisement 0x05e1.
Link Partner Ability register 0x0000.
Autonegotiation expansion 0x0000.
Disconnects 0x0000.
False carrier sense counter 0x0000.
NWay test register 0x0000.
Receive frame error count 0x0000.
Sorry for the long outputs, but I don't know what parts might be
relevant.
Thank you for your time,
José
--
José L Gómez Dans PhD student
Radar & Communications Group
Department of Electronic Engineering
University of Sheffield UK
| 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.