Re: mii-diag strangeness
Donald Becker <[email protected]>
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <Pine.LNX.4.33.0205092114340.2275-100000@presario> |
On 9 May 2002, Joe Rouvier wrote: > 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, ... > > What driver and kernel version are you using? > > eepro100.c:v1.09j-t 9/29/99 ... A modification of one of my old releases... > eepro100.c: $Revision: 1.36 ... ...that has been further modified by someone else. This makes it difficult to track the branches and changes. > > > 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. > There are two PHYs on an 82557!? Or is the "real" PHY just offset? PHY #0 is special: it's the address for an external, plug-in transceiver. But here it's likely just that driver version returning to the ioctl() with bogus data. I've updated mii-diag to v2.04. It's in the usual place: ftp://www.scyld.com/pub/diag/ -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993