config: two 3c905b and linux(intel) 2.0.36

Tru Huynh thuynh@cea.fr
Tue Nov 17 17:47:32 1998


Hello,

I have a strange problem, I haven't been able to solve so far.
If someone has any idea?

Summary:
--------
3c59x.c v.99E + kernel 2.0.36 = 2 networks @ 10 MB/HD
3c59x.c v.99G + kernel 2.0.36 = 1 network @ 100MB/FD


Long:
-----
I have a Dell optiplex with one onboard 3c905B card
and an additional one on a PCI slot.

onboard   : 00:C0:4F:8A:80:2E
additional: 00:10:4B:C4:54:33

Kernel version is 2.0.36 built without modules
and with only the 3x59x driver (v.99E or G).

Current settings:
=================
[root@n1 /root]# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:79 errors:0 dropped:0 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:10:4B:C4:54:33  
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2023660 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2051114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          Interrupt:10 Base address:0xdc00 

eth1      Link encap:Ethernet  HWaddr 00:C0:4F:8A:80:2E  
          inet addr:192.168.2.20  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          Interrupt:11 Base address:0xd880 

[root@n1 /root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0       17 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        1 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        2 lo

========
Under 2.0.36 with the .99E version, both networks are available
but only at 10MB/HD.

eth0: 3Com 3c905B Cyclone 100baseTx at 0xdc00, 00:10:4b:c4:54:33, IRQ 10
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/NWay Autonegotiation interface.
  ***WARNING*** No MII transceivers found!
  Enabling bus-master transmits and whole-frame receives.
eth1: 3Com 3c905B Cyclone 100baseTx at 0xd880, 00:c0:4f:8a:80:2e, IRQ 11
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/NWay Autonegotiation interface.
  Enabling bus-master transmits and whole-frame receives.
3c59x.c:v0.99E 5/12/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html

=> despite the warning both networks were available and running at 10MB/HD.

========
 Under 2.0.36 with the .99G version I have the expected speed setting
for my internel network (aka 192.168.3.x) at 100MB/FD, but 
I no longer have access to the external network (aka 192.168.2.x).
	
[root@n1 /root]# dmesg
<...>
Linux version 2.0.36 (root@n1.beowulf) (gcc version 2.7.2.3) #2 Tue Nov 17 21:59:42 CET 1998
<...>
3c59x.c:v0.99G 9/25/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c905B Cyclone 100baseTx at 0xdc00,  00:10:4b:c4:54:33, IRQ 10
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/MII interface.
  ***WARNING*** No MII transceivers found!
  Enabling bus-master transmits and whole-frame receives.
eth1: 3Com 3c905B Cyclone 100baseTx at 0xd880,  00:c0:4f:8a:80:2e, IRQ 11
  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.

=> both cards are properly detected 
<...>


[root@n1 /root]# traceroute -v lea -i eth1
traceroute to lea (192.168.2.15), 30 hops max, 40 byte packets
 1  joas (192.168.2.20) 82 bytes to 192.168.2.20  0.131 ms !H  0.061 ms !H  0.055 ms !H
[root@n1 /root]# ping -v lea
PING lea (192.168.2.15): 56 data bytes
126 bytes from joas (192.168.2.20): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  00 5400 5c7f   0 0000  40  01 d975 192.168.2.20  192.168.2.15 

126 bytes from joas (192.168.2.20): Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst Data
 4  5  00 5400 1582   0 0000  40  01 2073 192.168.2.20  192.168.2.15 

=> can not acces the externel network

[root@n1 /root]# ./vortex-diag -a
vortex-diag.c:v1.05 5/22/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Found a 3Com PCI Ethernet 3c905b rev 4 at 0xd880.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
 MAC settings: half-duplex.
Found a 3Com PCI Ethernet 3c905b rev 4 at 0xdc00.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
 MAC settings: full-duplex.

=> 100MB/FD for the internal network
=> ??? for the external network ?

=======

Thank you for for time,

Tru

-- 
CEA Centre d'etudes de Saclay 91191 Gif sur Yvette CEDEX FRANCE
DSM/DRECAM/SCM             | DSV/DBCM/SBPM
Bat 137 piece 107          | Bat 528 piece 215
thuynh@cea.fr