wrong adapter version detected

John Dunlap dunlap@apl.washington.edu
Wed Nov 17 21:08:01 1999


Hi,

I'm having trouble getting a recently acquired older card to play
in a two-ethernet machine.  I tried "vortex-diag.c:v1.09 7/28/99
Donald Becker" but it detects the cards incorrectly.  The driver,
"3c59x.c:v0.99H 11/17/98 Donald Becker", detects the cards differently
from vortex-diag.

The machine's a Dell.  IRQs are both 10.  Kernel is 2.0.36.
Note that the cards are different: eth1 does not say autoselect.
eth0 works fine.  eth1 doesn't at all.
Vortex-diag Indexes are reversed: Index #2 refers to eth0 while Index
#1 refers to eth1.  eth1 is the recently acquired card.

I's suspicious that the eth1 transceiver is selected incorrectly but
vortex-diag gets off to a bad start so I could be having trouble
seeing things.

Any ideas?
Thanks,
John


Driver results from /var/log/messages:
3c59x.c:v0.99H 11/17/98 Donald Becker ...
eth0: 3Com 3c905 Boomerang 100baseTx at 0xdcc0,  00:c0:4f:b9:50:14, IRQ 10 
  8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface.
  MII transceiver found at address 24, status 786d. 
  Enabling bus-master transmits and whole-frame receives. 
eth1: 3Com 3c905 Boomerang 100baseTx at 0xdc80,  00:a0:24:d3:8e:c1, IRQ 10 
  8K word-wide RAM 3:5 Rx:Tx split, MII interface. 
  MII transceiver found at address 24, status 7809. 
  Enabling bus-master transmits and whole-frame receives.

# ./vortex-diag -mm
vortex-diag.c:v1.09 7/28/99 Donald Becker ...
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xdc80.
 MII PHY found at address 24, status 7809.
 MII PHY 0 at #24 transceiver registers:
   3100 7809 2000 5c00 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 8040
   8000 0058 0000 3800 a3b9 0080 8005 001d.
Index #2: Found a 3c905B Cyclone 100baseTx adapter at 0xdcc0.
 MII PHY found at address 24, status 786d.
 MII PHY 0 at #24 transceiver registers:
   3100 786d 2000 5c01 01e1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c78 0000 3000 a3b9 0061 c105 001d.

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
128.95.96.0     *               255.255.255.0   U     0      0       20 eth0
192.168.1.0     *               255.255.255.0   U     0      0        2 eth1
127.0.0.0       *               255.0.0.0       U     0      0        6 lo
default         dustbuster-V31. 0.0.0.0         UG    0      0        7 eth0

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:4F:B9:50:14
          inet addr:128.95.96.91  Bcast:128.95.96.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53634 errors:0 dropped:0 overruns:0
          TX packets:13285 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0xdcc0 

eth1      Link encap:Ethernet  HWaddr 00:A0:24:D3:8E:C1
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:1298 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0xdc80 

-- 
John Dunlap                           University of Washington
Senior Electrical Engineer            Applied Physics Laboratory
dunlap@apl.washington.edu             1013 NE 40th Street
206-543-7207, 543-1300, FAX 543-6785  Seattle, WA   98105-6698