SMC Etherpower II won't work

Rolf Mueller rolf@isl.eng.yale.edu
Tue Nov 10 20:04:11 1998


Hi all,

I am trying to get an SMC Etherpower II 10/100 network card (with an
83C171A2QF chip) to work on a 100 Mbit network.  (The system is a dual
Pentium II, Tyan S1832DL  Tiger 100 Motherboard, I am running kernel
version 2.0.35).
I am using the  epic100.c:v1.04 8/23/98 driver, but it doesn't work.  I
have appended the output I obtained by loading the module and running
the diagnosis-programs  epic-diag (v0.06 3/26/98) and mii-diag.c (v1.03
8/4/98).  The behaviour of the LEDs is also described below. Does
anybody happen to know whats wrong here? Is the bandwidth of the network
not recognized correctly, if so, how can I set it manually?

Thanks a lot in advance, your help is very much appreciated.

Rolf


insmod epic100 debug=6 ; then /var/log/messages says:

Nov 10 16:44:14 localhost kernel: epic100.c:v1.04 8/23/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/epic100.html
Nov 10 16:44:14 localhost kernel: eth0: SMC EPIC/100 at 0xe800, IRQ 11,
00:e0:29:1c:c6:86.
Nov 10 16:44:14 localhost kernel:  e000 e000 e000 e000 e000 e000 e000
e000
e000 e000 e000 e000 e000 e000 e000 e000
Nov 10 16:44:14 localhost last message repeated 3 times
Nov 10 16:44:14 localhost kernel: eth0: MII transceiver #3 control 3000
status 7809.
Nov 10 16:44:14 localhost kernel: eth0:  Autonegotiation advertising
01e1
link partner 0001.
(takes a long time after this message for boot to continue,
TX-LED flashes a few times, no more activity on TX or RX LEDs
afterwards.
10/100MBit LED is permanently on, FDX LED is permanently off)

/proc/interrupts
 0:     122021   timer
 1:       3751   keyboard
 2:          0   cascade
11:          1   SMC EPIC/100
12:      13432   PS/2 Mouse
13:          1   math error
14:       5110 + ide0

/proc/pci
PCI devices found:
  Bus  0, device  19, function  0:
      Ethernet controller: SMC 9432 TX (rev 8).
            Fast devsel.  Fast back-to-back capable.  IRQ 11.  Master
Capable.  Latency=64.  Min Gnt=8.Max Lat=12.
      I/O at 0xe800.
      Non-prefetchable 32 bit memory at 0xeebff000.

epic-diag (v0.06 3/26/98): ("#include <errno.h> added")
Unable to find an EPIC/100 card in /proc/pci.


epic-diag -p 0xe800 -a:
The EPIC/100 chip appears to be active, so some registers will not be
read.
To see all register values use the '-f' flag.
EPIC chip registers at 0xe800
 0x000: 00000008 00248000 0000733f 00000512 0000001d 00000061 00000000
00000000
 0x020: 00000000 00000000 00000000 0000bfb7 00000650 00000001 00000016
00003c60
 0x040: 0000e000 00001c29 000086c6 00008f00 00000000 00000000 00000000
00000000
 0x060: 00000004 ******** ******** ******** 00003c79 00002003 ********
********
 0x080: ******** 00fd6038 ******** ******** ******** ******** ********
********
 0x0A0: ******** efff007f ******** ******** ffffffff ******** ********
********
 0x0C0: ******** ffffffff ******** ******** ******** ******** ********
ffffffff
 0x0E0: ******** ******** ******** ******** ******** ******** ********
********
  Interrupt sources are pending.
   Rx Copy Done indication.
   Rx Header Done indication.
   Rx Queue Empty indication.
   Rx Buffer Overflow indication.
   Rx CRC error indication.
   Tx done indication.
   Tx chain done indication.
   Tx Queue empty indication.
   Tx underrun indication.
   Counter overflow indication.
   Rx threshold crossed indication.
   PCI data parity error indication.
 PCI master abort indication.
   PCI target abort indication.
   Rx status valid indication.

epic-diag -p 0xe800 -e
EEPROM contents:
  e000 1c29 86c6 8f00 001d 1c08 10b8 a011
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0010 0000 1980 2100 0000 0000 0003 0000
  0701 0000 0000 0000 4d53 3943 3334 5432
  2058 2020 0000 0000 0280 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  The word-wide EEPROM checksum is 0x7165.
  Parsing the EEPROM of a EPIC/100:
  Station Address 00:E0:29:1C:C6:86.
  Board name 'SMC9432TX   ', revision 134.
  Calculated checksum is 00.

epic-diag -p 0xe800 -m
 MII PHY found at address 3.
 MII PHY #3 transceiver registers:
 3000 7809 0181 4401 01e1 0001 0000 ffff
 ffff ffff ffff ffff ffff ffff ffff ffff
 0040 0018 ffff ffff ffff ffff ffff ffff
 ffff ffff ffff 003e ffff 0010 0000 0dc0

./mii-diag
Using the default interface 'eth0'.
MII PHY in use is 3.

After this exercise /var/log/messages reports:
Nov 10 16:49:05 localhost kernel: eth0: Setting half-duplex based on MII

xcvr 3 register read of 0001.
Nov 10 16:54:20 localhost kernel: eth0: interrupt  interrupt=0x002580e0
new
intstat=0x00248000.
Nov 10 16:54:20 localhost kernel: eth0: interrupt  interrupt=0x00248000
new
intstat=0x00248000.

(count of interrupts in /proc/interupts for SMC EPIC/100 has been
increased
from 1 to 2.)


--
Rolf Mueller        rolf@isl.eng.yale.edu
Intelligent Sensors Lab, EE Dept.
Yale University, New Haven, CT 06520-8284
Phone 203 432 4297       Fax 203 432 7769



 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.