[eepro100] card reports no resources

CheeChun Kok cheech@pixelmetrix.com
Mon, 12 Feb 2001 17:41:01 +0800


Hi,
Here's more info that I've collected from my debugging :

1. Changed RX_RING_SIZE to 256 (Is this a value too high, if so,
   is there a max?)
   After this was done, the error disappeared or maybe it has
   merely been delayed.
   Anyway, another error message appeared.  This time it is
   'Too much work at interrupt, status = 0x4050'
   where the status is decoded from Intel's driver code as 
                    0x4000 - one frame is received
                    0x0040 - CU suspended
                    0x0010 - RU ready

2.  I then proceeded to change max_interrupt_work to match 
    RX_RING_SIZE.  (Is there a reason why they are not the same
    in the original set of codes? with max_interrupt_work = 20 and
    RX_RING_SIZE = 32)
    However, this causes 'card reports no resources' to reoccur.

Here's output from eepro100-diag.  I do not see anything out of the 
ordinary.

Index #1: Found a Intel i82557 (or i82558) EtherExpressPro100B adapter
at 0xb000.
 MII PHY #1 transceiver registers:
  3000 782d 02a8 0154 05e1 45e1 0003 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0203 0000 0001 1ada 0000 0000 1a58 0000
  0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #1 transceiver registers:
   3000 782d 02a8 0154 05e1 45e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0a03 0000 0001 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:aa:00:--:--:--, model 21 rev. 4.
   No specific information is known about this transceiver type.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation 
completed.                                                                                                         

Thanks
CheeChun