Pleas Help! Serious problems with 3c905B and vortex driver.

Thomas =?iso-8859-1?Q?Hellstr=F6m?= th.466@brfmasthugget.se
Sat Jul 10 18:46:37 1999


This is a multi-part message in MIME format.
--------------928606A0EBC082D29D55B976
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi, I've been using two 3c905B cards (one on an SMP linux server and one
on a single processor workstation) connected with a single cord.

Naturally I want to run 100Mb/s full duplex and doing that i've
encountered the following problems:

* The last driver i've tried that was able to correctly set the 100Mb/s
transciever through options (options=3D4 full_duplex=3D1) was the 0.99E
driver. I've also tried the G, H, H-WOL, Kb and L drivers. None of them
works. Mostly the cards fall back to 10Mb/s, but some connecting and
disconnecting the TP cable during bootup _may_  trigger a 100Mb/s
connection.

* To have a 100Mb/s connection it is sufficient to run the 0.99E driver
on the server. The workstation seems to auto-sense the forced 100Mb/s
connection.

So up to now I've been able to run my connection at 100Mb/s by replacing
the driver when a new kernel was installed. This worked OK up to and
including kernel 2.2.2

*However, with Red Hat 6.0, kernel 2.2.5 was supplied together with the
0.99H driver. With this kernel the 0.99E driver yielded an
ff:ff:ff:ff:ff:ff station address and transmitted (according to
ifconfig) ten-thousands of packets in an amazingly short time.

*With the 0.99H driver, no connection was established at all.

* Trying desperately to connect the server card to a cable-tv modem (a
10 Mb/s half duplex connection that works flawlessly with a NE2000
compatible card in the same server), any options whatsoever supplied to
the driver at boot time will completely inhibit transmission and
reception of packets (again according to ifconfig)

* If the driver is started with no options, some activity is observed
and packets are received and transmitted according to ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:10:4B:69:FC:88
          inet addr:172.22.4.27  Bcast:172.22.7.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:391 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0xd400

    however, it is impossible to establish a connection using ping,
telnet or whatever. (It works with the NE2000 card, however).

* A similar 3c905B card at work works flawlessly connected to a 100Mb/s
full duplex switch with kernel 2.2.5 and the 0.99H driver. (I'm not
completely sure that the speed is really set through the options and not
by auto-sensing,though)

So my questions are:
1: Why doesn't my cards respond to the speed chosen with "options=3D4"
except with the 0.99E driver?
2:  Why doesn't my cards work at all with the 0.99Hdriver and kernel
2.2.5? particularly when ifconfig reports packets transmitted and
received ?

Any help would be _GREATLY_ appreciated.

I'm attaching the output of vortex-diag and the output of the driver at
boot time.




--
           Thomas Hellstr=F6m, Fyrm=E4stareg=E5ngen 8, S-413 18 G=F6tebor=
g
           Email: th.466@brfmasthugget.se // Sent by: totte@linnea
    Tel: +46 31 244077, +46 31 663295, +46 704 976916 // Fax: +46 31 5467=
10



--------------928606A0EBC082D29D55B976
Content-Type: text/plain; charset=us-ascii;
 name="diag"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diag"

vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 4 at 0xd400.
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 694b 88fc 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cd2 0001 8880 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 0900 0000 0236 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0002 e000.
Vortex chip registers at 0xd400
  0xD410: **FIFO** **FIFO** 0000000a 00000000
  0xD420: 00000020 00000000 00080000 00000004
  0xD430: 00000000 8bec7414 0d4629f0 00080004
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
 MAC settings: half-duplex.
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 4 at 0xd400.
 MII PHY found at address 0, status 786d.
 MII PHY found at address 1, status 786d.
 MII PHY found at address 2, status 786d.
 MII PHY found at address 3, status 786d.
 MII PHY 0 at #0 transceiver registers:
   3000 786d 0000 0000 01e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0008 0810 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.
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 4 at 0xd400.
EEPROM contents:
  0010 4b69 fc88 9055 c482 0036 4b4e 6d50
  2971 0000 0010 4b69 fc88 0010 0000 002a
  32a6 0000 0000 0180 0000 0000 0000 10b7
  9055 000a 0000 0000 0000 0000 0000 0000
  0092 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 0x9d26.
Parsing the EEPROM of a 3Com Vortex/Boomerang:
 3Com Node Address 00:10:4B:69:FC:88 (used as a unique ID only).
 OEM Station address 00:10:4B:69:FC:88 (used as the ethernet address).
 Manufacture date (MM/DD/YY) 4/2/98, division 6, product NK.
Options: .
  Vortex checksum is fa (vs. 10b7),Cyclone checksum is 92 (vs. 92).

--------------928606A0EBC082D29D55B976
Content-Type: text/plain; charset=us-ascii;
 name="diag4"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diag4"

3c59x.c:v0.99L 5/28/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c905B Cyclone 100baseTx at 0xd400,  00:10:4b:69:fc:88, IRQ 10
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 786d.
  MII transceiver found at address 0, status 786d.
  Enabling bus-master transmits and whole-frame receives.

--------------928606A0EBC082D29D55B976--