[vortex] Problem whit an old 3c905B-Tx
Alessandro Villani
avillani@science.unitn.it
Wed Apr 2 11:46:01 2003
Hello
I'm trying to use a 3C905B-Tx in a dual Pentium III Pc together with an
other network card (a Realtek) to build a small linux router.
I'm using RedHat 8.0 fully updated (kernel 2.4.18-27.8.0smp).
The problem is the following: using dhcp to configure the card the system is
unable to configure saying that there is a network cable problem. If I
configure the network card by hand everything works well.
Moreover, the 3com card speed is always 10Mb instead of 100Mb.
The output of dmesg is the following:
-------------------------------------------------------------------------------
eth0: RealTek RTL8139 Fast Ethernet at 0xd8900000, 00:40:33:d4:b0:36, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139A'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
00:09.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd000. Vers LK1.1.18-ac
PCI: Setting latency timer of device 00:09.0 to 64
00:10:5a:05:c8:61, IRQ 9
product code 5146 rev 00.9 date 06-27-98
Internal config register is 0000, transceivers 0xa.
8K byte-wide RAM 5:3 Rx:Tx split, 10baseT interface.
Enabling bus-master transmits and whole-frame receives.
00:09.0: scatter/gather enabled. h/w checksums enabled
divert: allocating divert_blk for eth1
-------------------------------------------------------------------------------
I've tryed to remove the realtek card and nothing changes. I've installed
the card in a windows 98 machine and it works well at full 100Mb speed (at
least, the led for 100Mb swith on).
The output of ./vortex-diag -a is:
-------------------------------------------------------------------------------
vortex-diag.c:v2.14 12/28/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xd000.
Station address 00:10:5a:05:c8:61.
Receive mode is 0x07: Normal unicast and all multicast.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
Window 0: 0000 0000 0000 0000 f5f5 00bf 0000 0000.
Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
Window 2: 1000 055a 61c8 0000 0000 0000 000a 4000.
Window 3: 0000 0000 05ea 0000 000a 0800 0800 6000.
Window 4: 0000 0000 0000 0cd2 0001 88c0 0000 8000.
Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
Window 6: 0000 0000 0000 2300 0000 09c6 0000 c000.
Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xd000
0xD010: **FIFO** 00000000 0000000a *STATUS*
0xD020: 00000020 00000000 00080000 00000004
0xD030: 00000000 dcd4232c 1400d030 00080004
0xD040: 005046fb 00000000 00000000 00000000
0xD050: 00000000 00000000 00000000 00000000
0xD060: 00000000 00000000 00000000 00000000
0xD070: 00009000 00000000 00200000 00000000
DMA control register is 00000020.
Tx list starts at 00000000.
Tx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to empty.
Rx FIFO thresholds: min. burst 256 bytes, priority with 128 bytes to full.
Poll period Tx 00 ns., Rx 0 ns.
Maximum burst recorded Tx 0, Rx 32.
Indication enable is 06c6, interrupt enable is 06ce.
No interrupt sources are pending.
Transceiver/media interfaces available: 100baseTx 10baseT.
Transceiver type in use: 10baseT.
MAC settings: half-duplex.
Station address set to 00:10:5a:05:c8:61.
Configuration options 000a.
-------------------------------------------------------------------------------
The cable is working and the realtek works at 100Mb full-duplex.
Can you help me? There is some settings to add to /etc/modules.conf
I've tried with options=4 but the problem was the same (only that if I
remove the 3c90x module and reinstall it by hand using ismod than the speed
switch to 100Mb ...)
Thank you!
Alessandro V.
--
Alessandro Villani Tel: +39 0461 883918
Head of Computer Networks Lab. Fax: +39 0461 882093
University of Trento
Via Sommarive 14 E-mail: avillani@science.unitn.it
38050 -- POVO (TN) http://www.dit.unitn.it/~avillani/