Re: mii-diag strangeness
Joe Rouvier <[email protected]>
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <1020990579.9399.58.camel@trance> |
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 ([email protected]) > > Basic registers of MII PHY #0: 0000 0000 0000 0000 0000 0000 0000 0000. > ... > > mii-diag.c:v2.02 5/21/2001 Donald Becker ([email protected]) > > 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