Problems with 3c575 cardbus on RedHat 5.1, pcmcia-cs-3.0.3

Peter Mardahl peterm@langmuir.EECS.Berkeley.EDU
Tue Jul 21 18:43:18 1998


Hello, 

  I'm getting errors on my 3c575 cardbus when operating
100MHz/FD.  It's impacting my performance, I'm hoping
someone can please help me....

This is the driver I'm using:
Jul 21 13:56:21 vlasov kernel: 3c59x.c:v0.99 4/7/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html

Kernel 2.0.34, RedHat 5.1, pcmcia-cs-3.0.3.

I modified the driver to FORCE 100MHz operation:  I can't use
autonegotiation here:  I only added lines like

  vh->full_duplex = 1;

  in places after it would check "options".  There were problems
before, also, when I was not FORCING full-duplex and it was
reporting half-duplex.

Here is some debugging info:


vortex-diag:

# vortex-diag -p 0x100 -a
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
 MAC settings: full-duplex.


# vortex-diag -p 0x100 -e
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
EEPROM contents:
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
  4c72 4c72 4c72 4c72 4c72 4c72 4c72 4c72
 The word-wide EEPROM checksum is 0x1c80.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 4C:72:4C:72:4C:72 (used as a unique ID only).
 OEM Station address 4c:72:4C:72:4C:72 (used as the ethernet address).
 Manufacture date (MM/DD/YY) 3/18/38, division r, product rL.
Options: .
  Vortex checksum is 00 (vs. 4c72),Cyclone checksum is 00 (vs. 4c72).


# vortex-diag -p 0x100 -mm
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 MII PHY found at address 0, status 782d.
 MII PHY 0 at #0 transceiver registers:
   3000 782d 0300 e543 0141 0000 0000 ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   0140 0001 0600 ffff ffff ffff ffff ffff
   ffff ffff ffff ffff ffff ffff ffff ffff.

# ./mii-diag
Using the default interface 'eth0'.
Using the default interface 'eth0'.
MII PHY in use is 0.
 3000 7829 0300 e543 0141 0000 0000 ffff ffff ffff ffff ffff ffff ffff ffff
ffff 0150 0045 0600 ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff

# cat /proc/net/dev
Inter-|   Receive                  |  Transmit
 face |packets errs drop fifo frame|packets errs drop fifo colls carrier
    lo:     18    0    0    0    0       18    0    0    0     0    0
  eth0:  19905   94    0  108   94    19401    0    0    0     0    0


# cat /proc/interrupts 
 0:      71318   timer
 1:        534   keyboard
 2:          0   cascade
 3:      83853   3c575
 8:          1 + rtc
12:       2286   PS/2 Mouse
13:          1   math error
14:      20493 + ide0
15:          2   i82365


In /var/log/messages:

Jul 21 15:22:08 vlasov cardmgr[241]: executing: 'insmod
/lib/modules/2.0.34/pcmcia/3c575_cb.o full_duplex=1 debug=3'

Jul 21 15:22:09 vlasov kernel: eth0: 3Com 3c575 at 0x100, 00:60:08:d2:28:b0,
IRQ 3
Jul 21 15:22:09 vlasov kernel:  8K word-wide RAM 3:5 Rx:Tx split,
autoselect/MII interface.
Jul 21 15:22:09 vlasov kernel:  MII transceiver found at address 0, status
7809.
Jul 21 15:22:09 vlasov kernel:  Enabling bus-master transmits and whole-frame
receives.

Jul 21 15:25:22 vlasov kernel: eth0: MII #0 status 782d, link partner
capability 0000, setting full-duplex.



Thanks for any assistance,

Peter Mardahl