[vortex] A 3c905B behaving strange

Antti T J Granqvist granqvis@cc.helsinki.fi
Fri Nov 15 06:51:01 2002


I moved the card to the router(eth0), also running Linux RH7.3. Now
filetransfers from any local computers to the router hang. Thus the
problem seems to move along with the card. After cold boot, without any
driver module parameters I have following reports:

vortex-diag -a
vortex-diag.c:v2.09 9/18/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0x9100.
Initial window 4, registers values by window:
  Window 0: 0000 0000 0000 0000 0000 00bf 0000 0000.
  Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
  Window 2: 1000 985a a327 0000 0000 0000 000a 4000.
  Window 3: 0000 0200 05ea 0020 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0ed8 0001 98c0 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0900 0000 028e 085a c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x9100
  0x9110: 00000000 00000000 00000032 00000000
  0x9120: 00000020 00000000 00080000 00000004
  0x9130: 00000000 a3805c80 1233b1e0 00080004
 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: full-duplex.
 Station address set to 00:10:5a:98:27:a3.
 Configuration options 000a.

Now I try to set the card to half-duplex by
rmmod 3c59x
and
insmod 3c59x debug=3 full_duplex=0

Running
[root@fisrv002 root]# ./vortex-diag -af
vortex-diag.c:v2.09 9/18/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0x9100.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0000 0000 5555 00bf 0000 0000.
  Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
  Window 2: 1000 985a a327 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0730 6000.
  Window 4: 0000 0000 0000 0ed8 0001 98e0 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 1500 0000 0adb 0cbe c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x9100
  0x9110: 00000000 00000000 00000032 00000000
  0x9120: 00000020 00000000 00080000 00000004
  0x9130: 00000000 1601e9ff 10d0a150 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: full-duplex.
 Station address set to 00:10:5a:98:27:a3.
 Configuration options 000a.

and syslog:
Nov 15 13:18:33 fisrv002 kernel: 3c59x: Donald Becker and others.
www.scyld.com/network/vortex.html
Nov 15 13:18:33 fisrv002 kernel: See Documentation/networking/vortex.txt
Nov 15 13:18:33 fisrv002 kernel: 01:06.0: 3Com PCI 3c905B Cyclone
100baseTx at 0x9100. Vers LK1.1.16
Nov 15 13:18:33 fisrv002 kernel:  00:10:5a:98:27:a3, IRQ 10
Nov 15 13:18:33 fisrv002 kernel:   product code 515a rev 00.12 date
09-19-98
Nov 15 13:18:33 fisrv002 kernel: Full duplex capable
Nov 15 13:18:33 fisrv002 kernel:   8K byte-wide RAM 5:3 Rx:Tx split,
autoselect/10baseT interface.
Nov 15 13:18:33 fisrv002 kernel:   Enabling bus-master transmits and
whole-frame receives.
Nov 15 13:18:33 fisrv002 kernel: 01:06.0: scatter/gather enabled. h/w
checksums enabled
Nov 15 13:18:33 fisrv002 /etc/hotplug/net.agent: invoke ifup eth0
Nov 15 13:18:33 fisrv002 kernel: eth0: using NWAY device table, not 0
Nov 15 13:18:33 fisrv002 kernel: eth0: MII #0 status c000, link partner
capability c000, info1 8020, setting full-duplex.

Indicates that the card is still full-duplex. Is the card broken somehow,
or why did the setting  not change?

Also as I mentioned earlier, at cold boot _THIS_ card makes the hub jam
until the driver is loaded.

Any help is appreciated.

--
Antti