Subject: kern/11097: RealTek 81x9 driver can hang after network problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 09/28/2000 12:02:21
>Number:         11097
>Category:       kern
>Synopsis:       RealTek 81x9 driver can hang after network problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 28 12:08:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Scheler
>Release:        1.5_ALPHA2 2000-09-24
>Organization:
Matthias Scheler                                         http://core.de/~tron/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (COLWYN) #0: Mon Sep 25 22:43:12 CEST 2000 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386


>Description:
The driver for RealTek 8129/8139 based Ethernet boards can hang after
transfering a large amount of data via 100TX half duplex. It starts
with printing "rtk0: watchdog timeout" several times and hangs
completely later. After an "ifconfig rtk0 down" followed by an
"ifconfig rtk0 up" it started working again. The interface statistic
showed a lot of collision what might have caused this problem:

tron@colwyn:~>netstat -i 
Name  Mtu  Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
rtk0  1500 <Link>        00:e0:29:6b:d1:e8  1368560     0  1327621  5562 459542
rtk0  1500 192.168.20    colwyn             1368560     0  1327621  5562 459542
rtk0  1500 fe80::        fe80::2e0:29ff:fe  1368560     0  1327621  5562 459542
rtk0  1500 3ffe:1ce1:0:f 3ffe:1ce1:0:fec1:  1368560     0  1327621  5562 459542

>How-To-Repeat:
Transfer about 800MB of data via a 10/100MBit/sec auto sensing hub which
supports only half duplex.

>Fix:
Sorry, I don't know.

>Release-Note:
>Audit-Trail:
>Unformatted: