[vortex] problem with 3c905C-TX on debian with kernel 2.4.17

Donald Becker becker@scyld.com
Thu Feb 21 18:29:30 2002


On Thu, 21 Feb 2002, Felix Stolle wrote:
> At 16:01 21.02.2002 -0500, you wrote:
> >On Thu, 21 Feb 2002, Felix Stolle wrote:
> >
> > > i'm using the compiled module from the 2.4.17 kernel.
> > > when i load with no options everything works just fine (except its just 10
> > > Mbit Half-Duplex)
> >
> >What is the driver detection message?
> >You should be using options=0x208
> 
> i tried with options=0x208
> loading the module :
> 
>  3c59x: Donald Becker and others.  www.scyld.com/network/vortex.html
>  See Documentation/networking/vortex.txt
>  00:0b.0: 3Com PCI 3c905C Tornado at 0x8800. 
>   00:50:da:11:67:ba, IRQ 10
>    product code 5957 rev 00.13 date 08-04-99
>  Full duplex capable
>    Internal config register is 2000000, transceivers 0xa.

OK, this is the driver detection message, although it is missing the
version number line.

>    8K byte-wide RAM 5:3 Rx:Tx split, 10baseT interface.

This is the bad line: the interface setting in the EEPROM has apparently
been changed from the default.  The 10baseT setting is wrong -- it
should read "NWay/Autonegotiate".

This is related to the EEPROM setting problem that Bogdan is working now.


>  00:0b.0:  Media override to transceiver type 8 (Autonegotiate).
>    MII transceiver found at address 24, status 780d.
>    Enabling bus-master transmits and whole-frame receives.

Here the option overrides to the correct setting.

> and setting the interface with ifconfig :
> 
> Feb 21 22:34:12 master kernel: eth0:  Filling in the Rx ring.
> Feb 21 22:34:12 master kernel: eth0: Media override to transceiver 8 
> (Autonegotiate).
> Feb 21 22:34:12 master kernel: eth0: Initial media type Autonegotiate.
> Feb 21 22:34:12 master kernel: eth0: MII #24 status 7809, link partner 
> capability 45e1, info1 8020, setting full-duplex.
> Feb 21 22:34:12 master kernel: eth0: vortex_up() InternalConfig 02800000.
> Feb 21 22:34:12 master kernel: eth0: vortex_up() irq 10 media status 80c0.
> Feb 21 22:34:15 master kernel: eth0: Media selection timer tick happened, 
> Autonegotiate.
> Feb 21 22:34:15 master kernel: dev->watchdog_timeo=500
> Feb 21 22:34:15 master kernel: eth0: Media selection timer finished, 
> Autonegotiate.
> 
> but it still doesn't work, no LED, no ping, nothing :(

Hmmm, you seem to have link beat and autonegotiation.

Try running 'mii-diag'
  http://www.scyld.com/diag/index.html
to see the link state.

If there is no obvious problem, try the version at
   http://www.scyld.com/network/vortex.html
      ftp://ftp.scyld.com/pub/network/3c59x.c
to see if the behavior changes.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993