[vortex-bug] Re: Asymetric throughput with 3c905b NIC (workaround)

Andrew Morton andrewm@uow.edu.au
Sat, 01 Jul 2000 13:59:25 +1000


Donald Becker wrote:
> 
> What does 'mii-diag' report?

And 'vortex-diag -aaee'.

> This is almost certainly a configuration bug.
> Note: the driver observes the force-full-duplex bit in the EEPROM.

The funny thing is that there is no pattern to the traffic problems
in Regis' initial report:


          Machine A                    Machine B            Result (Mb/s)
          ---------                    ---------            -------------
0) vanilla kernel 2.2.14      -> RedHat kernel 2.2.12-20    OK  (93)
1) vanilla kernel 2.2.14      <- RedHat kernel 2.2.12-20    Bad (50)

2) vanilla kernel 2.4.0-test1 -> RedHat kernel 2.2.12-20    OK  (94)
3) vanilla kernel 2.4.0-test1 <- RedHat kernel 2.2.12-20    Bad (39)

4) vanilla kernel 2.4.0-test1 -> vanilla kernel 2.4.0-test1 Bad (18)
5) vanilla kernel 2.4.0-test1 <- vanilla kernel 2.4.0-test1 Bad (25)

6) vanilla kernel 2.2.12      -> vanilla kernel 2.4.0-test1 Bad (37)
7) vanilla kernel 2.2.12      <- vanilla kernel 2.4.0-test1 OK  (94)

8) vanilla kernel 2.2.12      -> RedHat kernel 2.2.12-20    OK  (93)
9) vanilla kernel 2.2.12      <- RedHat kernel 2.2.12-20    Bad (40)





BTW, Don:  vortex-diag.c, line 652:

                EL3WINDOW(2);
                printf(" Station address set to %2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x.\n",
                           inb(ioaddr + 0), inb(ioaddr + 1), inb(ioaddr + 2),
                           inb(ioaddr + 3), inb(ioaddr + 4), inb(ioaddr + 5));
                /* This register only exists on certain Cyclone chips. */
                printf(" Configuration options %4.4x.\n", inw(ioaddr + 14));

Should the Configuration options offset be 12 (ResetOptions)?  This seems
to be reading the IntStatus register.