Problems with 3CCFE575CT

Oliver Seufer <[email protected]> Fri, 16 Jan 2004 11:58:42 +0100
Newsgroups gmane.linux.drivers.vortex.devel
Organization Service Network GmbH, Goettingen, Germany
Message-ID <[email protected]>
Hello,

I have the 3com 3CCFE575CT Cardbus Card. The Card works with one System without
any problems, but on another system I get a system crash. 
Another Card D-Link DFE-660 (also Cardbus) works with no problems on both
systems.

Here are my logs...
Jan 16 11:32:08 myserver kernel: cs: cb_alloc(bus 2): vendor 0x10b7, device 0x5257
Jan 16 11:32:08 myserver kernel: PCI: Failed to allocate resource 6(d5040000-d5028fff) for 02:00.0
Jan 16 11:32:08 myserver kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Jan 16 11:32:08 myserver cardmgr[1270]: initializing socket 0
Jan 16 11:32:08 myserver cardmgr[1270]: socket 0: 3Com 3CCFE575CT/3CXFE575CT Fast EtherLink XL
[I get the "Failed to allocate resource" also with the D-Link DFE-660]

[root@myserver root]# lspci -vx
02:00.0 Ethernet controller: 3Com Corporation 3CCFE575CT Cyclone CardBus (rev 10)
        Subsystem: 3Com Corporation FE575C-3Com 10/100 LAN CardBus-Fast Ethernet
        Flags: medium devsel, IRQ 5
        I/O ports at 4000 [size=256]
        Memory at d5027000 (32-bit, non-prefetchable) [size=128]
        Memory at d5027080 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at d5040000 [disabled]
        Capabilities: [50] Power Management version 2
00: b7 10 57 52 03 00 10 02 10 00 00 02 00 00 00 00
10: 01 40 00 00 00 70 02 d5 80 70 02 d5 00 00 00 00
20: 00 00 00 00 00 00 00 00 90 00 00 00 b7 10 57 5c
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 0a 05

Media Type: 100 Mbit/FD

[root@myserver root]# modprobe 3c59x debug=7
--> System crash (Nothing to see in the logfile)

[root@myserver root]# ./vortex-diag -aaee
vortex-diag.c:v2.15a 12/16/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x4000.
 Station address 11:04:00:01:00:00.
  Receive mode is 0x00: Unknown/invalid.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 0, registers values by window:
  Window 0: 0000 0000 0000 0000 4544 0000 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 0000.
  Window 2: 0411 0100 0000 0000 0000 0000 0000 0000.
  Window 3: 0000 0000 0000 0000 0000 0000 0000 0000.
  Window 4: 0000 0000 0000 0000 0000 0080 0000 0000.
  Window 5: 0410 0000 0000 0000 0800 0000 0000 0000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 0000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 0000.
--> System crash

[root@myserver root]# cat /proc/interrupts 
           CPU0       
  0:      63896          XT-PIC  timer
  1:          3          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:         59          XT-PIC  serial
  5:          5          XT-PIC  PCI device 1217:6972 (O2 Micro, Inc.)
  8:          1          XT-PIC  rtc
 10:        769          XT-PIC  eth0
 12:          4          XT-PIC  tos_s0, PS/2 Mouse
 14:      25174          XT-PIC  ide0
NMI:          0 
ERR:          0
[Perhaps a IRQ Problem?]

System with no problems:
other:~ # ./vortex-diag -aaee
vortex-diag.c:v2.15a 12/16/2003 Donald Becker ([email protected])
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x4800.
 Station address 00:01:03:7d:4e:1a.
  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 5555 066f 6143 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 0100 7d03 1a4e 0000 0000 0000 4102 4000.
  Window 3: 0000 0060 05ea 0020 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0ce0 0003 a800 1100 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0001 2100 ae72 5bbc c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x4800
  0x4810: **FIFO** 00000000 0000000a *STATUS*
  0x4820: 00000020 00000000 00080000 00000004
  0x4830: 00000000 44d4bb2c 0009c0d0 00080004
  0x4840: 00e66610 00000000 00000000 00000000
  0x4850: 00000000 00000000 00000000 00000000
  0x4860: 00000000 00000000 00000000 00000000
  0x4870: 00000000 00000000 00a00000 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 160.
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: full-duplex.
 Station address set to 00:01:03:7d:4e:1a.
 Configuration options 4102.
EEPROM format 256x16, configuration table at offset 0x30:
    00: 1578 5257 0000 8060 0040 0200 4000 0000
  0x08: 0000 0000 0000 0000 0000 0000 0000 0000
  0x10: 0000 0000 0000 0000 0090 0000 10b7 5c57
  0x18: 0000 0000 0000 0000 0000 0000 0109 0a0a
  0x20: 0000 0000 0000 0000 0000 0000 0000 0000
      ...
  0x30: 0001 037d 4e1a 5357 022c 0048 4447 6d50
  0x38: 3000 0009 0001 037d 4e1a 2010 0000 0006
  0x40: 32a6 1578 0000 8060 0010 0000 0000 005a
  0x48: 0313 4943 2053 0104 5701 0452 0306 0001
  0x50: 0000 0500 410d 019a 1eb5 b501 021e ff30
  0x58: 01ff 0607 0011 0040 0000 3415 0005 4333
  0x60: 6d6f 4320 726f 6f70 6172 6974 6e6f 3300
  0x68: 4343 4546 3735 4335 0054 414c 204e 6143
  0x70: 6472 7562 2073 6143 6472 3000 3430 ff00
  0x78: 0221 0106 ffff ffff ffff ffff ffff ffff
  0x80: ffff ffff ffff ffff ffff ffff ffff ffff
      ...

 The word-wide EEPROM checksum is 0xba3b.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 The CardBus product ID is 1578 5257.
 3Com Node Address 00:01:03:7D:4E:1A (used as a unique ID only).
 OEM Station address 00:01:03:7D:4E:1A (used as the ethernet address).
  Device ID 5357,  Manufacturer ID 6d50.
  Manufacture date (MM/DD/YYYY) 1/12/2001, division H, product GD.
  No BIOS ROM is present.
 Transceiver selection: MII.
   Options: negotiated duplex, link beat required.
   PCI bus requested settings --  minimum grant 0, maximum latency 12 (250ns units).
 PCI Subsystem IDs: Vendor 005a Device 0313.
 100baseT4 100baseTx MII.
  Vortex format checksum is correct (5a vs. 5a).
  Cyclone format checksum is incorrect (0x1a vs. 00).
  Hurricane format checksum is incorrect (0x68 vs. 00).


Best regards

O. Seufer
-- 
  _              |  Oliver Seufer          |  Tel.: ++49-551-370000-0
 |_     |\ |     |  Service Network GmbH   |  FAX:  ++49-551-370000-9
 ._|ER  | \|ET   |  Bahnhofsallee 1b       |  mailto:[email protected]
Service Network  |  D-37081 Goettingen     |  http://www.SerNet.DE/
_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex