From kolya@round.cde.com Fri Jun 25 09:08:44 1999
Return-Path: <kolya@round.cde.com>
Received: from round.cde.com (round.cde.com [205.160.182.32])
	by hub.freebsd.org (Postfix) with ESMTP id 3D36C14E71
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Jun 1999 09:08:37 -0700 (PDT)
	(envelope-from kolya@round.cde.com)
Received: (from kolya@localhost)
	by round.cde.com (8.9.3/8.9.3) id MAA26304;
	Fri, 25 Jun 1999 12:09:35 -0400 (EDT)
	(envelope-from kolya)
Message-Id: <199906251609.MAA26304@round.cde.com>
Date: Fri, 25 Jun 1999 12:09:35 -0400 (EDT)
From: Nickolai Zeldovich <kolya@round.cde.com>
Reply-To: kolya@zepa.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: 3.2-RELEASE, rl0 ethernet interface freezes
X-Send-Pr-Version: 3.2

>Number:         12394
>Category:       kern
>Synopsis:       3.2-RELEASE, rl0 ethernet interface freezes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 09:10:02 PDT 1999
>Closed-Date:    Wed May 30 02:08:08 PDT 2001
>Last-Modified:  Wed May 30 02:09:03 PDT 2001
>Originator:     Nickolai Zeldovich
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
CDE (www.cde.com)
>Environment:

	CPU: Pentium II/Xeon/Celeron (350.80-MHz 686-class CPU)
	Origin = "GenuineIntel"  Id = 0x652  Stepping=2
	Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
	real memory  = 268435456 (262144K bytes)
	[..]
	rl0: <RealTek 8139 10/100BaseTX> rev 0x10 int a irq 11 on pci0.9.0
	rl0: Ethernet address: 00:60:67:70:75:08
	rl0: autoneg complete, link status good (half-duplex, 10Mbps)
	rl1: <RealTek 8139 10/100BaseTX> rev 0x10 int a irq 10 on pci0.10.0
	rl1: Ethernet address: 00:60:67:70:e5:7a
	rl1: autoneg complete, link status good (half-duplex, 10Mbps)
	[..]
	IP packet filtering initialized, divert disabled, rule-based forwarding disabled, logging disabled
	DUMMYNET initialized (990504)

	This machine is running DUMMYNET for traffic shaping. The majority
	of traffic comes in via rl0 and leaves via rl0 as well.

>Description:

	Every so often (perhaps once in a few days) the rl0 interface appears
	to freeze - no traffic can go through it. However, rl1 remains up and
	functional. Doing 'ifconfig rl0 down ; ifconfig rl0 up' always fixes
	the problem (this seems to be related to kern/8861). This does not
	seem to be due to mbuf clusters (and has different failure mode):

	% netstat -m
	43/224 mbufs in use:
	        35 mbufs allocated to data
	        8 mbufs allocated to packet headers
	25/154/6144 mbuf clusters in use (current/peak/max)
	336 Kbytes allocated to network (16% in use)
	0 requests for memory denied
	0 requests for memory delayed
	0 calls to protocol drain routines

>How-To-Repeat:

	Send large amounts of traffic through a machine and possibly apply
	a traffic shaper. Time between failures seems to vary: sometimes we
	have it running fine for days, and sometimes it freezes after being
	fixed only a few hours ago. The traffic stays constant over time.

>Fix:

	Run a cron job to verify network connectivity and run 'ifconfig rl0
	down ; ifconfig rl0 up' if failure is detected. (Not really a fix).


>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG, kolya@round.cde.com
Cc:  
Subject: Re: kern/12394: 3.2-RELEASE, rl0 ethernet interface freezes
Date: Sat, 26 Jun 1999 07:31:15 +1000

 >>Fix:
 >
 >	Run a cron job to verify network connectivity and run 'ifconfig rl0
 >	down ; ifconfig rl0 up' if failure is detected. (Not really a fix).
 
 Try the fix for rx fifo overrun in -current (decrease RL_RX_FIFOTHRESH).
 (Not really a fix; on some systems it prevents fatal overrun.)
 
 Bruce
 

From: Charlie Root <root@lala.monkeybrains.net>
To: FreeBSD-gnats-submit@FreeBSD.org, kolya@zepa.net
Cc: rudy@monkeybrains.net
Subject: Re: kern/12394: 3.2-RELEASE, rl0 ethernet interface%
Date: Sun, 26 Dec 1999 11:21:30 -0800 (PST)

 The rl0 driver seems to crash my system as well.  If I do a large
 file transfer, or 'ping -f another.machine.net', my system locks up, no
 error messages or anything.  Total Freeze.  
 
 Without a debug kernal, I could hit CTRL-PrtSrc and get a 'No debug message'.
 Upon creating a GENERIC kernal with debug, the system still locks up, but
 the CTRL-PrtSrc does nothting.  Sorry for the aside, back to my problem:
 I have a rl0 and rl1 and my FreeBSD 3.3-STABLE system crashes with network
 activity.
 
 Rudy
 rudy@monkeybrains.net
 
 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 02:08:08 PDT 2001 
State-Changed-Why:  
Fixed in 4.3, or at least I run several machines with 
rl ethers, they work, but performance is not the best. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12394 
>Unformatted:
