Subject: kern/14789: tlp driver fails under load with a Macronix MX98713
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 11/30/2001 11:40:41
>Number: 14789
>Category: kern
>Synopsis: tlp driver fails under load with a Macronix MX98713
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 30 02:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: NetBSD 1.5.3_Alpha (head of netbsd-1-5 branch as of Nov 28)
>Organization:
>Environment:
System: NetBSD emmas.aprisoft.de 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (EMMAS) #0: Thu Nov 29 13:57:32 CET 2001
Architecture: i386
Machine: i386
>Description:
After some amount of heavy load, the tlp0 driver spit out the following
messages:
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: MII error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: dribbling bit
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: CRC error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: MII error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: MII error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: dribbling bit
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: CRC error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: MII error
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: dribbling bit
Nov 30 09:48:44 emmas /netbsd: tlp0: receive error: CRC error
Nov 30 09:49:25 emmas /netbsd: tlp0: receive error: MII error
Nov 30 09:49:25 emmas /netbsd: tlp0: receive error: dribbling bit
Nov 30 09:49:25 emmas /netbsd: tlp0: receive error: CRC error
Nov 30 09:49:25 emmas /netbsd: tlp0: receive error: MII error
Then tlp0 stoped working completely.
>How-To-Repeat:
This is the dmesg from that card:
tlp0 at pci0 dev 11 function 0: Macronix MX98713 Ethernet, pass 0.0
tlp0: interrupting at irq 9
tlp0: Ethernet address 00:40:05:50:ee:9b
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
It is connected to a 100 Mbit/s switch and using full-duplex.
The card previously worked for quite some time on a different machine
but connected to a 10 Mbit/s hub only (driven by the tlp driver as well).
It never has shown similar symtoms.
FWIW: on this machine irq 9 is shared with the USB host controllers, but
there is nothing connected to it.
>Fix:
Detect this and reset the card/MII?
>Release-Note:
>Audit-Trail:
>Unformatted: