[vortex] Problem with Nokia ADSL modem/hub and 3c905

Ville Herva vherva@mail.niksula.cs.hut.fi
Wed, 24 Jan 2001 23:40:41 +0200


On Wed, Jan 24, 2001 at 10:41:27AM -0500, you [Donald Becker] claimed:
> 
> Run 'mii-diag -R' as root.  This will reset the transceiver, which
> briefly brings the link down than then restarts autonegotiation/autosensing.

As said in the previous message, this works. It even causes the successive
repluggings to work, ie. I only have to do it once, and then I can replug
all I want. Weird.
    
> > What might cause this? I'm guessing somekind of duplex negotiation
> > failure.
> 1
> Use 'mii-diag -w' to watch the link status as you unplug the cable.

After mii-diag -rR (when replugging works okay): 

root@babbage:/root/3c59x>mii-diag -w
Using the default interface 'eth0'.
Basic registers of MII PHY #24:  1000 786d 2000 5c01 01e1 0021 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner is generating 10baseT link beat  (no autonegotiation).
23:28:27.1073834  Baseline value of MII BMSR (basic mode status register)
is 786d.
23:28:33.1073834  MII BMSR now 7849:   no link, NWay busy, No Jabber
(0021).
23:28:39.1073834  MII BMSR now 7869:   no link, NWay done, No Jabber
(0021).
   New link partner capability is 0021 0000: 10baseT.
23:28:39.1073834  MII BMSR now 786d: Good link, NWay done, No Jabber
(0021).

Even though the replug problem used to be 100% reproducible, after
mii-diag -rR I can't reproduce it even after resetting the Nokia box. Do
you think I should try harder (boot the linux box -- which is a server so
I'm not all that keen to boot it all the time, but I can do it) to
reproduce it? I mean, mii-diag -R is all I need, but if you think that you
could fix/workaround the driver to handle this automatically, I'll be
happy to help. Also, if you think your newest driver (either Don's or
Andrew's that is), behaves better, I can try.


-- v --

v@iki.fi