[eepro100] mii-diag strangeness

Joe Rouvier joe@netli.com
Thu May 9 20:30:01 2002


On Thu, 2002-05-09 at 16:27, Donald Becker wrote:
> On 9 May 2002, Joe Rouvier wrote:
> > On Wed, 2002-05-08 at 19:50, Donald Becker wrote:
> > > On 8 May 2002, Joe Rouvier wrote:
> > >
> > > > I'm having a strange problem with mii-diag on IBM Netfinity 4000R's.  It
> > > > seems that mii-diag works fine as a non-root user, but reads all nulls
> > > > when run as root,
> ...
> > I did some more checking on this.  It seems my earlier assumptions were
> > incorrect.  Mii-diag fails on both the Network Engines and the IBMs, but
> > only with the latest version, v2.02 is fine:
> 
> OK, that explains part of the problem.
> 
> What driver and kernel version are you using?

eepro100.c:v1.09j-t 9/29/99 ...
eepro100.c: $Revision: 1.36 ...
Kernel 2.4.9
 
> > mii-diag.c:v2.03 11/5/2001 Donald Becker (becker@scyld.com)
> > Basic registers of MII PHY #0:  0000 0000 0000 0000 0000 0000 0000 0000.
> ...
> > mii-diag.c:v2.02 5/21/2001 Donald Becker (becker@scyld.com)
> > Basic registers of MII PHY #1:  3000 782d 02a8 0154 05e1 41e1 0001 0000.
> 
> Note that 2.03 is trying to read PHY #0, not PHY #1.
>

There are two PHYs on an 82557!?  Or is the "real" PHY just offset?

-- 
 Joe Rouvier
 Systems Administrator
 Netli.com
 (650)812-0565 x131