[vortex] 3c59x not responding after some idle time

Kai Duebbert kai@duebbert.de
Tue, 10 Jul 2001 14:45:41 +0200


Hi,

I have a problem with my 3com card. It all works well until the card 
didn't send any packets for some hours. It is not possible to reach 
it from the outside. When I send something (e.g. do a ping from the 
machine), everything is fine again. No error messages anywhere.

I have tried several different setups, (no) routers, options,
half-duplex/full-duplex, etc. Nothing solved the problem. When 
compiling the driver into the kernel, it doesn't find the 
right interface (using "ether=0,0,1,eth0").

I read all documentation I could find including the archives of the 
linux-vortex mailing list. It has the feeling as if the card goes into
power management or something like that. But all power management
etc. (also in BIOS) is disabled.

I hope somebody can help me. (I still have to do the debug=7, but maybe
somebody knows something already.) At the moment I am keeping the connection
alive by pinging my gateway every 10 seconds, but I would obviously prefer having
the problem solved.

Regards,
Kai

Here some more information:

Hardware: Siemens Primergy Server (PIII, 512MB, VIA chipset) with 3com 3c905B card.
Kernel: 2.4.6 (also tested 2.2.19)
Driver: LK1.1.15 (or 2.2.19 driver) as a module: "options 3c59x options=1"
Distribution: Debian 2.2 Potato
Interface: BNC or AUI


Boot (dmesg) message:
3c59x.c:LK1.1.15 6 June 2001  Donald Becker and others. http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
00:0a.0: 3Com PCI 3c905B Cyclone 10/100/BNC at 0x9800,  00:04:76:14:b5:94, IRQ 5
  product code 4d52 rev 00.0 date 01-06-01
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  Media override to transceiver type 1 (10Mbs AUI).
  Enabling bus-master transmits and whole-frame receives.
00:0a.0: scatter/gather enabled. h/w checksums enabled
eth0: Media override to transceiver 1 (10Mbs AUI).


lspci -vx:
00:0a.0 Ethernet controller: 3Com Corporation 3c905B-Combo [Deluxe Etherlink XL 10/100]
        Subsystem: 3Com Corporation: Unknown device 9058
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at 9800 [size=128]
        Memory at f6000000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [dc] Power Management version 1
00: b7 10 58 90 57 01 10 02 00 00 00 02 08 20 00 00
10: 01 98 00 00 00 00 00 f6 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 58 90
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 0a 0a


./vortex-diag -aaee:
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 10/100/BNC adapter at 0x9800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, 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: 0400 1476 94b5 0000 0000 0000 000a 4000.
  Window 3: 0000 0110 05ea 0000 003a 0800 0734 6000.
  Window 4: 0000 00d1 8000 0ec0 0001 1828 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0500 0000 0000 0c00 0000 037c 02a2 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x9800
  0x9810: **FIFO** 00000000 00000054 *STATUS*
  0x9820: 00000020 00000000 00080000 00000004
  0x9830: 00000000 5806a7fa 1cee6190 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT 10base2 AUI10baseFL.
Transceiver type in use:  10Mbs AUI.
 MAC settings: half-duplex.
 Station address set to 00:04:76:14:b5:94.
 Configuration options 000a.
EEPROM contents (64 words, offset 0):
 0x000: 0004 7614 b594 9058 0226 0048 524d 6d50
 0x008: 2978 0000 0004 7614 b594 0010 0000 0008
 0x010: 32a2 0000 0000 0180 0000 0000 0000 10b7
 0x018: 9058 003a 0000 0000 0000 0000 0000 0000
 0x020: 008b 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0xa941.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 3Com Node Address 00:04:76:14:B5:94 (used as a unique ID only).
 OEM Station address 00:04:76:14:B5:94 (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/6/2001, division H, product MR.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is incorrect (00de vs. 10b7).
  Cyclone format checksum is correct (0x8b vs. 0x8b).
  Hurricane format checksum is correct (0x8b vs. 0x8b).


./mii-diag -v:
mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
 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.
   This transceiver is capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 Link partner information information is not exchanged when in fixed speed mode.
   End of basic transceiver informaion.
 
 MII PHY #0 transceiver registers:
   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.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 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.


-- 
Kai Duebbert
eMail: kai@duebbert.de
http://duebbert.de
"But what...is it good for?"
          -- Engineer at the Advanced Computing Systems
                Division of IBM commenting on the microchip, 1968.