[realtek] Problems with built-in RTL8139CL laptopPC
YOKOYAMA Hiroki
hyoko@sendme.email.ne.jp
Sat, 28 Jul 2001 09:45:39 +0900
Hello all,
I have a laptop PC(SHARP:PC-SX1-H1,built-in LAN interface(RTL8139CL)).
The problem is:
I can ping itself but, can't ping any other host.
I'm trying now:
kernel v.2.4.6
8139too v.0.9.18
mii-diag returns:
Using the default interface 'eth0'.
Basic registers of MII PHY #32: 0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x0000: Auto-negotiation disabled, with
Speed fixed at 10 mbps, half-duplex.
Basic mode status register 0x0000 ... 0000.
Link status: not established.
Link partner information information is not exchanged when in fixed speed mode.
rtl8139-diag -aammee returns:
rtl8139-diag.c:v2.01 1/8/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x1c00.
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 0x1c00
0x000: 01454000 00005991 80000000 00000000 00002000 00002000 00002000 00002000
0x020: 0607a000 0607a600 0607ac00 0607b200 0e370000 0c0a0000 0170fff0 2021c07f
0x040: 74000600 0e00f78e 676b517d 00000000 008d10c6 00000000 0001c51c 00100000
0x060: 1000000f 01e17809 00000000 00260002 00000004 000ffbc0 b0f243b9 7a36d743.
Interrupt sources are pending.
Rx Complete indication.
Rx Buffer Underrun indication.
(null) indication.
The chip configuration is 0x10 0x8d, MII half-duplex mode.
EEPROM size test returned 6, 0x204a4 / 0.
Parsing the EEPROM of a RealTek chip:
PCI IDs -- Vendor 0x10ec, Device 0x8139, Subsystem 0x13bd.
PCI timer settings -- minimum grant 32, maximum latency 64.
General purpose pins -- direction 0xe5 value 0x12.
Station Address 00:40:45:01:91:59.
Configuration register 0/1 -- 0x8d / 0xc2.
EEPROM active region checksum is 087a.
EEPROM contents:
8129 10ec 8139 13bd 101d 4020 e512 4000
0145 5991 8d10 f7c2 8801 43b9 b0f2 071a
df43 8a36 df43 8a36 43b9 b0f2 1111 1111
0000 0000 0000 0000 0000 0000 0000 2000
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 0000 0000
The word-wide EEPROM checksum is 0x0987.
dmesg's outputs are:
8139too Fast Ethernet driver 0.9.18
PCI: Found IRQ 7 for device 00:0a.0
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xcf869000, 00:40:45:01:91:59, IRQ 7
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
eth0: Setting full-duplex based on MII #32 link partner ability of 45e1.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
eth0: media is unconnected, link down, or incompatible connection
eth0: Setting full-duplex based on MII #32 link partner ability of 45e1.
/var/log/messages are:
Jul 28 08:40:34 crousoe kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 28 08:40:34 crousoe kernel: eth0: Setting 100mbps full-duplex based on auto-
negotiated partner ability 45e1.
Jul 28 08:44:49 crousoe kernel: eth0: media is unconnected, link down, or incomp
atible connection
Please tell me how to resolve this problem.
Do you need any more info?
Thanks a lot,
YOKOYAMA Hiroki