Subject: excessive MII/CRC errors from tlp with Macronix card....
To: NetBSD Networking Technical Discussion List <tech-net@NetBSD.ORG>
From: Greg A. Woods <>
List: tech-net
Date: 07/27/2001 17:29:13
First the tlp problem.  I've got an el-cheapo 10/100 card (IIRC it's the
one Rogers@Home shipped with my cable modem) installed in my IBM PC 325
server running 1.5W 2001/06/24.  It's recognized by tlp as:

	tlp0 at pci1 dev 7 function 0: Macronix MX98715AEC-x Ethernet, pass 2.5
	tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
	tlp0: interrupting at irq 15
	tlp0: Ethernet address 00:80:c6:f1:46:80
	tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX

I now have it plugged into one of the 100baseTX ports on digital
VNswitch 900EX and it seems to work OK at 100baseTX/FDX:

        address: 00:80:c6:f1:46:80
        media: Ethernet 100baseTX full-duplex
        status: active
        inet netmask 0xffffff00 broadcast
        inet6 fe80::280:c6ff:fef1:4680%tlp0 prefixlen 64 scopeid 0x2

I get thousands of these messages when almost any traffic hits the card
(I'm using it as the main interface for now):

	Jul 27 17:17:24 proven /netbsd: tlp0: receive error: MII error
	Jul 27 17:17:24 proven /netbsd: tlp0: receive error: CRC error

It's still very fast and there don't seem to be any extra errors from
netstat's point of view.  Everything works fine -- some stuff works
better and faster of course now that the system talks to my core network
at 100baseTX/FDX.

The switch doesn't see any problem with the traffic it gets from the
card either:

    ifIndex.14 = 14
    ifDescr.14 = "Eth12/net13 100 Mb/s Ethernet"
    ifType.14 = ethernet-csmacd(6)
    ifMtu.14 = 0
    ifSpeed.14 = Gauge: 200000000
    ifPhysAddress.14 =  Hex: 00 00 F8 89 0A 0E 
    ifAdminStatus.14 = up(1)
    ifOperStatus.14 = up(1)
    ifLastChange.14 = Timeticks: (1455) 0:00:14.55
    ifInOctets.14 = 0
    ifInUcastPkts.14 = 941401
    ifInNUcastPkts.14 = 1030
    ifInDiscards.14 = 27
    ifInErrors.14 = 0
    ifInUnknownProtos.14 = 0
    ifOutOctets.14 = 0
    ifOutUcastPkts.14 = 1087299
    ifOutNUcastPkts.14 = 123709
    ifOutDiscards.14 = 0
    ifOutErrors.14 = 0
    ifOutQLen.14 = Gauge: 0
    ifSpecific.14 = OID: transmission.dot3

Should I ignore these errors?  Upgrade the driver?  Junk the card?

							Greg A. Woods

+1 416 218-0098      VE3TCP      <>     <>
Planix, Inc. <>;   Secrets of the Weird <>