Re: Problem with connection of EtherExpress Pro100 to a 10/100 switch

Donald Becker <[email protected]> Thu, 16 Oct 2003 14:27:32 -0400 (EDT)
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <[email protected]>
On Thu, 16 Oct 2003, Ricardo Jorge da Fonseca Marques Ferreira wrote:

> > > I'm running linux 2.4.22 and recently moved from a longshine 8 port
> > > 10/100  switch to a 16 port 10/100 switch also from longshine. I
> > > reconnected all my rtl8139 based cards with no problems. I also
> > > reconnected a EtherExpress Pro100 to it and it reports from mii-tool:

> mii-diag -v output for the working card follows (this machine is running 
> 2.4.18 & eepro100.o version 1.36. I'm using the kernel included driver in all 
> machines. But just to test i tried the e100.o driver & the problem is the 
> same.):

You are apparently using the old 1.09 driver with 36 updates.
(My current driver release number is 1.28 of 7/22/2003.)

But my guess is that this problem is unrelated to the driver version,
unless a driver option has been set.  (Although the value in the Link
Partner Capability transceiver register looks bogus.)

> Ok, i now restarted autonegotiation  and i have no link on the card & on the 
> switch. This is the output of mii-diag -v in this state:
> 
> mii-diag.c:v2.09 9/06/2003 Donald Becker ([email protected])
>  Basic mode control register 0x1000: Auto-negotiation enabled.
>  Basic mode status register 0x7809 ... 7809.
>    Link status: not established.
>    This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
>    Able to perform Auto-negotiation, negotiation not complete.
>  Your link partner is generating 100baseTx link beat  (no autonegotiation).
>    End of basic transceiver information.

This looks like the switch port is at a fixed speed.

> > The output of 'mii-diag --watch eth0', while re-plugging the cable, might
> > be useful here. 
...
> Using the default interface 'eth0'.
> Basic registers of MII PHY #1:  1000 7809 02a8 0154 05e1 05e1 0001 0000.
...
> Monitoring the MII transceiver status.
> 18:47:24.246  Baseline value of MII BMSR (basic mode status register) is 7809.
> 
> 
> ... Unplugging & replugging the cable while mii-diag is running causes no 
> change. Connecting on other ports in the switch also produces no change. 
> Also, how can my link partner be generating link beat when at that time the 
> cable was disconnected ?

Check the cable to make certain that it is paired correctly.
Try a different cable.

-- 
Donald Becker				[email protected]
Scyld Computing Corporation		http://www.scyld.com
914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
Annapolis MD 21403			410-990-9993