Problems with eepro100 driver on a SMP machine.

Carlos Pina Soares cps@easyphone.pt
Wed Aug 26 05:17:15 1998


  Hi,

  I recently installed a linux box, where I compiled the last pre 
2.0.36 version with SMP support.
  The machine hardware configuration is the following:

  - Dual pentium II 300MHz, 440LX chipset.
  - 512MB RAM.
  - Adaptec Ultra Wide SCSI card (installs AIC7xxx driver).
  - Two WD 8GB W-SCSI disks.
  - An Intel EtherExpress Pro ethercard on board (eepro100 driver).

  The problem is, when I put the machine in a little stress, say for 
instance launching netscape, or simply invoking cpio to copy things 
from one place to another, the following message starts appearing on 
the console and never stops, thus blocking completely the machine:

  eth0: SMP simultaneous entry on an interrupt handler.

  The only solution is a hard reset.
  For now I disabled one of the processors and all is OK, but 
infortunately the machine is "half-steam".
  Is there anything I can do to avoid this? BTW, I read on the 
eepro100 web page that a conflict with the SCSI device could lead to 
something like this, but as you can see on the following dump, both 
the SCSI and the ethercard are not sharing an IRQ, but having a 
different one for each other as you can see by the /proc/interrupts 
dump.

--------------------------- DUMPS ---------------------------
[root@puff /root]# ./eepro-diag -f -a
eepro100-diag.c:v0.07 2/25/98 Donald Becker 
(becker@cesdis.gsfc.nasa.gov)
Found Intel i82557/i82558 Speedo3 chip at 0xfce0.
i82557 chip registers at 0xfce0:
  00000050 00093c1c 00000000 00080002 14370422 00000600
  No interrupt sources are pending.
   The transmit unit state is 'Suspended'.
   The receive unit state is 'Ready'.

[root@puff /root]# ./eepro-diag -f -e
eepro100-diag.c:v0.07 2/25/98 Donald Becker 
(becker@cesdis.gsfc.nasa.gov)
Found Intel i82557/i82558 Speedo3 chip at 0xfce0.
Intel EtherExpress Pro 10/100 EEPROM contents:
  Station address 00:A0:C9:83:13:EC.
  Receiver lock-up bug exists. (The driver work-around *is* 
implemented.)
  Board assembly 645520-034, Physical connectors present: RJ45
  Primary interface chip DP83840 PHY #1.
  Transceiver-specific setup is required for the DP83840 transceiver.

[root@puff /root]# ./eepro-diag -f -m
eepro100-diag.c:v0.07 2/25/98 Donald Becker 
(becker@cesdis.gsfc.nasa.gov)
Found Intel i82557/i82558 Speedo3 chip at 0xfce0.
 MII PHY #1 transceiver registers:
  3000 7829 02a8 0150 01e1 0021 0000 ffff
  ffff ffff ffff ffff ffff ffff ffff ffff
  0400 0000 0001 0000 0000 0000 0000 0000
  0000 0000 0000 0000 ffff ffff ffff ffff.

[root@puff /root]# ./mii-diag
Using the default interface 'eth0'.
Using the default interface 'eth0'.
MII PHY in use is 1.
 3000 782d 02a8 0150 01e1 0021 0000 ffff ffff ffff ffff ffff ffff 
ffff ffff ffff 0400 0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 
0000 ffff ffff ffff ffff

[root@puff /root]# cat /proc/interrupts
 0:   21916460   timer
 1:        281   keyboard
 2:          0   cascade
 8:          1 + rtc
 9:     647743   aic7xxx
11:    6451272   Intel EtherExpress Pro 10/100 Ethernet
13:          1 + IPI
14:          0 + ide0
-----------------------------------------------------------------

Thanks in advance,

Carlos