[epic-bug] smc9432BTX not working

Peter Parzer Peter_Parzer@med.uni-heidelberg.de
Tue Nov 13 05:22:01 2001


Hi,

I have a strange problem with my SMC9432BTX Ethernet Card. It does not 
work at all with Linux and I have no explanation why.

- Card and Network are ok. I am using the card with NT on the same 
computer and they worked without any problems for some years.

- The LEDS correctly indicate a 10BaseT connection.

- It seems not a problem of a specific Linux distribution. I have tried 
it with different Mandrake and Suse versions (kernels 2.2.x and 2.4.x), 
with no success.

- Loading the Driver:
[root@kjp26 root]# insmod epic100 debug=6
Using /lib/modules/2.4.8-26mdk/kernel/drivers/net/epic100.o.gz

/var/log/messages:
Nov 13 09:19:04 kjp26 kernel: epic100.c:v1.11 1/7/2001 Written by 
Donald Becker
<becker@scyld.com>
Nov 13 09:19:04 kjp26 kernel:   
http://www.scyld.com/network/epic100.html
Nov 13 09:19:04 kjp26 kernel:   (unofficial 2.4.x kernel port, version 
1.11+LK1.1.10, July 6, 2001)
Nov 13 09:19:04 kjp26 kernel: PCI: Found IRQ 9 for device 02:0c.0
Nov 13 09:19:04 kjp26 kernel:  e000 4929 9e00 1000 001d 1c08 10b8 a015 
0000 0000 0000 0000 0000 0000 0000 0000
Nov 13 09:19:04 kjp26 kernel:  0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000
Nov 13 09:19:04 kjp26 kernel:  0010 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 4d53 3943 3334 4232
Nov 13 09:19:04 kjp26 kernel:  5854 2020 0000 0000 00c0 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000
Nov 13 09:19:04 kjp26 kernel: epic100(02:0c.0): MII transceiver #3 
control 3000 status 7809.
Nov 13 09:19:04 kjp26 kernel: epic100(02:0c.0): Autonegotiation 
advertising 01e1 link partner 0001.
Nov 13 09:19:04 kjp26 kernel: eth0: SMSC EPIC/100 83c170 at 0xb800, IRQ 
9, 00:e0:29:49:00:9e.

- Running the epic diagnostic program several times I got one of the
following two outputs (always alternating one or the other) both
indicating there is no link:

[root@kjp26 root]# epic-diag -vm
epic-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/100 83c170 adapter at 0xb800.
 No interrupt sources are pending.
   PHY event indication.
 Rx state is 'Running', Tx state is 'Idle'.
  Transmitter: slot time 512 bits, half-duplex mode.
  Last transmit FAILED!!, 16 collisions.
  Receiver control is 4000, normal mode.
  The last Rx frame was 1 bytes, status 4000.
Parsing the EEPROM of a EPIC/100:
 Station Address 00:E0:29:49:00:9E.
 Board name 'SMC9432BTX  ', revision 0.
  Calculated checksum is 00, correct.
 Subsystem ID Vendor/Device 10b8/a015.
 MII PHY found at address 1.
 MII PHY found at address 3.
 MII PHY #1 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 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 PHY #1 transceiver registers:
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x0000: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0000 ... 0000.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0000:
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0000:.
   Negotiation did not complete.

[root@kjp26 root]# epic-diag -vm
epic-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a SMSC EPIC/100 83c170 adapter at 0xb800.
 No interrupt sources are pending.
   PHY event indication.
 Rx state is 'Running', Tx state is 'Idle'.
  Transmitter: slot time 512 bits, half-duplex mode.
  Last transmit FAILED!!, 16 collisions.
  Receiver control is 4000, normal mode.
  The last Rx frame was 1 bytes, status 4000.
Parsing the EEPROM of a EPIC/100:
 Station Address 00:E0:29:49:00:9E.
 Board name 'SMC9432BTX  ', revision 0.
  Calculated checksum is 00, correct.
 Subsystem ID Vendor/Device 10b8/a015.
 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 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.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:60:51:--:--:--, model 0 rev. 1.
   Vendor/Part: Quality Semiconductor (unknown type).
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0001:.
   Negotiation did not complete.

- but when I run the MII diagnostic program everything seems OK:

[root@kjp26 root]# mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #3:  1000 782d 0181 4401 01e1 0021 0000 ffff.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner is generating 10baseT link beat  (no 
autonegotiation).

The same happens when I use the driver options 4 (or whatever other 
option). Can someone give me a hint what I can do?

Many thanks in advance.

Peter

-- 
Peter Parzer
Abt. f. Kinder- und Jugendpsychiatrie
Psychiatrische Universitätsklinik
Blumenstraße 8, D-69115 Heidelberg
Tel.: (06221) 97 04 40, Fax: (06221) 97 04 41