I know a similar bug has already been reported, but
since it hasn't still been solved I thought it could be
usefull to get informations about the same problem on
another config. I've got a rtl8139 chip based card. The
card is plugged to a 10 Mbit full duplex hub through a
category 5 rj-45 cable.
When I load the module I get this annoying message :
eth0: Setting half-duplex based on auto-negotiated
partner ability 0000.
and then the card is in half duplex mode. As a result
the transfers are very very slow between my two
computers, and the Hub (manufactured by Planet) is
signaling a huge amount of collisions.
To be sure the nic is ok I tested it under windows 2k,
and everything was ok, no collision anymore, and fast
transfers.
The dumps are given in attachment.
If you need more information, you can contact me at
chelmi@chelmi.eu.org or shellmi@netcourrier.com
I hope this will help traking the bug down
sincerely,
Sebastien Harnist.
lspci -vvv :
00:00.0 Host bridge: Intel Corporation: Unknown device
1130 (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown
device 8027
Control: I/O- Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Region 0: Memory at f8000000 (32-bit,
prefetchable) [size=64M]
Capabilities: [88] #09 [f104]
Capabilities: [a0] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW-
Rate=<none>
00:01.0 PCI bridge: Intel Corporation: Unknown device
1131 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01,
sec-latency=0
I/O behind bridge: 0000e000-0000dfff
Memory behind bridge: ee000000-eeffffff
Prefetchable memory behind bridge:
eff00000-f7ffffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort-
>Reset- FastB2B-
00:1e.0 PCI bridge: Intel Corporation: Unknown device
244e (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=02, subordinate=02,
sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: ed800000-edffffff
Prefetchable memory behind bridge:
ef000000-efefffff
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort-
>Reset- FastB2B-
00:1f.0 ISA bridge: Intel Corporation: Unknown device
2440 (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >00:1f.1 IDE
interface: Intel Corporation: Unknown device 244b (rev
02) (prog-if 80 [Master])
Subsystem: Asustek Computer, Inc.: Unknown
device 8027
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
Region 4: I/O ports at b800 [size=16]
00:1f.2 USB Controller: Intel Corporation: Unknown
device 2442 (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown
device 8027
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
Interrupt: pin D routed to IRQ 5
Region 4: I/O ports at b400 [size=32]
00:1f.3 SMBus: Intel Corporation: Unknown device 2443
(rev 02)
Subsystem: Asustek Computer, Inc.: Unknown
device 8027 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-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at e800 [size=16]
00:1f.4 USB Controller: Intel Corporation: Unknown
device 2444 (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown
device 8027
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
Interrupt: pin C routed to IRQ 9
Region 4: I/O ports at b000 [size=32]
01:00.0 VGA compatible controller: nVidia Corporation
GeForce 256 (rev 10) (prog-if 00 [VGA])
Subsystem: Guillemot Corporation: Unknown
device 5020
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: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ee000000 (32-bit,
non-prefetchable) [size=16M]
Region 1: Memory at f0000000 (32-bit,
prefetchable) [size=128M]
Expansion ROM at efff0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Flags: PMEClk- DSI- D1- D2-
AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 2.0
Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW-
Rate=<none>
02:0a.0 Multimedia video controller: Brooktree
Corporation Bt848 TV with DMA push (rev 12)
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 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 9 Region
0: Memory at ef000000 (32-bit, prefetchable) [size=4K]
02:0b.0 Multimedia audio controller: Ensoniq 5880
AudioPCI (rev 02)
Subsystem: Ensoniq Creative Sound Blaster
AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at d800 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+
AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
02:0d.0 Ethernet controller: Realtek Semiconductor Co.,
Ltd. RTL-8139 (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
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 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at d400 [size=256]
Region 1: Memory at ed800000 (32-bit,
non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+
AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Logged In: NO
sorry the attached file didn't come with
here it is :
rtl8139-diag.c:v2.04 8/08/2001 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xd400.
RealTek chip registers at 0xd400
0x000: 6c544800 000067bf 80000000 00000000 0008a042
0008a042 0008a042 0008a042
0x020: 1ef26000 1ef26600 1ef26c00 1ef27200 1f7d0000
0d0e0000 e86ce85c 0000c07f
0x040: 78000600 0e00f78e 997cb5ef 00000000 008d1000
00000000 0088c1c8 00100000
0x060: 0100f00f 01e1780d 00000000 00000000 00000000
000f77c0 58fab388 ad38d843. No interrupt sources are pending.
The chip configuration is 0x10 0x8d, MII half-duplex mode.
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 0xc1 value 0xd3.
Station Address 00:48:54:6C:BF:67.
Configuration register 0/1 -- 0x8d / 0xc2.
EEPROM active region checksum is 099e.
EEPROM contents (64 words):
0x00: 8129 10ec 8139 10ec 8139 4020 c1d3 4800
0x08: 6c54 67bf 8d10 07c2 8801 b388 58fa 8708
0x10: d843 ad38 d843 ad38 d843 ad38 d843 ad38
0x18: 0000 0000 0000 0000 0000 0000 0000 0000
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
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
Basic mode control register 0x780d.
Basic mode status register 0x0100.
Autonegotiation Advertisement 0x01e1.
Link Partner Ability register 0x0000.
Autonegotiation expansion 0x0000.
Disconnects 0x0000.
False carrier sense counter 0x0000.
NWay test register 0x0000.
Receive frame error count 0x0000.
MII PHY #-1 transceiver registers:1111111111100000->
88888888888888888888 MII read of -1:0 -> 0000.
00001111111111100001-> 88888888888888888888 MII read of
-1:1 -> 0000.
00001111111111100010-> 88888888888888888888 MII read of
-1:2 -> 0000.
00001111111111100011-> 88888888888888888888 MII read of
-1:3 -> 0000.
00001111111111100100-> 88888888888888888888 MII read of
-1:4 -> 0000.
00001111111111100101-> 88888888888888888888 MII read of
-1:5 -> 0000.
00001111111111100110-> 88888888888888888888 MII read of
-1:6 -> 0000.
00001111111111100111-> 88888888888888888888 MII read of
-1:7 -> 0000.
00001111111111101000-> 88888888888888888888 MII read of
-1:8 -> 0000.
00001111111111101001-> 88888888888888888888 MII read of
-1:9 -> 0000.
00001111111111101010-> 88888888888888888888 MII read of
-1:10 -> 0000.
00001111111111101011-> 88888888888888888888 MII read of
-1:11 -> 0000.
00001111111111101100-> 88888888888888888888 MII read of
-1:12 -> 0000.
00001111111111101101-> 88888888888888888888 MII read of
-1:13 -> 0000.
00001111111111101110-> 88888888888888888888 MII read of
-1:14 -> 0000.
00001111111111101111-> 88888888888888888888 MII read of
-1:15 -> 0000.
00001111111111110000-> 88888888888888888888 MII read of
-1:16 -> 0000.
00001111111111110001-> 88888888888888888888 MII read of
-1:17 -> 0000.
00001111111111110010-> 88888888888888888888 MII read of
-1:18 -> 0000.
00001111111111110011-> 88888888888888888888 MII read of
-1:19 -> 0000.
00001111111111110100-> 88888888888888888888 MII read of
-1:20 -> 0000.
00001111111111110101-> 88888888888888888888 MII read of
-1:21 -> 0000.
00001111111111110110-> 88888888888888888888 MII read of
-1:22 -> 0000.
00001111111111110111-> 88888888888888888888 MII read of
-1:23 -> 0000.
00001111111111111000-> 88888888888888888888 MII read of
-1:24 -> 0000.
00001111111111111001-> 88888888888888888888 MII read of
-1:25 -> 0000. 00001111111111111010-> 88888888888888888888
MII read of -1:26 -> 0000.
00001111111111111011-> 88888888888888888888 MII read of
-1:27 -> 0000.
00001111111111111100-> 88888888888888888888 MII read of
-1:28 -> 0000.
00001111111111111101-> 88888888888888888888 MII read of
-1:29 -> 0000.
00001111111111111110-> 88888888888888888888 MII read of
-1:30 -> 0000.
00001111111111111111-> 88888888888888888888 MII read of
-1:31 -> 0000.
0000.
Basic mode control register 0x0000: Auto-negotiation disabled!
Speed fixed at 10 mbps, half-duplex.
1111111111100001-> 88888888888888888888 MII read of -1:1 ->
0000.
Basic mode status register 0x0000 ... 0000.
Link status: not established.
Capable of <Warning! No media capabilities>.
Unable to perform Auto-negotiation, negotiation not complete.
This transceiver has no vendor identification.
I'm advertising 0000:
Advertising no additional info pages.
Using an unknown (non 802.3) encapsulation.
Link partner capability is 0000:.
Negotiation did not complete.
Logged In: YES
user_id=17443
use mii-diag to set the media type, until a fix is made.
Logged In: YES
user_id=17443
This problem is fixed in the latest version of the driver. You
can download the driver from the download section on this
SourceForge web page.