Route error -- was Re: No TX on 905B (cyclone) using 0.99H

Donald Becker becker@cesdis1.gsfc.nasa.gov
Tue Feb 16 00:29:40 1999


On Mon, 15 Feb 1999, Don H. Olive wrote:

> I'm really having trouble getting my 3c905B Cyclone to work on a
> 10baseT network.  I'm using the latest 0.99H driver and kernel 2.0.35.
...
> I'm still getting the same problem which is that apparently I can't
> transmit.  ifconfig eth0 reveals that RX increases but TX doesn't.
> The first sympton when the system boots that the thing is not working
> is when '/sbin/init.d/route start' is executed by init setting up the
> default route.
> 
> A 'route add default gw 192.190.254.1' gives:
> SIOCADDRT: Network is unreachable

This is a routing problem, which would be consistent with being able to
receive, but not transmitting anything.

> I always get a network is unreachable error for anything like ping,
> telnet, etc.

Yup, because you don't have a route to the interface.
Do
   route add -net 192.190.254.0 eth0
*before*
   route add default gw 192.190.254.1' gives:

> The ifconfig eth0 gives:
> eth0      Link encap:10Mbps Ethernet  HWaddr 00:10:5A:11:13:5F
>           inet addr:192.190.254.25  Bcast:192.190.254.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1710 errors:7 dropped:0 overruns:0
>           TX packets:0 errors:0 dropped:0 overruns:0
>           Interrupt:5 Base address:0x6500
> 
> When the system boots the driver is loaded and the 905B is recognized by
> the driver.
> 
> eth0: 3Com 3c905B Cyclone 100baseTx at 0x6500,  00:10:5a:11:13:5f, IRQ 5
>   8K byte-wide RAM 5:3 Rx:Tx split, Autonegotiate interface.
>   Media override to transceiver type 0 (10baseT).

Don't do this!  The default media type for the 3c905B is "MII", not
"10baseT".  Specifying the latter tries to use the unconnected 10baseT-only
transceiver, rather than the autonegotiating autosensing (10/100) MII
transceiver.

Donald Becker					  becker@cesdis.gsfc.nasa.gov
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882	     http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html