Problems with eepro100 driver on a SMP machine.

Mr. James W. Laferriere babydr@nwrain.net
Thu Sep 10 00:22:25 1998


 	Hello Don & All,
	I have new information .  Today using 2.0.36-alan-8 & eepro-v1.03
	I have consistantly had the eepro100b card -drop- link to the
	hub (cheap 10mb) sometime during reboot ,  Until I ran 'mii-diag'
	as root then the link state came back up .
	ifconfig eth0 down ; ifconfig eth0 up ,  didn't even phase the
	link state .  I was starting the process to get the info together
	to report a bug IE: I ran mii-diag ,  and the link state returned .

	Funny thing is that the link-state light remained on until
	sometime after sysinit .  I don't know of any processes that
	are run that should mess with the eepro100 directly ?.

On Mon, 31 Aug 1998, Mr. James W. Laferriere wrote:
> 	I stand corrected v1.03 does work here .  But only after
> 	commenting out in lilo.conf :
> 
> 	append="ether=0x0,0x0,0,eth0 ether=0x0,0x0,0x0,eth1"
> 
> 	Which until now had been in there since v.34 , because at 
> 	times I'd just slap in another card & just power up.
> 
> 	Is it that the above line is no longer needed ?
> 	If so HURRAY ! & Many Thanks ...
> 
> On Wed, 26 Aug 1998, Mr. James W. Laferriere wrote:
> > On Wed, 26 Aug 1998, Donald Becker wrote:
> > > On Wed, 26 Aug 1998, Carlos Pina Soares wrote:
> > > >   I recently installed a linux box, where I compiled the last pre 
> > > > 2.0.36 version with SMP support.
> > > >   - Dual pentium II 300MHz, 440LX chipset.
> > > >   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.
> > > 
> > > This is a SMP interrupt dispatch bug where the driver is called
> > > simultaneously.
> > > 
> > > If you are running v0.99B, update to v1.03
> > >   ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/eepro100.c
> > > 
> > > This updated version does not fix the SMP bug (it can't -- the real bug is
> > > not in the driver), but it does avoid repeatedly emitting the error message.
> > 	Fyi, The versions 0.9C<->1.03 haven't worked for me .
> > 	The only symptom is it will not receive or send packets .  
> > 	ifconfig says its up but no input , the below show my working
> > 	configuration .  I'll try soonest to  get a non-working config
> > 	posted .
 				Tia, JimL
+-----------------------------------------------------------------------+ 
|  James W. Laferriere  -   Network   Engineer  -   babydr@nwrain.net   |
|    System Techniques  -   25416   -  22nd S.  - Des-Moines, WA  98198 |
|      Give me VMS     -or-    Give me Linux   -but-   only on AXP      |
+-----------------------------------------------------------------------+
Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fabf0
pcibios_init : BIOS32 Service Directory entry at 0xfb0b0
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb0e0
Probing PCI hardware.
Calibrating delay loop.. ok - 179.40 BogoMIPS
Memory: 127688k/131072k available (852k kernel code, 384k reserved, 2148k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP, IPIP
Linux IP multicast router 0.07.
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.36 (root@filesrv1) (gcc version 2.7.2.3) #2 Tue Sep 8 21:30:49 PDT 1998
Starting kswapd v 1.4.2.2 
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
lp1 at 0x0378, (polling)
Ramdisk driver initialized : 16 ramdisks of 4096K size
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide: ports are not enabled (BIOS)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
ncr53c8xx: at PCI bus 0, device 18, function 0
ncr53c8xx: PCI_CACHE_LINE_SIZE not set, features based on CACHE LINE SIZE not used.
ncr53c8xx: 53c810a detected 
ncr53c810a-0: rev=0x12, base=0xf1101000, io_port=0x6000, irq=10
ncr53c810a-0: ID 7, Fast-10, Parity Checking
ncr53c810a-0: restart (scsi reset).
scsi0 : ncr53c8xx - revision 2.5f.1
scsi : 1 host.
ncr53c810a-0-<0,0>: using tagged command queueing, up to 4 cmds/lun
  Vendor: Quantum   Model: XP31070W          Rev: L912
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
ncr53c810a-0-<1,0>: using tagged command queueing, up to 4 cmds/lun
  Vendor: QUANTUM   Model: FIREBALL_TM2110S  Rev: 300X
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
  Vendor: EXABYTE   Model: EXB-8200          Rev: 262Z
  Type:   Sequential-Access                  ANSI SCSI revision: 01
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
  Vendor: PIONEER   Model: CD-ROM DR-124X    Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI tape 1 SCSI cdrom 2 SCSI disks total.
ncr53c810a-0-<0,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2203480 [1075 MB] [1.1 GB]
ncr53c810a-0-<1,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4124736 [2014 MB] [2.0 GB]
tunnel: version v0.2b2
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
eepro100.c:v1.03 8/11/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eth0: Intel EtherExpress Pro 10/100 at 0x6100, 00:A0:C9:2B:E5:5D, IRQ 9.
  Board assembly 352509-003, Physical connectors present: RJ45
  Primary interface chip DP83840 PHY #1.
  DP83840 specific setup, setting register 23 to 8462.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x49caa8d6).
  Receiver lock-up workaround activated.
eepro100.c:v1.03 8/11/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Partition check:
 sda: sda1 sda2
 sdb: sdb1 sdb2
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 130164k swap-space (priority -1)
Adding Swap: 130748k swap-space (priority -2)

Main memory size: 128 Mbytes
1 AuthenticAMD 586 processor
2 16550A serial ports
1 1.44M floppy drive
1 vga+ graphics device
1 keyboard
1 ethernet interface
  eth0: Intel EtherExpress Pro 10/100
SCSI devices:
  Quantum  XP31070W
  QUANTUM  FIREBALL_TM2110S
  EXABYTE  EXB-8200
  PIONEER  CD-ROM DR-124X
PCI bus devices:
    Ethernet controller: Intel 82557 (rev 1).
    SCSI storage controller: NCR 53c810 (rev 18).
    VGA compatible controller: Cirrus Logic GD 5446 (rev 0).
    IDE interface: Intel 82371 Triton PIIX (rev 2).
    ISA bridge: Intel 82371 Triton PIIX (rev 2).
    Host bridge: Intel 82437 (rev 2).

-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Slackware v. 3.5.0
Linux filesrv1 2.0.36 #2 Tue Sep 8 21:30:49 PDT 1998 i586 unknown
Kernel modules         2.1.85
Gnu C                  2.7.2.3
Binutils               2.8.1.0.23
Linux C Library 5 -    5.4.44
Dynamic Linker (ld.so) 1.9.9
Linux C++ Library      2.8.
Procps                 1.2.7
Mount                  2.7l
Net-tools              1.46
Kbd                    0.94
Sh-utils               1.16
Flex                   2.5.4
E2fsprogs              1.12-WIP