3c509b Cyclone: why no 100Mbit/s?

Bernhard Lorenz bernhard.lorenz@iconsult.at
Thu Sep 10 04:09:57 1998


hullo,

ive been reading thru the archives of the mailing lists as well as the
page by Donald Becker, but i didnt really find a solution to the
problem (shame on me if i overlooked it):

ive got a 3c905b Cyclone card in my linux box, and when powering
it on, the 100mbit led on the hub (surecom ep-808x, an 8 port
nway switching and autosensing hub) goes on, and as soon as the
boot process is finished, it goes off again. 

any windows machine on the same network works fine with 100mbit/s and
the same card.

heres my collected output from various commands:

genschnitt:/root # /home/fingwe/vortex-diag -aa
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 0 at 0xc000.
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 2e5a 9046 0000 0000 0000 000a 4000.
  Window 3: 0000 0100 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cd8 0001 88c0 2200 8000.
  Window 5: 1ffc 0000 0000 0600 0805 069e 06c6 a000.
  Window 6: 0000 0100 0000 b301 1100 5c1a 7c6f c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xc000
  0xC010: **FIFO** **FIFO** 0000000d 00000000
  0xC020: 00000020 00000000 00080000 00000004
  0xC030: 00000000 729c8d64 00097138 00080004
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
 MAC settings: half-duplex.

genschnitt:/root # /home/fingwe/vortex-diag -e 
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 0 at 0xc000.
EEPROM contents:
  0010 5a2e 4690 9055 c4f3 0036 5051 6d50
  2971 0000 0010 5a2e 4690 0010 0000 0022
  32a2 0000 0000 0180 0000 0000 0000 10b7
  9055 000a 0000 0000 0000 0000 0000 0000
  00eb 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
 The word-wide EEPROM checksum is 0x5481.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:10:5A:2E:46:90 (used as a unique ID only).
 OEM Station address 00:10:5A:2E:46:90 (used as the ethernet address).
 Manufacture date (MM/DD/YY) 7/19/98, division 6, product QP.
Options: .
  Vortex checksum is 83 (vs. 10b7),Cyclone checksum is eb (vs. eb).

genschnitt:/root # /home/fingwe/vortex-diag -mm
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 0 at 0xc000.
 MII PHY found at address 0, status 784d.
 MII PHY found at address 1, status 784d.
 MII PHY found at address 2, status 784d.
 MII PHY found at address 3, status 784d.
 MII PHY 0 at #0 transceiver registers:
   3000 784d 0000 0000 01e1 0000 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0080 0090 0000 0000 0005 2001 0000
   0000 2040 07cf 1c11 0011 1000 0000 0000.
 MII PHY 1 at #1 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.
 MII PHY 2 at #2 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.
 MII PHY 3 at #3 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.


the boot sequence show the pci card as expected:

<6>eth0: 3Com 3c905B Cyclone 100baseTx at 0xc000, 00:10:5a:2e:46:90, IRQ 10
<6>  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/NWay Autonegotiation interface.
<6>  Enabling bus-master transmits and whole-frame receives.
<4>3c59x.c:v0.99E 5/12/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
<4>eth1: 3c509 at 0x280 tag 1, 10baseT port, address  00 10 4b 47 7d fb, IRQ 5.
<4>3c509.c:1.12 6/4/97 becker@cesdis.gsfc.nasa.gov


/proc/ioports:

c000-c01f : 3c905B Cyclone 100baseTx


/proc/pci:

  Bus  0, device   9, function  0:
    Ethernet controller: 3Com 3C905B 100bTX (rev 48).
      Medium devsel.  IRQ 10.  Master Capable.  Latency=32.  Min Gnt=10.Max Lat=10.
      I/O at 0xc000.
      Non-prefetchable 32 bit memory at 0xe1000000.


networking is fine, except that im running at 10mbit/s while id like
to run at 100mbit/s :-)

my kernel version is 2.0.35, and the driver is not compiled as a module.
i give those arguments to /etc/lilo.conf: append="mem=256M ether=0,0,eth1"


any help or pointer would be really appreciated.

regards,

+bl.