(forw) [chris@black-sun.co.uk: Re: [eepro100] (no subject)]

Chris Jones chris@black-sun.co.uk
Thu, 2 Aug 2001 11:46:12 +0100


Hi

* Donald Becker (becker@scyld.com) wrote:
> You should run it with the interface up-but-broken.

In that case, these are the outputs I get (still with stock 2.4.5
driver):

-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -f -ee
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
EEPROM contents, size 64x16:
    00: 9000 9427 ca21 0203 0000 0201 4701 0000
  0x08: 7213 8306 40a2 000c 8086 0000 0000 0000
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 c9f8
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:90:27:94:21:CA.
  Board assembly 721383-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
   Sleep mode is enabled.  This is not recommended.
   Under high load the card may not respond to
    PCI requests, and thus cause a master abort.
-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -f -mm
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
 MII PHY #1 transceiver registers:
  3000 782d 02a8 0154 05e1 40a1 0003 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0202 0000 0001 1679 0000 0000 13d8 0000
  0000 0000 0b20 0000 0000 0000 0000 0000.
  Baseline value of MII status register is 782d.

at this point it seems to hang, I can Ctrl-C the process and it dies,
otherwise it just sort of sits there doing nothing for about 2-3 minutes
and eventually exits having outputted no more information.

> Yup.  This is a major problem.  The fix is turning off this "feature".
> eepro100-diag -ee -G 0 -w

Doing that produces this:

-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -ee -G 0 -w -f
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
EEPROM contents, size 64x16:
    00: 9000 9427 ca21 0203 0000 0201 4701 0000
  0x08: 7213 8306 40a2 000c 8086 0000 0000 0000
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 c9f8
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:90:27:94:21:CA.
  Board assembly 721383-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
   Sleep mode is enabled.  This is not recommended.
   Under high load the card may not respond to
    PCI requests, and thus cause a master abort.
Would write 40a0 to the chip configuration word 10.
-(root@tenshu)-(/opt/home/cmsj/tmp)- ./eepro100-diag -ee -f
eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Intel i82557/8/9 EtherExpressPro100 adapter at 0xdc00.
EEPROM contents, size 64x16:
    00: 9000 9427 ca21 0203 0000 0201 4701 0000
  0x08: 7213 8306 40a2 000c 8086 0000 0000 0000
      ...
  0x30: 0128 0000 0000 0000 0000 0000 0000 0000
  0x38: 0000 0000 0000 0000 0000 0000 0000 c9f8
 The EEPROM checksum is correct.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:90:27:94:21:CA.
  Board assembly 721383-006, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
   Sleep mode is enabled.  This is not recommended.
   Under high load the card may not respond to
    PCI requests, and thus cause a master abort.

so it looks like the config isn't actually written to the card.

-- 
Chris "Ng" Jones
  chris@black-sun.co.uk
  www.linuxdude.co.uk