SMC Etherpower II won't work

Anthony Schlemmer Anthony.Schlemmer@gte.net
Wed Nov 11 01:43:04 1998


I have several Linux and Win95 systems that are all running with the SMC
9432TX PCI cards on a 100mbit network. Both of my Linux boxes have been
running 24x7 since late July with the SMC cards. While I did have
problems with versions of the Epic 100 driver prior to version 1.02,
since that time the cards have been running great for me. 

I don't know if the Epic diagnostic information will be of any help as
my system is a an older, slower system with a different motherboard,
chipset, etc. The system is a PPro-200 system on an ASUS P/I-XP6NP5
motherboard running a 2.0.35 kernel using version 1.04 of the Epic 100
driver:

PCI devices found:
  Bus  0, device  13, function  0:
    Ethernet controller: SMC 9432 TX (rev 6).
      Fast devsel.  Fast back-to-back capable.  IRQ 10.  Master
Capable.  Latency=32.  Min Gnt=8.Max Lat=28.
      I/O at 0xd800.
      Non-prefetchable 32 bit memory at 0xf3800000.

epic-diag -p 0xd800 -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 0xd800
 0x000: 00000008 00248000 0000733f 00000512 0000001d 00000071 00000000
00000000
 0x020: 00000000 00000000 00000000 00000000 00000650 00000081 00000014
00003c60
 0x040: 0000e000 00002429 00002b78 00003000 00000000 00000000 00000000
00000521
 0x060: 00000004 ******** ******** ******** 00003c79 00002003 ********
********
 0x080: ******** 008c3088 ******** ******** ******** ******** ********
********
 0x0A0: ******** 004000a1 ******** ******** 004003fd ******** ********
********
 0x0C0: ******** 008c32e8 ******** ******** ******** ******** ********
008c3100
 0x0E0: ******** ******** ******** ******** ******** ******** ********
********
  No interrupt sources are pending.
   Rx status valid indication.

epic-diag -p 0xd800 -e
EEPROM contents:
  e000 2429 2b78 3000 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 0xbf17.
Parsing the EEPROM of a EPIC/100:
 Station Address 00:E0:29:24:78:2B. 
 Board name 'SMC9432TX   ', revision 43.
 Calculated checksum is 00.

epic-diag -p 0xd800-m
 MII PHY found at address 3.
 MII PHY #3 transceiver registers:
   3000 782d 0181 4401 01e1 0081 0000 ffff
   ffff ffff ffff ffff ffff ffff ffff ffff
   0040 0018 ffff ffff ffff ffff ffff ffff
   ffff ffff ffff 003e ffff 0040 0000 1dc8.

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

Rolf Mueller wrote:
> 
> 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
>

Tony

-- 
Anthony.Schlemmer@gte.net
 | 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.